<?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>SharePoint George &#187; Windows</title>
	<atom:link href="http://sharepointgeorge.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepointgeorge.com</link>
	<description>Everyday experiences on SharePoint, Exchange and most things Microsoft</description>
	<lastBuildDate>Mon, 14 May 2012 03:36:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Enabling the Active Directory Recycle Bin Feature on Windows 2008 R2</title>
		<link>http://sharepointgeorge.com/2010/enabling-active-directory-recycle-bin-feature-windows-2008-r2/</link>
		<comments>http://sharepointgeorge.com/2010/enabling-active-directory-recycle-bin-feature-windows-2008-r2/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 12:15:36 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Recycle Bin]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=1585</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2010/enabling-active-directory-recycle-bin-feature-windows-2008-r2/' addthis:title='Enabling the Active Directory Recycle Bin Feature on Windows 2008 R2 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>Windows 2008 R2 introduced a number of compelling features that would entice any Windows administrator to upgrade to, and the most welcomed feature in my own opinion would have to be the Active Directory Recycle Bin.<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2010/enabling-active-directory-recycle-bin-feature-windows-2008-r2/' addthis:title='Enabling the Active Directory Recycle Bin Feature on Windows 2008 R2 ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2010/enabling-active-directory-recycle-bin-feature-windows-2008-r2/' addthis:title='Enabling the Active Directory Recycle Bin Feature on Windows 2008 R2 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>Windows 2008 R2 has introduced a number of compelling features that would entice any Windows administrator to upgrade to, and the most welcomed feature in my own opinion would have to be the Active Directory Recycle Bin.  Previous to the R2 upgrade, system admins and the like would have had to rely on paid 3rd party software that would take care of accidental deletions of users or even worst organizational units.  Those who did not make the investment in 3rd party software would have had to rely on system state backups which is always a disruptive process in the event that you needed to perform an authoritative Active Directory restore.</p>
