{"id":148,"date":"2016-12-11T21:52:08","date_gmt":"2016-12-11T19:52:08","guid":{"rendered":"http:\/\/itsimple.info\/?p=148"},"modified":"2016-12-11T22:10:04","modified_gmt":"2016-12-11T20:10:04","slug":"how-to-create-disk-space-alert-by-email","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=148","title":{"rendered":"How to create disk space alert by email"},"content":{"rendered":"<h3><strong>Download the file and extract to folder of your choice<br \/>\n<\/strong><\/h3>\n<p><a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2016\/12\/DiskSpaceAlert.rar\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-151\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2016\/12\/Rar-icon.png\" alt=\"\" width=\"60\" height=\"60\" \/>DiskSpaceAlert<\/a><\/p>\n<p>configure the variables in the SendMail.ini :<\/p>\n<p>smtp server and it\u2019s credentials , From Address,To Address , Subject, Body ect \u2026<\/p>\n<p>The disk you want to monitor start with 3= partition C:<\/p>\n<p>so if you have C: D: E:<\/p>\n<p>you need to choose 3,4,5<\/p>\n<p>Now all you need to schedule task it and pin it to EVENT ID 2013 (disk below 10% warning)<br \/>\nthe easy way to do it is just to find the event on Event viewer ->right click -> \u201cAttach a Task to This Event \u2026\u201d -> in the action TAB choose the EXE<br \/>\nfrom the file you just prepared.<br \/>\nIf you want to play around with the space warning you can do it by adding registry setting according to your windows version:<br \/>\nwindow 2003+2008 :<\/p>\n<ul>\n<li>\n<pre><strong>KEY\u00a0Name:<\/strong>\u00a0HKLM\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters<\/pre>\n<\/li>\n<li>\n<pre><strong>Registry Entry: <\/strong>DiskSpaceThreshold<\/pre>\n<\/li>\n<li>\n<pre><strong>Data Type:<\/strong> REG_DWORD<\/pre>\n<\/li>\n<li>\n<pre><strong>Value:<\/strong> 0-99 Percent<\/pre>\n<\/li>\n<\/ul>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download the file and extract to folder of your choice DiskSpaceAlert configure the variables in the SendMail.ini : smtp server and it\u2019s credentials , From Address,To Address , Subject, Body ect \u2026 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=148"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/148\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}