<?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>Tue, 13 Dec 2011 19:19:12 +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>Windows Server 2008 CAs and Server 2003 DCs &#8211; are you seeing event ID 13 popping up every eight hours?</title>
		<link>http://blog.alt-92.net/index.php/2011/03/15/windows-server-2008-cas-and-server-2003-dcs-are-you-seeing-event-id-13-popping-up-every-eight-hours/</link>
		<comments>http://blog.alt-92.net/index.php/2011/03/15/windows-server-2008-cas-and-server-2003-dcs-are-you-seeing-event-id-13-popping-up-every-eight-hours/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 23:05:00 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2011/03/15/windows-server-2008-cas-and-server-2003-dcs-are-you-seeing-event-id-13-popping-up-every-eight-hours/</guid>
		<description><![CDATA[Be careful when implementing a Windows 2008 based Certificate Authority in a mixed 2003R2 and 2008(R2) environment. By default, the installation of the ADCS Role on a 2008 Server selects SHA2 type algorithms which are not quite compatible with Server 2003R2 SP2 or XP SP3.    You will need a hotfix.   [...]]]></description>
			<content:encoded><![CDATA[<p>Be careful when implementing a Windows 2008 based Certificate Authority in a mixed 2003R2 and 2008(R2) environment. By default, the installation of the ADCS Role on a 2008 Server selects SHA2 type algorithms which are not quite compatible with Server 2003R2 SP2 or XP SP3.    <br />You will need a hotfix.    </p>
<p>While waiting for a new hardware setup I decided to jump the gun and upgrade my old 2003CA to 2008 in advance – a pretty straightforward process of <a href="http://blogs.technet.com/b/pki/archive/2009/01/18/how-to-decommission-a-windows-enterprise-certification-authority-and-how-to-remove-all-related-objects-from-windows-server-2003.aspx" target="_blank">decommissioning</a> and deploying a new CA on a fresh 2008 install.&#160; Both my Home Theatre setup and laptop are running Vista or 7, and there’s a virtualized Core 2008 Domain Controller as well. No problems there.     <br />However, there is still one slight snag as I’m still using a 2003 machine as second physical DC (which hosts my DFS namespace and I haven’t gotten around to upgrading that one).     <br />After a couple of days, that machine started spewing Event ID 13 errors every eight hours in the Application log:     </p>
<p>  <pre class="csharpcode">Event Type:    Error
Event Source:    AutoEnrollment
Event Category:    None
Event ID:    13
Date:        28-2-2011
Time:        18:14:37
User:        N/A
Computer:    MYDC
Description:
Automatic certificate enrollment for local system failed to enroll
for one Domain Controller Authentication certificate (0x80092009).
Cannot find the requested object.

For more information, see Help and Support Center at 
http://go.microsoft.com/fwlink/events.asp.</pre><br />
<style type="text/css">

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style></p>
<p>Secure Channel for LDAP over SSL also breaks because of this, so you’ll see those warnings as well.</p>
<p>A quick look in the ADCS Snapin confirmed both the Directory Email Replication and Domain Controller Authentication certificates were trying to autoenroll but failing every 8 hours.</p>
<p>A search for <a href="http://www.google.com/search?q=cannot+find+the+requested+object" target="_blank">&quot;cannot find the requested object&quot;</a> quickly resolved that, pointing the way to <a title="http://support.microsoft.com/kb/968730" href="http://support.microsoft.com/kb/968730">http://support.microsoft.com/kb/968730</a>. </p>
<p>After requesting the hotfix and rebooting, AutoEnroll properly processes the request again, and SSL enabled LDAP connections are restored.</p>
<p>More information is also available on the Windows PKI Technet Blog: <a title="http://blogs.technet.com/b/pki/archive/2011/02/08/common-questions-about-sha2-and-windows.aspx" href="http://blogs.technet.com/b/pki/archive/2011/02/08/common-questions-about-sha2-and-windows.aspx">http://blogs.technet.com/b/pki/archive/2011/02/08/common-questions-about-sha2-and-windows.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2011/03/15/windows-server-2008-cas-and-server-2003-dcs-are-you-seeing-event-id-13-popping-up-every-eight-hours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>

