27 February 2011

Prevent CHKDSK running on boot in Windows XP

After a while, when booting Windows XP, CHKDSK seems to run even when there doesn't seem to be any errors on your drive. To prevent CHKDSK from running, follow these simple steps:

  • Go to Start > Run and type CMD

  • At the prompt type FSUTIL DIRTY QUERY D:
    You will most likely be told that the drive is dirty.

  • Next type CHKNTFS /X D:
    The /X tells Windows to NOT check that particular drive on the next reboot.

  • Next manually reboot your computer and CHKDSK should not have run.

  • Once Windows has rebooted, again go to Start > Run and type CMD

  • At the prompt type CHKDSK /F /R D:
    This will clean the dirty bit from your drive.

  • Finally, type FSUTIL DIRTY QUERY D: and Windows will confirm that the dirty bit is cleared from your drive.

  • That's it you're done!
  • No comments: