Scott Lowe illustrates how to create quota templates that allow you to apply storage limits across folders in Windows Server 2012.
Recently, I shared with you the process you follow to create a new shared folder in Windows Server 2012. During that process, you may see a screen that displays a list of the available quotas that you have at your disposal. In this post, I'm going to show you how to create your own quota templates. Quota templates make it easy for you to apply storage limits across many folders all at once. This article provides you with instructions on how to create quota templates.To get started, from Server Manager, go to Tools | File Server Resource Manager (Figure A). Figure A
Open the File Server Resource Manager (click images for larger versions)Once you open the File Server Resource Manager, navigate to Quota Management and select the Quotas option to see what quotas you have already established on this server. In Figure B, you can see a quota that was established earlier.
Quota management optionsNow, select Quota Templates. Once you do so, you can see the quota templates that exist on this server. In Figure C, you can see that there are a number of predefined default quota templates.
Note that there are two different kinds of templates from which to choose:
- Hard. Once the user hits the defined limit, he can no longer store files.
- Soft. The user can continue to store files. This is sometimes referred to as a "monitor."
A look at the existing quota templates
To create a new quota template, right-click Quota Templates and, from the shortcut menu, choose Create Quota Template.
Create a new quota templateWhen the Create Quota Template window appears, you will see a screen much like the one shown in Figure E. On this screen, provide the requested information, including a name for the template, a description, the space limit, and the quota type. You will also notice that there is a Notification Thresholds section. There are a number of different actions you can take as users cross certain thresholds on their way to their quota limit.
The quota template creation windowThe most common action is to automatically send the user an email message or send a message to an administrator who can follow up with the user. In Figure F, you can see that you have the option to fully customize the message that the user or administrator receives.
Configure email options for a thresholdYou may want to copy or blind copy someone on messages from the system. Click the Additional Email Headers button to get the screen shown in Figure G.
Configure additional email propertiesYou also have the option to write a warning to the server's event log when a user crosses a particular threshold. You can see this in action in Figure H. Note that this event log warning would be written when the user hits 85% of his quota.
Write an event to the event log
Or, you can choose to run a command or script. If you do so, you need to specify the command you want to run and choose the level of security necessary for the command to achieve your desired outcomes.
Execute a command when a threshold is reached
Finally, you can choose instead to have a report generated and emailed to an administrator or offending user.