Export (0) Print
Expand All

Fsutil dirty

Updated: April 17, 2012

Applies To: Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Queries or sets a volume's dirty bit. When a volume's dirty bit is set, autochk automatically checks the volume for errors the next time the computer is restarted.

For examples of how to use this command, see Examples.

fsutil dirty {query | set} <VolumePath>

 

Parameter Description

query

Queries the specified volume's dirty bit.

set

Sets the specified volume's dirty bit.

<VolumePath>

Specifies the drive name followed by a colon or GUID in the following format: Volume{GUID}.

  • A volume's dirty bit indicates that the file system may be in an inconsistent state. The dirty bit can be set because:

    • The volume is online and it has outstanding changes.

    • Changes were made to the volume and the computer was shut down before the changes were committed to the disk.

    • Corruption was detected on the volume.

  • If the dirty bit is set when the computer restarts, chkdsk runs to verify the file system integrity and to attempt to fix any issues with the volume.

To query the dirty bit on drive C, type:

fsutil dirty query c:
  • If the volume is dirty, the following output displays:

    Volume C: is dirty

  • If the volume is not dirty, the following output displays:

    Volume C: is not dirty

To set the dirty bit on drive C, type:

fsutil dirty set C:

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft