<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tachytelic.net &#187; Windows Automatic Updates</title>
	<atom:link href="http://www.tachytelic.net/tag/windows-automatic-updates/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tachytelic.net</link>
	<description></description>
	<lastBuildDate>Sun, 05 Sep 2010 10:53:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows update automatic e-mail notification</title>
		<link>http://www.tachytelic.net/2007/08/windows-update-automatic-e-mail-notification/</link>
		<comments>http://www.tachytelic.net/2007/08/windows-update-automatic-e-mail-notification/#comments</comments>
		<pubDate>Mon, 27 Aug 2007 22:29:17 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Scripts & Utilities]]></category>
		<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Automatic Notifcation]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[Windows Automatic Updates]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=18</guid>
		<description><![CDATA[As the number of servers that I am responsible for managing increases, it becomes more difficult to ensure that they are all patched up to date.
As most of the machines I manage are SBS boxes I thought that it would be nice to put something together which behaves in much the same way as the [...]]]></description>
			<content:encoded><![CDATA[<p>As the number of servers that I am responsible for managing increases, it becomes more difficult to ensure that they are all patched up to date.
<p>As most of the machines I manage are SBS boxes I thought that it would be nice to put something together which behaves in much the same way as the SBS generated e-mail alerts.
<p>So, the result is a script which sends e-mail notifications to a specified address and gives details of which patches are available to be installed.&nbsp; The administrator can choose which of the four patch levels will trigger an e-mail alert (Critical, Important, Moderate &amp; Low).
<p>If there are no outstanding patches at the appropriate alert levels to be installed then the script will quit without sending an e-mail.
<p>The script is then run as a scheduled task every evening and I can quickly see if I have anything to action.&nbsp; The report includes links to the relevant KB articles and further information made available by Microsoft.
<p><a href="http://www.tachytelic.net/wp-content/autoupdate1.jpg" atomicselection="true"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="397" alt="AutoUpdate" src="http://www.tachytelic.net/wp-content/autoupdate-thumb1.jpg" width="640" border="0"></a> </p>
<p>The script only takes a couple of minutes to setup as there are only six settings at the top of the file&#8230;</p>
<p>Setting any of the following to 1 will generate trigger alerts for that particular update severity:</p>
<ul>
<li>AlertCritical
<li>AlertImportant
<li>AlertModerate&nbsp;
<li>AlertLow<br /> 
<li>EmailFrom &#8211; Specifies the e-mail address the report will&nbsp;be sent from.
<li>EmailTo &#8211; Specifies the e-mail address to send the reports to.</li>
</ul>
<p><a href="http://www.tachytelic.net/wp-content/variables1.jpg" atomicselection="true"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="88" alt="variables" src="http://www.tachytelic.net/wp-content/variables-thumb1.jpg" width="400" border="0"></a> </p>
<p>As shown above I have been running with AlertCritical/AlertImportant set to 1 and the other two set to 0.&nbsp; </p>
<p>So, if you want to receive email alerts all you need to do is download this <a href="http://www.tachytelic.net/wp-content/winupdates.zip">Zip file</a>, extract the contents to a folder on your server and then edit the variables at the top of the script.&nbsp; To perform a test run go into a command prompt and change directory to the location where you extracted the script and run:</p>
<p>cscript winupdates.vbs</p>
<p>With any luck you should get an e-mail soon after with the results.&nbsp; If you find that it is not generating you an e-mail as expected, one reason may be that there are no patches available to install.&nbsp; Bear in mind that not all items from Windows update will appear.&nbsp; For example &#8220;Internet Explorer 7&#8243; is not a patch and therefore will not be listed.</p>
<p>Running the script interactively as above will take a few moments&nbsp;while Windows Update(or WSUS&nbsp;if you have it installed) are checked for new updates.&nbsp;</p>
<p>Once you have completed a successful test you can go ahead and setup a scheduled task.&nbsp; Assuming an installation directory of &#8220;c:\scripts&#8221; the scheduled task command should look something like this:</p>
<p>C:\WINDOWS\system32\cscript.exe c:\scripts\winupdates.vbs</p>
<p>Also worth a mention that I have used this on standard(non-sbs) Windows servers and it works well.</p>
<p>Perhaps if enough people use this script, it will actually save as much time as it took to make it, but I doubt it. <img src='http://www.tachytelic.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2007/08/windows-update-automatic-e-mail-notification/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
