Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

fsutil

Feedback

In this article

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, Windows Server 2008 R2, Windows 7

Performs tasks related to FAT and NTFS file systems, such as managing reparse points, handling sparse files, or dismounting a volume. When used without parameters,fsutil displays a list of supported subcommands.

You must log on as an administrator or a member of the Administrators group to usefsutil. Only advanced users with a thorough understanding of Windows operating systems should use this powerful command.

Parameters

SubcommandDescription
fsutil 8dot3nameQueries or changes the settings for short name behavior on the system, for example, generates 8.3 character-length file names. Removes short names for all files within a directory. Scans a directory and identifies registry keys that might be impacted if short names were stripped from the files in the directory.
fsutil clfsCreates or corrects authentication codes for Common Log File System (CLFS) logfiles.
fsutil devdrvManages dev drive, which is a volume tuned for performance of developer scenarios. Dev drive also lets an administrator of the device control the file system minifilters that are attached to the volume.
fsutil dirtyQueries whether the volume's dirty bit is set or sets a volume's dirty bit. When a volume's dirty bit is set,autochk automatically checks the volume for errors the next time the computer is restarted.
fsutil fileFinds a file by user name (if Disk Quotas are enabled), queries allocated ranges for a file, sets a file's short name, sets a file's valid data length, sets zero data for a file, creates a new file of a specified size, finds a file ID if given the name, or finds a file link name for a specified file ID.
fsutil fsinfoLists all drives and queries the drive type, volume information, NTFS-specific volume information, or file system statistics.
fsutil hardlinkLists hard links for a file, or creates a hard link (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 are deleted. After you create a hard link, programs can use it like any other file name.
fsutil objectidManages object identifiers, which are used by the Windows operating system to track objects such as files and directories.
fsutil quotaManages disk quotas on NTFS volumes to provide more precise control of network-based storage. Disk quotas are implemented on a per-volume basis and enable both hard- and soft-storage limits to be implemented on a per-user basis.
fsutil repairQueries or sets the self-healing state of the volume. Self-healing NTFS attempts to correct corruptions of the NTFS file system online without requiringchkdsk.exe to be run. Includes initiating on-disk verification and waiting for repair completion.
fsutil reparsepointQueries or deletes reparse points (NTFS file system objects that have a definable attribute containing user-controlled data). Reparse points are used to extend functionality in the input/output (I/O) subsystem. They're used for directory junction points and volume mount points. They're also used by file system filter drivers to mark certain files as special to that driver.
fsutil resourceCreates a Secondary Transactional Resource Manager, starts or stops a Transactional Resource Manager, displays information about a Transactional Resource Manager, or modifies its behavior.
fsutil sparseManages sparse files. A sparse file is a file with one or more regions of unallocated data in it. A program sees these unallocated regions as containing bytes with the value zero, but no disk space is used to represent these zeros. All meaningful or nonzero data is allocated, whereas all non-meaningful data (large strings of data composed of zeros) isn't allocated. When a sparse file is read, allocated data is returned as stored, and unallocated data is returned as zeros (by default in accordance with the C2 security requirement specification). Sparse file support allows data to be deallocated from anywhere in the file.
fsutil tieringEnables management of storage tier functions, such as setting and disabling flags and listing of tiers.
fsutil transactionCommits a specified transaction, rolls back a specified transaction, or displays info about the transaction.
fsutil usnManages the update sequence number (USN) change journal, which provides a persistent log of all changes made to files on the volume.
fsutil volumeManages a volume. Dismounts a volume, queries to see how much free space is available on a disk, or finds a file that is using a specified cluster.
fsutil wimProvides functions to discover and manage WIM-backed files.

Related links


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?