Friday, October 23, 2009

Chkdsk on every boot

I know this information is all over the web, but I recently had to teach it to a new technician so I thought I would pass it on to everyone else as well:

Every time Windows starts, Autochk.exe is called by the Kernel to scan all volumes to check if the volume dirty bit is set. If a volume's dirty bit is set, this indicates that the file system may be in an inconsistent state. The dirty bit can be set because the volume is online and has outstanding changes, because changes were made to the volume and the computer shutdown before the changes were committed to disk, or because corruption was detected on the volume. If the dirty bit is set, autochk performs an immediate chkdsk /f on that volume. Chkdsk /f verifies file system integrity and attempts to fix any problems with the volume.

This test can also be run manually from within Windows. Open a command window and enter FSUTIL dirty query C:. You will receive either Volume C: is dirty or Volume C: is not dirty. If you receive Volume C: is dirty then you should run chkdsk /f /x. Replace C: with an appropriate letter to test other drives.


RE: http://technet.microsoft.com/en-us/library/bb490641.aspx

1 Comments:

At November 9, 2009 at 10:28 AM , Blogger AngelDeLaNoche said...

If you still have problems after running chkdsk /f /x, try running chkdsk /r /x.

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home