<?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>alt-92 - blogIT &#187; Deployment</title>
	<atom:link href="http://blog.alt-92.net/index.php/category/deployment/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alt-92.net</link>
	<description>Const ForReading =1 - personal brainstorms, items, and other random webstuff</description>
	<lastBuildDate>Wed, 10 Feb 2010 22:18:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Detecting and installing WSUS updates in Server 2008 Core</title>
		<link>http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/</link>
		<comments>http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 14:45:36 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server 2008]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/</guid>
		<description><![CDATA[On a normal GUI-box, detecting or installing new updates after a fresh install is reasonably easy.
You just click the Updates Control panel item,  or, for the more commandline orientated folks, run a wuauclt /detectnow  and wait for the “There are new updates available” Systray icon to appear.
  The problem with Server Core [...]]]></description>
			<content:encoded><![CDATA[<p>On a normal GUI-box, detecting or installing new updates after a fresh install is reasonably easy.<br />
You just click the Updates Control panel item,  or, for the more commandline orientated folks, run a wuauclt /detectnow  and wait for the “There are new updates available” Systray icon to appear.</p>
<p>  The problem with Server Core … there’s no way for you to see the “updates to install” notice in the system tray when you log on to the computer because, well, there’s no systray!</p>
<p> In comes a handy piece of VBscript that allows you to do a manual quick check and start off the installation process, using the in-box Windows Update Agent API.<br />
<a title="http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx" href="http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx">http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx</a></p>
<p>Although the MSDN article states it does not run against SUS 1.0 servers, you don’t have to worry because both Windows Update (site) and WSUS 3.x employ the WUA API.  </p>
<p>Save and run the script in the command prompt as &#8220;cscript <scriptname.vbs>&#8221; since the default script host is graphical (wscript) on a Core box.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title=""><div class="devcodeoverflow"><ol><li></li><li>Set updateSession = CreateObject<span class="br0">&#40;</span>&quot;Microsoft.Update.Session&quot;<span class="br0">&#41;</span></li><li>Set updateSearcher = updateSession.CreateupdateSearcher<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo &quot;Searching for updates...&quot; &amp; vbCRLF</li><li>&nbsp;</li><li>Set searchResult = _</li><li>updateSearcher.Search<span class="br0">&#40;</span>&quot;IsInstalled=<span style="">0</span> and Type='Software'&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo &quot;List of applicable items on the machine:&quot;</li><li>&nbsp;</li><li>For I = <span style="">0</span> To searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;Set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; &quot; &amp; update.Title</li><li>Next</li><li>&nbsp;</li><li>If searchResult.Updates.Count = <span style="">0</span> Then</li><li>WScript.Echo &quot;There are no applicable updates.&quot;</li><li>WScript.Quit</li><li>End If</li><li>&nbsp;</li><li>WScript.Echo vbCRLF &amp; &quot;Creating collection of updates to download:&quot;</li><li>&nbsp;</li><li>Set updatesToDownload = CreateObject<span class="br0">&#40;</span>&quot;Microsoft.Update.UpdateColl&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>For I = <span style="">0</span> to searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;Set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; adding: &quot; &amp; update.Title </li><li>&nbsp;&nbsp;&nbsp;&nbsp;updatesToDownload.Add<span class="br0">&#40;</span>update<span class="br0">&#41;</span></li><li>Next</li><li>&nbsp;</li><li>WScript.Echo vbCRLF &amp; &quot;Downloading updates...&quot;</li><li>&nbsp;</li><li>Set downloader = updateSession.CreateUpdateDownloader<span class="br0">&#40;</span><span class="br0">&#41;</span> </li><li>downloader.Updates = updatesToDownload</li><li>downloader.Download<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo&nbsp;&nbsp;vbCRLF &amp; &quot;List of downloaded updates:&quot;</li><li>&nbsp;</li><li>For I = <span style="">0</span> To searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;Set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;If update.IsDownloaded Then</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; &quot; &amp; update.Title </li><li>&nbsp;&nbsp;&nbsp;&nbsp;End If</li><li>Next</li><li>&nbsp;</li><li>Set updatesToInstall = CreateObject<span class="br0">&#40;</span>&quot;Microsoft.Update.UpdateColl&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo&nbsp;&nbsp;vbCRLF &amp; _</li><li>&quot;Creating collection of downloaded updates to install:&quot; </li><li>&nbsp;</li><li>For I = <span style="">0</span> To searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;If update.IsDownloaded = true Then</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; adding:&nbsp;&nbsp;&quot; &amp; update.Title </li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; updatesToInstall.Add<span class="br0">&#40;</span>update<span class="br0">&#41;</span> </li><li>&nbsp;&nbsp;&nbsp;&nbsp;End If</li><li>Next</li><li>&nbsp;</li><li>WScript.Echo&nbsp;&nbsp;vbCRLF &amp; &quot;Would you like to install updates now? <span class="br0">&#40;</span>Y/N<span class="br0">&#41;</span>&quot;</li><li>strInput = WScript.StdIn.Readline</li><li>WScript.Echo </li><li>&nbsp;</li><li>If <span class="br0">&#40;</span>strInput = &quot;N&quot; or strInput = &quot;n&quot;<span class="br0">&#41;</span> Then </li><li>WScript.Quit</li><li>ElseIf <span class="br0">&#40;</span>strInput = &quot;Y&quot; or strInput = &quot;y&quot;<span class="br0">&#41;</span> Then</li><li>WScript.Echo &quot;Installing updates...&quot;</li><li>Set installer = updateSession.CreateUpdateInstaller<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>installer.Updates = updatesToInstall</li><li>Set installationResult = installer.Install<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>&nbsp;</li><li>'Output results of install</li><li>WScript.Echo &quot;Installation Result: &quot; &amp; _</li><li>installationResult.ResultCode </li><li>WScript.Echo &quot;Reboot Required: &quot; &amp; _ </li><li>installationResult.RebootRequired &amp; vbCRLF </li><li>WScript.Echo &quot;Listing of updates installed &quot; &amp; _</li><li>&quot;and individual installation results:&quot; </li><li>&nbsp;</li><li>For I = <span style="">0</span> to updatesToInstall.Count - <span style="">1</span></li><li>WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; &quot; &amp; _</li><li>updatesToInstall.Item<span class="br0">&#40;</span>i<span class="br0">&#41;</span>.Title &amp; _</li><li>&quot;: &quot; &amp; installationResult.GetUpdateResult<span class="br0">&#40;</span>i<span class="br0">&#41;</span>.ResultCode </li><li>Next</li><li>End If</li></ol></div></pre><!--END_DEVFMTCODE--></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 VHD boot option &#8211; no more VDI for testing?</title>
		<link>http://blog.alt-92.net/index.php/2009/02/21/windows-7-vhd-boot-option-no-more-vdi-for-testing/</link>
		<comments>http://blog.alt-92.net/index.php/2009/02/21/windows-7-vhd-boot-option-no-more-vdi-for-testing/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 19:58:04 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/02/21/windows-7-vhd-boot-option-no-more-vdi-for-testing/</guid>
		<description><![CDATA[The beta version of Windows 7 (the public build 7000, and build 7022) offers support in BCDedit to boot from a VHD file on hard disk.    As explained in this Edge video (http://edge.technet.com/Media/Boot-from-VHD-in-Win7/) the install behaves just like normal, with a few exceptions such as BItlocker support and Hibernate (since these are [...]]]></description>
			<content:encoded><![CDATA[<p>The beta version of Windows 7 (the public build 7000, and build 7022) offers support in BCDedit to boot from a VHD file on hard disk.    <br />As explained in <a href="http://edge.technet.com/Media/Boot-from-VHD-in-Win7/" target="_blank">this Edge video</a> (<a title="http://edge.technet.com/Media/Boot-from-VHD-in-Win7/" href="http://edge.technet.com/Media/Boot-from-VHD-in-Win7/">http://edge.technet.com/Media/Boot-from-VHD-in-Win7/</a>) the install behaves just like normal, with a few exceptions such as BItlocker support and Hibernate (since these are disk-dependent).    </p>
<p>It looks like a ‘nice to have’ feature for the ubertweaker and enthusiast at first, but think about this:</p>
<p>What if you need to support a DTA environment for desktops? Now, you don’t have to mess around with Virtualization software – just provision and deploy the VHD file with the appropriate configuration (such as a segmented VLAN for Test or Dev) and let your application developers use the same hardware.   <br />No double PCs, no double network outlets, no extra poweroutlets or powerconsumption (think green here).</p>
<p>Sure, it needs some tweaking (preventing disk access between images) but.. tempting nonetheless…</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/02/21/windows-7-vhd-boot-option-no-more-vdi-for-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
