Share via


Fsutil volume

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

Dismounts a volume, or queries the hard disk drive to determine how much free space is currently available on the hard disk drive or which file is using a particular cluster.

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

Syntax

fsutil volume [diskfree] <VolumePath>
fsutil volume [dismount] <VolumePath>
fsutil volume [querycluster] <VolumePath> <Cluster> [<Cluster>] … …

Parameters

Parameter Description

diskfree

Queries the hard disk drive to determine the amount of free space on it.

dismount

Dismounts a volume.

<VolumePath>

Specifies the drive letter (followed by a colon).

querycluster

Finds which file is using a specified cluster. You can specify multiple clusters with the querycluster parameter.

This parameter applies to: Windows Server® 2008 R2 and Windows® 7.

<cluster>

Specifies the logical cluster number (LCN).

Examples

To dismount a volume on drive C, type:

fsutil volume dismount c:

To query the amount of free space of a volume on drive C, type:

fsutil volume diskfree c:

To find the file(s) that are using the clusters, specified by the logical cluster numbers 50 and 0x2000, on drive C, type:

fsutil volume querycluster C: 50 0x2000

Additional references

Command-Line Syntax Key

Fsutil

How NTFS Works