text stringlengths 0 4.23k |
|---|
Specifies the drive letter (followed by a colon). |
<rootpath>: |
Specifies the drive letter (followed by a colon) of the root drive. |
<volumepath>: |
<rootpath>: |
Examples |
To list all of the drives in the computer, type: |
fsutil fsinfo drives |
Output similar to the following displays: |
Drives: A:\ C:\ D:\ E:\ |
To query the drive type of drive C, type: |
fsutil fsinfo drivetype c: |
Possible results of the query include: |
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: |
fsutil fsinfo volumeinfo e: |
Output similar to the following displays: |
Volume Name : Volume |
Serial Number : 0xd0b634d9 |
Max Component Length : 255 |
File System Name : NTFS |
Supports Named Streams |
Is DAX Volume |
To query drive F for NTFS-specific volume information, type: |
fsutil fsinfo ntfsinfo f: |
Output similar to the following displays: |
NTFS Volume Serial Number : 0xe660d46a60d442cb |
Number Sectors : 0x00000000010ea04f |
Total Clusters : 0x000000000021d409 |
Mft Zone End : 0x0000000000004700 |
To query the file system's underlying hardware for sector information, type: |
fsutil fsinfo sectorinfo d: |
Output similar to the following displays: |
D:\>fsutil fsinfo sectorinfo d: |
LogicalBytesPerSector : 4096 |
PhysicalBytesPerSectorForAtomicity : 4096 |
Trim Not Supported |
DAX capable |
To query the file system statistics for drive E, type: |
fsutil fsinfo statistics e: |
Output similar to the following displays: |
File System Type : NTFS |
Version : 1 |
UserFileReads : 75021 |
UserFileReadBytes : 1305244512 |
LogFileWriteBytes : 180936704 |
fsutil hardlink |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8 |
Creates a hard link between an existing file and a new file. A hard link is a directory entry for a file. Every file can be considered to have at least one hard link. |
On NTFS volumes, each file can have multiple hard links, so a single file can appear in many directories (or even in the same directory with different names). Because all of the links reference the same file, programs can open any of the links and modify the file. A file is deleted from the file system only after all links to it have been deleted. After you create a hard link, programs can use it like any other file name. |
Syntax |
fsutil hardlink create <newfilename> <existingfilename> |
fsutil hardlink list <filename> |
Parameters |
Parameter |
Description |
create |
Establishes an NTFS hard link between an existing file and a new file. (An NTFS hard link is similar to a POSIX hard link.) |
<newfilename> |
Specifies the file that you want to create a hard link to. |
<existingfilename> |
Specifies the file that you want to create a hard link from. |
list |
Lists the hard links to filename. |
fsutil objectid |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8 |
Manages object identifiers (OIDs), which are internal objects used by the Distributed Link Tracking (DLT) Client service and File Replication Service (FRS), to track other objects such as files, directories, and links. Object identifiers are invisible to most programs and should never be modified. |
Warning |
Don't delete, set, or otherwise modify an object identifier. Deleting or setting an object identifier can result in the loss of data from portions of a file, up to and including entire volumes of data. In addition, you might cause adverse behavior in the Distributed Link Tracking (DLT) Client service and File Replication Service (FRS). |
Syntax |
fsutil objectid [create] <filename> |
fsutil objectid [delete] <filename> |
fsutil objectid [query] <filename> |
fsutil objectid [set] <objectID> <birthvolumeID> <birthobjectID> <domainID> <filename> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.