Manages disk quotas on NTFS volumes to provide more precise control of network-based storage.

Syntax

fsutil quota [disable] <VolumePath>
fsutil quota [enforce] <VolumePath>
fsutil quota [modify] <VolumePath> <Threshold> <Limit> <UserName>
fsutil quota [query] <VolumePath>
fsutil quota [track] <VolumePath>
fsutil quota [violations]

Parameters

Parameter Description

disable

Disables quota tracking and enforcement on the specified volume.

enforce

Enforces quota usage on the specified volume.

modify

Modifies an existing disk quota or creates a new quota.

query

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 letter (followed by a colon).

<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.

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.

Additional references