<p>Well, that’s not the case anymore and as noted above, Windows 2008 R2 introduces the Active Directory Recycle Bin Feature in addition to a number of other enhancements and features which I have listed in an earlier post, <a href="http://sharepointgeorge.com/2009/introducing-windows-2008-r2-domain-controller/" target="_blank">Introducing your first Windows 2008 R2 Domain Controller</a>.</p>
<p>Before we begin, we need to ensure that we have met the minimum requirements allowing you to enable the Active Recycle Bin.  In summary, your Domain Forest Functional Level needs to be at least Windows 2008 R2.  More information can be found in the following TechNet article; <a title="http://technet.microsoft.com/tr-tr/library/dd379484(WS.10).aspx" href="http://technet.microsoft.com/tr-tr/library/dd379484(WS.10).aspx">http://technet.microsoft.com/tr-tr/library/dd379484(WS.10).aspx</a></p>
<p>Now that we have met those requirements, we need to run the following command on the AD Domain controller where the Schema Master Resides.  If you are not sure where the Schema Master role resides, follow the below TechNet article on <a href="http://support.microsoft.com/kb/324801" target="_blank">How to view and transfer FSMO roles in Windows Server 2003.</a></p>
<p>On the Schema Master Domain Controller, run Start / Administrative Tools /  Active Directory Module for Windows PowerShell.</p>
<p>Type in the following command;</p>
<p>N.B replace yourdomain.com with your own Active Directory domain name</p>
<p><span style="font-family: Courier New; font-size: xx-small;">Enable-ADOptionalFeature –Identity ‘CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration, DC=yourdomain,DC=com’ –Scope ForestOrConfigurationSet –Target ‘yourdomain.com’</span></p>
<div id="codeSnippetWrapper" style="border: 1px solid silver; text-align: left; padding: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New',courier,monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text;">
<pre id="codeSnippet" style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;">Enable-ADOptionalFeature –Identity ‘CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration, DC=yourdomain,DC=com’ –Scope ForestOrConfigurationSet –Target ‘yourdomain<span style="color: #ff0000;">.</span>com’</pre>
</div>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/04/image55.png"><img style="display: inline; border-width: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/04/image_thumb33.png" border="0" alt="image thumb33 Enabling the Active Directory Recycle Bin Feature on Windows 2008 R2" width="671" height="221" /></a></p>
<p>You will get a warning which you will need to confirm stating that enabling the Recycle Bin Feature is irreversible.</p>
<p>That’s it!  The recycle bin will now begin capturing deletions of objects which will allow you to later restore them to their original or alternate location.  Now you might be asking, how do we actually perform a restore?  Well, I’m glad you asked, that’s the 2nd reason why you are reading this article right?!</p>
<p>Microsoft for some reason did not provide admins with a GUI in doing so, however there are FREE 3rd party tools that plug directly into the Recycle Bin feature that will provide you with an easy GUI for performing Active Directory object(s) restoration.  Now before delving into MY current tool of choice, the following article by Microsoft explains how it is done via the command line; Restore a Deleted Active Directory Object <a title="http://technet.microsoft.com/tr-tr/library/dd379509(WS.10).aspx" href="http://technet.microsoft.com/tr-tr/library/dd379509(WS.10).aspx">http://technet.microsoft.com/tr-tr/library/dd379509(WS.10).aspx</a></p>
<p>My tool of choice (there are several out there) providing me with a graphical interface is PowerGUI in combination with their Active Directory Recycle Bin for PowerPack.  You can download these from the links below;</p>
<p>Download the latest PowerGUI from <a title="http://powergui.org/downloads.jspa" href="http://powergui.org/downloads.jspa">http://powergui.org/downloads.jspa</a></p>
<p>Download the latest <a href="http://powergui.org/entry.jspa?externalID=2461&amp;categoryID=46">Active Directory Recycle Bin PowerPack</a> from <a title="http://powergui.org/kbcategory.jspa?categoryID=46" href="http://powergui.org/kbcategory.jspa?categoryID=46">http://powergui.org/kbcategory.jspa?categoryID=46</a></p>
<p>Now that we have the relevant components, install PowerGUI and then import the AD Recycle Bin PowerPack via File / PowerPack Management / Import</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/04/image56.png"><img style="display: inline; border-width: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/04/image_thumb34.png" border="0" alt="image thumb34 Enabling the Active Directory Recycle Bin Feature on Windows 2008 R2" width="644" height="454" /></a></p>
<p>Now as a test I have created a Test User account in Active Directory and then deleted the account a few minutes later.  Lo and behold when I refreshed the Active Directory Recycle Bin node within the PowerGUI Navigation tree, my Test User was listed in the results pane.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/04/image58.png"><img style="display: inline; border-width: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/04/image_thumb35.png" border="0" alt="image thumb35 Enabling the Active Directory Recycle Bin Feature on Windows 2008 R2" width="644" height="233" /></a></p>
<p>From the Actions menu, you can easily restore the user to either its original location or alternate location.  From the Actions menu you can also configure the recycle bin further via a GUI, and empty the recycle bin completely.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2010/04/image59.png"><img style="display: inline; border-width: 0px;" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2010/04/image_thumb36.png" border="0" alt="image thumb36 Enabling the Active Directory Recycle Bin Feature on Windows 2008 R2" width="202" height="382" /></a></p>
<p>As you can see from the above, the Active Recycle Bin is a long awaited feature introduced with Windows 2008 R2 and with a front end like PowerGUI you can now easily and very quickly restore accidentally deleted Active Directory objects.  Now I wonder if Microsoft will incorporate their own graphical interface in the near future.</p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong>Resources</strong></p>
<p>Scenario Overview for Restoring Deleted Active Directory Objects<strong> </strong><a title="http://technet.microsoft.com/tr-tr/library/dd379542%28WS.10%29.aspx" href="http://technet.microsoft.com/tr-tr/library/dd379542%28WS.10%29.aspx">http://technet.microsoft.com/tr-tr/library/dd379542%28WS.10%29.aspx</a></p>
<p>Enable Active Directory Recycle Bin <a title="http://technet.microsoft.com/en-us/library/dd379481(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd379481(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd379481(WS.10).aspx</a></p>
<p>Restore a Deleted Active Directory Object <a title="http://technet.microsoft.com/tr-tr/library/dd379509(WS.10).aspx" href="http://technet.microsoft.com/tr-tr/library/dd379509(WS.10).aspx">http://technet.microsoft.com/tr-tr/library/dd379509(WS.10).aspx</a></p>
<p>Additional Active Directory Recycle Bin Tasks <a title="http://technet.microsoft.com/tr-tr/library/dd392260(WS.10).aspx" href="http://technet.microsoft.com/tr-tr/library/dd392260(WS.10).aspx">http://technet.microsoft.com/tr-tr/library/dd392260(WS.10).aspx</a></p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2010/enabling-active-directory-recycle-bin-feature-windows-2008-r2/' addthis:title='Enabling the Active Directory Recycle Bin Feature on Windows 2008 R2 ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2010/enabling-active-directory-recycle-bin-feature-windows-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Desktop Services in Windows 2008 R2 &#8211; Part 3 &#8211; RD Web Access &amp; RemoteApp</title>
		<link>http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-3-web-access-remoteapp/</link>
		<comments>http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-3-web-access-remoteapp/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 12:00:41 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[RD Gateway]]></category>
		<category><![CDATA[RD Web Access]]></category>
		<category><![CDATA[Remote Desktop Services]]></category>
		<category><![CDATA[RemoteApp]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=918</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-3-web-access-remoteapp/' addthis:title='Remote Desktop Services in Windows 2008 R2 &#8211; Part 3 &#8211; RD Web Access &#38; RemoteApp ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>Welcome back to the 3rd and final article in this series in installing and configuring your Remote Desktop Service in Windows 2008 R2, with the focus of today’s article around Remote Desktop (RD) Web Services (formerly referred to as TS Web Services) and utilising RemoteApp to publish applications to our RD Web Access web page and to the client desktop.<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-3-web-access-remoteapp/' addthis:title='Remote Desktop Services in Windows 2008 R2 &#8211; Part 3 &#8211; RD Web Access &#38; RemoteApp ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-3-web-access-remoteapp/' addthis:title='Remote Desktop Services in Windows 2008 R2 &ndash; Part 3 &#8211; RD Web Access &amp; RemoteApp ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>Welcome back to the 3<sup>rd</sup> and final article in this series in installing and configuring your Remote Desktop Services in Windows 2008 R2, with the focus of today’s article around Remote Desktop (RD) Web Services (formerly referred to as TS Web Services) and utilising RemoteApp to publish applications to our RD Web Access web page and to the client desktop. For those that missed the previous 2 articles, you can access these from the links below;</p>
<ol>
<li><a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/">Remote Desktop Services in Windows 2008 R2 -Part 1 – Installation</a></li>
<li><a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/">Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway</a></li>
</ol>
<p>RD Web Access is a component within Remote Desktop Services in Windows Server 2008 R2 which provides your remote users with the ability to access network published applications via Internet Explorer over SSL or commonly referred to as HTTPS.  This type of access breaks all barriers and restrictions where traditional VPN’s were IPSEC based or L2TP and usually required special software to be installed on the client machine which in itself required special configuration.  Not only was it cumbersome and problematic to setup for the non IT savvy, it usually caused potential problems for remote workers that were connected behind restricted Internet connections that only opened up a limited number of ports, namely HTTP and HTTPS.  This is where SSL based VPN’s such as RD Gateway (introduced in <a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/" target="_blank">part 2</a> of this series) and RD Web Access come into play.</p>
<p>To recap, we went through the process of installing the necessary components for Remote Desktop Services including the RD Session Host and RD Web Access role services in <a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/" target="_blank">part 1</a> of this series, with today’s focus on completing and fine tuning the configuration of RD Web Access and then shifting our focus on publishing remote applications in the latter half of this post.</p>
<p>So let’s begin by confirming the operation of the RD Web Access role by navigating to<strong> Start / Administrative Tools / Remote Desktop Services / Remote Web Access Configuration.</strong></p>
<p>Because we are running a self-signed certificate on the IIS web site you will receive the usual Internet Explorer Certificate warning. It’s safe for us to click on continue to this website.</p>
<p>The below RD Web Access login screen will appear. Enter your administrative network credentials and then click on sign in.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0022.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image002_thumb2.jpg" border="0" alt="clip image002 thumb2 Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="644" height="442" /></a></p>
<p>The configuration screen will be displayed in which you have the option to select a Remote Desktop (RD) Connection Broker server or specify individual RemoteApp sources.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image008.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image008" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image008_thumb.jpg" border="0" alt="clip image008 thumb Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="620" height="448" /></a></p>
<p>Let me provide you with a primer on the RD Connection Broker Server. Recall this was installed back in <a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/" target="_blank">part 1</a> of this series as one of the role services installed for Remote Desktop Services. Formerly known as TS Session Broker, RD Connection Broker provides enhancements and benefits to the users experiences when connecting to an RD Host Server and are accessing RemoteApp and or Remote Desktop connections. These are listed below;</p>
<ul>
<li>Support for load balancing amongst Remote Desktop Servers located within a single farm</li>
<li>Support for seamless user reconnection with farm based setups</li>
<li>A new feature in Windows 2008 R2 is the ability to combine RemoteApp sources from different Remote Desktop Session Host servers that may potentially be housing different RemoteApp programs for compatibility and segregation reasons.</li>
<li>Also a new feature in Windows 2008 R2 is the Direct integration with the newly introduced Virtual Desktop Infrastructure (VDI) – (to be covered in a future post.)</li>
</ul>
<p>Considering that this is a basic single server Remote Desktop Host setup, we do not require to setup the RD Connection Broker, but I will outline the steps for convenience if you decide to go down this path;</p>
<p>1. The RD Connection Broker role service is required to be installed on a server. This could be on any server located on your network and does not necessarily need to be installed on a server running the Remote Desktop Host server or any of the other Remote Desktop Services Roles.</p>
<p>2. Add the RD Session Host servers that you would like to aggregate in your farm setup to the Session Broker Computers local group which is located on the RD Connection Broker server. (screen capture below)</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image004.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image004_thumb.jpg" border="0" alt="clip image004 thumb Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="621" height="389" /></a></p>
<p>3. Navigate to <strong>Start / Administrative Tools / Remote Desktop Services / Remote Desktop Session Host Configuration</strong> and configure each RD Session Host Server that will participate in the farm to become a farm member in the RD Connection Broker. (highlighted below)</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0051.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image005" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image005_thumb1.png" border="0" alt="clip image005 thumb1 Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="610" height="683" /></a></p>
<p>4. Lastly, you can utilise DNS round robin with the RD Connection Broker to provide load balancing. This is as simple as creating an addition A record in DNS to point each Remote Desktop Host Server that is participating in the farm to the farm name. The farm name is specified in the Remote Desktop Session Host Configuration and is common on all Remote Desktop Host Servers. Recall that this is located under <strong>Remote Desktop Session Host configuration / RD Connection Broker / Member of farm</strong> in RD Connection Broker’s properties. <a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0062.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image006" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image006_thumb2.png" border="0" alt="clip image006 thumb2 Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="405" height="431" /></a></p>
<p>The above steps have outlined the configuration of an RD Connection Broker server and the necessary steps required to configure your farm .  So going back to the RD Web Access Configuration screen we can either select “An RD Connection Broker server” as our source or individual RemoteApp sources (i.e. individual RD Host Servers).</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image008.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image008" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image008_thumb.jpg" border="0" alt="clip image008 thumb Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="620" height="448" /></a> As this is a single Remote Desktop Host setup, I will select one or more RemoteApp sources (which is selected by default), leave localhost as the source name as this is also our single  RD Host Server and click OK.</p>
<p>The web page will then redirect to the RemoteApp Programs screen which currently is not populated with any published applications &#8230;. but not for long.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0091.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image009" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image009_thumb1.png" border="0" alt="clip image009 thumb1 Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="575" height="406" /></a></p>
<p>This brings us to the second part of this article, Publishing<strong> RemoteApp</strong> Programs. Windows 2008 was the first version of Windows that provided us with the ability to publish individual applications to the Desktop and to TS Web Access or should we now say RD Web Access.</p>
<p>Quite simply, we can only publish applications that are installed on the Remote Desktop Host. Installing client applications on a Terminal Server is not the same as installing on a client computer and to ensure Remote Desktop compatibility it is best practice to still utilise the “Install Application on Remote Desktop” mini wizard provided. This is to ensure that our applications are installed utilising RD Install mode which configures the correct registry entries for a multi user Remote Desktop environment. You can also utilise Windows command prompt to achieve the same;</p>
<p>Change user / install – prior to running setup.exe of the application</p>
<p>Change user /execute  &#8211; after the application installation has completed.</p>
<p>For simplicity, you can access the wizard via <strong>Control Panel / Programs / Install Application on Remote Desktop</strong>.<a name="_GoBack"></a></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0101.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image010" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image010_thumb1.png" border="0" alt="clip image010 thumb1 Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="513" height="317" /></a></p>
<p>This will initiate the wizard.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0111.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image011" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image011_thumb1.png" border="0" alt="clip image011 thumb1 Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="456" height="333" /></a></p>
<p>Click Next, complete the installation, and then click on Finish. Let’s install Office 2007 as our first client application on the Remote Desktop Host.</p>
<p>After installing Office 2007 utilising RD install mode, we now have our first application to publish to RD Web Access and to a Remote Computer desktop such as Windows 7. Lets start with the former first. Navigate to <strong>Start / Administrative Tools / Remote Desktop Services / Remote App Manager.</strong></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0131.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image013" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image013_thumb1.jpg" border="0" alt="clip image013 thumb1 Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="622" height="284" /></a></p>
<p>Under the Actions pane, click on Add RemoteApp Programs.</p>
<p>This will invoke the RemoteApp Wizard.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image014.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image014" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image014_thumb.png" border="0" alt="clip image014 thumb Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="483" height="351" /></a></p>
<p>Click Next.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image015.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image015" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image015_thumb.png" border="0" alt="clip image015 thumb Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="504" height="429" /></a></p>
<p>Choose the application that you would like to publish. I will select Microsoft Office Word 2007 in this example. Before clicking on next, let’s venture into the properties area as there is an enhancement made to Windows 2008 R2 over Windows 2008.</p>
<p>The first tab (properties) as you will see is identical to that provided in Windows 2008 with the ability to change the icon, provide additional command line arguments and a checkbox allowing us to make this published application available through RD Web Access.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image016.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image016" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image016_thumb.png" border="0" alt="clip image016 thumb Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="501" height="488" /></a></p>
<p>The second tab (User Assignment) is new and a welcome enhancement to Windows 2008 R2 allowing us to specify users and or groups whom you want the published application to be visible to.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image017.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image017" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image017_thumb.png" border="0" alt="clip image017 thumb Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="513" height="298" /></a></p>
<p>I will keep All authenticated domain users ticked and click OK.</p>
<p>Click Next to proceed with the wizard.</p>
<p>You will then be presented with the below summary of settings.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0181.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image018" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image018_thumb1.png" border="0" alt="clip image018 thumb1 Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="499" height="261" /></a></p>
<p>Click Finish.</p>
<p>We have now published our first RemoteApp to RD Web Access.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0191.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image019" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image019_thumb1.png" border="0" alt="clip image019 thumb1 Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="572" height="175" /></a></p>
<p>If I now navigate to the RD Web Access URL from any internal client computer, usually in the form of  <a href="https://servername/RDweb">https://servername/RDweb</a> and login, our Microsoft Office 2007 icon will now be listed providing us with the ability to now launch published application singularly via a secure web interface.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0201.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image020" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image020_thumb1.png" border="0" alt="clip image020 thumb1 Remote Desktop Services in Windows 2008 R2 &ndash; Part 3   RD Web Access &amp; RemoteApp" width="588" height="273" /></a></p>
<p>In addition to publishing RemoteApp Programs to RD Web Access, we  are also provided with the ability to publish applications via a Windows Installer Package or via the creation of an .rdp file which both can be assigned to Remote Computers running Windows 7 etc.</p>
<p>Quite simply, right click on the Microsoft Office Word 2007 under RemoteApp Programs within RemoteApp Manager and select either Create .rdp File or Create Windows Installer Package. You can also initiate both wizards under Actions on the right navigation pane. Both have advantages and disadvantages with the .rdp file providing you with flexibility in the distribution method in deploying applications to remote users by providing them with a single .rdp file, whereas the Windows Installer Package is more geared towards Group Policy Software installation with added benefits in specifying shortcuts locations such as specifying that the shortcut icon will appear on client computers Desktop or Start Menu Folder.</p>
<p>This ends the series on Remote Desktop Services. This is by no means an exhaustive complex setup but it gives you a taste of what is possible with the technology and how far it has come since the early days of Windows NT. Every setup will be different and even though I have installed all of the roles on a single server, depending on the size of your organization and deployment these can be easily split across multiple servers with farm configurations and so forth to accommodate for larger number of users.</p>
<p>This article has not gone into great depth or detail with regards to securing your RD Gateway and RD Web Access with trusted 3rd Party Certification Authority Certificates such as those provided by GoDaddy and Verisign, nor have we discussed potentially publishing both RD Web Access and RD Gateway using a reverse proxy firewall such as Microsoft’s Internet and Acceleration Server (ISA) 2006 and the recently announced <a href="http://edge.technet.com/Media/Forefront-TMG-RTM-Overview-Interview/" target="_blank">Forefront Threat Management Gateway (TMG)</a>.  Expect to see future articles on this topic.</p>
<p>Well, I hope you enjoyed this series and please feel free to comment about your experiences or questions you may have.  As always, you can follow me on <a href="http://twitter.com/georgekhalil" target="_blank">Twitter</a> and or subscribe to my <a href="http://feeds.feedburner.com/sharepointgeorge" target="_blank">feed.</a></p>
<p><strong>Resources</strong></p>
<p>Remote Desktop Connection Broker- What’s New; <a href="http://technet.microsoft.com/en-us/library/dd560675(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd560675(WS.10).aspx</a><br />
Remote Desktop Connection Broker; <a href="http://technet.microsoft.com/en-us/library/cc771419.aspx">http://technet.microsoft.com/en-us/library/cc771419.aspx</a><br />
Remote Desktop Web Access; <a href="http://technet.microsoft.com/en-us/library/cc731923.aspx">http://technet.microsoft.com/en-us/library/cc731923.aspx</a><br />
RemoteApp and Desktop Connection – What’s New; <a href="http://technet.microsoft.com/en-us/library/dd560650(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd560650(WS.10).aspx</a><br />
RemoteApp Manager; <a href="http://technet.microsoft.com/en-us/library/cc755261.aspx">http://technet.microsoft.com/en-us/library/cc755261.aspx</a></p>
<p>____________________________________</p>
<p>Articles in this series;</p>
<ol>
<li><a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/">Remote Desktop Services in Windows 2008 R2 -Part 1 – Installation</a></li>
<li><a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/">Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway</a></li>
<li><a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-3-web-access-remoteapp/" target="_blank">Remote Desktop Services in Windows 2008 R2 – Part 3 – RD Web Access &amp; RemoteApp</a></li>
</ol>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-3-web-access-remoteapp/' addthis:title='Remote Desktop Services in Windows 2008 R2 &ndash; Part 3 &#8211; RD Web Access &amp; RemoteApp ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-3-web-access-remoteapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway</title>
		<link>http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/</link>
		<comments>http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 12:00:56 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[RD Gateway]]></category>
		<category><![CDATA[Remote Desktop Services]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=857</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/' addthis:title='Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>RD Gateway opens up Remote Access barriers providing access to our Terminal Servers via SSL.<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/' addthis:title='Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/' addthis:title='Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>Welcome to the second article in this series on Remote Desktop Services in Windows 2008 R2.  We were first introduced to the Remote Desktop (RD) Gateway in the first release of Windows 2008 and as previously mentioned in <a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/" target="_blank">part 1</a> of this series, the RD Gateway was formerly known as Terminal Server (TS) Gateway.  TS Gateway opened up Remote Access barriers providing access to our Terminal Servers via SSL or port 443, as opposed to the conventional “legacy” VPN access through either IPSEC or L2TP. In Windows Server 2008 R2, not much has changed and in today’s article I will provide you with a step by step guide on configuring your RD Gateway which will provide your remote users access to the Remote Desktop Host or RD Web Access via any Internet connection utilising Remote Desktop Connection client over HTTPS.  If you missed part 1 of this series which discussed the installation of your Remote Desktop Role and services, you can access it <a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/" target="_blank">here</a>.</p>
<p>There are a number of prerequisites that are required in order for the RD Gateway to function and these were all setup in<a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/" target="_blank"> part 1 </a>of this series. For reference I have listed these below;</p>
<ul>
<li> Remote procedure call (RPC) over HTTP Proxy</li>
<li> Internet Information Services</li>
</ul>
<p>Let’s begin by navigating to All Programs / Administrative Tools / Remote Desktop Services / Remote Desktop Gateway Manager. You will be presented with the below screen.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0021.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image002_thumb1.jpg" border="0" alt="clip image002 thumb1 Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="621" height="264" /></a></p>
<p>In the left navigation pane of your RD Gateway Manager MMC console, click on your server and select properties under Actions. We will now go through each tab under the server properties and make any necessary configuration changes.  Let’s refer to this process as post wizard configuration.</p>
<p>Under the General Tab, we are provided with the ability to configure the maximum number of connections that are allowed to connect to this RD Gateway. If you are concerned with server performance, we can set a hard limit of allowed simultaneous connections. We can also disable new connections if we are performing scheduled maintenance on our server.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0031.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image003" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image003_thumb1.png" border="0" alt="clip image003 thumb1 Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="496" height="397" /></a></p>
<p>The next tab allows us to secure the RD Gateway by using an SSL certificate.  We can create a self-signed certificate (recall that this was completed during the initial install wizard in <a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/" target="_blank">part 1</a> of this series), select an existing certificate that is located on the server under Certificates / Personal store or Import a certificate that we have requested via a 3<sup>rd</sup> Party Certification Authority (CA) or utilising an internal CA. It is deemed best practice to utilise a 3<sup>rd</sup> party CA that participates in the Microsoft Root Certification Members Programme alleviating the headache that is usually involved in exporting the root certificate, distributing them to your end users and then providing them with instructions on how to import them into their local machines. Utilising a self-signed certificate is usually reserved for testing purposes only, and not in a production environment, however it will suffice in this step by step guide.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image004.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image004" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image004_thumb.png" border="0" alt="clip image004 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="500" height="455" /></a></p>
<p>The third tab introduces the RD CAP Store and provides us with the ability to utilise our local server running Network Policy Server (NPS) or the ability to specify a central server that is already configured and running NPS.  This was also initially configured during the installation wizard of our Remote Desktop Services role in <a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/" target="_blank">part 1.</a></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image005.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image005" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image005_thumb.png" border="0" alt="clip image005 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="494" height="500" /></a></p>
<p>The next tab, Server Farm, allows us to specify farm members for the RD Gateway. As a minimum we need to Add this RD Gateway server below as follows.  You do so by entering the fully qualified domain name of the server and clicking on Add.  It will then add it below under Remote Desktop Gateway server farm status as per the below screen capture.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0061.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image006" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image006_thumb1.png" border="0" alt="clip image006 thumb1 Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="483" height="328" /></a></p>
<p>You will notice the above warning regarding the registry not being updated. This warning will disappear and the status will change to OK after clicking on Apply.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0071.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image007" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image007_thumb1.png" border="0" alt="clip image007 thumb1 Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="502" height="315" /></a></p>
<p>The next tab allows you to select or deselect events that you would wish to log. These corresponding events are stored in Event Viewer under <strong>Application and Services Logs\Microsoft\Windows\Terminal Services-Gateway\</strong>.  By default, all items under the Auditing tab are selected to be captured and logged.  The below screen capture is an example of the TerminalServices – Gateway Event Viewer on our Windows 2008 R2 server.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image009.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image009" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image009_thumb.jpg" border="0" alt="clip image009 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="622" height="474" /></a></p>
<p>SSL bridging is next and is required to be configured if you are utilizing Microsoft ISA Server to further secure the RD Gateway.  Microsoft ISA Server is a great application level firewall which offers reverse proxy and can be configured to work hand in hand in providing secure access over SSL.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image010.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image010" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image010_thumb.png" border="0" alt="clip image010 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="522" height="379" /></a></p>
<p>The last tab in the RD Gateway properties is Messaging which was not present in Windows 2008 TS Gateway. This is a welcome addition for administrators to utilise when pre-planning for system maintenance and wanting to advise users with a global system notification, and the also providing the ability to set a logon message such as the company’s logon policy.</p>
<p>The first area within the Messaging tab is the ability to set a timed system message with the ability to set a start date/time and end date/time.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image011.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image011" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image011_thumb.png" border="0" alt="clip image011 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="503" height="314" /></a></p>
<p>When a user logs in via the RD Gateway, they will be presented with the following message that we configured above;</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image012.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image012" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image012_thumb.png" border="0" alt="clip image012 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="621" height="388" /></a></p>
<p>The second area under messaging allows you to specify a message such as your company’s logon policy that will appear each time a user logs into the RD Gateway remote computer. This is simply a text file with the contents within.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image013.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image013" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image013_thumb.png" border="0" alt="clip image013 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="485" height="189" /></a></p>
<p>The below similar notice is what will appear when logging on to your Remote Desktop Host via the RD Gateway</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0151.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image015" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image015_thumb1.jpg" border="0" alt="clip image015 thumb1 Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="622" height="296" /></a></p>
<p>You will notice that the system will not continue to login (the OK button is dimmed) unless you accept the terms of this policy.</p>
<p>The last option allows you to specify that connections to the Remote Desktop Host via the RD Gateway will be restricted to clients that support RD Gateway messaging which is anything greater than Remote Desktop Client version 7.</p>
<p>Now prior to connecting to the RD Gateway and testing our setup, we will need to export the self-signed SSL certificate located on the RD Gateway and install it on our client computer that we will be connecting from. The easiest way to accomplish this is to open the Certificates MMC snap-in, locate the certificate from the Personal / Certificates store, and right click, All Tasks / Export.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image0171.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image017" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image017_thumb1.jpg" border="0" alt="clip image017 thumb1 Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="622" height="278" /></a></p>
<p>This will invoke the below Certificate Export Wizard.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image018.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image018" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image018_thumb.png" border="0" alt="clip image018 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="518" height="271" /></a></p>
<p>Click Next</p>
<p>Select Yes, export the private key.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image019.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image019" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image019_thumb.png" border="0" alt="clip image019 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="511" height="253" /></a></p>
<p>Click Next.</p>
<p>Select, Include all certificates in the certificate path if possible</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image020.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image020" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image020_thumb.png" border="0" alt="clip image020 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="448" height="361" /></a></p>
<p>Click Next. Type and confirm a password and then click Next again.</p>
<p>Specify a name and location to export the pfx certificate file.</p>
<p>Click Next and then Finish.</p>
<p>We can now copy or email the exported certificate to our end users who will then install the certificate to their local personal store. This can be easily achieved by double clicking on the exported certificate and invoking the Certificate Import Wizard. Please ensure that when you come to the Certificate Store section of the Import Wizard that you select “Place all certificates in the following store” and select “Trusted Root Certification Authorities”.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image021.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image021" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image021_thumb.png" border="0" alt="clip image021 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="518" height="276" /></a></p>
<p>Now that we have successfully imported the root self signed certificate authority, we can now test our setup and login to our remote computer via the RD Gateway. Before we begin, you need to ensure that you are running the latest Remote Desktop Connection client which is version 7. This version is already included with Windows 7 and is made available for download to Windows Vista SP1 and SP2 clients and to Windows XP SP3 clients. This can be downloaded from the Microsoft Support site; <a href="http://support.microsoft.com/kb/969084">http://support.microsoft.com/kb/969084</a></p>
<p>The above article also provides you with a comprehensive list of new features and their explanations that are only possible with RDC 7 and Windows 2008 R2.  I have listed these below for convenience;</p>
<ul>
<li>Web Single Sign-On (SSO) and Web forms-based authentication</li>
<li>Access to personal virtual desktops by using RD Connection Broker</li>
<li>Access to virtual desktop pools by using RD Connection Broker</li>
<li>Status &amp; disconnect system tray icon</li>
<li>RD Gateway-based device redirection enforcement</li>
<li>RD Gateway system and logon messages</li>
<li>RD Gateway background authorization &amp; authentication</li>
<li>NAP remediation with RD Gateway</li>
<li>Windows Media Player redirection</li>
<li>Bidirectional audio</li>
<li>Multiple monitor support</li>
<li>Enhanced video playback</li>
</ul>
<p>From a client machine running RDC 7, navigate to Start / All Programs / Accessories / Remote Desktop Connection or just search for mstsc.</p>
<p>Click Options and then navigate to the advanced tab.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image022.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image022" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image022_thumb.png" border="0" alt="clip image022 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="402" height="405" /></a></p>
<p>Click Settings and then select Use these RD Gateway server settings:</p>
<p>Enter your server name and logon method details as follows;</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image023.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image023" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image023_thumb.png" border="0" alt="clip image023 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="411" height="294" /></a></p>
<p>Then click OK. Ensure that Bypass RD Gateway server for local addresses is deselected. Navigate back to the General Tab and enter the Computer and User name details and then click Connect when ready.</p>
<p>The following Windows Security popup will appear asking you to authenticate prior to launching a full remote desktop session.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image024.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image024" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image024_thumb.png" border="0" alt="clip image024 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="441" height="358" /></a></p>
<p>After entering your credentials and clicking OK, You will be prompted to accept the login policy that we specified earlier under the Messaging tab of the RD Gateway properties.</p>
<p>So that’s it, we are now logged in to the Remote Desktop Host via the RD Gateway. We can confirm this by clicking on the spanner located on the top toolbar which will output the Remote Computer and Gateway Server that we are connected to. It also states that the connection to the remote computer was made using a Remote Desktop Gateway server.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image025.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image025" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image025_thumb.png" border="0" alt="clip image025 thumb Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway" width="446" height="218" /></a></p>
<p>That’s it for now. In our next and final article I will discuss Remote Desktop (RD) Web Access and the publishing of Remote Desktop Applications, so stay tuned.</p>
<p>_________________________________________</p>
<p>Articles in this series;</p>
<ol>
<li><a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/" target="_blank">Remote Desktop Services in Windows 2008 R2 -Part 1 , Installation and Configuration</a></li>
<li><a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/" target="_blank">Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway</a></li>
<li><a href="../2009/remote-desktop-services-windows-2008-r2-part-3-web-access-remoteapp/" target="_blank">Remote Desktop Services in Windows 2008 R2 – Part 3 –  RD Web Access &amp; RemoteApp</a></li>
</ol>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/' addthis:title='Remote Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Desktop Services in Windows 2008 R2 -Part 1</title>
		<link>http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/</link>
		<comments>http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 12:00:55 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[RDS]]></category>
		<category><![CDATA[Remote Desktop Services]]></category>
		<category><![CDATA[Terminal Server]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=802</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/' addthis:title='Remote Desktop Services in Windows 2008 R2 -Part 1 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>Windows Terminal Services has come a long way since its infancy and has improved with every version of Windows, and Windows 2008 R2 is no exception.<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/' addthis:title='Remote Desktop Services in Windows 2008 R2 -Part 1 ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/' addthis:title='Remote Desktop Services in Windows 2008 R2 -Part 1 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>Windows Terminal Services has come a long way since its infancy and has improved with every version of Windows, and Windows 2008 R2 is no exception.  There are even noticeable differences between Windows 2008 and Windows 2008 R2 and should be highly considered as a worthy upgrade for those currently running older versions of the Windows component.  I first began working with Terminal Server technologies back in the day of <a href="http://en.wikipedia.org/wiki/Citrix_WinFrame" target="_blank">WinFrame</a> which was a “special” version of Windows NT 3.5.1 that was developed by Citrix.  Since then I have worked with all versions of Terminal Server from NT4 to the most recent Windows 2008 R2 which I am excited about.</p>
<p>This 3 part series will consist of the following articles and will provide you with step by step instructions in getting most of your Remote Desktop infrastructure in place;</p>
<ul>
<li>Part 1 – Installation of Remote Desktop Services</li>
<li>Part 2 – Configuration of Remote Desktop Gateway and Remote Desktop Client</li>
<li>Part 3 – Configuration of Remote Desktop Web Access</li>
</ul>
<p>In Windows 2008 R2, Terminal Server and its underlying components is now referred to as Remote Desktop Services (RDS).  The below table is a snippet directly from TechNet outlining the renaming of Terminal Server and it’s services;</p>
<table border="1" cellpadding="0">
<tbody>
<tr>
<td valign="bottom"><strong>Previous name (Windows 2008)</strong></td>
<td valign="bottom"><strong>Name in Windows Server 2008 R2</strong></td>
</tr>
<tr>
<td valign="top">Terminal Services</td>
<td valign="top">Remote Desktop Services</td>
</tr>
<tr>
<td valign="top">Terminal Server</td>
<td valign="top">Remote Desktop Session Host (RD Session Host)</td>
</tr>
<tr>
<td valign="top">Terminal Services Licensing (TS Licensing)</td>
<td valign="top">Remote Desktop Licensing (RD Licensing)</td>
</tr>
<tr>
<td valign="top">Terminal Services Gateway (TS Gateway)</td>
<td valign="top">Remote Desktop Gateway (RD Gateway)</td>
</tr>
<tr>
<td valign="top">Terminal Services Session Broker (TS Session Broker)</td>
<td valign="top">Remote Desktop Connection Broker (RD Connection Broker)</td>
</tr>
<tr>
<td valign="top">Terminal Services Web Access (TS Web Access)</td>
<td valign="top">Remote Desktop Web Access (RD Web Access)</td>
</tr>
</tbody>
</table>
<p>Before delving into the step by step guide I will quickly highlight some of the enhancements and improvements that have been incorporated in this release;  This is by no means a comprehensive list, however I have provided a number of links at the end of this post to TechNet articles outlining What’s New in RDS.</p>
<ul>
<li>Windows Server 2008 R2 is 64 bit only, meaning that RDS is also 64 bit.</li>
<li>Forms based authentication for Remote Desktop Web Access</li>
<li> Per user RemoteApp program filtering</li>
<li>Enhancements to Remote Desktop Client experience such as multiple monitor support, Audio recording redirection and Audio and Video playback</li>
<li>Windows Installer compatibility</li>
<li>Introduction of Remote Desktop Virtualisation Host providing personal virtual desktops utilising Hyper-V (note: This technology will not be discussed in this series, however I will have a future post dedicated to this new inclusion)</li>
</ul>
<p>So let’s begin the installation by Navigating to Start / Administrative Tools / Server Manager (This post is assuming that you already have a dedicated Windows 2008 R2 server setup)</p>
<p>Click on Roles located on the left navigation pane and then select Add Roles located on the right pane to invoke the Add Roles Wizard.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image002.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image002_thumb.jpg" border="0" alt="clip image002 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="621" height="256" /></a></p>
<p>Click Next</p>
<p>Select Remote Desktop Services as the role to install on this server.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image003.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image003" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image003_thumb.png" border="0" alt="clip image003 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="511" height="439" /></a></p>
<p>Click Next.</p>
<p>The below introduction to Remote Desktop Services is displayed. Microsoft have done a great job in providing administrators with thorough documentation pertaining to the role being installed.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image005.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image005" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image005_thumb.jpg" border="0" alt="clip image005 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="250" /></a></p>
<p>Click Next</p>
<p>This is a single server setup so I will select all of the role services for Remote Desktop Services excluding Remote Desktop Virtualisation Host (this will be covered in a future post). I have provided Microsoft’s description of each service in the table below;</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image006.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image006" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image006_thumb.png" border="0" alt="clip image006 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="565" height="413" /></a></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="308" valign="top"><strong>Remote Desktop Session Host</strong></td>
<td width="308" valign="top"><em>RD Session Host, formerly known as Terminal Server, enables a server to host Windows-based programs or the full Windows desktop. Users can connect to an RD Session Host server to run programs, save files and use network resources on the that server</em></td>
</tr>
<tr>
<td width="308" valign="top"><strong>Remote Desktop Licensing</strong></td>
<td width="308" valign="top"><em>RD Licensing, formerly known as TS Licensing manages RDS CALs that are required to connect to an RD Session Host.</em></td>
</tr>
<tr>
<td width="308" valign="top"><strong>Remote Desktop Connection Broker</strong></td>
<td width="308" valign="top"><em>RD Connection Broker, formerly known as TS Session Broker, support session load balancing and session reconnection to the RD Session Host.</em></td>
</tr>
<tr>
<td width="308" valign="top"><strong>Remote Desktop Gateway</strong></td>
<td width="308" valign="top"><em>RD Gateway, formerly known as TS Gateway enables authorised users to connect to RD Session Host Servers over the Internet.</em></td>
</tr>
<tr>
<td width="308" valign="top"><strong>Remote Desktop Web Access</strong></td>
<td width="308" valign="top"><em>RD Web Access, formerly known as TS Web Access enables users to access RemoteApp and Desktop connection through Start Menu on a computer running Windows 7 or through a Web browser.</em></td>
</tr>
</tbody>
</table>
<p>Adding the Remote Desktop Gateway and or Remote Desktop Web Access will prompt you to install other services that are prerequisites such as IIS.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image008.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image008" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image008_thumb.png" border="0" alt="clip image008 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="604" height="297" /></a></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image009.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image009" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image009_thumb.png" border="0" alt="clip image009 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="603" height="294" /></a></p>
<p>Click Add Required Role Services</p>
<p>After you have the Selected Roles checked, click Next.</p>
<p>The below warning will appear advising that it is recommended to install the Remote Desktop Session Host prior to installing any “client” applications.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image011.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image011" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image011_thumb.jpg" border="0" alt="clip image011 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="214" /></a></p>
<p>Because this is a new install of Windows 2008 R2, I can ignore this warning and click Next.</p>
<p>You will now be required to specify an Authentication Method for the Remote Desktop Session Host. The two options provided below are as follows;</p>
<p><strong>Require Network Level Authentication: </strong>This is more secure as user authentication occurs before a full remote desktop session is established, however it is only supported by Remote Desktop Client 6 and greater running on Windows Vista or Windows XP SP3 (Windows 7 is equipped with Remote Desktop Client 7) as they are the only current operating systems that support Credential Security Support Provider (CredSSP) protocol. Please be aware that the CredSSP is turned off by default on Windows XP SP3 and must be turned on via the registry. Please refer to the following Microsoft KB article for more details <a href="http://support.microsoft.com/kb/951608">http://support.microsoft.com/kb/951608</a></p>
<p><strong>Do not require Network Level Authentication: </strong>This is less secure because authentication occurs later in the connection process, however is supported by all Remote Desktop clients and all versions of Windows.</p>
<p>More information can be found in the following TechNet article, Configure Network Level Authentication for Remote Desktop Services Connections; <a href="http://technet.microsoft.com/en-us/library/cc732713.aspx">http://technet.microsoft.com/en-us/library/cc732713.aspx</a></p>
<p>We will select Require Network Level Authentication.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image013.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image013" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image013_thumb.jpg" border="0" alt="clip image013 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="318" /></a></p>
<p>Click Next.</p>
<p>Specify your Licensing Mode</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image015.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image015" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image015_thumb.jpg" border="0" alt="clip image015 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="621" height="326" /></a></p>
<p>Click Next</p>
<p>You will then be prompted to select user groups that you would like to provide access to the Remote Session Host Server. By Default, the “Administrators” group is added and I will also be adding a security group that I have created specifically for my Remote Desktop Users. Users or User groups added in this section will be automatically added to the local Remote Desktop Users group.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image017.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image017" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image017_thumb.jpg" border="0" alt="clip image017 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="246" /></a></p>
<p>Click Next</p>
<p>The next screen will allow you to configure the client experience providing your end users with similar functionality and visual experience found from a Windows 7 desktop.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image019.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image019" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image019_thumb.jpg" border="0" alt="clip image019 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="383" /></a></p>
<p>I will be selecting all 3 options provided, with one of the enhancements to Remote Desktop Services in R2 being the ability to provide users with a much better Video playback experience than in previous releases. It does so by offloading the actual video playback to the local graphics processing unit. More information on Multimedia Redirection Improvements in Windows 7 and WS2008 R2 can be found here; <a href="http://blogs.msdn.com/rds/archive/2009/07/24/multimedia-redirection-improvements-in-windows-7-and-ws2008-r2-part-1.aspx">http://blogs.msdn.com/rds/archive/2009/07/24/multimedia-redirection-improvements-in-windows-7-and-ws2008-r2-part-1.aspx</a></p>
<p>Click Next</p>
<p>The next screen provides you with the ability to configure discovery scope for RD licensing. Following Microsoft’s recommendation, I will not configure a discovery scope for the license server and will utilise the inbuilt RDS Host configuration tool instead.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image021.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image021" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image021_thumb.jpg" border="0" alt="clip image021 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="384" /></a></p>
<p>Click Next</p>
<p>The next screen is requesting a server authentication certificate for SSL encryption. To simplify matters during the installation I will select create a self-signed certificate for SSL encryption and will discuss this in more detail in part 2 of this series.  Note that using a self-signed certificate will create additional administrative overhead for administrators as the certificate will need to be exported and imported to your remote desktop client computers.  Using a 3rd party certificate from a Trusted certificate authority will remove that administrative burden and provide end users with a seamless experience.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image023.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image023" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image023_thumb.jpg" border="0" alt="clip image023 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="376" /></a></p>
<p>Click Next</p>
<p>The next screen introduces Authorisation policies for the RD Gateway. Recall, the RD Gateway is designed to provide users with the ability to log onto a Remote Desktop Host via the Internet and SSL. Windows 2008 first introduced the TS Gateway which incorporated 2 types of policies TS CAP and TS RAP. These have been superseded in Windows 2008 R2 with; you guessed it, RD CAP and RD RAP.</p>
<p>Here is a brief primer on the two;</p>
<p><strong>RD CAP</strong> (Remote Desktop Connection Authorisation Policy): Here you will specify users and groups who will have the ability to connect to a Remote Desktop Gateway Server. With an RD CAP you can also specify conditions for specific users and groups such as, you can only connect to this RD Gateway if you are using a smart card.</p>
<p><strong>RD RAP </strong>(Remote Desktop Resource Authorisation Policy): After providing users and groups the ability to authenticate with an RD Gateway, RD RAP provides you with the ability to specify which computers located in the internal network are accessible to your user groups.  This could be restricted to a number of Remote Desktop Servers depending on the user or group authenticating.</p>
<p>Add your users and groups that you would like to connect through the RD Gateway as per the below screen capture.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image027.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image027" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image027_thumb.jpg" border="0" alt="clip image027 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="357" /></a></p>
<p>The next part of the wizard is all about creating your RD CAP and RD RAP. Don’t worry too much if you don’t get everything right in the wizard as all of these options are configurable post wizard installation.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image029.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image029" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image029_thumb.jpg" border="0" alt="clip image029 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="357" /></a></p>
<p>Notice, I have created a specific Active Directory Group called “Remote Desktop Computers” in which I have added computers with Remote Desktop enabled.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image031.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image031" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image031_thumb.jpg" border="0" alt="clip image031 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="621" height="363" /></a></p>
<p>Click Next</p>
<p>The next part of this wizard provides you with a primer on Network Policy and Access Services.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image033.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image033" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image033_thumb.jpg" border="0" alt="clip image033 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="375" /></a></p>
<p>Click Next</p>
<p>Leave Network Policy Server selected&#8230;.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image035.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image035" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image035_thumb.jpg" border="0" alt="clip image035 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="357" /></a></p>
<p>Click Next</p>
<p>The following screen provides you with an introduction to the Web Server Role that is required to be installed for Remote Desktop Web Access.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image037.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image037" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image037_thumb.jpg" border="0" alt="clip image037 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="387" /></a></p>
<p>Click Next and Next again to accept the default role services options.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image039.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image039" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image039_thumb.jpg" border="0" alt="clip image039 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="621" height="410" /></a></p>
<p>We are finally presented with a summary of the confirmed installation selections that we have made throughout this wizard. It is worthwhile printing and or saving this information via the available hyperlink to form part of your documentation.  Kudos to Microsoft who in my own opinion have done a great job with their wizard based installations which eases the usual configuration pains associated with such an install.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image041.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image041" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image041_thumb.jpg" border="0" alt="clip image041 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="436" /></a></p>
<p>Click Install. The installation process will now begin and you will be presented with the installation results screen below notifying you of completion. Click Close and then restart your server to complete the process.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image043.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image043" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image043_thumb.jpg" border="0" alt="clip image043 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="464" /></a></p>
<p>Upon shutdown, restart and logon, Windows will proceed with the installation and configuration of our roles and services.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image045.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image045" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image045_thumb.jpg" border="0" alt="clip image045 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="511" /></a></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image047.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image047" src="http://sharepointgeorge.com/wp-content/uploads/2009/11/clip_image047_thumb.jpg" border="0" alt="clip image047 thumb Remote Desktop Services in Windows 2008 R2  Part 1" width="622" height="438" /></a></p>
<p>That&#8217;s it for now.  In this first article of this series on RDS, we went through the process of adding and configuring the necessary roles and services associated with Remote Desktop Services via  Windows 2008 R2 Server manager.  In the next article, I will be discussing the Remote Desktop Gateway (RD Gateway) in some detail and will go through some of it&#8217;s configuration settings both at the server and remote desktop client level.</p>
<p>____________________________________________________</p>
<p><strong>What’s New &#8211; TechNet Resources</strong></p>
<p>Remote Desktop Session Host; <a title="http://technet.microsoft.com/en-us/library/dd560667(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd560667(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd560667(WS.10).aspx</a><br />
Remote Desktop Virtualisation Host; <a title="http://technet.microsoft.com/en-us/library/dd560648(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd560648(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd560648(WS.10).aspx</a><br />
Remote Desktop Connection Broker; <a title="http://technet.microsoft.com/en-us/library/dd560675(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd560675(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd560675(WS.10).aspx</a><br />
Remote Desktop Web Access; <a title="http://technet.microsoft.com/en-us/library/dd560668(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd560668(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd560668(WS.10).aspx</a><br />
Remote Desktop Gateway; <a title="http://technet.microsoft.com/en-us/library/dd560672(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd560672(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd560672(WS.10).aspx</a><br />
RemoteApp  And Desktop Connection; <a title="http://technet.microsoft.com/en-us/library/dd560650(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd560650(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd560650(WS.10).aspx</a><br />
Remote Desktop Licensing; <a title="http://technet.microsoft.com/en-us/library/dd560655(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd560655(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd560655(WS.10).aspx</a><br />
Remote Desktop Client Experience; <a title="http://technet.microsoft.com/en-us/library/dd560636(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd560636(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd560636(WS.10).aspx</a></p>
<p>Remote Desktop Services Management; <a title="http://technet.microsoft.com/en-us/library/dd939782(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd939782(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd939782(WS.10).aspx</a><br />
__________________________________________</p>
<p>Articles in this series;</p>
<ol>
<li><a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/" target="_blank">Remote Desktop Services in Windows 2008 R2 -Part 1 ,  Installation and Configuration</a></li>
<li><a href="http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-2-gateway/" target="_blank">Remote  Desktop Services in Windows 2008 R2 – Part 2 – RD Gateway</a></li>
<li><a href="../2009/remote-desktop-services-windows-2008-r2-part-3-web-access-remoteapp/" target="_blank">Remote Desktop Services in Windows 2008 R2 – Part 3 –   RD Web Access &amp; RemoteApp</a></li>
</ol>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/' addthis:title='Remote Desktop Services in Windows 2008 R2 -Part 1 ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2009/remote-desktop-services-windows-2008-r2-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to setup XP Mode on Windows 7</title>
		<link>http://sharepointgeorge.com/2009/setup-xp-mode-windows-7/</link>
		<comments>http://sharepointgeorge.com/2009/setup-xp-mode-windows-7/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 12:45:08 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=687</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/setup-xp-mode-windows-7/' addthis:title='How to setup XP Mode on Windows 7 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>As much as we would like to run an application on Windows 7 natively we know that this may not be feasible as there will always be legacy applications that may not work natively with Windows 7.  Windows “XP mode” is dubbed as the last resort in assisting organisations in migrating to the latest and greatest operating system to date.<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/setup-xp-mode-windows-7/' addthis:title='How to setup XP Mode on Windows 7 ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/setup-xp-mode-windows-7/' addthis:title='How to setup XP Mode on Windows 7 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>Windows 7 was just recently released to the General Public and has been in the hands of TechNet and MSDN subscribers for a while before that, and one of the features that I have been utilising lately is “XP Mode” which is a glorified version of Virtual PC as we have known it in previous releases.  Windows Virtual PC for Windows 7 (not to be confused with Windows Virtual PC 2007) is actually one of two pre-requisites for XP mode with the other being “Hardware-assisted virtualization (HAV)”.  HAV are processors with the Intel VT, AMD-V or VIA VT feature which will need to be enabled in the conputer BIOS.</p>
<p>A couple of enhancements of XP mode and Windows Virtual PC for Windows 7 over legacy Virtual PC 2007 include the ability to run XP compatible applications in what other desktop virtualisation vendors refer to as “unity” mode,  i.e. the ability to launch applications directly from the Windows 7 start menu that are actually installed on the XP virtual machine itself. The second enhancement to Windows Virtual PC for Windows 7 is the ability to utilise HAV to increase performance of your virtual machine which I have been impressed with to date.</p>
<p>As much as we would like to run an application on Windows 7 natively we know that this may not be feasible as there will always be legacy applications that may not work natively with newer operating systems.  Windows “XP mode” is dubbed as the last resort in assisting organisations in migrating to the latest and greatest operating system to date.</p>
<p>So let’s begin the setup by first downloading an Intel utility which will check if the computer processor supports HAV and if this setting is enabled.  You can download this utility from the Intel site here; <a href="http://www.intel.com/support/processors/tools/piu/">http://www.intel.com/support/processors/tools/piu/</a></p>
<p>The utility when launch will look like the below;</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0011.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image001" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image001_thumb.png" border="0" alt="clip image001 thumb How to setup XP Mode on Windows 7" width="600" height="388" /></a></p>
<p>Click on the CPU Technologies tab.  Note that in this case the Intel Virtualisation Technology is already enabled.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0021.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image002_thumb.png" border="0" alt="clip image002 thumb How to setup XP Mode on Windows 7" width="600" height="403" /></a></p>
<p><span id="intelliTxt">If you have an AMD processor then you will need to download the    AMD    Virtualization Technology and Microsoft Hyper-V System Compatibility Check Utility here; </span><a href="http://www.amd.com/us-en/assets/content_type/utilities/AMD-V_Hyper-V_Compatibility_Check_Utility.zip" target="_blank">http://www.amd.com/us-en/assets/content_type/utilities/AMD-V_Hyper-V_Compatibility_Check_Utility.zip</a></p>
<p>Microsoft have also released their own detection tool since XP Mode was released to manufacturing and can be downloaded from here; <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0ee2a17f-8538-4619-8d1c-05d27e11adb2&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=0ee2a17f-8538-4619-8d1c-05d27e11adb2&amp;displaylang=en</a></p>
<p>This tool is a lot simpler and will look similar to the below when launched;</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0031.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image003" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image003_thumb.png" border="0" alt="clip image003 thumb How to setup XP Mode on Windows 7" width="426" height="353" /></a></p>
<p>Please be aware that in some cases you may need to enable HAV from within the computer BIOS.  Now that we have HAV in check we can proceed with the setup of XP Mode on our Windows 7 machine.</p>
<p>The next step is to install Windows Virtual PC  which you will need to download first from the Microsoft site here; <a href="http://www.microsoft.com/windows/virtual-pc/download.aspx">http://www.microsoft.com/windows/virtual-pc/download.aspx</a></p>
<p>Begin by launching the executable.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0051.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image005" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image005_thumb.png" border="0" alt="clip image005 thumb How to setup XP Mode on Windows 7" width="407" height="195" /></a></p>
<p>Click Yes.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0061.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image006" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image006_thumb.png" border="0" alt="clip image006 thumb How to setup XP Mode on Windows 7" width="562" height="402" /></a></p>
<p>Accept the license terms.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0071.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image007" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image007_thumb.png" border="0" alt="clip image007 thumb How to setup XP Mode on Windows 7" width="563" height="400" /></a></p>
<p>Click Restart Now to finalise the installation of Windows Virtual PC for Windows 7.</p>
<p>The second installation that is required is Windows XP Mode.  This can also be downloaded from the Microsoft site here; <a href="http://www.microsoft.com/windows/virtual-pc/download.aspx">http://www.microsoft.com/windows/virtual-pc/download.aspx</a> (Follow steps 1-3)</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0081.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image008" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image008_thumb.png" border="0" alt="clip image008 thumb How to setup XP Mode on Windows 7" width="506" height="384" /></a></p>
<p>Click Next.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0091.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image009" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image009_thumb.png" border="0" alt="clip image009 thumb How to setup XP Mode on Windows 7" width="521" height="397" /></a></p>
<p>Select your location and click Next.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0101.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image010" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image010_thumb.png" border="0" alt="clip image010 thumb How to setup XP Mode on Windows 7" width="515" height="399" /></a></p>
<p>Click Finish to finalise the setup.</p>
<p>We are now ready to launch Windows XP mode for the first time in which it will begin a “one time” configuration process setting up our virtual machine.</p>
<p>We can do so by navigating to the Windows XP Mode shortcut. From the <strong>Start</strong> menu, click <strong>Windows Virtual PC</strong>, and then click <strong>Windows XP Mode</strong>.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0111.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image011" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image011_thumb.png" border="0" alt="clip image011 thumb How to setup XP Mode on Windows 7" width="587" height="480" /></a></p>
<p>Accept the license terms and click next.</p>
<p>Please note that if your machine is not HAV compatible or has not been enabled for HAV you will receive the following error message;</p>
<p>“<em>Unable to start Windows Virtual PC because hardware-assisted virtualization is disabled”</em></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0121.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image012" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image012_thumb.png" border="0" alt="clip image012 thumb How to setup XP Mode on Windows 7" width="595" height="500" /></a></p>
<p>Continuing on with our installation of XP mode you will be prompted for the installation folder and the “XPMUser” password.  This “system created” user is used to log into the Virtual Machine automatically when booted up and run the installation applications within in.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0131.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image013" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image013_thumb.png" border="0" alt="clip image013 thumb How to setup XP Mode on Windows 7" width="593" height="480" /></a></p>
<p>Click Next</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0141.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image014" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image014_thumb.png" border="0" alt="clip image014 thumb How to setup XP Mode on Windows 7" width="558" height="445" /></a></p>
<p>Select “Help protect my computer by turning on Automatic Updates now”</p>
<p>Click Next</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0151.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image015" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image015_thumb.png" border="0" alt="clip image015 thumb How to setup XP Mode on Windows 7" width="548" height="434" /></a></p>
<p>Click Start Setup.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0161.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image016" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image016_thumb.png" border="0" alt="clip image016 thumb How to setup XP Mode on Windows 7" width="600" height="460" /></a></p>
<p>Setup will begin installing Windows XP with SP3 with the end product looking similar to the below screen capture;</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0171.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image017" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image017_thumb.png" border="0" alt="clip image017 thumb How to setup XP Mode on Windows 7" width="600" height="404" /></a></p>
<p>The new virtual machine is now ready for you to customize it by installing the applications you want to use. After you install the applications, you can open them directly from the <strong>Start</strong> menu of your Windows 7 host operating system as per the below screen capture.  As this is considered as another machine that is connected to the network via NAT (default), I would ensure that the latest Windows Updates are installed and that an antivirus package is also installed to keep the machine secure and clean.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image0181.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image018" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/clip_image018_thumb.png" border="0" alt="clip image018 thumb How to setup XP Mode on Windows 7" width="387" height="469" /></a></p>
<p>Hope you have found this article useful.  In summary, the setting up of Windows XP Mode consists of  three parts.  The first part installs Windows Virtual PC for Windows 7 with the second part installing Windows XP Mode on the computer. The third and final part to the jigsaw is always required. It sets up a virtual instance of Windows XP Professional with Service Pack 3 (SP3) as a virtual machine, allowing you to install your legacy applications that can then be accessed via your Windows 7 start menu.</p>
<p>Don’t forget to subscribe to future articles via your <a onclick="javascript:pageTracker._trackPageview('/outbound/article/feeds.feedburner.com');" rel="nofollow" href="http://feeds.feedburner.com/sharepointgeorge" target="_blank">RSS reader</a> and follow me on twitter <a onclick="javascript:pageTracker._trackPageview('/outbound/article/twitter.com');" rel="nofollow" href="http://twitter.com/georgekhalil" target="_blank">@georgekhalil.</a></p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/setup-xp-mode-windows-7/' addthis:title='How to setup XP Mode on Windows 7 ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2009/setup-xp-mode-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 4/4</title>
		<link>http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/</link>
		<comments>http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 11:45:00 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=477</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/' addthis:title='Windows Deployment Services, WAIK &#38; Windows 7 &#8211; Part 4/4 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>We conclude the series by introducing one of the nicer features in WDS and Windows 2008 and that’s the ability to inject driver packages and have them deployed to our client computers along with the install image<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/' addthis:title='Windows Deployment Services, WAIK &#38; Windows 7 &#8211; Part 4/4 ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/' addthis:title='Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 4/4 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>Welcome to the final article in this series on Windows Deployment Services, WAIK and Windows 7.  Our first articled introduced WDS and its configuration with parts 2 and 3 focusing on our beloved WAIK tool and Windows System Image Manager and the creation of our XML answer files.  We conclude the series by introducing one of the enhanced features in WDS and Windows 2008 and that’s the ability to inject driver packages and have them deployed to our client computers along with the install image.  Note that this functionality is only available when you are installing images of the following operating systems: Windows Vista with SP1, Windows Server 2008, Windows 7, and Windows Server 2008 R2.</p>
<p>I have on purposely left this discussion to the end in order to determine what driver packages need to be added to the WDS server and this could only be determined after deploying our first Windows 7 Image via WDS to our various hardware.  After the initial deployment I would log onto the machine and launch the Device Manager MMC and see what devices were not detected by the Windows 7 install.  From experience, these will primarily be audio and/or video drivers that you will need to download from the manufacturers support site.  Since Windows 7 has just been released into the market, many vendors such as Dell and HP may not have released Windows 7 certified drivers for their older fleet, however I have found that Windows Vista drivers are compatible in most instances.  So let’s begin the process!</p>
<p>My Windows 7 install image was deployed to a Dell Latitude D630 in which Window 7 did not detect the video adapter so I went forth and downloaded the latest “Vista” drivers from the Dell support site. The Dell drivers are wrapped in a nice executable for installation, however because we are injecting these drivers via WDS we need to extract the contents of the executable which will contain the .inf file that describes the package.  The .inf file includes a list of the files that make up the package (and their locations), and is included with the driver installation program. Generally, the .inf file is located on the driver installation media in the same folder as the Setup program, or in a subfolder.</p>
<p>We can easily extract these via <a href="http://www.rarlab.com/" target="_blank">WinRAR</a> by right clicking on the executable and selecting Extract to &lt;foldername&gt;.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Drivers" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/image_thumb.png" border="0" alt="image thumb Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="316" height="452" /></a></p>
<p>Once we have these files extracted we can proceed and add the driver package via WDS, so let&#8217;s navigate to the WDS Management console and right click on drivers and select “add driver package”</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture14a.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture14a_thumb.jpg" border="0" alt="Capture14a thumb Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="660" height="197" /></a></p>
<p>Browse for the .inf file that we extracted earlier via WinRAR and click Next.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture16.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Drivers" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture16_thumb.jpg" border="0" alt="Capture16 thumb Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="519" height="379" /></a></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture17.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Drivers" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture17_thumb.jpg" border="0" alt="Capture17 thumb Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="514" height="410" /></a></p>
<p>Double click on the package details and click on the second tab &#8220;Drivers&#8221; to confirm that the correct drivers are being distributed.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture18a.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Drivers" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture18a_thumb.jpg" border="0" alt="Capture18a thumb Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="350" height="410" /></a></p>
<p>Continuing will then proceed and add the driver package as per the below screenshot.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture19.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Drivers" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture19_thumb.jpg" border="0" alt="Capture19 thumb Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="499" height="339" /></a></p>
<p>We will not place the “driver packages in a driver group” at this time and we will not  “Modify the filters for this group now.”</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture21b1.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Drivers" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture21b_thumb1.jpg" border="0" alt="Capture21b thumb1 Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="521" height="342" /></a></p>
<p>We can now click on Finish to complete the Task.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture21c1.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Drivers" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture21c_thumb1.jpg" border="0" alt="Capture21c thumb1 Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="521" height="492" /></a></p>
<p>We will now follow the instructions as per the above screen capture and invoke the “Add Driver Group Wizard” by right clicking on the Drivers node.  Type a name for this driver group similar to the below screen capture.  In most instances you will create driver groups for different makes and models.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture221.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Drivers" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22_thumb1.jpg" border="0" alt="Capture22 thumb1 Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="657" height="302" /></a></p>
<p>Click Next.  Now click add to select a filter type.  I will be creating a filter based on manufacturer as listed in the BIOS.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22a.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture22a" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22a_thumb.jpg" border="0" alt="Capture22a thumb Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="632" height="429" /></a></p>
<p>You can find this information on the client computer using the System Information tool (Msinfo32.exe). To open this tool, click <strong>Start</strong>, click <strong>Run</strong>, type <strong>msinfo32.exe</strong>, and then click <strong>OK</strong>. This value is listed as the <strong>System Manufacturer</strong>.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22b1.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Drivers" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22b_thumb1.jpg" border="0" alt="Capture22b thumb1 Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="479" height="226" /></a></p>
<p>Click on Add</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/image_thumb2.png" border="0" alt="image thumb2 Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="652" height="470" /></a></p>
<p>Now that you have located the Manufacturer you can add the parameter as per the below screen shot.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/image3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/image_thumb3.png" border="0" alt="image thumb3 Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="349" height="363" /></a></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22c1.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture22c" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22c_thumb1.jpg" border="0" alt="Capture22c thumb1 Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="628" height="321" /></a></p>
<p>You also have the ability to be specific with regards to applying these drivers based on the selected install image.  Because I only have the single Windows 7 install image I will leave this filter blank and continue.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22d1.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture22d" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22d_thumb1.jpg" border="0" alt="Capture22d thumb1 Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="654" height="435" /></a></p>
<p>Leave the default option of &#8220;Install only the driver packages that match a client&#8217;s hardware&#8221;.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22e1.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture22e" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22e_thumb1.jpg" border="0" alt="Capture22e thumb1 Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="633" height="329" /></a></p>
<p>Click Next.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22f1.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture22f" src="http://sharepointgeorge.com/wp-content/uploads/2009/10/Capture22f_thumb1.jpg" border="0" alt="Capture22f thumb1 Windows Deployment Services, WAIK & Windows 7   Part 4/4" width="628" height="368" /></a></p>
<p>That&#8217;s all that is to it.  The next time you deploy an Install Image that meets the BIOS manufacturer&#8217;s parameter it will inject the necessary drivers for Windows to freely use.  It sure beats the legacy method of creating $oem$ folders etc and hoping that the drivers are correct.  As you can see, WDS in Windows 2008 R2 simplifies matters dramatically and the driver validation process is comforting to an IT Pro, ensuring that you have the correct drivers selected.</p>
<p>This comes to the conclusion to our 4 part series in which I hope you have enjoyed.  Don&#8217;t forget to subscribe to future articles via your <a href="http://feeds.feedburner.com/sharepointgeorge" target="_blank">RSS reader</a> and follow me on twitter <a href="http://twitter.com/georgekhalil" target="_blank">@georgekhalil</a>.</p>
<p>________________________________________________</p>
<p>Articles in this series</p>
<ol>
<li><a href="../2009/windows-deployment-services-waik-and-windows-7-part1/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 – Part 1/4 </a>(Installation and Configuration of the WDS Role)</li>
<li><a href="../2009/windows-deployment-services-waik-windows-7-part-2/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 – Part 2/4</a> (Creation &amp; Configuration of WDSUnattend.xml)</li>
<li><a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 – Part 3/4</a> (Creation &amp; Configuration of ImageUnattend.xml)</li>
<li><a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 4/4</a> (Injecting Drivers)</li>
</ol>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/' addthis:title='Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 4/4 ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Deployment Services, WAIK &amp; Windows 7 – Part 3/4</title>
		<link>http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/</link>
		<comments>http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 12:45:03 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=425</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/' addthis:title='Windows Deployment Services, WAIK &#38; Windows 7 – Part 3/4 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>We are back again and in today’s article we will continue our efforts in automating our Windows 7 deployment via Windows Deployment Services utilising the WAIK tool and the creation of our XML Answer files.<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/' addthis:title='Windows Deployment Services, WAIK &#38; Windows 7 – Part 3/4 ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/' addthis:title='Windows Deployment Services, WAIK &amp; Windows 7 – Part 3/4 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>We are back again and in today’s article we will continue our efforts in automating our Windows 7 deployment via Windows Deployment Services utilising the WAIK tool and the creation of our XML Answer files.  In Part 2 of this series we focused on the creation of the WDSUnattend.xml file that is required to automate the Windows Pre Execution Boot for our WDS clients and took care of the partitioning of our disks.  If you missed part 2 of this series, you can access it <a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/" target="_blank">here.</a> Today we continue our efforts in utilising the Windows System Image Manager (WSIM) to create our ImageUnattend.xml which will be specifically designed to automate the Out of Box Experience (OOBE) of our Windows 7 Enterprise install.</p>
<p>In our last article I introduced WSIM and the steps required to create an answer file.  I also went into some detail regarding the 7 distinct sections that make up an answer file that reflect the 7 possible stages in the deployment of your operating system, in our case Windows 7.  As you recall these stages are referred to as Passes and you may not necessarily need to utilise every single pass in an XML Answer File.  Our WDSUnattend.xml file that we created in <a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/" target="_blank">Part 2</a> primarily focused on the windowsPE pass however our ImageUnattend.xml that we are creating in this article will utilise the specialize and oobeSystem passes.  So let’s begin!</p>
<p>Launch WSIM and select File / New Answer File.  The first area that we will focus on is the specialize pass which we will provide details for the automation of the joining of the machine to the domain.</p>
<p>The minimum components and passes required for our ImageUnattend.xml are listed as follows;</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="77" valign="top"><strong>Component</strong></td>
<td width="501" valign="top"><strong>Configuration pass</strong></td>
<td width="88"></td>
</tr>
<tr>
<td width="77" valign="top">1</td>
<td width="501" valign="top">Microsoft-Windows-Shell-Setup</td>
<td width="88" valign="top">specialize</td>
</tr>
<tr>
<td width="77" valign="top">2</td>
<td width="501" valign="top">Microsoft-Windows-UnattendedJoin\Identification</td>
<td width="88" valign="top">specialize</td>
</tr>
<tr>
<td width="77" valign="top">3</td>
<td width="501" valign="top">Microsoft-Windows-International-Core</td>
<td width="88" valign="top">oobeSystem</td>
</tr>
<tr>
<td width="77" valign="top">4</td>
<td width="501" valign="top">Microsoft-Windows-Shell-Setup</td>
<td width="88" valign="top">oobeSystem</td>
</tr>
<tr>
<td width="77" valign="top">5</td>
<td width="501" valign="top">Microsoft-Windows-Shell-Setup\OOBE</td>
<td width="88" valign="top">oobeSystem</td>
</tr>
<tr>
<td width="77" valign="top">6</td>
<td width="501" valign="top">Microsoft-Windows-Shell-Setup\UserAccounts</td>
<td width="88" valign="top">oobeSystem</td>
</tr>
<tr>
<td width="77" valign="top">7</td>
<td width="501" valign="top">Microsoft-Windows-Shell-Setup\UserAccounts\Administrator</td>
<td width="88" valign="top">oobeSystem</td>
</tr>
<tr>
<td width="77" valign="top">8</td>
<td width="501" valign="top">Microsoft-Windows-Shell-Setup\UserAccounts\DomainAccounts</td>
<td width="88" valign="top">oobeSystem</td>
</tr>
<tr>
<td width="77" valign="top">9</td>
<td width="501" valign="top">Microsoft-Windows-Shell-Setup\UserAccounts\LocalAccounts</td>
<td width="88" valign="top">oobeSystem</td>
</tr>
</tbody>
</table>
<p>As a refresher, I will go through the process of adding our first component (Microsoft-Windows-Shell-Setup) to our Answer File Pane and it’s required settings.  Recall that I went through this process in some detail in <a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/" target="_blank">part 2</a> of this series.</p>
<p>Right click on the required component and select Add Setting to Pass4 specialize.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/image2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/image_thumb2.png" border="0" alt="image thumb2 Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="557" height="468" /></a></p>
<p>This will then appear in the Answer File pane as follows;</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1_thumb.png" border="0" alt="Capture1 thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="341" height="160" /></a></p>
<p>We will make the following changes to the properties of the Microsoft-Windows-Shell-Setup component as per the below screen capture.  You will notice that in the ComputerName section I have specified “*” as I am letting WDS do the naming under the AD DS tab of the properties of the WDS server.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture2_thumb.png" border="0" alt="Capture2 thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="387" height="308" /></a></p>
<p>In the below screen capture, I have specified a Client Naming Policy under the properties of our WDS server.  The following format GK%03# will name my machines in the following format; GK001, GK002, GK003 etc.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture3_thumb.png" border="0" alt="Capture3 thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="406" height="436" /></a></p>
<p>I have listed the rest of the settings in text form for the components listed in the table above.  These are as follows;</p>
<table border="1" cellspacing="0" cellpadding="0" width="686">
<tbody>
<tr>
<td width="10" valign="top"><strong>4 specialize</strong></td>
<td width="369" valign="top">Microsoft-Windows-Shell-Setup</td>
<td width="305" valign="top">ComputerName =<strong>*</strong>RegisteredOrganization =<strong>&lt;Name&gt;</strong></p>
<p>RegisteredOwner =<strong>&lt;Name&gt;</strong></td>
</tr>
<tr>
<td width="10" valign="top"><strong>4 specialize</strong></td>
<td width="369" valign="top">Microsoft-WindowsUnattendedJoin\Identification</td>
<td width="305" valign="top">DebugJoin = <strong>false</strong>JoinDomain = <strong>&lt;Domain Name&gt;</strong></p>
<p>UnsecureJoin = <strong>true</strong></td>
</tr>
<tr>
<td width="10" valign="top"><strong>7oobeSystem</strong></td>
<td width="369" valign="top">Microsoft-Windows-International-Core</td>
<td width="305" valign="top">InputLocale = <strong>en-Au or en-US</strong>SystemLocale = <strong>en-Au or en-US</strong></p>
<p>UILanguage = <strong>en-Au or en-US</strong></p>
<p>UserLocale = <strong>en-Au or en-US</strong></td>
</tr>
<tr>
<td width="10" valign="top"><strong>7oobeSystem</strong></td>
<td width="369" valign="top">Microsoft-Windows-Shell-Setup</td>
<td width="305" valign="top">RegisteredOrganization =<strong>&lt;Name&gt;</strong>RegisteredOwner =<strong>&lt;Name&gt;</strong></p>
<p>ShowWindowsLive =<strong>false</strong></p>
<p>TimeZone = <strong>&lt;AU Eastern Standard Time&gt;</strong></td>
</tr>
<tr>
<td width="10" valign="top"><strong>7oobeSystem</strong></td>
<td width="369" valign="top">Microsoft-Windows-Shell-Setup\OOBE</td>
<td width="305" valign="top">HideEULAPage =<strong>true</strong>HideWirelessSetupInOOBE = <strong>true</strong></p>
<p>NetworkLocation =<strong>Work</strong></p>
<p>ProtectYourPC = <strong>1</strong></p>
<p>SkipMachineOOBE = <strong>true </strong>(This setting has now been deprecated)</p>
<p>SkipUserOOBE = <strong>true </strong>(This setting has now been deprecated)</td>
</tr>
<tr>
<td width="10" valign="top"><strong>7oobeSystem</strong></td>
<td width="369" valign="top">Microsoft-Windows-Shell-Setup\UserAccounts\AdministratorPassword</td>
<td width="305" valign="top">Value = <strong>**************</strong></td>
</tr>
<tr>
<td width="10" valign="top"><strong>7oobeSystem</strong></td>
<td width="369" valign="top">Microsoft-Windows-Shell-Setup\UserAccounts\DomainAccountList</td>
<td width="305" valign="top">Action = <strong>AddListItem</strong>Domain = <strong>&lt;Domain Name&gt;</strong></td>
</tr>
<tr>
<td width="10" valign="top"><strong>7oobeSystem</strong></td>
<td width="369" valign="top">Microsoft-Windows-Shell-Setup\UserAccounts\DomainAccountList\DomainAccount</td>
<td width="305" valign="top">Action = <strong>AddListItem</strong>Group =<strong>Administrators</strong></p>
<p>Name =<strong>Domain Admins</strong></td>
</tr>
<tr>
<td width="10" valign="top"><strong>7oobeSystem</strong></td>
<td width="369" valign="top">Microsoft-Windows-Shell-Setup\UserAccounts\DomainAccountList\LocalAccounts\LocalAccount</td>
<td width="305" valign="top">Action =<strong>AddListItem</strong>DisplayName =<strong>&lt;Name of Local Admin Account&gt; e.g. HelpDesk</strong></p>
<p>Group =<strong>Administrators</strong></p>
<p>Name = <strong>HelpDesk</strong></td>
</tr>
<tr>
<td width="10" valign="top"><strong>7oobeSystem</strong></td>
<td width="369" valign="top">Microsoft-Windows-Shell-Setup\UserAccounts\DomainAccountList\LocalAccounts\LocalAccount\Password</td>
<td width="305" valign="top">Value = <strong>********************</strong></td>
</tr>
</tbody>
</table>
<p>In summary, the oobeSystem settings above (Windows Out of Box Experience) automates the initial configuration tasks that end users normally encounter when installing Windows 7 or Windows Vista.</p>
<p>The above settings are the required minimum settings to fully automate the Windows 7 Enterprise &#8220;install&#8221; image, however you can add other components such as setting a default theme (Microsoft-Windows-Shell-Setup\Themes).</p>
<p>The complete Unattended Windows Setup Reference can be found in the WAIK help area and on the Microsoft TechNet Site <a href="http://technet.microsoft.com/en-us/library/cc722187(WS.10).aspx" target="_blank">here</a>.</p>
<p>Once you have completed adding any further settings to your ImageUnattend.xml file you will need to validate your settings and then save the file as “ImageUnattend.xml”.</p>
<p>We will now navigate to your WDS server and launch the Windows Deployment Services Management Console.  Expand Servers and then your Server Name and  click on Install Images.  Our Windows 7 Install Image should be listed as per the below screen capture.  Recall that this was added in <a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-and-windows-7-part1/" target="_blank">Part 1</a> of this series when we first configured our WDS Server.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture4_thumb.png" border="0" alt="Capture4 thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="641" height="249" /></a></p>
<p>Right Click on our Image and select properties.  Under the General Tab, click on select file and browse for the ImageUnattend.xml file that we saved earlier.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture5.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Image Properties" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture5_thumb.png" border="0" alt="Capture5 thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="400" height="484" /></a></p>
<p>We have now applied our WDSUnattend.xml which automates the WDS Pre-Execution Boot (<a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/" target="_blank">part 2 of this series</a>) and our ImageUnattend.xml which automates the OOBE of our Windows 7 &#8220;install&#8221; image.</p>
<p>Now is a good time to review your WDS Server settings within the Windows Deployment Services Management console by right clicking on the server and selecting properties.  Under the AD DS tab you can specify your Client Naming Policy and specify your Computer Account Location.  Also ensure that your WDSUnattend.xml file that we created in <a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/" target="_blank">part 2</a> is applied to the Client tab – Unattend file settings area.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture5a.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="AD DS Client Naming Policy" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture5a_thumb.png" border="0" alt="Capture5a thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="403" height="416" /></a></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture6.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Client Enable Unattended Installation" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture6_thumb.png" border="0" alt="Capture6 thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="404" height="399" /></a></p>
<p>We are now ready to rock and roll and attempt to deploy our first Windows 7 Image via PXE boot.  When your machine is starting up press the relevant Function key combination to access the network PXE boot which should then detect your WDS Server and then press F12 again to launch the Windows PE Boot Image.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture77.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture77" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture77_thumb.png" border="0" alt="Capture77 thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="660" height="471" /></a></p>
<p>Once the boot.wim has completed loading, you will receive the below screen capture, allowing you to select your Windows 7 Install Image. If you have multiple Install Images they will also be listed here.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture78.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture78" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture78_thumb.png" border="0" alt="Capture78 thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="602" height="500" /></a></p>
<p>Click Next.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture79.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture79" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture79_thumb.png" border="0" alt="Capture79 thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="651" height="234" /></a></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture80.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture80" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture80_thumb.png" border="0" alt="Capture80 thumb Windows Deployment Services, WAIK & Windows 7 – Part 3/4" width="648" height="297" /></a></p>
<p>That’s it!  Your installation will now continue without any user input as this is taken care of by our ImageUnattend.xml file.</p>
<p>This concludes this part of the series.  In our next and final article I will show you how to inject any necessary drivers that may have been missed by Windows.  I have left this to the end as it is only until you deploy your first Image to your new or existing hardware that you will be aware of these missing drivers.</p>
<p>As always, if you would like to be notified of future articles, you can do so by subscribing via <a href="http://feeds.feedburner.com/sharepointgeorge">RSS</a>, or have articles directly sent to your email by subscribing on the right navigation bar.</p>
<p>________________________________________________</p>
<p>Articles in this series</p>
<ol>
<li><a href="../2009/windows-deployment-services-waik-and-windows-7-part1/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 –  Part 1/4 </a>(Installation and Configuration of the WDS Role)</li>
<li><a href="../2009/windows-deployment-services-waik-windows-7-part-2/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 – Part  2/4</a> (Creation &amp; Configuration of WDSUnattend.xml)</li>
<li><a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 –  Part 3/4</a> (Creation &amp; Configuration of ImageUnattend.xml)</li>
<li><a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/" target="_blank">Windows  Deployment Services, WAIK &amp; Windows 7 &#8211; Part 4/4</a> (Injecting  Drivers)</li>
</ol>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/' addthis:title='Windows Deployment Services, WAIK &amp; Windows 7 – Part 3/4 ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 2/4</title>
		<link>http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/</link>
		<comments>http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 12:30:34 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=369</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/' addthis:title='Windows Deployment Services, WAIK &#38; Windows 7 &#8211; Part 2/4 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>Welcome to the second part of this series.  In today’s article we will be focusing our efforts on creating the necessary xml files to automate the deployment of our Windows 7 image via Windows Deployment Services (WDS).   In part 1, I provided you with step by step instructions on installing and configuring your WDS role on your Windows 2008 R2 machine.<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/' addthis:title='Windows Deployment Services, WAIK &#38; Windows 7 &#8211; Part 2/4 ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/' addthis:title='Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 2/4 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>Welcome back to the second part of this series and in the next 2 article&#8217;s I will be focusing our efforts on creating the necessary xml answer files to automate the deployment of our Windows 7 image via Windows Deployment Services (WDS).&#160;&#160; In part 1, I provided you with step by step instructions on installing and configuring your WDS role on your Windows 2008 R2 machine. If you missed it, you can access part 1 <a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-and-windows-7-part1/" target="_blank">here.</a> Our focus in today’s article revolves around the creation of the WDSUnattend.xml file that is required to automate the Windows Pre Execution Boot for WDS clients.</p>
<p>Our tool of trade for today is the Windows Automated Installation Kit (commonly referred to as the WAIK or Windows AIK), and this was first introduced by Microsoft when Windows Vista was released for IT professionals assisting them with the deployment of Windows Vista.&#160; It’s primary focus is to create the necessary answer files to deploy and customise the Windows install image and to also automate the WDS side of things or what is commonly referred to as windowsPE, more on this later.&#160; Windows System Image Manager (also referred to as Windows SIM) is the actual tool required to create the XML answer files and is part of the WAIK.</p>
<p>The first thing you need to do is download the WAIK for Windows 7 which is quite a hefty download (1706.6MB) and can be accessed from the Microsoft Download site <a href="http://www.microsoft.com/downloads/details.aspx?familyid=696DD665-9F76-4177-A811-39C26D3B3B34&amp;displaylang=en" target="_blank">here</a>.&#160; Included in the WAIK as mentioned already is the Windows System Image Manager (WSIM) amongst other tools such as documentation, the Deployment Imaging Servicing and Management Tool (DISM), the User State Migration Tool (USMT) and the Volume Activation Management Tool (VAMT).</p>
<p>Once you have downloaded the WAIK ISO you can easily burn the disc image using Windows 7 Disc Image burner and then install the entire package on your “technician computer”.&#160; Typically the technician computer is another PC that must be running Windows 2003, Windows Vista or Windows 7.&#160; The below welcome splash screen is what you will see when you begin the installer.</p>
<p>Click on Windows AIK setup to begin the installation.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows Automated Installation Kit" border="0" alt="Capture thumb Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture_thumb.jpg" width="610" height="392" /></a></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture21.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows Automated Installation Kit" border="0" alt="Capture2 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture2_thumb1.jpg" width="505" height="398" /></a></p>
<p>Click Next</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture31.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows Automated Installation Kit" border="0" alt="Capture3 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture3_thumb1.jpg" width="511" height="391" /></a></p>
<p>Agree to the terms and then click Next.&#160; The installation is pretty straight forward after this point.&#160; Once the installation has completed you can then launch the Windows System Image Manager application which is located under the Microsoft Windows AIK All Programs folder.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture41.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture4" border="0" alt="Capture4 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture4_thumb1.jpg" width="670" height="487" /></a></p>
<p>We will now need to create our working folder and copy the install.wim from our Windows 7 source media, typically I will create a folder on the technician PC and call it <em>Windows AIK Distribution Share. </em></p>
<p>Once we have created our folder and copied across our install.wim we can now proceed to open our image via Windows System Image Manager, File / Select Windows Image.&#160; Browse to the Windows AIK Distribution Share that we created and select the install.wim file.&#160; At this instance you will receive the below warning in which we will click Yes.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture51.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows System Image Manager" border="0" alt="Capture5 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture5_thumb1.jpg" width="612" height="187" /></a></p>
<p>It will now proceed and create the catalog file that is required.&#160; This process can take a while and will only need to be completed once.&#160; Please note, If the WIM file contains multiple images then you must select the image to open from the WIM file (e.g., Windows 7 BUSINESS or Windows 7 ENTERPRISE).</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture61.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows System Image Manager" border="0" alt="Capture6 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture6_thumb1.jpg" width="370" height="181" /></a></p>
<p>Upon completion, your catalog will be created and the components and packages will be listed under the Windows Image pane located on the left hand corner of WSIM.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture71.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows Image" border="0" alt="Capture7 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture7_thumb1.jpg" width="316" height="133" /></a></p>
<p>We can now proceed to create our first answer file by clicking on File / New Answer File.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture81.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" border="0" alt="Capture8 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture8_thumb1.jpg" width="208" height="229" /></a></p>
<p>You can see that the Answer File can potentially be made up of 7 distinct sections as per the above screen capture.&#160; These are 7 possible stages in the deployment of your operating system whether it be Windows Vista, Windows 7 or Windows 2008.&#160; These stages are also referred to as passes and you may not necessarily need to utilise every single pass.&#160; Because we are utilising WDS for our deployment of Windows 7, we will be required to create 2 XML Answer files using WSIM and these will be named as follows;</p>
<ul>
<li><strong>WDSUnattend.xml</strong> (This will automate the windowsPE which encompasses the login to our WDS server, the creation of our partitions, selecting the partition to install Windows 7, and the language to run setup in.&#160; The WDSUnattend.xml is eventually attached to the Client Tab of the properties of your WDS server.) </li>
<li><strong>ImageUnattend.xml</strong> (This will primarily automate the Out of Box Experience (OOBE) of your Windows 7 Install Image.&#160; These are the screens that you would normally fill out after the first boot of your system, such as the creation of a local user account.&#160; The ImageUnattend.xml is eventually attached to the General Tab of the Image Properties in WDS). </li>
</ul>
<p>So let’s begins with WDSUnattend.xml.&#160; Part 3 will discuss the ImageUnattend.xml in a lot more detail so stay tune for that article.</p>
<p>Now that we have created our Answer File albeit a blank canvas we need to inject the various components for our WDSUnattend.xml.&#160; You do so by expanding the components under the Windows Image pane and then right clicking on the required component and inserting the relevant Pass to our Answer File.&#160; At first sight this may seem to be very daunting as there are so many components that need to be matched off to the correct Pass.</p>
<p>The Components and Passes required for our WDSUnattend.xml are as follows;</p>
<table border="1" cellspacing="0" cellpadding="0" width="666">
<tbody>
<tr>
<td valign="top" width="19">&#160;</td>
<td valign="top" width="526"><strong>Component </strong></td>
<td valign="top" width="119"><strong>Configuration pass </strong></td>
</tr>
<tr>
<td valign="top" width="19"><strong><span style="color: #800000">1</span></strong></td>
<td valign="top" width="526"><strong><span style="color: #800000">Microsoft-Windows-International-Core-WinPE\SetupUILanguage</span></strong></td>
<td valign="top" width="119"><strong><span style="color: #800000">windowsPE</span></strong></td>
</tr>
<tr>
<td valign="top" width="19"><strong>2</strong></td>
<td valign="top" width="526">Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition</td>
<td valign="top" width="119">windowsPE</td>
</tr>
<tr>
<td valign="top" width="19"><strong>3</strong></td>
<td valign="top" width="526">Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition</td>
<td valign="top" width="119">windowsPE</td>
</tr>
<tr>
<td valign="top" width="19"><strong>4</strong></td>
<td valign="top" width="526">Microsoft-Windows-Setup\WindowsDeploymentServices\</td>
<td valign="top" width="119">windowsPE</td>
</tr>
</tbody>
</table>
<p><em>Please note that when expanding the components list, ensure that you expand the component to the lowest level before adding the setting to the relevant Pass.&#160; This ensures that the selected setting and all its parent settings are also added to the answer file in the single step.</em></p>
<p>Our first component required is the “Microsoft Windows International Core-WinPE”<em>. </em></p>
<p>As per Microsoft’s documentation, Windows Preinstallation Environment (commonly known as Windows PE) is referred to as a minimal operating system designed to prepare a computer for Windows installation. It can be used to:</p>
<ul>
<li>Start a computer with no operating system (a bare-metal system) </li>
<li>Partition and format hard drives </li>
<li>Copy disk images or initiate Windows Setup from a network share </li>
</ul>
<p>We will be automating the WindowsPE via the WDSUnattend.xml Answer File that we are just about to create.</p>
<p><em></em>I will begin by locating&#160; our first component <em><span style="color: #000000">Microsoft-Windows-International-Core-WinPE\SetupUILanguage</span></em> as per the below screen capture and right click and select the appropriate Pass.&#160; As you can see the only Pass available to me is “windowsPE” and by selecting this pass it will add the component to my answer file under the Answer File navigation pane.</p>
<p><em><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/image1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" border="0" alt="image thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/image_thumb1.png" width="472" height="533" /></a></em></p>
<p>We can now fill in the details of the component that we have just added on the right navigation pane.&#160; In the example below I have specified the InputLocale, SystemLocale and UserLocale to be &quot;en-AU&quot; for Australia.&#160; Please note that you can click F1 on any parameter field to reveal your options from the help file.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture92.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture9" border="0" alt="Capture9 thumb2 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture9_thumb2.jpg" width="670" height="188" /></a></p>
<p>We also need to specify the subcomponent <em>SetupUILanguage </em>as per the below screen capture.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture101.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture10" border="0" alt="Capture10 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture10_thumb1.jpg" width="670" height="208" /></a></p>
<p>So to recap on what we have just achieved, we have entered 4 settings in our answer file.&#160; As you can see from the Microsoft Windows International Core-WinPE component we had 3 settings to fill in and a sub component “SetupUILanguage” that also needed a setting entered as per the below;</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="112"><strong>Configuration pass</strong></td>
<td valign="top" width="285"><strong>Component </strong></td>
<td valign="top"><strong>Value </strong></td>
</tr>
<tr>
<td valign="top" width="112"><strong>1 WindowsPE</strong></td>
<td valign="top" width="285">Microsoft-Windows-International-Core-WinPE</td>
<td valign="top">InputLocale = <em>&lt;Input Locale&gt;</em> For example, en-AU or en-US
<p>SystemLocale = <em>&lt;System Locale&gt;</em> For example, en-AU or en-US</p>
<p>UILanguage = <em>&lt;UI Language&gt;</em> For example, en-AU or en-US</p>
<p>UserLocale = <em>&lt;User Locale&gt;</em> For example, en-AU or en-US</p>
</td>
</tr>
<tr>
<td valign="top" width="112"><strong>1 WindowsPE</strong></td>
<td valign="top" width="285">Microsoft-Windows-International-Core-WinPE\SetupUILanguage</td>
<td valign="top">UILanguage = <em>&lt;UI Language&gt;</em> For example, en-AU or en-US</td>
</tr>
</tbody>
</table>
<p>The next steps involved are 2,3 and 4 from our component list which is all about configuring our disk and preparing it for install.&#160; As part of any Windows setup process when you boot into Windows PE (pre-execution boot) you are provided with the opportunity to create and format disk partitions preparing it for installation.&#160; In order to automate this process, we need to specify these details in our WDSUnattend.xml answer file.&#160; We will now focus on the below highlighted components.</p>
<table border="1" cellspacing="0" cellpadding="0" width="666">
<tbody>
<tr>
<td valign="top" width="19">&#160;</td>
<td valign="top" width="526"><strong>Component </strong></td>
<td valign="top" width="119"><strong>Configuration pass </strong></td>
</tr>
<tr>
<td valign="top" width="19"><span style="color: #000000">1</span></td>
<td valign="top" width="526"><span style="color: #000000">Microsoft-Windows-International-Core-WinPE\SetupUILanguage</span></td>
<td valign="top" width="119"><span style="color: #000000">windowsPE</span></td>
</tr>
<tr>
<td valign="top" width="19"><span style="color: #800000"><strong>2</strong></span></td>
<td valign="top" width="526"><span style="color: #800000"><strong>Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition</strong></span></td>
<td valign="top" width="119"><span style="color: #800000"><strong>windowsPE</strong></span></td>
</tr>
<tr>
<td valign="top" width="19"><span style="color: #800000"><strong>3</strong></span></td>
<td valign="top" width="526"><span style="color: #800000"><strong>Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition</strong></span></td>
<td valign="top" width="119"><span style="color: #800000"><strong>windowsPE</strong></span></td>
</tr>
<tr>
<td valign="top" width="19"><span style="color: #800000"><strong>4</strong></span></td>
<td valign="top" width="526"><span style="color: #800000"><strong>Microsoft-Windows-Setup\WindowsDeploymentServices</strong></span></td>
<td valign="top" width="119"><span style="color: #800000"><strong>windowsPE</strong></span></td>
</tr>
</tbody>
</table>
<p>As per our previous exercise, we will need to inject the necessary components into our Answer File and this case we will start by adding <span style="color: #000000"><em>Microsoft-Windows-Setup\DiskConfiguration\Disk </em>setting to the WindowsPE Pass as follows. </span></p>
<p><span style="color: #000000">Right click on Disk Configuration and add setting to Pass1 windowsPE as per the below screen capture.</span></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture111.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" border="0" alt="Capture11 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture11_thumb1.jpg" width="346" height="227" /></a></p>
<p>This setting will now appear in the Answer File pane within Windows System Image Manager.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture121.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" border="0" alt="Capture12 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture12_thumb1.jpg" width="684" height="202" /></a></p>
<p>We will now right click on DiskConfiguration and select <em>Insert new Disk. </em>The details area for Disk will now need to be set so the WillWipeDisk is set to true.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1d.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Capture1d" border="0" alt="Capture1d thumb Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1d_thumb.png" width="644" height="130" /></a></p>
<p>We will now right click on <em>Create Partitions</em> and select <em>Insert new create partition.</em></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture131.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" border="0" alt="Capture13 thumb1 Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture13_thumb1.jpg" width="339" height="146" /></a></p>
<p>We will now proceed and create our Windows Partition and then we will need to Modify the Partition specifying details such as Label, Drive Letter and File System Format.&#160; Your results should look similar to the below screen captures.</p>
<p><em>Answer File Structure</em></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1a.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" border="0" alt="Capture1a thumb Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1a_thumb.png" width="412" height="238" /></a></p>
<p><em>Create Partition Details</em></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1b.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Create Partition" border="0" alt="Capture1b thumb Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1b_thumb.png" width="407" height="243" /></a></p>
<p><em>Modify Partition Details</em></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1c.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Modify Parition" border="0" alt="Capture1c thumb Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1c_thumb.png" width="496" height="298" /></a></p>
<p>The last component that we need to inject is <span style="color: #000000"><em>Microsoft-Windows-Setup\WindowsDeploymentServices\ImageSelection\InstallTo </em>providing details on which partition our Windows 7 Image should install to.&#160; Again, we will right click on the <span style="color: #000000"><em>Microsoft-Windows-Setup\WindowsDeploymentServices\ImageSelection\InstallTo&#160; component and select Add setting to Pass1 windowsPE.</em></span></span></p>
<p><span style="color: #000000"><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1g.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" border="0" alt="Capture1g thumb Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1g_thumb.png" width="399" height="204" /></a> </span></p>
<p><span style="color: #000000">The settings required for the above component is captured in the below screen shot.&#160; We have simply specified that our eventual Windows 7 image will install directly on the first partition of our selected disk. </span></p>
<p><span style="color: #000000"><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1h.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" border="0" alt="Capture1h thumb Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1h_thumb.png" width="426" height="187" /></a> </span></p>
<p>In summary, the below are the above settings in text form;</p>
<table border="1" cellspacing="0" cellpadding="0" width="684">
<tbody>
<tr>
<td valign="top" width="104"><strong>WindowsPE</strong></td>
<td valign="top" width="340"><strong>Microsoft-Windows-Setup\DiskConfiguration</strong></td>
<td valign="top" width="238"><strong>WillShowUI</strong><strong> = OnError</strong></td>
</tr>
<tr>
<td valign="top" width="104"><strong>1 WindowsPE</strong></td>
<td valign="top" width="340">Microsoft-Windows-Setup\DiskConfiguration\Disk</td>
<td valign="top" width="238">DiskID = 0
<p>WillWipeDisk = true</p>
</td>
</tr>
<tr>
<td valign="top" width="104"><strong>1 WindowsPE</strong></td>
<td valign="top" width="340">Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition</td>
<td valign="top" width="238">Order = 1
<p>Size =</p>
<p>Type = Primary</p>
</td>
</tr>
<tr>
<td valign="top" width="104"><strong>1 WindowsPE</strong></td>
<td valign="top" width="340">Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition</td>
<td valign="top" width="238">Active = true
<p>Extend = false</p>
<p>Format = NTFS</p>
<p>Label = Windows Operating System Volume</p>
<p>Order = 1</p>
<p>PartitionID = 1</p>
</td>
</tr>
<tr>
<td valign="top" width="104"><strong>1 WindowsPE</strong></td>
<td valign="top" width="340">Microsoft-Windows-Setup\WindowsDeploymentServices\ImageSelection</td>
<td valign="top" width="238">
<p>WillShowUI = OnError</p>
</td>
</tr>
<tr>
<td valign="top" width="104"><strong>1 WindowsPE</strong></td>
<td valign="top" width="340">Microsoft-Windows-Setup\WindowsDeploymentServices\ImageSelection\InstallTo</td>
<td valign="top" width="238">DiskID = 0
<p>PartitionID = 1</p>
</td>
</tr>
</tbody>
</table>
<p>We have now completed the settings and passes required for our WDSUnattend.xml Answer File which we can now save.&#160; Upon saving your xml file, Windows System Image Manager will check for any warnings or errors.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1e.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Answer File" border="0" alt="Capture1e thumb Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1e_thumb.png" width="325" height="134" /></a></p>
<p>We will now apply the WDSUnattend.xml file to our WDS server as follows.&#160; Navigate to the Windows Deployment Services Management Console and right click on your Server object and select properties.&#160; Click on the <em>Client </em>tab and select <em>Enable unattend installation</em> and you will notice that you will need to specify a separate WDSunattend.xml file for the differing architectures.&#160; Select <em>Browse </em>and navigate to your saved xml file and then click on Apply and OK.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1f.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="WDSunattend.xml" border="0" alt="Capture1f thumb Windows Deployment Services, WAIK &amp; Windows 7   Part 2/4" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1f_thumb.png" width="412" height="470" /></a></p>
<p>We have come to the conclusion of the second part of this series and have successfully created and applied our WDSUnattend.xml file to your WDS Server, automating the PXE boot.&#160; In the next article we will focus our efforts in creating an ImageUnattend.xml file which will be applied against our Windows 7 image or commonly referred to as our&#160; “Install” image automating the Out of Box Experience.</p>
<p>Stay tuned!&#160; If you would like to be notified of future articles, you can do so by subscribing via <a href="http://feeds.feedburner.com/sharepointgeorge">RSS</a>, or have articles directly sent to your email by subscribing on the right navigation bar.</p>
<p>________________________________________________</p>
<p>Articles in this series</p>
<ol>
<li><a href="../2009/windows-deployment-services-waik-and-windows-7-part1/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 – Part 1/4 </a>(Installation and Configuration of the WDS Role) </li>
<li><a href="../2009/windows-deployment-services-waik-windows-7-part-2/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 – Part 2/4</a> (Creation &amp; Configuration of WDSUnattend.xml) </li>
<li><a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 – Part 3/4</a> (Creation &amp; Configuration of ImageUnattend.xml) </li>
<li><a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 4/4</a> (Injecting Drivers) </li>
</ol>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/' addthis:title='Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 2/4 ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 1/4</title>
		<link>http://sharepointgeorge.com/2009/windows-deployment-services-waik-and-windows-7-part1/</link>
		<comments>http://sharepointgeorge.com/2009/windows-deployment-services-waik-and-windows-7-part1/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 14:49:26 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=270</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-and-windows-7-part1/' addthis:title='Windows Deployment Services, WAIK &#38; Windows 7 &#8211; Part 1/4 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>In this 3 part series I will begin my focus in providing you with instructions in setting up your WDS role on a Windows 2008 R2 server, with part 2 focusing on utilising the WAIK to create your necessary xml files that are needed for light touch deployment and finish off our setup in part 3 by introducing the capability to inject any necessary drivers to your original "install images".<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-and-windows-7-part1/' addthis:title='Windows Deployment Services, WAIK &#38; Windows 7 &#8211; Part 1/4 ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-and-windows-7-part1/' addthis:title='Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 1/4 ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>I have been known to be at the cutting edge of technology, early adoption of Microsoft technologies is a must and this time round nothing is going to change.  I first played with Windows Deployment Services (WDS) back in the day when it was referred to as Remote Installation Services (RIS) and had first exposure to the Windows Automated Installation Kit (WAIK) back when it was in beta and so was Vista at the time.  I took the plunge and deployed Windows Vista using Light Touch deployment via WDS and the WAIK a month after Vista was released to the enterprise and today I will be providing you with step by step instructions on how you can do the same with Windows 7 and Windows 2008 R2.</p>
<p>In this 4 part series I will begin my focus in providing you with instructions in setting up your WDS role on a Windows 2008 R2 server, with part&#8217;s 2 and 3 focusing on utilising the WAIK to create your necessary xml files that are needed for light touch deployment and finish off our setup in part 4 by introducing the capability to inject any necessary drivers to your original &#8220;install images&#8221;.  This article is assuming you have a Windows 2008 R2 server ready to rock and roll with, so let’s begin!</p>
<p>With the introduction of Roles and Features there is no need to have the Windows 2008 R2 media at hand as all roles and features are included in the initial installation albeit inactive. In order to setup WDS navigate to Administrative Tools / Server Manager and click on Roles on the left navigation pane and then click on Add Role on the right navigation pane. This will invoke the Add Roles Wizard that we have become familiar with in Windows 2008.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture1_thumb.jpg" border="0" alt="Capture1 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="530" height="228" /></a></p>
<p>Click Next.  Select Windows Deployment Services as your Server Role.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture2_thumb.jpg" border="0" alt="Capture2 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="530" height="330" /></a></p>
<p>Click Next.  One of the many things that Microsoft have improved upon lately is their thorough explanations when deploying roles and features within Windows 2008.  Below is an introduction to Windows Deployment Services and things to note regarding the configuration and installation.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture3.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture3_thumb.jpg" border="0" alt="Capture3 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="530" height="343" /></a></p>
<p>Click Next.  The below role services are automatically checked.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture4.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture4_thumb.jpg" border="0" alt="Capture4 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="530" height="259" /></a></p>
<p>Click Next.  The below confirmation screen is displayed.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture5.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture5_thumb.jpg" border="0" alt="Capture5 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="530" height="253" /></a></p>
<p>Click Next. The installation will now proceed with the results displayed as per the below screen capture.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture6.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture6_thumb.jpg" border="0" alt="Capture6 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="530" height="260" /></a></p>
<p>Once the installation has completed, navigate to Administrative Tools / Windows Deployment Services. When you click on the server node you will receive the below warning message;</p>
<p><em>Windows Deployment Services is not configured.<br />
This server is not configured. To configure this server, first verify that you are a local administrator.</em></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture7.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture7_thumb.jpg" border="0" alt="Capture7 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="530" height="166" /></a></p>
<p>Right click on the server and select configure server.  The below wizard is invoked.  You will need to ensure that the below pre-requisites are met before WDS can become functional.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture8.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture8_thumb.jpg" border="0" alt="Capture8 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="531" height="370" /></a></p>
<p>Click Next.  Select your Remote Installation Folder Location.  As per the below description, ensure that you choose a partition that is large enough to hold your images.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture91.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture9_thumb1.jpg" border="0" alt="Capture9 thumb1 Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="558" height="310" /></a></p>
<p>Click Next.  Select your PXE settings.  You have the option to prestage your client which is when you create a computer account object in Active Directory Users and Computers and map this computer object to a physical computer.  This then becomes a known client.  In my example below I have selected Respond to all computers for simplicity.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture10.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture10_thumb.jpg" border="0" alt="Capture10 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="587" height="374" /></a></p>
<p>Click Next.  The server will then go through the configuration process until you receive the below confirmation.  You now have the ability to add your images to the server.  I will leave the <em>Add images to the server now</em> checked which will invoke the Add image wizard.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture11.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture11_thumb.jpg" border="0" alt="Capture11 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="548" height="352" /></a></p>
<p>Here I will add the Windows 7 boot and install images.  These images are originally located under the sources folder on your Windows 7 DVD.  The two files that you need to locate are, install.wim and boot.wim.  In my example below I have copied these 2 files to the WDS server under C:\Windows7 Images.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture12.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture12_thumb.jpg" border="0" alt="Capture12 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="524" height="269" /></a></p>
<p>You now have the option to select an existing image group or create a new one.  I have gone ahead and created a group called Windows 7.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture13.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture13_thumb.jpg" border="0" alt="Capture13 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="530" height="400" /></a></p>
<p>Click Next.  The wizard will detect my 2 images, 1 boot being the boot.wim file and 1 install install image being the install.wim file that I had copied from the Windows 7 media to my image path below.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture14.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture14_thumb.jpg" border="0" alt="Capture14 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="526" height="332" /></a></p>
<p>Click Next.  The images are now added to the server and will be listed as per the below 2 screen shots.</p>
<p>Below is the Windows 7 install image added from our media.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture99a.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture99a_thumb.jpg" border="0" alt="Capture99a thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="530" height="92" /></a></p>
<p>Below is the Boot image added from our media.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture99.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WDS" src="http://sharepointgeorge.com/wp-content/uploads/2009/09/Capture99_thumb.jpg" border="0" alt="Capture99 thumb Windows Deployment Services, WAIK & Windows 7   Part 1/4" width="530" height="123" /></a></p>
<p>This concludes the first part of this article.  In part 2 of this series we will shift our attention to the Windows Automated Installation Kit otherwise known as the “WAIK” where we will concentrate our efforts in automating the PXE boot by creating a WDSunattend.xml file and then continue in part 3 by automating the Out of Box experience on our Windows 7 install image by creating an Imageunattend.xml.</p>
<p>________________________________________________</p>
<p>Articles in this series</p>
<ol>
<li><a href="../2009/windows-deployment-services-waik-and-windows-7-part1/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 –  Part 1/4 </a>(Installation and Configuration of the WDS Role)</li>
<li><a href="../2009/windows-deployment-services-waik-windows-7-part-2/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 – Part  2/4</a> (Creation &amp; Configuration of WDSUnattend.xml)</li>
<li><a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-3/" target="_blank">Windows Deployment Services, WAIK &amp; Windows 7 –  Part 3/4</a> (Creation &amp; Configuration of ImageUnattend.xml)</li>
<li><a href="http://sharepointgeorge.com/2009/windows-deployment-services-waik-windows-7-part-4/" target="_blank">Windows  Deployment Services, WAIK &amp; Windows 7 &#8211; Part 4/4</a> (Injecting  Drivers)</li>
</ol>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/windows-deployment-services-waik-and-windows-7-part1/' addthis:title='Windows Deployment Services, WAIK &amp; Windows 7 &#8211; Part 1/4 ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2009/windows-deployment-services-waik-and-windows-7-part1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing your first Windows 2008 R2 Domain Controller</title>
		<link>http://sharepointgeorge.com/2009/introducing-windows-2008-r2-domain-controller/</link>
		<comments>http://sharepointgeorge.com/2009/introducing-windows-2008-r2-domain-controller/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 04:50:23 +0000</pubDate>
		<dc:creator>George Khalil</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://sharepointgeorge.com/?p=179</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/introducing-windows-2008-r2-domain-controller/' addthis:title='Introducing your first Windows 2008 R2 Domain Controller ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>Windows 2008 R2 has only been out for over a week however I decided to introduce a Windows 2008 R2 domain controller (DC) into an existing Windows 2008 Active Directory (AD) Domain to eventually have a complete R2 forest functional level to benefit from some of the new R2 features notably the long awaited Active Directory Recycle Bin.<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/introducing-windows-2008-r2-domain-controller/' addthis:title='Introducing your first Windows 2008 R2 Domain Controller ' ><a href="//addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sharepointgeorge.com/2009/introducing-windows-2008-r2-domain-controller/' addthis:title='Introducing your first Windows 2008 R2 Domain Controller ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>Windows 2008 R2 has only been out for over a week however I have decided to introduce my first Windows 2008 R2 domain controller (DC) almost immediately into an existing Windows 2008 Active Directory (AD) Domain to eventually have a complete R2 forest functional level to benefit from some of the new R2 features.  For a seasoned IT Pro, introducing new domain controllers is fairly straightforward, however I have decided to provide you with a step by step guide on doing so and the pre-work that is required, so let’s begin!</p>
<p>Now before we delve into the step by step guide I thought I would begin by listing the notable enhancements that come with R2 when it comes to Active Directory.  These are;</p>
<p><strong>AD Recycle Bin</strong> – For me this is a long awaited feature providing you with the ability to recover deleted objects.  (Note there are already 3rd party products that have been providing this capability for many years).   In order to activate the AD Recycle Bin, you will require the AD functional level raised to R2, i.e all your domain controllers will need to be R2 providing you with the ability to raise the functional level.<br />
<strong>AD Administrative Center</strong> – Ease of management for domain(s) providing you with task oriented user interface.  Screen capture located at the end of this post.<br />
<strong>Powershell Cmdlets – </strong>There are approximately 85 Active Directory related PowerShell cmdlets that replace current Active Directory command line tools.  Whether we like it or not, Microsoft is really pushing Powershell and is a skill that is now required by all system administrators.<br />
<strong>Service Account Management</strong> – Forget about managing service account passwords as these are now automatically updated for all services when an administrator changes the password.  This is also a welcome enhancement for most administrators.<br />
<strong>Active Directory Best Practices Analyser</strong> – Know the health of AD based on best practices.  This is similar to “other notable” best practices Analysers that we have come accustomed to from other Microsoft products notably Exchange.  Screen capture located at the end of this post.</p>
<p>So let&#8217;s begin by analysing the pre-work that is required before we introduce a Windows 2008 R2 DC.  Because this is the first Windows 2008 R2 DC that is being introduced into an existing domain you will need to run adprep /forestprep command on the server that is holding the schema master operations master.  Note that you will need to do this regardless of whether you are running a Windows 2003 or Windows 2008 domain as the schema database version has changed in R2.  The following KB article from Microsoft <a title="http://support.microsoft.com/kb/324801" href="http://support.microsoft.com/kb/324801">http://support.microsoft.com/kb/324801</a> outlines how to view the Flexible Single Master Operations (FSMO) roles to determine which of your AD servers is holding the schema master operations master.</p>
<p>You will need to run adprep command line utility from the Windows 2008 R2 media which is located under the support\adprep folder.  The below message is what you will receive when trying to run adprep from a DC that is not a schema master operations master.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprepschemaerror.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprepschemaerror" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprepschemaerror_thumb.jpg" border="0" alt="adprepschemaerror thumb Introducing your first Windows 2008 R2 Domain Controller" width="670" height="338" /></a></p>
<p>Once you have located the schema master operations master domain controller, open a command prompt, navigate to the Windows 2008 R2 media support\adprep folder and run the following command;</p>
<p>adprep /forestprep (Word of note, you will notice adprep32.exe is also available to you under the adprep folder if your current schema master operations master DC is a 32 Bit server)</p>
<p>Type <strong>C </strong>and then press ENTER to continue.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep1_thumb.jpg" border="0" alt="adprep1 thumb Introducing your first Windows 2008 R2 Domain Controller" width="681" height="250" /></a></p>
<p>You will notice below that the schema version number for Windows 2008 R2 is 47.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep foresprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep2_thumb.jpg" border="0" alt="adprep2 thumb Introducing your first Windows 2008 R2 Domain Controller" width="670" height="318" /></a></p>
<p>After running forestprep you will need to run the <strong>adprep /domainprep /gpprep</strong> command on the server that holds the infrastructure operations master.</p>
<p>Once these two commands have been issued you will be ready to deploy your first Windows 2008 R2 domain controller.</p>
<p>We can now invoke the Active Directory Domain Services Installation Wizard by running dcpromo from either command line or Start / Run.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/AD1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Active Directory Installation" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/AD1_thumb.jpg" border="0" alt="AD1 thumb Introducing your first Windows 2008 R2 Domain Controller" width="519" height="490" /></a></p>
<p>Click Next. The below Operating system compatibility warning is displayed.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/AD2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Active Directory Installation" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/AD2_thumb.jpg" border="0" alt="AD2 thumb Introducing your first Windows 2008 R2 Domain Controller" width="509" height="384" /></a></p>
<p>Click Next.  We are introducing an additional domain controller into an existing domain as per the below screen capture.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep3.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Active Directory Installation" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep3_thumb.jpg" border="0" alt="adprep3 thumb Introducing your first Windows 2008 R2 Domain Controller" width="521" height="374" /></a></p>
<p>Click Next. It will detect the current forest and current logged on credentials.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep4.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Active Directory Installation" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep4_thumb.jpg" border="0" alt="adprep4 thumb Introducing your first Windows 2008 R2 Domain Controller" width="521" height="392" /></a></p>
<p>A list of domains in the forest will be listed as per the below screen shot.  Select the domain that you will introduce the new DC into and then click next.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep5.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep5_thumb.jpg" border="0" alt="adprep5 thumb Introducing your first Windows 2008 R2 Domain Controller" width="519" height="245" /></a></p>
<p>You will receive the below warning <em>“You will not be able to install a read-only domain controller in this domain…”.</em></p>
<p>You must first run &#8220;adprep /rodcprep&#8221; from a command window on any computer in this forest. The Adprep utility is available on the Windows Server 2008 R2 installation media in the \support\adprep folder.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep6.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep6_thumb.jpg" border="0" alt="adprep6 thumb Introducing your first Windows 2008 R2 Domain Controller" width="476" height="198" /></a></p>
<p>Click Yes to acknowledge the warning as we are not installing a read-only domain controller at this time.</p>
<p>Select your site for the new domain controller.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep7.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep7_thumb.jpg" border="0" alt="adprep7 thumb Introducing your first Windows 2008 R2 Domain Controller" width="522" height="273" /></a></p>
<p>Click Next.  The wizard will begin to examine your current DNS configuration.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep8.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep8_thumb.jpg" border="0" alt="adprep8 thumb Introducing your first Windows 2008 R2 Domain Controller" width="518" height="354" /></a></p>
<p>You will be presented with additional Domain Controller Options that you can select or deselect.  Again we are notified that a domain controller running Windows Server 2008 or Windows Server 2008 R2 could not be located in this domain. To install a read-only domain controller, the domain must have a domain controller running Windows Server 2008 or Windows Server 2008 R2.  I admire Microsoft’s thoroughness and rigorous checks and warnings but they can sometimes be annoying.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep9.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep9_thumb.jpg" border="0" alt="adprep9 thumb Introducing your first Windows 2008 R2 Domain Controller" width="524" height="412" /></a></p>
<p>Select a location for your database, log files and SYSVOL. It is best practice here to specify a separate disk for your logs and database.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep10.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep10_thumb.jpg" border="0" alt="adprep10 thumb Introducing your first Windows 2008 R2 Domain Controller" width="525" height="370" /></a></p>
<p>Now specify your Directory Services Restore Mode Administrator Password.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep11.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep11_thumb.jpg" border="0" alt="adprep11 thumb Introducing your first Windows 2008 R2 Domain Controller" width="519" height="300" /></a></p>
<p>Click Next.  The installation and configuration process now begins.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep12.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep12_thumb.jpg" border="0" alt="adprep12 thumb Introducing your first Windows 2008 R2 Domain Controller" width="453" height="307" /></a></p>
<p>The below screen appears upon completion.  That’s it!  Reboot your machine and your new Windows 2008 R2 server will have transformed into a domain controller.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep13.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adprep" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/adprep13_thumb.jpg" border="0" alt="adprep13 thumb Introducing your first Windows 2008 R2 Domain Controller" width="518" height="335" /></a></p>
<p>At the beginning of this post, I outlined some of the features and enhancements provided by R2 and as promised, below are screen captures of the Best Practices Analyser in action for Windows Active Directory and the new Active Directory Administrative Center.</p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/bestpractices2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="best practices" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/bestpractices2_thumb.jpg" border="0" alt="bestpractices2 thumb Introducing your first Windows 2008 R2 Domain Controller" width="670" height="149" /></a></p>
<p><a href="http://sharepointgeorge.com/wp-content/uploads/2009/08/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Active Directory Administrative Center" src="http://sharepointgeorge.com/wp-content/uploads/2009/08/image_thumb.png" border="0" alt="image thumb Introducing your first Windows 2008 R2 Domain Controller" width="670" height="383" /></a></p>
<p>I will leave you with a link to the <a href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&amp;EventID=1032416407&amp;CountryCode=US" target="_blank">TechNet Webcast: Active Directory Domain Services in Windows Server 2008 R2 Technical Overview (Level 300)</a> which is worth watching.</p>
<p>My goal now will be to update the remaining two Active Domain controllers and raise the forest functional level opening the door to the new R2 Active Directory features that I will blog about in future posts.</p>
<p>So what is your favourite or sought after R2 feature when it comes to Active Directory?  I would be more than happy to hear your thoughts.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://sharepointgeorge.com/2009/introducing-windows-2008-r2-domain-controller/' addthis:title='Introducing your first Windows 2008 R2 Domain Controller ' ><a href="http://sharepointgeorge.com//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointgeorge.com/2009/introducing-windows-2008-r2-domain-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

