Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disk quotas and alerting users

Status
Not open for further replies.

Molenski

IS-IT--Management
Jan 24, 2002
288
DE
Hi there,

Anybody know if there is a way of alerting users when they reach the disk quota warning level set for them. It's all fine and dandy having an entry in the event log and the quota entry console but I'd like my users to know when they are about to be stopped saving!

Thanks a lot.

Molenski
As my bessie bud Kev always says - Get involved!!!
 
Here's something you can try:

Open the File Server Management MMC snap-in. Navigate to File Server Management File Server Resource Manager Quota Management.

Right-click on Quota Templates and select "Create quota template."

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.

Under Settings, enter a Template Name and optional Label.

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)."

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.

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.

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.

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.

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.

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

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

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


Give it a shot!
 
File Server Resource Manager isn't available on Windows 2000 but the SMTP alerting might still be an option in the 2000 disk quota settings.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top