Is it possible to run an unattended chkdsk?

I need to run chkdsk on my server but I don’t want it to reboot and hang because it’s waiting for some input. I don’t have physical access to the server, I can only get to it through remote desktop. Is it possible to do the chkdsk unattended? I only need to do it once, not on a schedule.

Answer

Yes. From a command prompt run: chkdsk C: /F /R

This assumes that you want to run it on the C: drive and you want it to fix errors and relocate data from bad sectors. Since Windows will not be able to lock the C: drive it will prompt you regarding whether you want to run it at the next reboot or not, select Y for yes. This will require no user input when it runs.

Attribution
Source : Link , Question Author : Rush Frisby , Answer Author : joeqwerty

Leave a Comment