Fsutil Commands in Windows: What They Do and When to Use Them


Fsutil is a built-in Windows command that exposes file system details Windows does not show in Disk Management. It can report the cluster size of a volume, tell you whether the dirty bit is set, list support for TRIM, create a test file of an exact size and change a handful of NTFS behaviours.

It is also a tool with no undo. Some commands alter settings for the entire system, and a few can remove metadata that other programs rely on. This guide separates the safe queries from the commands that deserve a backup and a second thought.

What fsutil Is

Fsutil is a command-line utility that ships with Windows. It works on NTFS and, for some subcommands, on ReFS. It requires an elevated Command Prompt: without administrator rights it returns "Access is denied" for most operations.

Run fsutil with no arguments to see the list of subcommands, and fsutil fsinfo to see the file-system information group. The help for each subcommand is available with /?.

Safe Read-Only Commands

These commands only read information. They are the ones worth memorising:

CommandWhat it shows
fsutil fsinfo drivesEvery drive letter and mounted volume
fsutil fsinfo volumeinfo C:File system name, serial number and flags
fsutil fsinfo ntfsinfo C:Bytes per cluster, MFT size, total and free clusters
fsutil volume diskfree C:Free and total bytes for the volume
fsutil dirty query C:Whether the volume is marked dirty
fsutil behavior query DisableDeleteNotifyWhether TRIM is enabled (0 means enabled)

Reading Bytes Per Cluster is useful when you are comparing how two drives store the same folder, and the TRIM query is the quickest way to confirm that an SSD is receiving delete notifications.

Working with the Dirty Bit

The dirty bit is a flag that tells Windows a volume may contain inconsistencies. It is set when a write is interrupted, and it is why a machine sometimes runs chkdsk at startup.

Setting the dirty bit is occasionally used by administrators who want a scan to run on a volume that cannot be dismounted. Do not clear it manually. If the flag returns immediately after a scan, the disk or the file system has a real problem, and the next step is a surface test and a backup, not another flag change.

Changing File System Behavior

The behavior subcommand changes settings that apply to the whole system. The useful ones are:

Each change persists across reboots. Write down the original value before you change anything, and change one setting at a time so you can tell what caused a difference in behaviour.

Commands That Can Cause Damage

Several fsutil operations rewrite metadata or delete structures. Treat them as maintenance procedures, not as diagnostics:

Before any of these, copy the data that matters. A file-system repair is not a substitute for a backup, and some repairs make recovery harder by moving or discarding damaged records.

What fsutil Cannot Do

Fsutil works inside an existing file system. It cannot create, delete, resize or move partitions, change a drive letter, convert a disk between MBR and GPT, or wipe a drive. Those tasks belong to a partition manager.

For irreversible operations, a dedicated tool with a clear preview is safer than a command you cannot undo. Qiling Disk Master, for example, can wipe a disk or partition so that the previous content cannot be recovered, which is the correct step before selling a drive.

Step 1. Launch Qiling Disk Master, select the disk you want to wipe and open Wipe data.

select a disk to wipe in Qiling Disk Master

Step 2. Set the number of erase times and click Proceed. A single pass is enough for reuse; multiple passes take longer and are intended for sensitive data.

set erase times and confirm the wipe warning

Step 3. Confirm the warning and wait for the progress bar to finish. The disk will contain no file system afterwards and must be initialised before use.

disk wipe operation in progress

Does fsutil work on Windows Home?

Yes. It is part of every Windows edition. The only requirement is an elevated Command Prompt.

Is fsutil safe for checking a failing drive?

Read-only queries are safe. Repair commands add load and can move data, so back up first and test the hardware before running them.

Can fsutil shrink a partition?

No. Use Disk Management or a partition manager. fsutil only reports and adjusts file-system metadata inside an existing volume.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it