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 quota

Feedback

In this article

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

ParameterDescription
disableDisables quota tracking and enforcement on the specified volume.
enforceEnforces quota usage on the specified volume.
modifyModifies an existing disk quota or creates a new quota.
queryLists existing disk quotas.
trackTracks disk usage on the specified volume.
violationsSearches 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 formatvolume{GUID}.
<threshold>Sets the limit (in bytes) at which warnings are issued. This parameter is required for thefsutil quota modify command.
<limit>Sets the maximum allowed disk usage (in bytes). This parameter is required for thefsutil quota modify command.
<username>Specifies the domain or user name. This parameter is required for thefsutil 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 usefsutil 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:

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?