How to create disk space alert by email

Download the file and extract to folder of your choice

DiskSpaceAlert

configure the variables in the SendMail.ini :

smtp server and it’s credentials , From Address,To Address , Subject, Body ect …

The disk you want to monitor start with 3= partition C:

so if you have C: D: E:

you need to choose 3,4,5

Now all you need to schedule task it and pin it to EVENT ID 2013 (disk below 10% warning)
the easy way to do it is just to find the event on Event viewer ->right click -> “Attach a Task to This Event …” -> in the action TAB choose the EXE
from the file you just prepared.
If you want to play around with the space warning you can do it by adding registry setting according to your windows version:
window 2003+2008 :

  • KEY Name: HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
  • Registry Entry: DiskSpaceThreshold
  • Data Type: REG_DWORD
  • Value: 0-99 Percent

 

Leave a Reply

Your email address will not be published. Required fields are marked *