Share via


Dirquota autoquota delete

 

Applies To: Windows Server 2008, Windows Server 2012

Deletes an auto apply quota.

Note

To use this command, you must be logged on as an administrator or a member of the Administrators group.

For examples of how to use this command, see Examples.

Syntax

dirquota autoquota delete /path:<Path> [/quiet] [/remote:<ComputerName>]

Parameters

Parameter

Description

/path:<Path>

Deletes the auto apply quota configured on path Path. You can use the following wildcard characters:

  • \. — the folder specified by Path

  • \* — all immediate subfolders of Path

  • \... — all recursive subfolders of Path

/quiet

Deletes the auto apply quota without warning. By default, you are prompted to confirm that you want to delete the quota.

/remote:<ComputerName>

Performs the operation on the remote computer ComputerName.

Remarks

  • Only the auto apply quota assigned to the parent folder at Path is deleted. Any quotas that were automatically generated on existing subfolders remain configured.

  • The shortest sequence of characters that uniquely identifies a parameter can be used as an abbreviation. For example, the following two commands are equivalent:

    dirquota au d /p:d:\scratch
    dirquota autoquota delete /path:d:\scratch
    
  • To perform operations on a remote computer by using the **/remote:**ComputerName parameter:

    • You must be logged on with a domain account that is a member of the Administrators group on both the local computer and the remote computer.

    • The remote computer must be running Windows Server 2008, and File Server Resource Manager must be installed.

    • The Remote File Server Resource Manager Management exception on the remote computer must be enabled. You enable this exception by using Windows Firewall in Control Panel.

Examples

  • To delete the auto apply quota assigned to the D:\users folder on the remote computer FILESERVER1 , type:

    dirquota autoquota delete /path:d:\users /remote:fileserver1
    

Additional references

Command-Line Syntax Key

Dirquota autoquota