Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Is there an easy way to set up E-Mail notification when a Windows 2008 server's hard disk is getting full?

share|improve this question

marked as duplicate by kasperd, Ward, Michael Hampton Oct 6 '14 at 21:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 4 down vote accepted

From Vista/2008 onwards Microsoft added the ability to attach actions to events, You can setup a e-mail alert to be sent whenever the event id 2013 (disk drive near capacity) is triggered.

Open the Task Scheduler MMC, start the Create a Basic Task Wizard, give it a name and select on the event trigger. Set the Log to "System" Source to "Srv" and Event ID to "2013".

Then assuming you have a usable SMTP server just set the action to send you an e-mail.

The information you get is pretty basic, there are a lot of good monitoring tools freely available that handle this as well (SpiceWorks is one I recall).

share|improve this answer

This is simple to accomplish with Powershell. This is an example.

share|improve this answer

If you don't have a local SMTP server you can download this little tool and follow the same event scheduler instructions, except you make a batch file containing this:


Make sure you include the path to sendemail.exe at the start of the line if you don't put them in the same folder.

The sendmail.exe tool is pretty useful if you don't want to use a local SMTP or want to scripts to send emails.

share|improve this answer

Built into the OS? No. Built into almost any monitoring system you care to name, commercial or open-source? Yes.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.