Skip navigation

JSI Tip 5351. How can I display drive information from the Windows XP command-line?

When you use Help and Support to view information about the fsutil fsinfo command, you receive:

Fsutil: fsinfo Typically used by support professionals. Lists all drives, queries the drive type,
               queries volume information, queries NTFS-specific volume information,
               or queries file system statistics.


fsutil fsinfo \[drives\]

fsutil fsinfo \[drivetype\] PathName

fsutil fsinfo \[ntfsinfo\] RootPathname

fsutil fsinfo \[statistics\] VolumePathname

fsutil fsinfo \[volumeinfo\] RootPathname


     Lists all drives in the computer. 

     Queries a drive and lists its type, for example CD-ROM drive. 

     Lists NTFS specific volume information for the specified volume, such as the number of sectors,
     total clusters, free clusters, and the start and end of the MFT Zone. 

     Lists file system statistics for the specified volume, such as metadata, log file, and MFT reads and writes. 

     Lists information for the specified volume, such as the file system, and whether the volume supports
     case-sensitive file names, unicode in file names, or disk quotas. 

     Specifies the drive letter (followed by a colon), mount point, or volume name. 

     Specifies the drive letter (followed by a colon) of the root drive. 

     Specifies the drive letter (followed by a colon), mount point, or volume name. 


To query the drive type of drive C, type:

fsutil fsinfo drivetype C:

Possible results:

Unknown Drive 
No such Root Directory 
Removable Drive, for example floppy 
Fixed Drive 
Remote/Network Drive 
CD-ROM Drive 
Ram Disk 

To query the volume information for volume E, type:

fsinfo volumeinfo E:\

Sample output:

Volume Name :
Volume Serial Number : 0xd0b634d9
Max Component Length : 255
File System Name : NTFS
Supports Case-sensitive filenames
Preserves Case of filenames
Supports Unicode in filenames
Preserves & Enforces ACL's
Supports file-based Compression
Supports Disk Quotas
Supports Sparse files
Supports Reparse Points
Supports Object Identifiers
Supports Encrypted File System
Supports Named Streams

To query drive F for NTFS-specific volume information, type:

fsutil fsinfo ntfsinfo F:\

Sample output:

NTFS Volume Serial Number : 0xe660d46a60d442cb
Number Sectors : 0x00000000010ea04f
Total Clusters : 0x000000000021d409
Free Clusters : 0x00000000000f222a
Total Reserved : 0x0000000000003550
Bytes Per Sector : 512
Bytes Per Cluster : 4096
Bytes Per FileRecord Segment : 1024
Clusters Per FileRecord Segment : 0
Mft Valid Data Length : 0x0000000003eab000
Mft Start Lcn : 0x0000000000000004
Mft2 Start Lcn : 0x000000000010ea04
Mft Zone Start : 0x0000000000003ea0
Mft Zone End : 0x0000000000004700

To query the file system statistics for drive E, type:

fsinfo statistics E:

Sample output:

File System Type : NTFS
Version : 1
UserFileReads : 75021
UserFileReadBytes : 1305244512
UserDiskReads : 71213
UserFileWrites : 8037
UserFileWriteBytes : 207685440
UserDiskWrites : 5278
MetaDataReads : 14377
MetaDataReadBytes : 58888192
MetaDataDiskReads : 14773
MetaDataWrites : 18705
MetaDataWriteBytes : 138108928
MetaDataDiskWrites : 21464

MftReads : 9394
MftReadBytes : 38477824
MftWrites : 17061
MftWriteBytes : 115359744
Mft2Writes : 0
Mft2WriteBytes : 0
RootIndexReads : 0
RootIndexReadBytes : 0
RootIndexWrites : 0
RootIndexWriteBytes : 0
BitmapReads : 136
BitmapReadBytes : 557056
BitmapWrites : 1180
BitmapWriteBytes : 11161600
MftBitmapReads : 4
MftBitmapReadBytes : 16384
MftBitmapWrites : 118
MftBitmapWriteBytes : 491520
UserIndexReads : 2938
UserIndexReadBytes : 12034048
UserIndexWrites : 2738
UserIndexWriteBytes : 20615168
LogFileReads : 4
LogFileReadBytes : 16384
LogFileWrites : 8407
LogFileWriteBytes : 180936704
NOTE: See tip 5350 ยป How can I determine a drive size and free space in a Windows XP batch?

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.