text
stringlengths
0
4.23k
Lists existing disk quotas.
track
Tracks disk usage on the specified volume.
violations
Searches the system and application logs and displays a message to indicate that quota violations have been detected or that a user has reached a quota threshold or quota limit.
<volumepath>
Required. Specifies the drive name followed by a colon or the GUID in the format volume{GUID}.
<threshold>
Sets the limit (in bytes) at which warnings are issued. This parameter is required for the fsutil quota modify command.
<limit>
Sets the maximum allowed disk usage (in bytes). This parameter is required for the fsutil quota modify command.
<username>
Specifies the domain or user name. This parameter is required for the fsutil quota modify command.
<volumepath>
volume{GUID}
<threshold>
fsutil quota modify
<limit>
fsutil quota modify
<username>
fsutil quota modify
Remarks
Disk quotas are implemented on a per-volume basis, and they enable both hard and soft storage limits to be implemented on a per-user basis.
You can use write scripts that use fsutil quota to set the quota limits every time you add a new user or to automatically track quota limits, compile them into a report, and automatically send them to the system administrator in e-mail.
Examples
To list existing disk quotas for a disk volume that is specified with the GUID, {928842df-5a01-11de-a85c-806e6f6e6963}, type:
fsutil quota query volume{928842df-5a01-11de-a85c-806e6f6e6963}
To list existing disk quotas for a disk volume that is specified with the drive letter, C:, type:
fsutil quota query C:
fsutil repair
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
Administers and monitors NTFS self-healing repair operations. Self-healing NTFS attempts to correct corruptions of the NTFS file system online, without requiring Chkdsk.exe to be run. For more information, see Self-healing NTFS.
Syntax
fsutil repair [enumerate] <volumepath> [<logname>]
fsutil repair [initiate] <volumepath> <filereference>
fsutil repair [query] <volumepath>
fsutil repair [set] <volumepath> <flags>
fsutil repair [wait][<waittype>] <volumepath>
Parameters
Parameter
Description
enumerate
Enumerates the entires of a volume's corruption log.
<logname>
Can be $corrupt, the set of confirmed corruptions in the volume or $verify, a set of potential, unverified corruptions in the volume.
initiate
Initiates NTFS self-healing.
<filereference>
Specifies the NTFS volume-specific file ID (file reference number). The file reference includes the segment number of the file.
query
Queries the self-healing state of the NTFS volume.
set
Sets the self-healing state of the volume.
<flags>
Specifies the repair method to be used when setting the self-healing state of the volume.This parameter can be set to three values:0x01 - Enables general repair.0x09 - Warns about potential data loss without repair.0x00 - Disables NTFS self-healing repair operations.
state
Queries the corruption state of the system or for a given volume.
wait
Waits for repair(s) to complete. If NTFS has detected a problem on a volume on which it is performing repairs, this option allows the system to wait until the repair is complete before it runs any pending scripts.