Hi all, Im trying to automate checkdisk with the heavy duty /f /r options rather then /c /i:
I setup scheduled tasks to run 2 commands over the weekend:
This one first:
c:\WINDOWS\system32\chkdsk c: /f /r
Followed by this command 48 hours later:
c:\WINDOWS\system32\shutdown -r -f
The only problem with this is that chkdsk wants you to say y/n to schedualing a restart once it starts running because it needs to tell windows not to start some of the files next time it reboots. Is there a way to pass y using a script or something? Or find out if there is another way to automate this, thanks!
I setup scheduled tasks to run 2 commands over the weekend:
This one first:
c:\WINDOWS\system32\chkdsk c: /f /r
Followed by this command 48 hours later:
c:\WINDOWS\system32\shutdown -r -f
The only problem with this is that chkdsk wants you to say y/n to schedualing a restart once it starts running because it needs to tell windows not to start some of the files next time it reboots. Is there a way to pass y using a script or something? Or find out if there is another way to automate this, thanks!