<?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>Tales from the Datacenter &#187; Server 2008</title>
	<atom:link href="http://www.pburch.com/blog/category/server-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pburch.com/blog</link>
	<description>Tales from the Datacenter</description>
	<lastBuildDate>Thu, 09 Sep 2010 18:39:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Unsupported Cluster Configuration</title>
		<link>http://www.pburch.com/blog/2009/04/28/unsupported-cluster-configuration/</link>
		<comments>http://www.pburch.com/blog/2009/04/28/unsupported-cluster-configuration/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 16:36:37 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Beta]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[highly available]]></category>
		<category><![CDATA[network tag]]></category>
		<category><![CDATA[server 2008 r2]]></category>
		<category><![CDATA[unsupported cluster configuration]]></category>
		<category><![CDATA[virtual network]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=175</guid>
		<description><![CDATA[Maybe Michael should go away more often.  I seem to get a lot more done when he&#8217;s out. Today, I added the third node to the Hyper-V R2 cluster we&#8217;re currently testing.  When I did, VMM freaked out and all of the guests on the other two nodes went into a warning state.  The error [...]]]></description>
			<content:encoded><![CDATA[<p>Maybe Michael should go away more often.  I seem to get a lot more done when he&#8217;s out.</p>
<p>Today, I added the third node to the Hyper-V R2 cluster we&#8217;re currently testing.  When I did, VMM freaked out and all of the guests on the other two nodes went into a warning state.  The error they displayed:</p>
<blockquote><p><strong> </strong></p>
<p align="left"><strong>Warning (13921)</strong></p>
<p>Highly available virtual machine <em>&lt;INSERT NAME&gt;</em> is not supported by VMM because one or  more of its network adapters is not configured correctly.</p>
<p><strong>Recommended Action</strong></p>
<p><strong></strong>Ensure that all of the virtual network adapters are either disconnected or  connected to highly available virtual networks.</p></blockquote>
<p>So, how do we fix this issue?  You use Google, of course.  A quick Google-ing gave the following <a href="http://social.technet.microsoft.com/Forums/en-US/virtualmachinemgrclustering/thread/cf3aa090-544f-4a94-aa5e-ac366d7a45c1">information </a>(edited for grammar):</p>
<blockquote>
<p align="left">For a VN [Virtual Network] to be marked as HA, the location and tag of the VN in all  nodes must be the same.  For each VN in the cluster[, be sure that]:</p>
<ul>
<li>
<div>The NICs to which the VN is attached in each node have the same  location.</div>
</li>
<li>
<div>The Tag in the VN in each node is the same.</div>
</li>
<li>
<div>The VN Name is the same.</div>
</li>
<li>
<div>After you commit changes, refresh the cluster so ensure that  the VN is detected as HA.</div>
</li>
</ul>
</blockquote>
<p>Our problem, specifically, was related to the network tagging.  To fix the tag, do the following:</p>
<ol>
<li>Open VMM, and navigate to the &#8220;Hosts&#8221; view.</li>
<li>Right click on one of the hosts and select &#8220;Properties.&#8221;</li>
<li>Navigate to the &#8220;Networking&#8221; tab.<br />
<a href="http://www.pburch.com/blog/wp-content/uploads/2009/04/networktab.png"></a><a href="http://www.pburch.com/blog/wp-content/uploads/2009/04/networktab1.png"><img class="aligncenter size-medium wp-image-179" title="VMM Network Tab" src="http://www.pburch.com/blog/wp-content/uploads/2009/04/networktab1-300x98.png" alt="VMM Network Tab" width="300" height="98" /></a></li>
<li>Once, there, you&#8217;ll need to click each network (in this case, we have two) and add text to the &#8220;Network tag:&#8221; field.  Keep in mind that these tags will need to be the same across all your hosts in order to make them highly available.<br />
<a href="http://www.pburch.com/blog/wp-content/uploads/2009/04/networktag.png"><img class="aligncenter size-medium wp-image-177" title="VMM Network Tag" src="http://www.pburch.com/blog/wp-content/uploads/2009/04/networktag-300x153.png" alt="VMM Network Tag" width="300" height="153" /></a></li>
<li>Rinse and repeat for the rest of your hosts.</li>
<li>Once you finish tagging, you&#8217;ll need to refresh the cluster node in VMM.<br />
<a href="http://www.pburch.com/blog/wp-content/uploads/2009/04/vmmrefresh.png"><img class="aligncenter size-full wp-image-180" title="vmmrefresh" src="http://www.pburch.com/blog/wp-content/uploads/2009/04/vmmrefresh.png" alt="vmmrefresh" width="269" height="103" /></a></li>
</ol>
<p>That fixed our problem.  Maybe it will help you.</p>
<p>More information <a href="http://technet.microsoft.com/en-us/library/cc967323.aspx">here</a> in the &#8220;Troubleshoot &#8216;Unsupported Cluster Configuration&#8217; Status for a Highly Available  Virtual Machine&#8221; section.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/04/28/unsupported-cluster-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The subsystem needed&#8230;</title>
		<link>http://www.pburch.com/blog/2009/04/27/the-subsystem-needed/</link>
		<comments>http://www.pburch.com/blog/2009/04/27/the-subsystem-needed/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 17:55:34 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Beta]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[image type]]></category>
		<category><![CDATA[ocsetup]]></category>
		<category><![CDATA[server 2008 r2]]></category>
		<category><![CDATA[wow64]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=172</guid>
		<description><![CDATA[So, I&#8217;m bee-bopping along setting up a new Server 2008 R2 virtual host, when I get to our SAN software&#8217;s install.  When I tried to run the executable, the following error was thrown: The subsystem needed to support the image type is not present. A quick Googling led me to this Technet post.  The relevate [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;m bee-bopping along setting up a new Server 2008 R2 virtual host, when I get to our SAN software&#8217;s install.  When I tried to run the executable, the following error was thrown:</p>
<blockquote><p>The subsystem needed to support the image type is not present.</p></blockquote>
<p>A quick Googling led me to <a href="http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/6b27f065-0758-4c93-8f27-ca179e67438d">this Technet post</a>.  The relevate parts of the post:</p>
<blockquote><p>WOW64 is not present in Microsoft Hyper-V Server 2008 R2.  This change was made  because Microsoft Hyper-V Server is supposed to be a single purpose OS, and  users have asked for it to be as small as possible.  So, whenever possible, we  will not include general Windows components that are not needed by Hyper-V.</p></blockquote>
<p>And the resolution:</p>
<p>Issue this command to install WOW64 support:</p>
<blockquote><p><em>start /w ocsetup ServerCore-WOW64</em></p></blockquote>
<p><em></em>And of course: reboot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/04/27/the-subsystem-needed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Core Patches</title>
		<link>http://www.pburch.com/blog/2009/04/20/server-core-patches/</link>
		<comments>http://www.pburch.com/blog/2009/04/20/server-core-patches/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 13:32:25 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[hotfixes]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[qfe]]></category>
		<category><![CDATA[server core]]></category>
		<category><![CDATA[wmic]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=167</guid>
		<description><![CDATA[Need to see what patches/hotfixes are installed on Server Core?  There&#8217;s a command for that: WMIC QFE You can also send this to a text file for easier viewing: WMIC QFE &#62; [FILENAME].txt]]></description>
			<content:encoded><![CDATA[<p>Need to see what patches/hotfixes are installed on Server Core?  There&#8217;s a command for that:</p>
<blockquote><p>WMIC QFE</p></blockquote>
<p>You can also send this to a text file for easier viewing:</p>
<blockquote><p>WMIC QFE &gt; [<em>FILENAME</em>].txt</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/04/20/server-core-patches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2008 R2 High Availability</title>
		<link>http://www.pburch.com/blog/2009/04/09/2008-r2-high-availability/</link>
		<comments>http://www.pburch.com/blog/2009/04/09/2008-r2-high-availability/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 21:09:28 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[clusterf]]></category>
		<category><![CDATA[high availability]]></category>
		<category><![CDATA[highly available]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=160</guid>
		<description><![CDATA[Michael and I are probably the only two people in the world that would find this even remotely amusing, but&#8230; We&#8217;re testing 2008 R2&#8242;s Failover Clustering.  In particular, we&#8217;re going to test Hyper-V and highly available machines.  So, in Michael&#8217;s infinite wisdom, he asked me what to name the first test cluster.  I suggested the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nukeitmike.com/blog" target="_self">Michael</a> and I are probably the only two people in the world that would find this even remotely amusing, but&#8230;</p>
<p>We&#8217;re testing 2008 R2&#8242;s Failover Clustering.  In particular, we&#8217;re going to test Hyper-V and highly available machines.  So, in Michael&#8217;s infinite wisdom, he asked me what to name the first test cluster.  I suggested the following:</p>
<p style="text-align: center;"><a href="http://www.pburch.com/blog/wp-content/uploads/2009/04/clusterf.png"><img class="size-medium wp-image-161 aligncenter" style="border: 0pt none;" title="clusterf" src="http://www.pburch.com/blog/wp-content/uploads/2009/04/clusterf-300x200.png" alt="clusterf" width="300" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/04/09/2008-r2-high-availability/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installation Results</title>
		<link>http://www.pburch.com/blog/2009/04/06/installation-results/</link>
		<comments>http://www.pburch.com/blog/2009/04/06/installation-results/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 18:48:15 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[exit codes]]></category>
		<category><![CDATA[server core]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[windows updates]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=156</guid>
		<description><![CDATA[When you run the script mentioned here (to updated a Server Core 2008 install), you&#8217;ll see a part of the output called &#8220;Installation Results.&#8221;  In the infinite wisdom of Microsoft, they don&#8217;t seem to feel the need to plainly document these results.  They have instead included a number (1-3) to indicate the results of the [...]]]></description>
			<content:encoded><![CDATA[<p>When you run the script mentioned <a href="http://www.pburch.com/blog/2008/06/17/updating-windows-server-2008-core/">here</a> (to updated a Server Core 2008 install), you&#8217;ll see a part of the output called &#8220;Installation Results.&#8221;  In the infinite wisdom of Microsoft, they don&#8217;t seem to feel the need to plainly document these results.  They have instead included a number (1-3) to indicate the results of the installation.  Here are these codes in case you&#8217;re looking:</p>
<blockquote><p>Exit Codes:<br />
0 = scripting failure<br />
1 = error obtaining or  installing updates<br />
2 = installation successful, no further updates to  install<br />
3 = reboot needed; rerun script after reboot</p></blockquote>
<p>More <a href="http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/982e2d26-49e5-4936-9fe5-1ea7541df245/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/04/06/installation-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Hibernation</title>
		<link>http://www.pburch.com/blog/2009/03/09/disable-hibernation/</link>
		<comments>http://www.pburch.com/blog/2009/03/09/disable-hibernation/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 14:10:14 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[hiberfil.sys]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[powercfg.exe]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=109</guid>
		<description><![CDATA[If you&#8217;re in need of disabling hibernation on your 2008 servers (or your Vista desktop, as the case may be), open a command line and type this: powercfg.exe /hibernate off To turn it back on, replace &#8220;off&#8221; with &#8220;on&#8221;. This will do away with that annoying file (hiberfil.sys) at the root of C:\ (or whatever [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re in need of disabling hibernation on your 2008 servers (or your Vista desktop, as the case may be), open a command line and type this:</p>
<blockquote><p><span class="userInput">powercfg.exe /hibernate off</span></p></blockquote>
<p><span class="userInput">To turn it back on, replace &#8220;off&#8221; with &#8220;on&#8221;.</span></p>
<p><span class="userInput">This will do away with that annoying file</span> (hiberfil.sys) <span class="userInput">at the root of C:\ (or whatever your system volume&#8217;s drive letter may be) that is the size of your physical RAM &#8211; thus freeing up much space.</span></p>
<p><span class="userInput">Keep in mind, however, that hybernation cannot be turned on if you have Hyper-V installed.  I&#8217;m curious, though, why would you hybernate a server?  And before those of you that use 2008 as a workstation complain, why would hybernation be enabled by default?<br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/03/09/disable-hibernation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Service in Windows</title>
		<link>http://www.pburch.com/blog/2009/03/08/create-a-service-in-windows/</link>
		<comments>http://www.pburch.com/blog/2009/03/08/create-a-service-in-windows/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 01:41:58 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[spamassassin]]></category>
		<category><![CDATA[spamd]]></category>
		<category><![CDATA[user defined service]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=105</guid>
		<description><![CDATA[There are only a few things I hate more than SPAM.  Only a few. Anyway, I&#8217;ve been migrating to my new server and with that comes email.  And, of course, with email comes SPAM filtering.  So, I&#8217;ve been trying to run SpamAssassin.  Luckily, someone ported SA to Windows.  But, in this case, you have to [...]]]></description>
			<content:encoded><![CDATA[<p>There are only a few things I hate more than SPAM.  Only a few.</p>
<p>Anyway, I&#8217;ve been migrating to my new server and with that comes email.  And, of course, with email comes SPAM filtering.  So, I&#8217;ve been trying to run <a href="http://sawin32.sourceforge.net/" target="_blank">SpamAssassin</a>.  Luckily, someone ported SA to Windows.  But, in this case, you have to run the executable or the filtering doesn&#8217;t happen.</p>
<p>Now, any self-respecting admin won&#8217;t stay logged into his server 24 hours a day, seven days a week.  That&#8217;s where services come in.  Here&#8217;s a nice little (easy) write up for <a href="http://www.tacktech.com/display.cfm?ttid=197" target="_blank">creating your own service in Windows</a>.  Best of all, it was written by Microsoft.</p>
<p>A note: this article says it&#8217;s for 2003 and below (and does mention anything about 64-bit).  I&#8217;ve just finished installing spamd.exe as a service on my machine and it works fine.  That said, I offer no warranties or gaurantees this will work for everyone.  Alternatively, there is <a href="http://support.microsoft.com/kb/251192" target="_blank">this</a> from Microsoft&#8217;s K nowledgebase &#8211; I just didn&#8217;t have access to the resource kit at the time.  Happy spamming.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/03/08/create-a-service-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>winsxs: The Bain of My Current Existance</title>
		<link>http://www.pburch.com/blog/2008/09/03/winsxs-the-bain-of-my-current-existance/</link>
		<comments>http://www.pburch.com/blog/2008/09/03/winsxs-the-bain-of-my-current-existance/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 19:06:28 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[winsxs]]></category>

		<guid isPermaLink="false">http://pburch.com/blog/?p=21</guid>
		<description><![CDATA[Long time no see. I was digging through one of our virtual terminal servers today to try and figure out why there was only 29.8MB of 20GB free on the system partition.  A large culprit turned out to be the C:\Windows\winsxs folder.  Unfortunately, there doesn&#8217;t seem to be a lot that can be done about [...]]]></description>
			<content:encoded><![CDATA[<p>Long time no see.</p>
<p>I was digging through one of our virtual terminal servers today to try and figure out why there was only 29.8MB of 20GB free on the system partition.  A large culprit turned out to be the C:\Windows\winsxs folder.  Unfortunately, there doesn&#8217;t seem to be a lot that can be done about this 6GB+ folder full of, well, crap.</p>
<p>From <a href="http://blogs.msdn.com/jonwis/archive/2007/01/02/deleting-from-the-winsxs-directory.aspx" target="_blank">MSDN</a>:</p>
<blockquote><p>Administrators should not, for any reason, take it upon themselves to clean out the directory &#8211; <strong>doing so may prevent Windows Update and MSI from functioning properly afterwards</strong>.</p></blockquote>
<p>But, alas, this is just another day in the life.  I&#8217;m bleeding from my eyeballs.  We&#8217;re still looking for a fix, workaround, way to move it, or a way to delete it, but I don&#8217;t have much confidence that that approach.</p>
<p>Really, Microsoft?  Really?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2008/09/03/winsxs-the-bain-of-my-current-existance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 2008</title>
		<link>http://www.pburch.com/blog/2008/06/20/windows-server-2008/</link>
		<comments>http://www.pburch.com/blog/2008/06/20/windows-server-2008/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 14:55:35 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[server workstation]]></category>

		<guid isPermaLink="false">http://pburch.com/blog/?p=8</guid>
		<description><![CDATA[Today is officially billed as &#8220;Laptop Rebuild Day.&#8221;  And today, I will be reloading Windows Server 2008 on my laptop.  Rumor (and experience) has it that it performs much better than Vista.  So, an article from Mark Wilson on how to turn this desktop-in-disguise server OS into your everyday workstation: Windows Server 2008 is a [...]]]></description>
			<content:encoded><![CDATA[<p>Today is officially billed as &#8220;Laptop Rebuild Day.&#8221;  And today, I will be reloading Windows Server 2008 on my laptop.  Rumor (and experience) has it that it performs much better than Vista.  So, an article from Mark Wilson on how to turn this desktop-in-disguise server OS into your everyday workstation:</p>
<p><a href="http://www.markwilson.co.uk/blog/2008/02/windows-server-2008-is-a-great-workstation-operating-system-too.htm" target="_blank">Windows Server 2008 is a great workstation operating system too</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2008/06/20/windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating Windows Server 2008 Core</title>
		<link>http://www.pburch.com/blog/2008/06/17/updating-windows-server-2008-core/</link>
		<comments>http://www.pburch.com/blog/2008/06/17/updating-windows-server-2008-core/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 18:05:20 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[core]]></category>
		<category><![CDATA[run as]]></category>
		<category><![CDATA[windows updates]]></category>

		<guid isPermaLink="false">http://pburch.com/blog/?p=5</guid>
		<description><![CDATA[Tonight is &#8220;Server Night.&#8221; A night set aside on the third Tuesday of every month dedicated to drinking a lot of caffeine and causing downtime for the company. The first task of the night: update our Core installations (which includes several virtual servers and physical servers alike). The problem comes in with the fact that [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight is &#8220;Server Night.&#8221;  A night set aside on the third Tuesday of every month dedicated to drinking a lot of caffeine and causing downtime for the company.</p>
<p>The first task of the night: update our Core installations (which includes several virtual servers and physical servers alike).  The problem comes in with the fact that Core has no GUI (go figure) and everything has to be done at the command line.  Herein lies our problem, how to update the stupid thing?</p>
<p>So, naturally, a Google marathon has ensued all morning.  I read blog after blog after Microsoft KB.  One blog appeared as my shining light in the darkness: <a href="http://nathan.thenovaks.net" target="_blank">Nathan&#8217;s Daily Grind</a> &#8211; more specifically, this post: <a href="http://nathan.thenovaks.net/2008/04/21/how-to-apply-wsus-updates-to-a-windows-server-2008-core-machine/" target="_blank">How to apply WSUS updates to a Windows Server 2008 Core machine</a>.</p>
<p>This led me over to a MSDN article: <a href="http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx" target="_blank">Searching, Downloading, and Installing Updates</a>, which solved my problems.  I&#8217;ve posted the text of the MSDN article below for posterity.</p>
<blockquote><p><strong>Searching, Downloading, and Installing Updates</strong></p>
<p>The scripting sample in this topic shows you how to use Windows Update Agent (WUA) to scan, download, and install updates.</p>
<p>The sample searches for all the applicable software updates and then lists those updates. Next, it creates a collection of updates to download and then downloads them. Finally, it creates a collection of updates to install and then installs them.</p>
<p>If you want to search, download, and install a specific update that you identify by using the update title, see Searching, Downloading, and Installing Specific Updates.</p>
<p>Before you attempt to run this sample, note the following:</p>
<ul>
<li>WUA must be installed on the computer. For more information about how to determine the version of WUA that is installed, see Determining the Current Version of WUA.</li>
<li>The sample does not provide its own user interface.</li>
<li>WUA prompts the user to restart the computer if an update requires a restart.</li>
<li>The sample can download updates only by using WUA. It cannot download updates from a Software Update Services (SUS) 1.0 server.</li>
<li>Running this sample requires Windows Script Host (WSH). For more information about WSH, see the WSH section of the Microsoft Platform SDK. If the sample is copied to a file named WUA_SearchDownloadInstall.vbs, you can run the sample by opening a Command Prompt window and typing the following command at the command prompt.</li>
</ul>
<p>cscript WUA_SearchDownloadInstall.vbs</p>
<p><strong>Example</strong></p>
<p style="text-align: left;"><code>Set updateSession = CreateObject("Microsoft.Update.Session")<br />
Set updateSearcher = updateSession.CreateupdateSearcher()</code></p>
<p style="text-align: left;"><code>WScript.Echo "Searching for updates..." &amp; vbCRLF</code></p>
<p style="text-align: left;"><code>Set searchResult = _<br />
updateSearcher.Search("IsInstalled=0 and Type='Software'")</code><br />
<code><br />
WScript.Echo "List of applicable items on the machine:"</code></p>
<p style="text-align: left;"><code>For I = 0 To searchResult.Updates.Count-1<br />
Set update = searchResult.Updates.Item(I)<br />
WScript.Echo I + 1 &amp; "&gt; " &amp; update.Title<br />
Next</code></p>
<p style="text-align: left;"><code>If searchResult.Updates.Count = 0 Then<br />
WScript.Echo "There are no applicable updates."<br />
WScript.Quit<br />
End If</code></p>
<p style="text-align: left;"><code>WScript.Echo vbCRLF &amp; "Creating collection of updates to download:"</code></p>
<p style="text-align: left;"><code>Set updatesToDownload = CreateObject("Microsoft.Update.UpdateColl")</code></p>
<p style="text-align: left;"><code>For I = 0 to searchResult.Updates.Count-1<br />
Set update = searchResult.Updates.Item(I)<br />
WScript.Echo I + 1 &amp; "&gt; adding: " &amp; update.Title<br />
updatesToDownload.Add(update)<br />
Next</code><br />
<code><br />
WScript.Echo vbCRLF &amp; "Downloading updates..."</code><br />
<code><br />
Set downloader = updateSession.CreateUpdateDownloader()<br />
downloader.Updates = updatesToDownload<br />
downloader.Download()</code><br />
<code><br />
WScript.Echo  vbCRLF &amp; "List of downloaded updates:"</code></p>
<p style="text-align: left;"><code>For I = 0 To searchResult.Updates.Count-1<br />
Set update = searchResult.Updates.Item(I)<br />
If update.IsDownloaded Then<br />
WScript.Echo I + 1 &amp; "&gt; " &amp; update.Title<br />
End If<br />
Next</code><br />
<code><br />
Set updatesToInstall = CreateObject("Microsoft.Update.UpdateColl")</code></p>
<p style="text-align: left;"><code>WScript.Echo  vbCRLF &amp; _<br />
"Creating collection of downloaded updates to install:"</code></p>
<p style="text-align: left;"><code>For I = 0 To searchResult.Updates.Count-1<br />
set update = searchResult.Updates.Item(I)<br />
If update.IsDownloaded = true Then<br />
WScript.Echo I + 1 &amp; "&gt; adding:  " &amp; update.Title<br />
updatesToInstall.Add(update)<br />
End If<br />
Next</code></p>
<p style="text-align: left;"><code>WScript.Echo  vbCRLF &amp; "Would you like to install updates now? (Y/N)"<br />
strInput = WScript.StdIn.Readline<br />
WScript.Echo</code></p>
<p style="text-align: left;"><code>If (strInput = "N" or strInput = "n") Then<br />
WScript.Quit<br />
ElseIf (strInput = "Y" or strInput = "y") Then<br />
WScript.Echo "Installing updates..."<br />
Set installer = updateSession.CreateUpdateInstaller()<br />
installer.Updates = updatesToInstall<br />
Set installationResult = installer.Install()<br />
</code><br />
<code>'Output results of install<br />
WScript.Echo "Installation Result: " &amp; _<br />
installationResult.ResultCode<br />
WScript.Echo "Reboot Required: " &amp; _<br />
installationResult.RebootRequired &amp; vbCRLF<br />
WScript.Echo "Listing of updates installed " &amp; _<br />
"and individual installation results:"</code></p>
<p style="text-align: left;"><code>For I = 0 to updatesToInstall.Count - 1<br />
WScript.Echo I + 1 &amp; "&gt; " &amp; _<br />
updatesToInstall.Item(i).Title &amp; _<br />
": " &amp; installationResult.GetUpdateResult(i).ResultCode<br />
Next<br />
End If</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2008/06/17/updating-windows-server-2008-core/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
