If you don’t know what Disk Space Quota is please refer this link. Now that we know everything about Disk Space Quota, lets see how to set Quotas in Server 2012.
For Quota Management, we need File Server Resource Manager. It isn’t installed by default so we will have to install it. Only through File Server Resource Manager, we can manage disk space Quota. To install File Server Resource Manager:
- Click on Manage –> Add Roles and Features.
- Click on Next. Select Installation type, select server and click Next.
- Under File and Storage Services. Expand File and iSCSI services. Select File and Resource Manager.
It will give the details of features. Click on Add Features.
Click Next.
- Click Next.
- Install the features.
- Wait for the Feature Installation to finish.
- Go to Tools –> File and Resource Manager.
Now that we have File and Resource Manager, time to set Disk Space Quota.
- Under File and Resource Manager, click on Quota Management.
Quotas will be blank since we haven’t set any Quotas yet.
Quota Templates are already defined Quotas that we can directly use. It has both, Hard and Soft type for various limits.
- First we’ll see a general Quota and then create a new one. Right-Click on any one of the templates and select ‘Edit Template Properties.
Here you can see the Limit, Quota type and various notifications that will be sent. Click on Ok.
- Right-click anywhere on Quota Templates and select ‘Create Quota Template’.
At the top you’ll get an option to directly inherit properties of any existing Templates and then edit it.
Else give the Quota a name, set its limit, select Quota type and click on ‘Add’ under Notification Thresholds. - Enter the % when you want users to be notified. Then select ‘Send E-mail to administrators’ and we should also let the users know about his usage so select ‘Send E_mail to the users who exceeds the threshold’.
Click on ‘Additional E-mail Headers’.If you want to send a copy of the E-mail to some other person, add the E-mail address under ‘CC’ and ‘BCC’.
- You can also add an entry to the log each time the user reaches the limit under Event Log.
If you want to run some command like ‘del %temp%’ you can also do it under the command tab. Once you’re done click on Ok.
- Since we only configured to send E-mail, for limits 85% and 90% the Email tab is checked.
- You can now see your created Quota in the Quota Templates.
- Now click on Quota on the left. Right-click anywhere and select ‘Create Quota’.
- Click on ‘Browse’ to select path. Then click on Drop Down menu to select a Quota Template.
We will use Geekstarts Quota template which we created in the previous steps.
- Check path, quota template and the Notifications. Click on Create.
- Check the summary.
- You can now see the Quota you just created.