Windows Server 2003 R2 allows administrators to apply quotas to individual shares on a file server. This can be useful if you need to: monitor the use of file shares in your environment; keep user home directories at a manageable size; or limit the amount of data that users can store in a share to conserve disk space. You may also find these features helpful for tracking resource usage and disallowed file types. (Note that you may need to install the File Server Resource Management utilities for quotas to work.)
Configuring quotas and quota templates on shared folders
When upgrading to Windows Server 2003 R2, you will need to install the File Server Resource Manager application following the steps below. (Windows may ask for the Windows Server 2003 CD-ROM to complete these steps.)
- Open Add/Remove Programs in the Control Panel.
- Select Windows Components.
- Select the Management And Monitoring Tools option from the component list and click Details.
- Check the box next to File Server Resource Manager (FSRM) and click OK. When the tools installation completes, the newly added MMC console will appear under the Administrative Tools folder on the Windows Start menu.
To add a quota to a shared folder, follow these steps:
- Open the FSRM.
- In the left pane, expand Quota Management.
- Select Quotas.
- Right-click in the right pane and choose Create Quota from the context menu. This will open a dialog box containing the settings needed to create a quota for a given folder.
In the new window, you can choose to set the quota against a specific folder or turn it on for all existing folders. (For simplicity's sake, I specify a folder in this tip.)
- Enter or browse to the share path on which you wish to create a quota.
- Choose how you would like to assign quota information from these two options:
- Select Derive Properties From This Quota Template (Recommended) and then choose a template in the drop-down box.
- Define Custom Quota Properties and click the Custom Properties button. (I select this method because quota templates are an easy way to keep track of quotas.)
Once you select the template, the details of the template will appear in the box at the bottom of the dialog box.
- Click Create to add the quota.
Microsoft includes a few preconfigured templates to assist in assigning quotas to folders. You can use these or create your own templates by completing the following steps:
- In the File Server Resource Manager, expand Quota Management.
- In the left pane of the window, select Quota Templates.
- Right-click the Details pane of the FSRM window and choose Create Quota Template. This will open a dialog box, allowing you to specify the settings for your template.
If you want to use an existing template to create your new quota template, select the desired template from the Copy Properties From Quota Template drop-down box at the top of the dialog box. Then complete the remaining fields of the dialog box. Templates allow you to save and reuse quota settings, saving time in the future.
- Specify a name for your template, such as Folder Shares Limit.
- If you wish, specify a label for your template to alert users of the quota.
- Specify a limit and unit of disk space. You can measure units in KB, MB, GB, or TB.
- Specify the limit type as either hard limit or soft limit:
- Hard limit. This does not allow users to exceed the specified limit.
- Soft limit. This allows users to exceed the limit; this type is used primarily for monitoring.
- Specify one or more notification thresholds.
- Click OK to complete the creation of a Quota Template.
Miss a Windows Server 2003 tip?
Check out the Windows Server 2003 archive, and catch up on the most useful tips from this newsletter.
Stay on top of the latest Windows Server 2003 tips and tricks with our free Windows Server newsletter, delivered each Wednesday. Automatically sign up today!
Derek Schauland has been tinkering with Windows systems since 1997. He has supported Windows NT 4, worked phone support for an ISP, and is currently the IT Manager for a manufacturing company in Wisconsin.