Fsutil: quota
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
Fsutil: quota
Manages disk quotas on NTFS volumes in order to provide more precise control of network-based storage.
Syntax
fsutil quota [disable] VolumePathname
fsutil quota [enforce] VolumePathname
fsutil quota [modify] VolumePathnameThresholdLimit [UserName]
fsutil quota [query] VolumePathname
fsutil quota [track] VolumePathname
fsutil quota [violations]
Parameters
- 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 their quota threshold or quota limit.
- VolumePathname
Specifies the drive letter (followed by a colon).
- Threshold
The limit (in bytes) at which warnings are issued.
- Limit
The maximum allowed disk usage (in bytes).
- UserName
Specifies the domain or user name.
Remarks
For more information about disk quotas, see Related Topics.
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.
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.
Formatting legend
Format | Meaning |
---|---|
Italic |
Information that the user must supply |
Bold |
Elements that the user must type exactly as shown |
Ellipsis (...) |
Parameter that can be repeated several times in a command line |
Between brackets ([]) |
Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} |
Set of choices from which the user must choose only one |
|
Code or program output |
See Also
Concepts
Fsutil
Command-line reference A-Z
Command shell overview
Managing disk quotas from the command line
Enable disk quotas
Add new quota entries
Assign default quota values
Modify user disk space limits and warning levels
Disk Quotas