共用方式為


Modify user disk space limits and warning levels

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To modify user disk space limits and warning levels

  • Using the Windows interface

  • Using a command line

Using the Windows interface

  1. Open My Computer.

  2. Right-click the volume for which you want to modify quota values, and then click Properties.

  3. In the Properties dialog box, click the Quota tab.

  4. On the Quota tab, click Quota Entries.

  5. In the Quota Entries window, click the entries for the users whose options you want to modify, and on the Quota menu, click Properties.

  6. In the Quota Settings dialog box, modify any of the following options you want to change, and then click OK:

    Do not limit disk usage. Click to track disk space usage without limiting disk space.

    Limit disk space to. Activates fields for limiting disk space and setting warning levels. Type a numeric value in the text field, and select a disk space limit unit from the drop-down list. You can use decimal values (for example, 20.5 MB).

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open My Computer, click Start, and then click My Computer.

  • If the volume is not formatted with the NTFS file system, or if you are not a member of the Administrators group, the Quota tab is not displayed in the volume`s properties dialog box.

Using a command line

  1. Open Command Prompt.

  2. Type:

    fsutil quota modify [VolumePathname] [threshold] [limit] [domain\username]

Value Description

VolumePathname

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.

domain\username

The domain and user name of the user whose disk usage you want to limit.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • In order to set user disk space limits and warning levels, the volume must be formatted with the NTFS file system.

  • For more information about fsutil, see Related Topics.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Sort quota entries
Modify user disk space limits and warning levels
Import quota settings from another volume
Export quota settings to another volume
Delete quota entries
Create quota reports
Change column order in the Quota Entries window
Add new quota entries
Fsutil: quota