Freigeben über


Add new quota entries

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

To add new quota entries

  • 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 add new disk quota entries, 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, on the Quota menu, click New Quota Entry.

  6. In the Select Users dialog box, in the Enter the object names to select text box, type the domain or workgroup name, followed by a back slash and the user name of the user for which you want to impose quotas. Click OK.

  7. In the Add New Quota Entry dialog box, specify one of the following options, and then click OK:

    Do not limit disk usage. Tracks 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 then 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.

  • You use the New Quota Entry feature to set up quota limits and warning levels before the user actually writes data to the volume. This is useful when you do not want to use the default disk space limit and warning level values for a particular user. Typically, the default disk space limit and warning level values established by the volume administrator are sufficient for new users of the volume.

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 add new quota entries, 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