Defaultquotatemplate: Stsadm property (Office SharePoint Server)

Applies To: Office SharePoint Server 2007


Specifies the default quota template to be used when creating new site collection on a specified Web application.


You must be an administrator of the local server computer or a member of the SharePoint administrators group to be able to manage quotas and quota templates.

This property is equivalent to the Default Quota Template user interface setting that is located on the Web Application General Settings page of the SharePoint Central Administration Web site.


stsadm -o setproperty

-propertyname defaultquotatemplate

-propertyvalue <A quota template name>

**   -url***<https://server_name>*

The syntax for the getproperty operation is:

stsadm -o getproperty

-propertyname defaultquotatemplate

**   -url** <https://server_name>


You can substitute -pn for -propertyname and -pv for -propertyvalue.

Property values

The following table shows possible values.




Gets or sets the name of the property.


A valid quota template name, such as "Personal Site".


Typically, a path to the URL of the Web application, in the form http://server_name.


Specifies the default quota template to be used when creating new site collection on a specified Web application.

When you create a top-level Web site, you can create it using the default template or a different template. You can create multiple sets of quotas, called quota templates, and use them in different areas of your server farm, or to suit different users. For example, in an ISP setting, you could have the following quota templates:

  • Free: Applied to free or demo sites; restricts users to 10 MB of storage and 5 users.

  • Standard: Applied to monthly-fee sites; allows site owners up to 100 MB of storage and 50 registered users.

  • Premium: Applied to extranet sites for large corporate customers; allows organizations up to 10 GB of storage and unlimited user accounts.

A quota template must be created before the defaultquotatemplate property can be used. For information about how to create a quota template, see Create quota templates (Office SharePoint Server).


The storage limit values are not specified using the defaultquotatemplate property. The storage limit values are specified when the quota template is created. For more information about how to manage quota templates, see Manage quota templates (Office SharePoint Server).

Quota templates and the settings specified in them are stored in the configuration database for your server or server farm. Quota values apply to site collections and are applied when you create a site collection. For example, you can limit the amount of storage available on a site and set the warning level. When the warning level is reached, an e-mail is sent to the site collection administrator to inform them. You can specify a default template to use for all site collections created on a Web application, for example, or you can specify the template to use when you create the site collection. The values listed in the quota template are copied into the database for the site collection and are referenced from there.

If you change the values for a quota template, those changes apply only to new site collections created by using that template, not to existing site collections.

When you delete a quota template, the template is removed from the configuration database, but any site collections created using that template retain the quota values. To remove quotas from all sites using a particular quota template, you must use either Object Model properties or see the “Delete a quota template” section of the following article: Create quota templates (Office SharePoint Server).


To set a default quota template, use the following syntax:

stsadm -o setproperty -pn defaultquotatemplate –pv “Personal Site” –url https://server_name

To view the current setting of the defaultquotatemplate property, use the following syntax:

stsadm -o getproperty -pn defaultquotatemplate

To clear the current quota template settings, use the following syntax:

stsadm -o setproperty -pn defaultquotatemplate –pv ""