Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Run Chkdsk at Start Up Run RunOnce AsInvoker
Run("cmd.exe", "/k echo n | chkdsk c: /f /r")
Unfortunately elevated processes (manifested as HighestAvailable[when logged in as admin] or RequireAdmin) are BLOCKED by Windows when running in the Windows Start up. Reference: http://msdn.microsoft.com/en-us/library/bb325654.aspx
Since this is a process that you want to run on a schedule, have you considered setting up a weekly Scheduled Task ( using the local System account ) to handle this?
Article ID: W18439
Filename: Run Chkdsk at Start Up.txt
File Created: 2014:02:19:12:15:42
Last Updated: 2014:02:19:12:15:42