View Full Version : Force Windows Disk Check by cmd

Master Razor
28.12.15, 18:20
Create a new .cmd file and type:

fsutil dirty set c:

dirty is bit value that is marked whenever windows encounters imporper shutdown and or BSODs. Windows boots OK, value is 0, shuts down ok, value is still 0. If these conditions are not met it sets the bit to 1 and disk checking starts.

29.12.15, 05:53
I would like to mention that this bit is set in the volume's boot sector (which under NTFS is also treated as a 8192-byte file called $Boot). The following link gives a practical demonstration, screenshots included.

Manually Reset or Clear Dirty Bit in Windows without using CHKDSK (https://www.raymond.cc/blog/manually-reset-or-clear-dirty-bit-in-windows-without-chkdsk/2/)