Managing Disk Quota Templates

Posted: March 28, 2010 in Active Directory, Server, System Information
Tags: ,

Problem

You want to create and manage disk quota templates on a Windows file server.

Solution

Using a graphical user interface
  1. Open the File Server Management MMC snap-in. Navigate to File Server Management File Server Resource Manager Quota Management.

  2. Right-click on Quota Templates and select “Create quota template.”

  3. If you want to copy information from an existing template, select it in the “Copy properties from quota template (optional)” drop-down box and click Copy.

  4. Under Settings, enter a Template Name and optional Label.

  5. Under Space Limit, specify the disk space limit in KB, MB, GB, or TB. Select either “Hard quota: do not allow users to exceed limit” or “Soft quota: Allow users to exceed limit (used for monitoring).”

  6. In the Notification Threshold section, you can specify one or more actions that Windows will take when a user reaches a certain percentage of her quota limit.

  7. Click Add to create a new notification. Under “Generate notifications when usage reaches (%),” specify the percentage of the disk quota that should initiate the notification.

  8. To send an email notification, on the E-mail Message tab, place a checkmark next to “Send e-mail to the following administrators” and/or “Send e-mail to the user who exceeds the threshold.” On this tab you can also specify the subject and body of the email message to be sent to the user.

  9. To generate a message in the Event Log, go to the Event Log tab and place a checkmark next to “Send Warning to Event Log.” Under the Log Entry text box, specify the text of the message that should be logged.

  10. To run a command when a threshold is generated, go to the Command tab and place a checkmark next to “Run this command or script.” Under “Command settings,” specify any command-line arguments and the working directory. Under “Command security,” specify the account that the script should run as: Local Service, Network Service, or LocalSystem.

  11. To generate one or more reports when a threshold is generated, go to the Report tab and place a checkmark next to “Generate reports.” Select one or more of the following reports to be generated:

    • Duplicate files
    • File screening audit
    • Files by File Group
    • Files by Owner
    • Large Files
    • Least Recently Accessed Files
    • Most Recently Accessed Files
    • Quota Usage
  12. To email the reports, place a checkmark next to “Send reports to the following administrators” and specify one or more email addresses separated by semicolons, and/or place a checkmark next to “Send reports to the user who exceeded the threshold.”

  13. Once you’ve created one or more notification thresholds, click OK to create the quota template.

Discussion

While you can create disk quotas manually, disk quota templates allow you to create consistent quota settings for multiple quotas on a single server as well as on multiple servers. In addition to the space limitation that’s imposed by the quota, you can specify whether it is a hard or a soft quotathat is, whether a user is prohibited from saving files when they’ve gone over their quota (a hard quota), or just the OS makes note of the fact that a user has overrun his quota without preventing him from saving additional files. You can also specify what types of notifications (if any) will be generated when a user exceeds a defined quota threshold: sending an email to an administrator when a user exceeds 85 percent of her quota, generating an Event Viewer message when she exceeds 95 percent, etc. You can configure multiple notification thresholds for a single quota; no notifications are configured by default.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s