Forrest logo
back to the fsutil tool

fsutil:tldr:2ca9e

fsutil: Set the dirty bit state of a volume.
$ fsutil dirty set ${select}
try on your machine

The command "fsutil dirty set ${select}" is a command used in Windows operating systems to manually mark a volume (typically a disk or a partition) as "dirty".

When a volume is marked as "dirty", it indicates that the file system on that volume may not be in a consistent state. This can happen if the computer was not shut down properly or if there was a sudden power loss. The operating system typically runs a check on the volume during the next startup to ensure its integrity.

To use the command:

  1. Open the Command Prompt with administrative privileges.
  2. Replace "${select}" in the command with the drive letter or volume name of the volume you want to mark as "dirty". For example, "C:" or "D:".
  3. Enter the command "fsutil dirty set ${select}" and press Enter.
  4. The specified volume will be marked as "dirty".

Note that it is generally recommended to let the operating system automatically handle the marking of volumes as "dirty" and subsequent checks during startup. Manually marking a volume as "dirty" should only be done in specific situations where it is necessary or recommended by a technical support professional.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the fsutil tool