Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 3 down vote accepted

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.

share|improve this answer
Two points to bear in mind when doing this (or any other disk maintenance). Be real sure your backup is good and allow extra time for the reboot. Also, if there really is a problem with the drive there's a chance the machine won't come back up. – John Gardeniers Oct 1 '10 at 2:40
@John: Once again, good points tacked on to one of my answers. Nice team work and thanks much. ;) – joeqwerty Oct 1 '10 at 10:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.