How to set Quotas in Server 2012


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:

  1. Click on Manage –> Add Roles and Features.

    Manage --> Add Roles and Features.

    Manage –> Add Roles and Features.

  2. Click on Next. Select Installation type, select server and click Next.

    Click on next

    Click on next

  3. Under File and Storage Services. Expand File and iSCSI services. Select File and Resource Manager.

    Select File Server Resource Manager

    Select File Server Resource Manager

    It will give the details of features. Click on Add Features.

    Add Features

    Add Features

    Click Next.

    Click on Next

    Click on Next

  4. Click Next.

    Click on Next.

    Click on Next.

  5. Install the features.

    Click on Install

    Click on Install

  6. Wait for the Feature Installation to finish.

    Wait for installation to finish

    Wait for installation to finish

  7. Go to Tools –> File and Resource Manager.

    Under tools select File Server Resource Manager.

    Under tools select File Server Resource Manager.

Now that we have File and Resource Manager, time to set Disk Space Quota.

  1. Under File and Resource Manager, click on Quota Management.

    Select Quota Management

    Select Quota Management

    Quotas will be blank since we haven’t set any Quotas yet.

    Click on Quotas

    Click on Quotas

    Quota Templates are already defined Quotas that we can directly use. It has both, Hard and Soft type for various limits.

    Click on Quota Templates

    Click on Quota Templates

  2. 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.

    Right-click --> edit

    Right-click –> edit

    Here you can see the Limit, Quota type and various notifications that will be sent. Click on Ok.

    Check the properties of template

    Check the properties of template

  3. Right-click anywhere on Quota Templates and select ‘Create Quota Template’.

    Right-Click --> Create Quota Template

    Right-Click –> 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 name,limit, type and click on Add

    Enter name,limit, type and click on Add

  4. 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’.

    Enter limit, check e-mail options. Click on Add Additional Headers

    Enter limit, check e-mail options. Click on Add Additional 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’.

    Enter cc and bcc for e-mail

    Enter cc and bcc for e-mail

  5. You can also add an entry to the log each time the user reaches the limit under Event Log.

    Check for event log entry

    Check for event log entry

    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.

    check to run command

    check to run command

  6. Since we only configured  to send E-mail, for limits 85% and 90% the Email tab is checked.

    Check if warnings have been added.

    Check if warnings have been added.

  7. You can now see your created Quota in the Quota Templates.

    Check your quota in Quota templates

    Check your quota in Quota templates

  8. Now click on Quota on the left. Right-click anywhere and select ‘Create Quota’.

    In quota, right-click --> Create quota

    In quota, right-click –> Create quota

  9. 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.

    click browse, select folder.

    click browse, select folder.

  10. Check path, quota template and the Notifications. Click on Create.

    Select quota configuration from drop-down

    Select quota configuration from drop-down

  11. Check the summary.

    Check the summary

    Check the summary

     

     

  12. You can now see the Quota you just created.

    Your quota has been set.

    Your quota has been set.

     

     

Leave a Reply