<?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>Adrian Costea&#039;s blog</title>
	<atom:link href="http://www.vkernel.ro/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vkernel.ro/blog</link>
	<description>IT for everyone</description>
	<lastBuildDate>Wed, 22 Feb 2012 18:00:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Publish VMware vSphere client with TMG 2010</title>
		<link>http://www.vkernel.ro/blog/publish-vmware-vsphere-client-with-tmg-2010?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=publish-vmware-vsphere-client-with-tmg-2010</link>
		<comments>http://www.vkernel.ro/blog/publish-vmware-vsphere-client-with-tmg-2010#comments</comments>
		<pubDate>Wed, 22 Feb 2012 18:00:11 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[ISA/TMG]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMware ESX/ESXi]]></category>
		<category><![CDATA[ESXi Server]]></category>
		<category><![CDATA[ISA]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=2176</guid>
		<description><![CDATA[There are situations in small environments when you need to access your ESX/ESXi server from the internet, for troubleshooting or just to create or restart a virtual machine. I bet that&#8217;s a piece of cake for some of you, but what if you have a TMG server as a firewall. Well&#8230;things are not so easy  [...]]]></description>
			<content:encoded><![CDATA[<p>There are situations in small environments when you need to access your ESX/ESXi server from the internet, for troubleshooting or just to create or restart a virtual machine. I bet that&#8217;s a piece of cake for some of you, but what if you have a TMG server as a firewall. Well&#8230;things are not so easy any more, but they are not complicated either. If you have a situation like this, where a TMG 2010 server acts as a firewall for you or for some of your clients, and want to access an ESX/ESXi server from the internet, then you came to the right place.<span id="more-2176"></span></p>
<p>In this lab the TMG server is not joined to the domain, but even if it was things still be the same. To be able to connect and use the VMware vSphere console from the outside we need to open/forward three ports on our TMG server, 443 (for security certificate), 902 (for authentication), 903 (for the VM console). For a full list of VMware ports go <a title=\"VMware vCenter, ESX and Network ports\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2tiLnZtd2FyZS5jb20vc2VsZnNlcnZpY2UvbWljcm9zaXRlcy9zZWFyY2guZG8/bGFuZ3VhZ2U9ZW5fVVMmYW1wO2NtZD1kaXNwbGF5S0MmYW1wO2V4dGVybmFsSWQ9MTAxMjM4Mg==" target=\"_blank\">here</a>. Now, open your TMG console and click the<strong> Firewall Policy</strong> object. On the <strong>Actions</strong> pane click the link <strong>Publish Non-Web Server Protocols</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMS5naWY=" rel=\"lightbox[2176]\" title=\"Open Publishing Wizard\"><img class="aligncenter size-medium wp-image-2203" title="Open Publishing Wizard" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-1-300x165.gif" alt="" width="300" height="165" /></a></p>
<p>On the first screen of the wizard we need to type a name for the rule.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMi5naWY=" rel=\"lightbox[2176]\" title=\"Rule Name\"><img class="aligncenter size-medium wp-image-2181" title="Rule Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-2-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>Here, type the IP address of your ESX server, then click <strong>Next</strong>. This is for the TMG server to know where to forward the incoming traffic.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMy5naWY=" rel=\"lightbox[2176]\" title=\"Internal Server IP\"><img class="aligncenter size-medium wp-image-2182" title="Internal Server IP" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-3-300x239.gif" alt="" width="300" height="239" /></a></p>
<p>Since 443 is a standard protocol for security, is predefined in the protocol lists of the TMG server. For the drop-down list select <strong>HTTPS Server</strong> and click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctNC5naWY=" rel=\"lightbox[2176]\" title=\"Select Protocol\"><img class="aligncenter size-medium wp-image-2183" title="Select Protocol" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-4-300x239.gif" alt="" width="300" height="239" /></a></p>
<p>Since we are connecting for the internet, select <strong>External</strong>, so the TMG server will listen on that interface for the 443 traffic.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctNS5naWY=" rel=\"lightbox[2176]\" title=\"Select Listener\"><img class="aligncenter size-medium wp-image-2184" title="Select Listener" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-5-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>On the <strong>Summary</strong> page just click <strong>Finish</strong> to create the rule.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctNi5naWY=" rel=\"lightbox[2176]\" title=\"Summary Screen\"><img class="aligncenter size-medium wp-image-2185" title="Summary Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-6-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>We are not done yet, I sad we need to open three ports, so again, click the link <strong>Publish Non-Web Server Protocols</strong> in the <strong>Actions</strong> pane. This time we are opening port 902 for authentication. Give the rule a name and click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctNy5naWY=" rel=\"lightbox[2176]\" title=\"Rule Name\"><img class="aligncenter size-medium wp-image-2186" title="Rule Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-7-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>Type the ESX server IP address and continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctOC5naWY=" rel=\"lightbox[2176]\" title=\"Internal Server IP\"><img class="aligncenter size-medium wp-image-2187" title="Internal Server IP" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-8-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>Since this protocol is not predefined in the TMG server we need to create it, so click the <strong>New</strong> button to start the <strong>New Protocol Definition Wizard</strong>. Give the protocol a name and continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctOS5naWY=" rel=\"lightbox[2176]\" title=\"Rule Name\"><img class="aligncenter size-medium wp-image-2188" title="Rule Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-9-300x229.gif" alt="" width="300" height="229" /></a></p>
<p>On the <strong>Primary Connection Information</strong> page click the <strong>New</strong> button to start creating the ports, direction and protocols.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMTAuZ2lm" rel=\"lightbox[2176]\" title=\"Connection Information\"><img class="aligncenter size-medium wp-image-2189" title="Connection Information" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-10-300x230.gif" alt="" width="300" height="230" /></a></p>
<p>Here on the <strong>Protocol Type</strong> select <strong>TCP</strong>, and since the connection is coming from outside to inside on the <strong>Direction</strong> option select <strong>Inbound</strong>. On the <strong>Port Range</strong> boxes type 902 and click <strong>OK</strong>to close the window.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMTEuZ2lm" rel=\"lightbox[2176]\" title=\"Protocol Connection\"><img class="aligncenter size-medium wp-image-2190" title="Protocol Connection" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-11-300x229.gif" alt="" width="300" height="229" /></a></p>
<p>Back to the <strong>Primary Connection Information</strong> page click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMTIuZ2lm" rel=\"lightbox[2176]\" title=\"Connection Information\"><img class="aligncenter size-medium wp-image-2191" title="Connection Information" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-12-300x230.gif" alt="" width="300" height="230" /></a></p>
<p>Here just go with the defaults, because we don&#8217;t need secondary connections.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMTMuZ2lm" rel=\"lightbox[2176]\" title=\"Secondary Connections\"><img class="aligncenter size-medium wp-image-2192" title="Secondary Connections" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-13-300x230.gif" alt="" width="300" height="230" /></a></p>
<p>On the <strong>Summary</strong> screen click <strong>Finish</strong> to create the protocol.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMTQuZ2lm" rel=\"lightbox[2176]\" title=\"Summary Screen\"><img class="aligncenter size-medium wp-image-2193" title="Summary Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-14-300x230.gif" alt="" width="300" height="230" /></a></p>
<p>The new protocol is automatically select for us in the <strong>New Server Publishing Rule Wizard</strong>. Click <strong>Next </strong>to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMTUuZ2lm" rel=\"lightbox[2176]\" title=\"Select Protocol\"><img class="aligncenter size-medium wp-image-2194" title="Select Protocol" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-15-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>Here select the <strong>External</strong> network,</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMTYuZ2lm" rel=\"lightbox[2176]\" title=\"Select Listener\"><img class="aligncenter size-medium wp-image-2195" title="Select Listener" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-16-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>and on the <strong>Summary</strong> screen click <strong>Finish</strong> to create the rule.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMTcuZ2lm" rel=\"lightbox[2176]\" title=\"Summary Screen\"><img class="aligncenter size-medium wp-image-2196" title="Summary Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-17-300x239.gif" alt="" width="300" height="239" /></a></p>
<p>Don&#8217;t forget to click the <strong>Apply </strong>button on the TMG server, to save the configuration changes.</p>
<p style="text-align: left;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMTguZ2lm" rel=\"lightbox[2176]\" title=\"Firewall Rules\"><img class="aligncenter size-medium wp-image-2197" title="Firewall Rules" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-18-300x165.gif" alt="" width="300" height="165" /></a></p>
<p style="text-align: left;">Now we can connect to our ESX server from internet using a FQDN or the external IP address. If your certificate is not trusted you will get a warning, just ignore it.</p>
<p style="text-align: left;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMTkuZ2lm" rel=\"lightbox[2176]\" title=\"vSphere Client\"><img class="size-medium wp-image-2198 alignnone" title="vSphere Client" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-19-300x267.gif" alt="" width="300" height="267" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMjAuZ2lm" rel=\"lightbox[2176]\" title=\"Certificate Error\"><img class="size-medium wp-image-2199 alignnone" title="Certificate Error" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-20-300x158.gif" alt="" width="300" height="158" /></a></p>
<p style="text-align: left;">You might be thing, what about the third port ? Yes, we&#8217;ll get to that in the following section, because if we don&#8217;t, we can&#8217;t open a console to our virtual machines. On the vSphere client console right-click a virtual machine and choose <strong>Open Console</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMjEuZ2lm" rel=\"lightbox[2176]\" title=\"Open VM Console\"><img class="aligncenter size-medium wp-image-2200" title="Open VM Console" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-21-300x187.gif" alt="" width="300" height="187" /></a></p>
<p>As you can see the connection fails, because port 903 is closed.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMjIuZ2lm" rel=\"lightbox[2176]\" title=\"VM Console Connection Error\"><img class="aligncenter size-medium wp-image-2201" title="VM Console Connection Error" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-22-298x300.gif" alt="" width="298" height="300" /></a></p>
<p>If we take a look in the TMG logs the connection is denied for the specified port.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMjMuZ2lm" rel=\"lightbox[2176]\" title=\"Connection Denied\"><img class="aligncenter size-medium wp-image-2202" title="Connection Denied" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-23-300x196.gif" alt="" width="300" height="196" /></a></p>
<p>Now let&#8217;s open this port so we can use the virtual machine console. Again, in TMG click the link <strong>Publish Non-Web Server Protocols</strong> on the <strong>Actions</strong> pane. Give the rule a name and continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMjQuZ2lm" rel=\"lightbox[2176]\" title=\"Server Publishing Rule Name\"><img class="aligncenter size-medium wp-image-2211" title="Server Publishing Rule Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-24-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>Type the IP address of the ESX server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMjUuZ2lm" rel=\"lightbox[2176]\" title=\"Internal Server IP\"><img class="aligncenter size-medium wp-image-2212" title="Internal Server IP" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-25-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>Since this protocol definition is not specified, we need to create it. Click the <strong>New</strong> button.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMjYuZ2lm" rel=\"lightbox[2176]\" title=\"Select Protocol\"><img class="aligncenter size-medium wp-image-2213" title="Select Protocol" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-26-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>Give the new protocol definition a name then click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMjcuZ2lm" rel=\"lightbox[2176]\" title=\"Protocol Definition Name\"><img class="aligncenter size-medium wp-image-2214" title="Protocol Definition Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-27-300x230.gif" alt="" width="300" height="230" /></a></p>
<p>On the Connection Information page click the <strong>New</strong> button.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMjguZ2lm" rel=\"lightbox[2176]\" title=\"Connection Information\"><img class="aligncenter size-medium wp-image-2215" title="Connection Information" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-28-300x230.gif" alt="" width="300" height="230" /></a></p>
<p>Select <strong>TCP</strong> on the <strong>Protocol</strong> type, and <strong>Inbound</strong> on the <strong>Direction </strong>list. Type 903 on the port rage boxes.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMjkuZ2lm" rel=\"lightbox[2176]\" title=\"Protocol Connection\"><img class="aligncenter size-medium wp-image-2216" title="Protocol Connection" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-29-300x229.gif" alt="" width="300" height="229" /></a></p>
<p>Now finish the <strong>New Protocol Definition Wizard</strong> using the default settings.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMzAuZ2lm" rel=\"lightbox[2176]\" title=\"Connection Information\"><img class="aligncenter size-medium wp-image-2217" title="Connection Information" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-30-300x230.gif" alt="" width="300" height="230" /></a></p>
<p>Back on the <strong>New Server Publishing Rule</strong> page click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMzEuZ2lm" rel=\"lightbox[2176]\" title=\"Select Protocol\"><img class="aligncenter size-medium wp-image-2218" title="Select Protocol" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-31-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>Here select the <strong>External</strong> listener.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMzIuZ2lm" rel=\"lightbox[2176]\" title=\"Network Listener\"><img class="aligncenter size-medium wp-image-2219" title="Network Listener" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-32-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>Click <strong>Finish</strong> on the <strong>Summary</strong> screen to create the rule.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMzMuZ2lm" rel=\"lightbox[2176]\" title=\"Summary Screen\"><img class="aligncenter size-medium wp-image-2220" title="Summary Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-33-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>Again, don&#8217;t forget to click the TMG <strong>Apply</strong> button to save the changes.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMzQuZ2lm" rel=\"lightbox[2176]\" title=\"Firewall Rules\"><img class="aligncenter size-medium wp-image-2221" title="Firewall Rules" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-34-300x165.gif" alt="" width="300" height="165" /></a></p>
<p>Now let&#8217;s open a virtual machine console to see if it works. And we have a success, no more KMS error.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMzUuZ2lm" rel=\"lightbox[2176]\" title=\"VM Console\"><img class="aligncenter size-medium wp-image-2222" title="VM Console" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-35-300x271.gif" alt="" width="300" height="271" /></a></p>
<p>If we look in the TMG logs we can see the connection is allowed.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUHVibGlzaC52U3BoZXJlLkNsaWVudC5XaXRoXy5UTUctMzYuZ2lm" rel=\"lightbox[2176]\" title=\"TMG Logs\"><img class="aligncenter size-medium wp-image-2223" title="TMG Logs" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Publish.vSphere.Client.With_.TMG-36-300x224.gif" alt="" width="300" height="224" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2176" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/publish-vmware-vsphere-client-with-tmg-2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transitioning from 2003 Active Directory to 2008 R2</title>
		<link>http://www.vkernel.ro/blog/transitioning-from-2003-active-directory-to-2008-r2?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=transitioning-from-2003-active-directory-to-2008-r2</link>
		<comments>http://www.vkernel.ro/blog/transitioning-from-2003-active-directory-to-2008-r2#comments</comments>
		<pubDate>Tue, 21 Feb 2012 18:00:46 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows Domains]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1848</guid>
		<description><![CDATA[Finally, you got the green light for upgrading your Active Directory environment from 2003 to 2008 R2. As you might know the upgrade process is simple, if those domain controllers are 64 bit, because you can do an in-place upgrade. I talked about in-place upgrade of a domain controller here.  [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, you got the green light for upgrading your Active Directory environment from 2003 to 2008 R2. As you might know the upgrade process is simple, if those domain controllers are 64 bit, because you can do an in-place upgrade. I talked about in-place upgrade of a domain controller <a title=\"In-Place Upgrade from 2003 R2 DC to 2008 R2\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvaW4tcGxhY2UtdXBncmFkZS1mcm9tLTIwMDMtcjItZGMtdG8tMjAwOC1yMg==">here</a>. Unfortunately the process is very different if your domain controllers are 32 bit. First because you need extra hardware; second, that hardware needs to support Windows 2008 R2; and third, you need play with some Active Directory advanced settings.<span id="more-1848"></span></p>
<p>In this guide I am going to show you how to transition from a 2003 Active Directory to a 2008 R2 Active Directory. After the transition is complete and all FSMO (Flexible Single  Master Operations) roles are moved and working, we are going to decommission the old (2003) domain controller. More about FSMO roles on the way. Like I said, a separate server is needed, on which Windows Server 2008 R2 is already running.</p>
<p>Now put your Windows 2008 R2 installation media into the DVD drive of the domain controller, because we need to prepare the forest and the domain to support 2008 R2. If you have autorun enabled on the server and the compatibility message pops-up just ignore it and click <strong>OK</strong>, since we are not trying to do an in-place upgrade. Open a terminal and change the path to your <strong>support\adprerp</strong> directory located on the DVD, and type the following command:</p>
<pre class="brush: shell; gutter: false">adprep32 /forestprep</pre>
<p>Hit <strong>c</strong> then <strong>ENTER</strong> on your keyboard to start extending the schema.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5Gcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTIuZ2lm" rel=\"lightbox[1848]\" title=\"Prepar Forest\"><img class="aligncenter size-medium wp-image-1891" title="Prepar Forest" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.From_.2003.to_.2008.R2-2-300x169.gif" alt="" width="300" height="169" /></a></p>
<p>Now that our forest is prepared we need to take care of the domain too, by issuing the following command:</p>
<pre class="brush: shell; gutter: false">adprep32 /domainprep /gpprep</pre>
<p>Yep&#8230; I forgot to raise the domain functional level, so I got an error when trying to prepare the domain.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5Gcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTMuZ2lm" rel=\"lightbox[1848]\" title=\"Domain Functional Level Error\"><img class="aligncenter size-medium wp-image-1892" title="Domain Functional Level Error" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.From_.2003.to_.2008.R2-3-300x148.gif" alt="" width="300" height="148" /></a></p>
<p>Go to <strong>Administrative Tools</strong> and open <strong>Active Directory Domains and Trusts</strong>. Right click the domain name and choose <strong>Raise domain functional level</strong>. Select the domain functional level in the drop-down-box, click the <strong>Raise</strong> button, then <strong>OK</strong> twice. Be careful with this, because if you raise the domain level to high and still have old 2000, NT domain controllers in your domain they will became unavailable.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5Gcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTQuZ2lm" rel=\"lightbox[1848]\" title=\"Raise Domain Functional Level\"><img class="aligncenter size-medium wp-image-1893" title="Raise Domain Functional Level" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.From_.2003.to_.2008.R2-4-300x202.gif" alt="" width="300" height="202" /></a></p>
<p>Now let&#8217;s try the command again. This time it worked, and the domain was prepared successfully.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5Gcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTUuZ2lm" rel=\"lightbox[1848]\" title=\"Preparing Domain\"><img class="aligncenter size-medium wp-image-1894" title="Preparing Domain" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.From_.2003.to_.2008.R2-5-300x148.gif" alt="" width="300" height="148" /></a></p>
<p>There is an optional command if you plan to install RODC in your domain.</p>
<pre class="brush: shell; gutter: false">adprep32 /rodcprep</pre>
<p style="text-align: center;"> <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5Gcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTYuZ2lm" rel=\"lightbox[1848]\" title=\"Preparing Domain\"><img class="aligncenter size-medium wp-image-1895" title="Preparing Domain" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.From_.2003.to_.2008.R2-6-300x148.gif" alt="" width="300" height="148" /></a></p>
<p>After we took care of the forest and domain, the next step is to promote the Windows 2008 R2 server as an additional domain controller in this domain. I have a post on how to promote a server as an additional domain controller, and you can find it <a title=\"Creating an additional domain controller in an existing domain\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvY3JlYXRpbmctYW4tYWRkaXRpb25hbC1kb21haW4tY29udHJvbGxlci1pbi1hbi1leGlzdGluZy1kb21haW4=">here</a>. Read it, then come back. We now need to move the FSMO roles, but first I want to talk a little about them. There are five FSMO roles that a domain controller can have; two of them are forest wide (the Schema Master and Domain Naming Master), and the rest of them (Infrastructure Master, PDC emulator, RID Master) are present in every domain in the forest.</p>
<p><strong>Schema Master</strong> &#8211; controls updates and modifications to the schema. Once the schema is modified or updated, it will replicate to all domain controllers in the forest. As the best example of schema modification is Exchange, if you are familiar with the product. Before you install Exchange you need to extend the schema, and once is extended new tabs will appear on every user account, besides other things. There can be only one schema master in the whole forest.</p>
<p><strong>Domain Naming Master</strong> - controls the addition and removal of domains in the forest. There can be only one domain naming master in the whole forest.</p>
<p><strong>Infrastructure Master</strong> &#8211; when multiple domain exists in your forest, this role takes care of objects that reference objects in other domains. For example you can have a group in one domain that includes users from another domain. If members of that group are moved or renamed, the Infrastructure Master&#8217;s job is to identify those changes and update the group membership. The Infrastructure Master role needs to run on a domain controller that is not a Global Catalog (GC), or it will stop updating object information, since the Global Catalog server holds a partial replica of every object in the forest. Another way to eliminate this issue is to make all domain controllers a GC.  There is an Infrastructure Master in every domain and is held by only one domain controller in that domain.</p>
<p><strong>PDC Emulator</strong> -  or Primary Domain Controller Emulator is a domain role that performs critical functions of a domain, like:</p>
<p><em>Password changes</em> &#8211; when a user password is reset or changed, those changes are immediately replicated to the PDC emulator.</p>
<p><em>Backward compatibility</em> &#8211; it gives a chance to those people who are still using Windows NT 4.0, to be able to locate a writable domain controller, since the domain controller that holds the PDC emulator registers itself as a PDC and performs all of the functionality that a Windows NT 4.0 Server performs for Windows NT 4.0 based clients.</p>
<p><em>Group Policy Objects</em> &#8211;  every time you open for editing a GPO, is alway done from the SYSVOL folder of a PDC emulator. This is to avoid situations where two administrators might edit the same GPO at the same time on different domain controllers. Without a PDC emulator the two GPO versions could not be reconciled.</p>
<p><em>Time synchronization</em> &#8211;  every PDC emulator in each domain synchronizes its time with the forest root PDC emulator so critical service like Active Directory,  DFS-R, File Replication Service (FRS) function correctly.</p>
<p><em>Master Browser</em> &#8211; acts as a domain master browser for the domain, and when clients browse the Windows Network, a list of computers, domain and servers will appear in that list.</p>
<p>There is a PDC emulator in every domain and is held by only one domain controller in that domain.</p>
<p><strong>RID Master</strong> -  or Relative ID (RID) Master is responsible for processing RID pool requests from domain controllers for security principals like users, groups and computers. The RID Master allocates a pool of RIDs to domain controllers, then those domain controllers generate SIDs by assigning a unique RID to the domain SID. The SID of every security principal must be unique. There is a RID Master in every domain and is held by only one domain controller in that domain.</p>
<p>Now that you know the purpose of each FSMO role is time to move them to our new 2008 R2 domain controller. First we need to move the Schema Master, so open a <strong>Run</strong> command on the 2008 R2 server and type:</p>
<p><em>regsvr32 schmmgmt.dll</em></p>
<p><em></em><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9fLjIwMDMudG9fLjIwMDguUjItNy5naWY=" rel=\"lightbox[1848]\" title=\"Register schema dll\"><img class="aligncenter size-medium wp-image-2049" title="Register schema dll" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.fro_.2003.to_.2008.R2-7-300x154.gif" alt="" width="300" height="154" /></a></p>
<p>and hit <strong>OK</strong>, then <strong>OK</strong> again on the pop-up message.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9fLjIwMDMudG9fLjIwMDguUjItOC5naWY=" rel=\"lightbox[1848]\" title=\"Schema dll Registered\"><img class="aligncenter size-full wp-image-2050" title="Schema dll Registered" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.fro_.2003.to_.2008.R2-8.gif" alt="" width="294" height="119" /></a></p>
<p>Open a <strong>mmc</strong> using the <strong>Run</strong> command again,</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9fLjIwMDMudG9fLjIwMDguUjItOS5naWY=" rel=\"lightbox[1848]\" title=\"Open MMC\"><img class="aligncenter size-medium wp-image-2051" title="Open MMC" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.fro_.2003.to_.2008.R2-9-300x154.gif" alt="" width="300" height="154" /></a></p>
<p>and from the <strong>File</strong> menu choose <strong>Add/Remove Snap-in</strong>. From the left side, select <strong>Active Directory Schema </strong>then click <strong>Add </strong>and<strong> OK</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTEwLmdpZg==" rel=\"lightbox[1848]\" title=\"Add Schema Snap-in\"><img class="aligncenter size-medium wp-image-2055" title="Add Schema Snap-in" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-10-300x207.gif" alt="" width="300" height="207" /></a></p>
<p>Right click <strong>Active Directory Schema</strong> and choose <strong>Change Active Directory Domain Controller</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTExLmdpZg==" rel=\"lightbox[1848]\" title=\"Change Domain Controller\"><img class="aligncenter size-medium wp-image-2056" title="Change Domain Controller" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-11-300x202.gif" alt="" width="300" height="202" /></a></p>
<p>From the list select our additional domain controller, which is the 2008 R2 server, then click <strong>OK</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTEyLmdpZg==" rel=\"lightbox[1848]\" title=\"Select Domain Controller\"><img class="aligncenter size-medium wp-image-2057" title="Select Domain Controller" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-12-300x202.gif" alt="" width="300" height="202" /></a></p>
<p>On the message box that pops-up click <strong>OK</strong>. It appears because we are no longer connected to the Schema Master, since the 2008 R2 server is not holding this role, yet.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTEzLmdpZg==" rel=\"lightbox[1848]\" title=\"Schema Snap-in Connection Message\"><img class="aligncenter size-medium wp-image-2058" title="Schema Snap-in Connection Message" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-13-300x120.gif" alt="" width="300" height="120" /></a></p>
<p>Now right-click <strong>Active Directory Schema</strong> and choose <strong>Operations Master</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTE0LmdpZg==" rel=\"lightbox[1848]\" title=\"Operations Master\"><img class="aligncenter size-medium wp-image-2059" title="Operations Master" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-14-300x186.gif" alt="" width="300" height="186" /></a></p>
<p>On the <strong>Change Schema Master</strong> window you can see the current holder of the schema, which is our 2003 domain controller, and the targeted server selected for schema transfer, which is our additional domain controller. To change the schema holder just click the <strong>Change</strong> button, and <strong>YES</strong> on the warning message.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTE1LmdpZg==" rel=\"lightbox[1848]\" title=\"Change Schema Master Holder\"><img class="aligncenter size-medium wp-image-2060" title="Change Schema Master Holder" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-15-300x218.gif" alt="" width="300" height="218" /></a></p>
<p>If everything went well a confirmation message will be displayed.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTE3LmdpZg==" rel=\"lightbox[1848]\" title=\"Schema Tansfer Successful\"><img class="aligncenter size-medium wp-image-2062" title="Schema Tansfer Successful" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-17-300x138.gif" alt="" width="300" height="138" /></a></p>
<p>Now the holder of the schema is our 2008 R2 domain controller. You can close the window and the management console.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTE2LmdpZg==" rel=\"lightbox[1848]\" title=\"Schema Master Holder\"><img class="aligncenter size-medium wp-image-2061" title="Schema Master Holder" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-16-300x218.gif" alt="" width="300" height="218" /></a></p>
<p>If you like, you can use the command line to transfer the schema. Press <strong>ENTER</strong> after every command.</p>
<pre class="brush: shell; gutter: true">ntdsutil
roles
connections
connect to server server-2k8.vkernel.local
q
transfer schema master</pre>
<p>Replace <em>server-2k8.vkernel.local</em> with your own server name, and click <strong>YES</strong> on the warring message that pops-up.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTMzLmdpZg==" rel=\"lightbox[1848]\" title=\"Transfer Schema Master\"><img class="aligncenter size-medium wp-image-2086" title="Transfer Schema Master" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-33-300x137.gif" alt="" width="300" height="137" /></a></p>
<p>The next step is to transfer the <strong>Domain Naming Master</strong>. For that go to <strong>Start &gt; Administrative Tools &gt; Active Directory Domains and Trusts</strong>. Right click <strong>Active Directory Domains and Trusts</strong> and choose <strong>Change Active Directory Domain Controller</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTE4LmdpZg==" rel=\"lightbox[1848]\" title=\"Change Domain Controller\"><img class="aligncenter size-medium wp-image-2063" title="Change Domain Controller" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-18-300x204.gif" alt="" width="300" height="204" /></a></p>
<p>Select the 2008 R2 server from the list and click <strong>OK</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTE5LmdpZg==" rel=\"lightbox[1848]\" title=\"Change Directory Server\"><img class="aligncenter size-medium wp-image-2069" title="Change Directory Server" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-19-300x202.gif" alt="" width="300" height="202" /></a></p>
<p>Right click again <strong>Active Directory Domains and Trusts</strong> and choose <strong>Operations Master</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTIwLmdpZg==" rel=\"lightbox[1848]\" title=\"Change Operations Master\"><img class="aligncenter size-medium wp-image-2070" title="Change Operations Master" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-20-300x203.gif" alt="" width="300" height="203" /></a></p>
<p>On the <strong>Operations Master</strong> window click the <strong>Change</strong> button to transfer the role to the our 2008 R2 domain controller. On the warning message just hit <strong>OK</strong>, because we are sure that we want to move the role.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTIxLmdpZg==" rel=\"lightbox[1848]\" title=\"Operations Master\"><img class="aligncenter size-medium wp-image-2071" title="Operations Master" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-21-300x210.gif" alt="" width="300" height="210" /></a></p>
<p>If the operation was successful a message will be displayed.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTIyLmdpZg==" rel=\"lightbox[1848]\" title=\"Success Message\"><img class="aligncenter size-medium wp-image-2072" title="Success Message" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-22-300x117.gif" alt="" width="300" height="117" /></a></p>
<p>Back to the <strong>Operations Master</strong> window you can now see the holder of the Domain Naming Master role, which is the 2008 R2 domain controller.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTIzLmdpZg==" rel=\"lightbox[1848]\" title=\"Operations Master\"><img class="aligncenter size-medium wp-image-2073" title="Operations Master" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-23-300x211.gif" alt="" width="300" height="211" /></a></p>
<p>From a command line is like this:</p>
<pre class="brush: shell; gutter: true">ntdsutil
roles
connections
connect to server server-2k8.vkernel.local
q
transfer naming master</pre>
<p>Replace <em>server-2k8.vkernel.local</em> with your own server name, and click <strong>YES</strong> on the warring message that pops-up.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTM0LmdpZg==" rel=\"lightbox[1848]\" title=\"Transfer FSMO Roles\"><img class="aligncenter size-medium wp-image-2088" title="Transfer FSMO Roles" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-34-300x137.gif" alt="" width="300" height="137" /></a></p>
<p>The next step is to move the domain roles, and this is done from <strong>Active Directory Users and Computers </strong>console. Here right-click <strong>Active Directory Users and Computers</strong> and choose<strong> Change Domain Controller</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTI0LmdpZg==" rel=\"lightbox[1848]\" title=\"Change Domain Controller\"><img class="aligncenter size-medium wp-image-2074" title="Change Domain Controller" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-24-300x192.gif" alt="" width="300" height="192" /></a></p>
<p>From the list select the 2008 R2 domain controller and click <strong>OK</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTI1LmdpZg==" rel=\"lightbox[1848]\" title=\"Change Directory Server\"><img class="aligncenter size-medium wp-image-2075" title="Change Directory Server" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-25-300x202.gif" alt="" width="300" height="202" /></a></p>
<p>Now right-click your domain and choose <strong>Operations Master</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTI2LmdpZg==" rel=\"lightbox[1848]\" title=\"Change Operations Masters\"><img class="aligncenter size-medium wp-image-2076" title="Change Operations Masters" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-26-300x248.gif" alt="" width="300" height="248" /></a></p>
<p>On the <strong>Operations Master</strong> window you can see the holder of the domain roles for this domain.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTI3LmdpZg==" rel=\"lightbox[1848]\" title=\"Operations Masters\"><img class="alignnone size-medium wp-image-2077" title="Operations Masters" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-27-270x300.gif" alt="" width="270" height="300" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTI4LmdpZg==" rel=\"lightbox[1848]\" title=\"Operations Masters\"><img class="alignnone size-medium wp-image-2078" title="Operations Masters" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-28-271x300.gif" alt="" width="271" height="300" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTI5LmdpZg==" rel=\"lightbox[1848]\" title=\"Operations Masters\"><img class="size-medium wp-image-2079 aligncenter" title="Operations Masters" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-29-270x300.gif" alt="" width="270" height="300" /></a></p>
<p>Here on the <strong>RID</strong> tab, click the <strong>Change</strong> button to start transferring the role to our 2008 R2 domain controller. Repeat the operation for the other two roles.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTMwLmdpZg==" rel=\"lightbox[1848]\" title=\"Operations Masters\"><img class="alignnone size-medium wp-image-2080" title="Operations Masters" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-30-270x300.gif" alt="" width="270" height="300" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTMxLmdpZg==" rel=\"lightbox[1848]\" title=\"Operations Masters\"><img class="alignnone size-medium wp-image-2081" title="Operations Masters" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-31-270x300.gif" alt="" width="270" height="300" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTMyLmdpZg==" rel=\"lightbox[1848]\" title=\"Operations Masters\"><img class="size-medium wp-image-2082 aligncenter" title="Operations Masters" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-32-270x300.gif" alt="" width="270" height="300" /></a></p>
<p>And from a command line:</p>
<pre>ntdsutil
roles
connections
connect to server server-2k8.vkernel.local
q
transfer rid master
transfer pdc
transfer infrastructure master</pre>
<p>Replace <em>server-2k8.vkernel.local</em> with your own server name, and click <strong>YES</strong> on the warring message that pops-up.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTM1LmdpZg==" rel=\"lightbox[1848]\" title=\"Transfer FSMO Roles\"><img class="aligncenter size-medium wp-image-2090" title="Transfer FSMO Roles" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-35-300x267.gif" alt="" width="300" height="267" /></a></p>
<p>Before we start decommissioning our 2003 domain controller, I recommend you wait a while for the replication to finish between domain controllers. I can&#8217;t tell you how long because it depends on you replication topology between sites (if you have sites), so be careful before you decommission your old domain controller(s). You can check or troubleshoot replication using <a title=\"Troubleshoot intra-site replication failures\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3N1cHBvcnQubWljcm9zb2Z0LmNvbS9rYi8yNDkyNTY=" target=\"_blank\">replmon</a> and <a title=\"Using Repadmin.exe to troubleshoot Active Directory replication\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3N1cHBvcnQubWljcm9zb2Z0LmNvbS9rYi8yMjk4OTY=" target=\"_blank\">repadmin</a>. If everything is all right, and replication took place is time to demote our 2003 domain controller. I have a post on how to remove a domain controller from a domain, and you can <a title=\"Removing a Domain Controller from a Domain\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvcmVtb3ZpbmctYS1kb21haW4tY29udHJvbGxlci1mcm9tLWEtZG9tYWlu">find it here</a>. After the removal is successful there a couple of things that need to be done:</p>
<p>Remove the IP address of the 2003 server (former domain controller) from the DNS box on the new domain controller (2008 R2). This is only if you don&#8217;t want that server to act as a DNS server in your domain, like in this case.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTM2LmdpZg==" rel=\"lightbox[1848]\" title=\"IP Properties\"><img class="aligncenter size-medium wp-image-2168" title="IP Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-36-270x300.gif" alt="" width="270" height="300" /></a></p>
<p>Sometimes the records of the demoted domain controller(s) are not deleted from DNS, so you will have to do that manually. Expand every sub folder in your <strong>_msdcs</strong>. zone and delete those orphan records. Do the same for your domain zone too.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvVHJhbnNpdGlvbi5mcm9tXy4yMDAzLnRvXy4yMDA4LlIyLTM3LmdpZg==" rel=\"lightbox[1848]\" title=\"DNS Zone\"><img class="aligncenter size-medium wp-image-2169" title="DNS Zone" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Transition.from_.2003.to_.2008.R2-37-300x171.gif" alt="" width="300" height="171" /></a></p>
<p>If you don&#8217;t have any 2003 domain controllers in your domain, or you don&#8217;t plan to ever add them in the future, you are ready to raise the domain and forest functional level.</p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1848" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/transitioning-from-2003-active-directory-to-2008-r2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Remote Desktop Services in Windows 2008 R2</title>
		<link>http://www.vkernel.ro/blog/installing-remote-desktop-services-in-windows-2008-r2?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-remote-desktop-services-in-windows-2008-r2</link>
		<comments>http://www.vkernel.ro/blog/installing-remote-desktop-services-in-windows-2008-r2#comments</comments>
		<pubDate>Sat, 18 Feb 2012 15:22:43 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft RDS/VDI]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=2122</guid>
		<description><![CDATA[I&#8217;ve been thinking for quite some time now, how to start some articles about Microsoft VDI (Virtual Desktop Infrastructure) and RDS (Remote Desktop Services), and I&#8217;ve got it; I will just start with something simple, like the installation, then continue with services configurations. In this guide  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been thinking for quite some time now, how to start some articles about Microsoft VDI (Virtual Desktop Infrastructure) and RDS (Remote Desktop Services), and I&#8217;ve got it; I will just start with something simple, like the installation, then continue with services configurations. In this guide I&#8217;ll show you how to install the Microsoft RDS role services, which in previous versions of Windows it was called Terminal Services.<span id="more-2122"></span></p>
<p>I will use a single 2008 R2 server joined to the domain, which will hold all the RDS role services, well&#8230;almost all; you will see there are quite a few. All this role services can be installed on separate servers, and is recommended for large environments, but for the sake of this example we are going with a single host. To start open <strong>Server Manager</strong>, right-click <strong>Roles</strong> and choose <strong>Add Roles</strong>.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTEuZ2lm" rel=\"lightbox[2122]\" title=\"Add Roles\"><img class="aligncenter size-medium wp-image-2132" title="Add Roles" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-1-300x206.gif" alt="" width="300" height="206" /></a></p>
<p>On the <strong>Select Server Roles</strong> page check the <strong>Remote Desktop Services</strong> box and click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTIuZ2lm" rel=\"lightbox[2122]\" title=\"Select Role Services\"><img class="aligncenter size-medium wp-image-2133" title="Select Role Services" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-2-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>I told you there are quite a few RDS role services, and since we are here I want to tell you something about each one of them before continuing.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTMuZ2lm" rel=\"lightbox[2122]\" title=\"Select Role Services\"><img class="aligncenter size-medium wp-image-2134" title="Select Role Services" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-3-300x220.gif" alt="" width="300" height="220" /></a></p>
<p><strong>Remote Desktop Session Host</strong> &#8211; formerly known as Terminal Server, enables users to connect and run applications just like they where using a full desktop. Clients connect to the RD Session Host using RDP client, which is integrated in every version of Windows.</p>
<p><strong>Remote Desktop Virtualization Host</strong> &#8211; this is a Hyper-V server that is holding virtual machines for users or pools of virtual machines. They connect to this virtual machines using a RDP client and use them as a day-to-day workstations. Think about hospitals, if a doctor works on a computer connected to a virtual machine on the RD Virtualization Host, and that computer crashes, the doctor simply moves to another physical computer and reconnects to his virtual machine; the session or data is not lost.</p>
<p><strong>Remote Desktop Licensing</strong> &#8211; this service is taking care of the licenses used by clients and licenses issued to them.</p>
<p><strong>Remote Desktop Connection Broker</strong> &#8211; is used for load balancing and reconnection to RD Session Host servers. If one of the RD Session Host fails, users are redirect to another one available without losing their work. A small interruption of the session is possible or users have to reconnect to get their session back.</p>
<p><strong>Remote Desktop Gateway</strong> &#8211; is for those users that need to connect from outside of the company. This is very useful for administrators, because they only need to open port 443 on the firewall, witch may already be opened if the company has a secure web site publish to the internet.</p>
<p><strong>Remote Desktop Web Access</strong> &#8211; this service enables users to connect to remote applications and desktop from a web browser. If users are working from a Windows 7 machine they can connect to those applications from the Start Menu.</p>
<p>Now that you know what each role service does, let&#8217;s continue with the installation. Select all the role services except RD Virtualization Host and choose to add the required role services when the <strong>Add Roles Wizard</strong> window pops-up. We are going to take care of RD Virtualization Host in a future post, because is more delicate. Click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTQuZ2lm" rel=\"lightbox[2122]\" title=\"Install Role Services\"><img class="aligncenter size-medium wp-image-2135" title="Install Role Services" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-4-300x223.gif" alt="" width="300" height="223" /></a></p>
<p>On the following screen we have a warning, telling us that applications should be installed after the RD Session Host installation, or they might not work as expected.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTUuZ2lm" rel=\"lightbox[2122]\" title=\"Application Compatibility\"><img class="aligncenter size-medium wp-image-2136" title="Application Compatibility" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-5-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>In the next screen we have two authentication methods:</p>
<p><strong>Require Network Level Authentication</strong> &#8211; it enhances the security of a RD Session Host server by authenticating the user before the session is created. It is supported only by clients with a Remote Desktop Client version 6 and greater, running on Windows XP SP3 or Vista. Windows 7 is already equipped with version 7 of the RDC.</p>
<p><strong>Do not require Network Level Authentication</strong> - using this option the authentication occurs later in the connection process. This should be used only if yo have RDC older than version 6.</p>
<p>Select  <strong>Require Network Level Authentication</strong> and click <strong>Next</strong> to continue.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTYuZ2lm" rel=\"lightbox[2122]\" title=\"Specify Authentication\"><img class="aligncenter size-medium wp-image-2137" title="Specify Authentication" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-6-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>Specify the licensing mode you are using in your company and click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTcuZ2lm" rel=\"lightbox[2122]\" title=\"Specify Licensing Mode\"><img class="aligncenter size-medium wp-image-2138" title="Specify Licensing Mode" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-7-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>Here you can add which user groups can connect to this RD Session Host server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTguZ2lm" rel=\"lightbox[2122]\" title=\"Add User Groups\"><img class="aligncenter size-medium wp-image-2139" title="Add User Groups" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-8-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>You can provide extra functionalities to users, so they have a similar experience to a Windows 7 desktop if you check those boxes. By doing this more bandwidth is required and processing power on the RD Session Host server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTkuZ2lm" rel=\"lightbox[2122]\" title=\"Configure Client Experience\"><img class="aligncenter size-medium wp-image-2140" title="Configure Client Experience" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-9-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>The <strong>RD Licensing Configuration</strong> screen is for those that still have RD Session Host servers running on Windows versions older than 2008 R2. In this example we have only 2008 R2, so leave the defaults and continue. If you are using only 2008 R2 server Microsoft recommends you configure the license server from the RDS Host configuration tool.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTEwLmdpZg==" rel=\"lightbox[2122]\" title=\"Licensing Autodiscover Configuration\"><img class="aligncenter size-medium wp-image-2141" title="Licensing Autodiscover Configuration" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-10-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>For clients to be able to communicate in a secure matter a certificate is needed on the RD Gateway server. You can use a commercial certificate, an internal one or a self signed certificate. For this example we are going to create a self signed certificate, even if is not the best choice. I will show you in a future post how to install a proper certificate on the RD Session Host server and the RD Gateway server. The RD Gateway server is very sensitive when it comes to security, so you need to have a proper certificate, if not users will not be able to connect.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTExLmdpZg==" rel=\"lightbox[2122]\" title=\"Server Certificate\"><img class="aligncenter size-medium wp-image-2142" title="Server Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-11-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>Now we need to configure which uses and computers have the right to connect to this RD Gateway server. Click the <strong>Now</strong> button to start creating the polices, but first let me explain what RD CAP and RD RAP are.</p>
<p><strong>RD CAP</strong> or Remote Desktop Connection Authorization Policy &#8211; by configuring this policy you specify which users and groups will have the ability to connect to a RD Gateway server. You can even specify that only users using a smart card can connect.</p>
<p><strong>RD RAP</strong> or Remote Desktop Resource Authorization Policy &#8211; after RD CAP is authenticating users and groups, with RD RAP you can specify which computers in the internal network those users or groups can access.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTEyLmdpZg==" rel=\"lightbox[2122]\" title=\"Authorization Policies\"><img class="aligncenter size-medium wp-image-2143" title="Authorization Policies" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-12-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>In this screen we have the option to add the user groups that will be associated with RD CAP and RD RAP.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTEzLmdpZg==" rel=\"lightbox[2122]\" title=\"Add User Groups\"><img class="aligncenter size-medium wp-image-2144" title="Add User Groups" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-13-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>Here enter the name for the RD CAP policy; we also need to select the authentication method, but since I don&#8217;t have a smart card I will let users authenticate using their passwords.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTE0LmdpZg==" rel=\"lightbox[2122]\" title=\"RD CAP Policy\"><img class="aligncenter size-medium wp-image-2145" title="RD CAP Policy" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-14-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>Name your RD RAP policy, and create a group in your Active Directory where you put all the computers that users can access through this RD Gateway server. If you want to you can go with the second option and let users connect to any computer in your network that has Remote Desktop enabled.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTE2LmdpZg==" rel=\"lightbox[2122]\" title=\"RD RAP Policy\"><img class="aligncenter size-medium wp-image-2147" title="RD RAP Policy" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-16-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>Now just click <strong>Next</strong> and finish the wizard using the default settings. After everything is installed choose to reboot the server.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTE3LmdpZg==" rel=\"lightbox[2122]\" title=\"Installation Progress\"><img class="size-medium wp-image-2151 alignnone" title="Installation Progress" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-17-300x221.gif" alt="" width="300" height="221" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTE4LmdpZg==" rel=\"lightbox[2122]\" title=\"Installation Results\"><img class="size-medium wp-image-2148 alignnone" title="Installation Results" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-18-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>After reboot the wizard is resuming the installation and when is finished you will have some warnings. Just ignore them, because we are going to configure them in a future guide.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTE5LmdpZg==" rel=\"lightbox[2122]\" title=\"Installation Results\"><img class="aligncenter size-medium wp-image-2149" title="Installation Results" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-19-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>If you expand <strong>Roles &gt; Remote Desktop Services</strong> from <strong>Server Manager</strong> you can see all the RD role services installed.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvSW5zdGFsbC5SRFNfLm9uXy4yMDA4LlIyLTIwLmdpZg==" rel=\"lightbox[2122]\" title=\"RDS Installed\"><img class="aligncenter size-medium wp-image-2150" title="RDS Installed" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Install.RDS_.on_.2008.R2-20-300x183.gif" alt="" width="300" height="183" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2122" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/installing-remote-desktop-services-in-windows-2008-r2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing a Domain Controller from a Domain</title>
		<link>http://www.vkernel.ro/blog/removing-a-domain-controller-from-a-domain?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=removing-a-domain-controller-from-a-domain</link>
		<comments>http://www.vkernel.ro/blog/removing-a-domain-controller-from-a-domain#comments</comments>
		<pubDate>Fri, 17 Feb 2012 18:00:34 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows Domains]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=2096</guid>
		<description><![CDATA[There are times when you need to decommission one or more domain controllers from your domain, and don&#8217;t think you just power off that specific domain controller and put it in a closet. No&#8230;you need to issue specific commands and follow some wizard steps which safely removes the domain controller,  [...]]]></description>
			<content:encoded><![CDATA[<p>There are times when you need to decommission one or more domain controllers from your domain, and don&#8217;t think you just power off that specific domain controller and put it in a closet. No&#8230;you need to issue specific commands and follow some wizard steps which safely removes the domain controller, and sets the right permissions on the server. If you don&#8217;t do this the rest of the domain controllers will try to reach the one that is disconnected, resulting in increase of traffic and error logs, as a start.<span id="more-2096"></span></p>
<p>For this guide I have a single forest and a single domain with two Windows 2008 R2 domain controllers (Server-DC and Server-2k8) in one site. We are going to decommission the second domain controller which is <strong>Server-2k8.vkernel.local</strong>, so let&#8217;s get started. Ohh &#8230;I almost forgot, this server does not hold any FSMO roles; now log in to Server-2k8, click <strong>Start &gt; Run</strong>, type <strong>dcpromo</strong> and click <strong>OK</strong> or press <strong>ENTER</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tMS5naWY=" rel=\"lightbox[2096]\" title=\"Running dcpromo\"><img class="aligncenter size-medium wp-image-2098" title="Running dcpromo" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-1-300x159.gif" alt="" width="300" height="159" /></a></p>
<p>The <strong>Active Directory Domain Services</strong> wizard is displayed. Just click <strong>Next</strong> to skip the <strong>Welcome</strong> screen.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tMi5naWY=" rel=\"lightbox[2096]\" title=\"ADDS Installation Wizard\"><img class="aligncenter size-medium wp-image-2099" title="ADDS Installation Wizard" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-2-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>When you click <strong>Next</strong> on the <strong>Welcome</strong> screen a message pops-up, informing us that a Global Catalog server should exist in the domain before you decommission this one. Just click <strong>OK</strong> because our first domain controller (Server-DC) is also a GB server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tMy5naWY=" rel=\"lightbox[2096]\" title=\"ADDS Info Message\"><img class="aligncenter size-medium wp-image-2100" title="ADDS Info Message" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-3-300x129.gif" alt="" width="300" height="129" /></a></p>
<p>On the next screen we have the option to delete the domain by checking the box <strong>Delete the domain because this server is the last domain controller in the domain</strong>. You need to be very careful with this, because you can destroy the domain and clients will not be able to log in, besides other things. In this example we are going to leave the box unchecked, so click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tNC5naWY=" rel=\"lightbox[2096]\" title=\"ADDS Installation Wizard\"><img class="aligncenter size-medium wp-image-2101" title="ADDS Installation Wizard" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-4-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>Here type the new password for the local Administrator account.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tNS5naWY=" rel=\"lightbox[2096]\" title=\"ADDS Installation Wizard\"><img class="aligncenter size-medium wp-image-2102" title="ADDS Installation Wizard" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-5-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>On the <strong>Summary</strong> screen click <strong>Next</strong> to begin the removal process.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tNi5naWY=" rel=\"lightbox[2096]\" title=\"ADDS Installation Wizard\"><img class="aligncenter size-medium wp-image-2103" title="ADDS Installation Wizard" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-6-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>On the window that pops-up we have the option to automatically reboot the server by checking the box <strong>Reboot on completion</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tNy5naWY=" rel=\"lightbox[2096]\" title=\"Removing ADDS\"><img class="aligncenter size-medium wp-image-2104" title="Removing ADDS" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-7-300x210.gif" alt="" width="300" height="210" /></a></p>
<p>When is done click <strong>Finish</strong> and restart the server. This screen will not appear if you previously checked the box to automatically restart.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tOC5naWY=" rel=\"lightbox[2096]\" title=\"ADDS Installation Wizard\"><img class="aligncenter size-medium wp-image-2105" title="ADDS Installation Wizard" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-8-300x284.gif" alt="" width="300" height="284" /></a></p>
<p>As you can see after restart the server is now part of the domain, just like a file server or a client. You can log in using a domain or a local administrator account.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tOS5naWY=" rel=\"lightbox[2096]\" title=\"Log on Screen\"><img class="aligncenter size-medium wp-image-2106" title="Log on Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-9-300x165.gif" alt="" width="300" height="165" /></a></p>
<p>After you are logged on, you can see that Active Directory Snap-ins are still present on <strong>Administrative Tools</strong>. To remove them, open <strong>Server Manager</strong> and from the <strong>Roles</strong> section choose <strong>Remove Roles</strong>, then clear those roles boxes and click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tMTAuZ2lm" rel=\"lightbox[2096]\" title=\"Remove Server Roles\"><img class="aligncenter size-medium wp-image-2107" title="Remove Server Roles" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-10-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>There&#8217;s one more thing we need to do, we need to delete the former domain controller from the sites link. From a domain controller, and in this example there is only one left, open <strong>Active Directory Sites and Services</strong> from <strong>Administrative Tools</strong>. Expand <strong>Default-First-Site-Name &gt; Server</strong>, identify the name of the server we just decommissioned, right click on it and choose <strong>Delete</strong>. Click <strong>Yes</strong> on the warning message. Your site name may be different, or you may have multiple sites, be careful which server you delete.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVtb3ZlLkRDXy5mcm9tXy5Eb21haW4tMTEuZ2lm" rel=\"lightbox[2096]\" title=\"Active Directory Sites and Services\"><img class="aligncenter size-medium wp-image-2108" title="Active Directory Sites and Services" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Remove.DC_.from_.Domain-11-300x257.gif" alt="" width="300" height="257" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2096" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/removing-a-domain-controller-from-a-domain/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add users in VMware vCenter</title>
		<link>http://www.vkernel.ro/blog/add-users-in-vmware-vcenter?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=add-users-in-vmware-vcenter</link>
		<comments>http://www.vkernel.ro/blog/add-users-in-vmware-vcenter#comments</comments>
		<pubDate>Fri, 10 Feb 2012 19:00:32 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMware vCenter]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=2020</guid>
		<description><![CDATA[I bet everything went great in your VMware infrastructure, until the company hired a junior admin to help you with the work. Now that&#8217;s not a bad thing, but you can&#8217;t just give him/her full permissions to your vCenter from the start, because it needs to learn the infrastructure first and get  [...]]]></description>
			<content:encoded><![CDATA[<p>I bet everything went great in your VMware infrastructure, until the company hired a junior admin to help you with the work. Now that&#8217;s not a bad thing, but you can&#8217;t just give him/her full permissions to your vCenter from the start, because it needs to learn the infrastructure first and get familiar with it. If adding a user to your VMware vCenter infrastructure is a challenge, no worry, I will show you how is done in just a second.<span id="more-2020"></span></p>
<p>The vCenter server that I will use here is part of a local Microsoft Active Directory domain, so the new user will be a domain user. If you don&#8217;t have an AD environment, that&#8217;s no problem, you just create the junior admin account on the vCenter server machine; I will show you that too, later. First let&#8217;s start by creating the user account in Active Directory, so right-click your OU and choose <strong>New &gt; User</strong>. Complete the boxes and click <strong>Next</strong>.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTEuZ2lm" rel=\"lightbox[2020]\" title=\"Create New User\"><img class="aligncenter size-medium wp-image-2022" title="Create New User" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-1-300x252.gif" alt="" width="300" height="252" /></a></p>
<p>Now choose a password for the junior admin to use and finish the wizard. The account is now created are ready to be used.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTIuZ2lm" rel=\"lightbox[2020]\" title=\"User Account Created\"><img class="aligncenter size-medium wp-image-2023" title="User Account Created" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-2-300x122.gif" alt="" width="300" height="122" /></a></p>
<p>If you don&#8217;t have an AD environment just create the user account on your vCenter server. Right click <strong>Computer</strong>, choose <strong>Manage</strong>, and expand <strong>Configuration &gt; Local Users and Groups</strong>. Create a new user account by right clicking the <strong>Users</strong> object and choose <strong>New user</strong>. On the <strong>New user</strong> box complete the requirements and clear <strong>User must change password at next logon</strong>. Click <strong>Create</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTMuZ2lm" rel=\"lightbox[2020]\" title=\"Create User Account\"><img class="aligncenter size-medium wp-image-2024" title="Create User Account" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-3-300x296.gif" alt="" width="300" height="296" /></a></p>
<p>Now open your vCenter client console and connect to the vCenter server using an administrator account. Once the console is fully opened click the vCenter server name then go to the <strong>Permissions</strong> tab.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTQuZ2lm" rel=\"lightbox[2020]\" title=\"vCenter Permissions\"><img class="aligncenter size-medium wp-image-2025" title="vCenter Permissions" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-4-300x117.gif" alt="" width="300" height="117" /></a></p>
<p>Here right-click and choose <strong>Add Permission</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTUuZ2lm" rel=\"lightbox[2020]\" title=\"Add Permissions\"><img class="aligncenter size-medium wp-image-2026" title="Add Permissions" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-5-300x171.gif" alt="" width="300" height="171" /></a></p>
<p>On the <strong>Assign Permissions</strong> window click the <strong>Add</strong> button.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTYuZ2lm" rel=\"lightbox[2020]\" title=\"Assign Permissions\"><img class="aligncenter size-medium wp-image-2027" title="Assign Permissions" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-6-300x238.gif" alt="" width="300" height="238" /></a></p>
<p>Choose your domain from the <strong>Domain</strong> list and now all the users and groups from the AD domain should appear under <strong>Users and Groups</strong>. Select the junior admin account we created before and click the <strong>Add</strong> button. If you want to add another user or group, just select it and click the <strong>Add</strong> button again. When you&#8217;re done click <strong>OK</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTcuZ2lm" rel=\"lightbox[2020]\" title=\"Select Users and Groups\"><img class="aligncenter size-medium wp-image-2028" title="Select Users and Groups" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-7-300x281.gif" alt="" width="300" height="281" /></a></p>
<p>Back to the Assign Permissions window, we have our junior admin account. The last step is to assign the necessary permissions to this account, and you can do this from the <strong>Assign Role</strong> box. For the sake of this example just leave it to <strong>Read only</strong>. If you want this permissions to propagate on all your ESX hosts, folders, Pools etc, leave the <strong>Propagate to Child Objects</strong> box enabled. Click <strong>OK</strong> when you&#8217;re done.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTguZ2lm" rel=\"lightbox[2020]\" title=\"Assign Permissions\"><img class="aligncenter size-medium wp-image-2029" title="Assign Permissions" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-8-300x238.gif" alt="" width="300" height="238" /></a></p>
<p>The account is added in the <strong>Permissions</strong> tab on the vCenter server, with the rights we just configured.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTkuZ2lm" rel=\"lightbox[2020]\" title=\"vCenter Permissions\"><img class="aligncenter size-medium wp-image-2030" title="vCenter Permissions" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-9-300x133.gif" alt="" width="300" height="133" /></a></p>
<p>Now let&#8217;s see from a client perspective. Log in to a client computer using the junior admin account and connect to your vCenter server using the same account. I will use a Windows 7 machine on which I installed the vSphere client.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTEwLmdpZg==" rel=\"lightbox[2020]\" title=\"Connect to vCenter\"><img class="aligncenter size-medium wp-image-2031" title="Connect to vCenter" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-10-300x265.gif" alt="" width="300" height="265" /></a></p>
<p>Since the user has read only permissions on the vCenter server, he can see all the vCenter infrastructure. Right click on one of the objects (ESX server, virtual pool, folder etc) and you should see that access is denied for the user to shut down, reboot, create new virtual machine etc.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQWRkLlVzZXJfLmluXy52Q2VudGVyLTExLmdpZg==" rel=\"lightbox[2020]\" title=\"Restricted User in vCenter\"><img class="aligncenter size-medium wp-image-2032" title="Restricted User in vCenter" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Add.User_.in_.vCenter-11-300x289.gif" alt="" width="300" height="289" /></a></p>
<p>If you want to be more granular with permissions, you can add the user account on a server level, then the user will only be able to see that specific server. More about vCenter permissions in a future post.</p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2020" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/add-users-in-vmware-vcenter/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating virtual machines in SCVMM 2008 R2</title>
		<link>http://www.vkernel.ro/blog/creating-virtual-machines-in-scvmm-2008-r2?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-virtual-machines-in-scvmm-2008-r2</link>
		<comments>http://www.vkernel.ro/blog/creating-virtual-machines-in-scvmm-2008-r2#comments</comments>
		<pubDate>Fri, 10 Feb 2012 18:00:45 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1995</guid>
		<description><![CDATA[For those of you that are just getting started with System Center Virtual Machine  Manager 2008 (SCVMM) I think this will be a useful post. After you&#8217;re done installing SCVMM is time to create some virtual machines and in this guide I&#8217;m going to show you that, so read on.
To start open your SCVMM  [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you that are just getting started with System Center Virtual Machine  Manager 2008 (SCVMM) I think this will be a useful post. After you&#8217;re done installing SCVMM is time to create some virtual machines and in this guide I&#8217;m going to show you that, so read on.<span id="more-1995"></span></p>
<p>To start open your SCVMM console and in the <strong>Actions</strong> pane click <strong>New virtual machine</strong>.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi0xLmdpZg==" rel=\"lightbox[1995]\" title=\"New Virtual Machine\"><img class="aligncenter size-medium wp-image-1997" title="New Virtual Machine" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-1-142x300.gif" alt="" width="142" height="300" /></a></p>
<p>On the first page of the wizard we have the option to create a new virtual disk or use an existing one. If you have an existing virtual disk and want to use it, you need to place that virtual disk on the library folder before it appears on the inventory, when you click the <strong>Browse</strong> button here. As you can see I already have a virtual disk from a Windows XP machine.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi0yLmdpZg==" rel=\"lightbox[1995]\" title=\"Select Source\"><img class="aligncenter size-medium wp-image-1998" title="Select Source" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-2-300x254.gif" alt="" width="300" height="254" /></a></p>
<p>For this example we are not going to use an existing virtual disk, so click the radio button <strong>Create new virtual machine with a blank virtual hard disk</strong> then hit <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi0zLmdpZg==" rel=\"lightbox[1995]\" title=\"Select Source\"><img class="aligncenter size-medium wp-image-1999" title="Select Source" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-3-300x254.gif" alt="" width="300" height="254" /></a></p>
<p>Give the new virtual machine a name and a description and continue the wizard.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi00LmdpZg==" rel=\"lightbox[1995]\" title=\"VM Identity\"><img class="aligncenter size-medium wp-image-2000" title="VM Identity" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-4-300x254.gif" alt="" width="300" height="254" /></a></p>
<p>Here is where we configure the virtual machine hardware profile; add, remove, and configure devices. After the profile is configured we have the option to save it by clicking the <strong>Save as</strong> button, in case we need to create a new virtual machine with the same hardware again. Make your changes then click <strong>Next</strong>.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi01LmdpZg==" rel=\"lightbox[1995]\" title=\"Hardware Profile\"><img class="size-medium wp-image-2001 alignnone" title="Hardware Profile" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-5-288x300.gif" alt="" width="288" height="300" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi02LmdpZg==" rel=\"lightbox[1995]\" title=\"Configure Hardware\"><img class="alignnone size-medium wp-image-2002" title="Configure Hardware" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-6-300x254.gif" alt="" width="300" height="254" /></a></p>
<p>On the <strong>Select Destination</strong> screen we have the option to either place this virtual machine on a host or the VMM library. If you place it in the library, you can create clones or use it as a template later on, but in this case we are going to place it on a Hyper-V host, so select the first option and click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi03LmdpZg==" rel=\"lightbox[1995]\" title=\"Select Destination\"><img class="aligncenter size-medium wp-image-2003" title="Select Destination" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-7-300x254.gif" alt="" width="300" height="254" /></a></p>
<p>If you have more than one host select the one on which to place this virtual machine then continue the wizard.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi04LmdpZg==" rel=\"lightbox[1995]\" title=\"Select Host\"><img class="aligncenter size-medium wp-image-2004" title="Select Host" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-8-300x254.gif" alt="" width="300" height="254" /></a></p>
<p>Type the path where this virtual machine should sit on the Hyper-V host. Since I don&#8217;t have a dedicated volume to place my virtual machines, I will use the system drive, but just for the sake of this example. Under any circumstances <strong><span style="color: #ff0000;">do NOT</span></strong>, I repeat <span style="color: #ff0000;"><strong>do NOT</strong></span> use the system volume for virtual machines storage on a production environment. If the path you choose here was not in the virtual machine paths on the VMM server you can check the box <strong>Add this path to the list of default virtual machine paths on the host</strong>, to add it.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi05LmdpZg==" rel=\"lightbox[1995]\" title=\"Select Path\"><img class="aligncenter size-medium wp-image-2005" title="Select Path" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-9-300x254.gif" alt="" width="300" height="254" /></a></p>
<p>Decide if you need network connection for the virtual machine, and if you do, select the adapter from the drop-down list.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi0xMC5naWY=" rel=\"lightbox[1995]\" title=\"Select Networks\"><img class="aligncenter size-medium wp-image-2006" title="Select Networks" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-10-300x253.gif" alt="" width="300" height="253" /></a></p>
<p>On the <strong>Additional Properties</strong> page, choose if you want the virtual machine to be automatically powered on when the Hyper-V host starts (after a power failure or restart), and what should happen with the virtual machines when the host shuts down, then select the edition of the operating system. Click <strong>Next</strong> when you&#8217;re done.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi0xMS5naWY=" rel=\"lightbox[1995]\" title=\"Additional Properties\"><img class="aligncenter size-medium wp-image-2007" title="Additional Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-11-300x254.gif" alt="" width="300" height="254" /></a></p>
<p>On the <strong>Summary</strong> screen we have the option to start the virtual machine after is created, and view the PowerShell script for all this actions. Click the <strong>Create</strong> button to start creating the virtual machine.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi0xMi5naWY=" rel=\"lightbox[1995]\" title=\"Summary\"><img class="aligncenter size-medium wp-image-2008" title="Summary" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-12-300x254.gif" alt="" width="300" height="254" /></a></p>
<p>The process will take just a few seconds,</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi0xMy5naWY=" rel=\"lightbox[1995]\" title=\"Create VM Process\"><img class="aligncenter size-medium wp-image-2009" title="Create VM Process" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-13-300x172.gif" alt="" width="300" height="172" /></a></p>
<p>and at the end we have a new virtual machine ready for installation. I will talk in a future post about virtual machines installations.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuVk1fLmluXy5TQ1ZNTV8uMjAwOC5SMi0xNC5naWY=" rel=\"lightbox[1995]\" title=\"New VM in VMM\"><img class="aligncenter size-medium wp-image-2010" title="New VM in VMM" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.VM_.in_.SCVMM_.2008.R2-14-300x172.gif" alt="" width="300" height="172" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1995" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/creating-virtual-machines-in-scvmm-2008-r2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSUS in a workgroup environment</title>
		<link>http://www.vkernel.ro/blog/wsus-in-a-workgroup-environment?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wsus-in-a-workgroup-environment</link>
		<comments>http://www.vkernel.ro/blog/wsus-in-a-workgroup-environment#comments</comments>
		<pubDate>Sun, 05 Feb 2012 17:10:25 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[WSUS]]></category>
		<category><![CDATA[Patching]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1971</guid>
		<description><![CDATA[There are situations when client computers are not part of a Windows domain, but you still have to patch those systems using WSUS. Now I bet you ask yourself how those clients get configured if no Active Directory environment is present. I will answer your question in this guide.
For this lab I  [...]]]></description>
			<content:encoded><![CDATA[<p>There are situations when client computers are not part of a Windows domain, but you still have to patch those systems using WSUS. Now I bet you ask yourself how those clients get configured if no Active Directory environment is present. I will answer your question in this guide.<span id="more-1971"></span></p>
<p>For this lab I prepared a WSUS server running on a Windows Server 2008 R2, and two clients, one is a Windows XP machine and the other one is a Windows 7 machine. I suppose you already have your WSUS installed, if not read <a title=\"Install WSUS 3.0 on Windows Server 2008 R2\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvaW5zdGFsbC13c3VzLTMtMC1vbi13aW5kb3dzLXNlcnZlci0yMDA4LXIy">this post</a> on how to install it. That specific post is about installing WSUS on a server that is part of a domain, but the same methods applies if you are installing WSUS on a server that is part of a workgroup. Now that our WSUS server is working, we need to take care of the clients, and there are two ways: editing the registry, or configure the local group policies. I&#8217;ll show you both in just a moment.</p>
<p>To begin go to the Windows XP client and click <strong>Start &gt; Run</strong>. Here type <strong>gpedit.msc</strong> and hit <strong>ENTER</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvV1NVUy5pbl8uV29ya2dyb3VwLTEuZ2lm" rel=\"lightbox[1971]\" title=\"Run Command\"><img class="aligncenter size-medium wp-image-1975" title="Run Command" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/WSUS.in_.Workgroup-1-300x154.gif" alt="" width="300" height="154" /></a></p>
<p>In the <strong>Group Policy Management Editor</strong> expand <strong>Computer Configuration &gt; Administrative Templates &gt; Windows Components &gt; Windows Update</strong>. As you can see in the <strong>Windows Update</strong> folder we have a bunch of GPO for the Windows Update configuration.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvV1NVUy5pbl8uV29ya2dyb3VwLTIuZ2lm" rel=\"lightbox[1971]\" title=\"Local GPOE\"><img class="aligncenter size-medium wp-image-1976" title="Local GPOE" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/WSUS.in_.Workgroup-2-300x197.gif" alt="" width="300" height="197" /></a></p>
<p>This part is very simple, just configure the policies to point this client to the WSUS server, and set the update check interval, as a minimal configuration.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvV1NVUy5pbl8uV29ya2dyb3VwLTMuZ2lm" rel=\"lightbox[1971]\" title=\"Update Policy\"><img class="alignnone size-medium wp-image-1977" title="Update Policy" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/WSUS.in_.Workgroup-3-270x300.gif" alt="" width="270" height="300" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvV1NVUy5pbl8uV29ya2dyb3VwLTQuZ2lm" rel=\"lightbox[1971]\" title=\"Update Policy\"><img class="alignnone size-medium wp-image-1978" title="Update Policy" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/WSUS.in_.Workgroup-4-270x300.gif" alt="" width="270" height="300" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvV1NVUy5pbl8uV29ya2dyb3VwLTUuZ2lm" rel=\"lightbox[1971]\" title=\"Update Policy\"><img class="size-medium wp-image-1979 aligncenter" title="Update Policy" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/WSUS.in_.Workgroup-5-270x300.gif" alt="" width="270" height="300" /></a></p>
<p>After you&#8217;re done with the GPO force the policies to apply by issuing the <strong>gpupdate /force</strong> command. Now open <strong>Automatic Updates</strong> from the client <strong>Control Panel</strong>, and take a look at the changes. As you can see everything is grayed out and configured accordingly to your policy settings.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvV1NVUy5pbl8uV29ya2dyb3VwLTYuZ2lm" rel=\"lightbox[1971]\" title=\"Windows Updates Configured using GPO\"><img class="size-medium wp-image-1980 aligncenter" title="Windows Updates Configured using GPO" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/WSUS.in_.Workgroup-6-275x300.gif" alt="" width="275" height="300" /></a></p>
<p>Force the client to check for updates by issuing the <strong>wuauclt /detectnow</strong> command. After a few moments the Windows XP machine should appear in the created computer group on the WSUS server. Do the same steps for the Windows 7 machine, but don&#8217;t forget to change the <strong>Enable client-side targeting</strong> policy, or your Windows 7 client will appear in the Windows XP computer group on the WSUS server. This applies only if you created and configured computer groups.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvV1NVUy5pbl8uV29ya2dyb3VwLTcuZ2lm" rel=\"lightbox[1971]\" title=\"Client Registered in WSUS Console\"><img class="alignnone size-medium wp-image-1981" title="Client Registered in WSUS Console" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/WSUS.in_.Workgroup-7-300x191.gif" alt="" width="300" height="191" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvV1NVUy5pbl8uV29ya2dyb3VwLTguZ2lm" rel=\"lightbox[1971]\" title=\"Client Registered in WSUS Console\"><img class="alignnone size-medium wp-image-1982" title="Client Registered in WSUS Console" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/WSUS.in_.Workgroup-8-300x191.gif" alt="" width="300" height="191" /></a></p>
<p>Now that we configured these two clients to get their updates from the WSUS server what about the rest of them ? Is a lot of work to go and configure the local group policies for every client. The solution is editing the registry using a script. Go to any one of these two clients and open the registry editor using <strong>Start &gt; Run </strong>type<strong> regedit </strong>then hit<strong> OK</strong>. Expand <strong>HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate</strong>. Here you can see all the settings we configured previous using the local group policy editor.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvV1NVUy5pbl8uV29ya2dyb3VwLTkuZ2lm" rel=\"lightbox[1971]\" title=\"Windows Update Registry Settings\"><img class="aligncenter size-medium wp-image-1983" title="Windows Update Registry Settings" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/WSUS.in_.Workgroup-9-300x185.gif" alt="" width="300" height="185" /></a></p>
<p>Click the <strong>Windows Update</strong> folder and from the <strong>File</strong> menu, choose <strong>Export </strong>and save the file on you local or network drive.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvV1NVUy5pbl8uV29ya2dyb3VwLTEwLmdpZg==" rel=\"lightbox[1971]\" title=\"Save Windows Update Registry Settings\"><img class="aligncenter size-medium wp-image-1984" title="Save Windows Update Registry Settings" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/WSUS.in_.Workgroup-10-300x185.gif" alt="" width="300" height="185" /></a></p>
<p>Now, all you have to do is go to every client in your network and double-click this registry file to import the settings.</p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1971" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/wsus-in-a-workgroup-environment/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replacing VMware ESX server default (self signed) certificate</title>
		<link>http://www.vkernel.ro/blog/replacing-vmware-esx-server-default-self-signed-certificate?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=replacing-vmware-esx-server-default-self-signed-certificate</link>
		<comments>http://www.vkernel.ro/blog/replacing-vmware-esx-server-default-self-signed-certificate#comments</comments>
		<pubDate>Sun, 05 Feb 2012 12:31:06 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMware ESX/ESXi]]></category>
		<category><![CDATA[ESXi Server]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1886</guid>
		<description><![CDATA[I bet you got tired of those annoying certificate messages every time you connect to your ESX/ESXi servers. And is not just about the messages, is more about trusting the host, you or your users connect to. There are situations when you need to have a proper and a trusted certificate on you  [...]]]></description>
			<content:encoded><![CDATA[<p>I bet you got tired of those annoying certificate messages every time you connect to your ESX/ESXi servers. And is not just about the messages, is more about trusting the host, you or your users connect to. There are situations when you need to have a proper and a trusted certificate on you ESX/ESXi hosts, and in this guide I&#8217;m going to show you how to replace the default (self signed) certificate with a proper one.<span id="more-1886"></span></p>
<p>The certificate is going to be issued by a Microsoft Windows Internal CA running on Windows Server 2008 R2. I also have a Windows 7 host joined to the domain, on which I installed the VMware vSphere Client to connect to my ESXi 5 server. If you don&#8217;t have an ESXi 5 host available for testing you can use ESX 4.0 or 4.1, and it will work just fine. There is no vCenter server present on this lab configuration, so the connection is made directly to the ESXi host. Now like I said we need to get rid of this messages:</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVwbGFjZS5FU1gtRVNYaS5EZWZhdWx0LkNlcnRpZmNhdGUtMS5naWY=" rel=\"lightbox[1886]\" title=\"Certificate Error\"><img class="alignnone size-medium wp-image-1950" title="Certificate Error" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Replace.ESX-ESXi.Default.Certifcate-1-300x156.gif" alt="" width="300" height="156" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVwbGFjZS5FU1gtRVNYaS5EZWZhdWx0LkNlcnRpZmNhdGUtMi5naWY=" rel=\"lightbox[1886]\" title=\"Certificate Error\"><img class="alignnone size-medium wp-image-1951" title="Certificate Error" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Replace.ESX-ESXi.Default.Certifcate-2-300x162.gif" alt="" width="300" height="162" /></a></p>
<p>and for this the certificate needs to be trusted; issued by a trusted CA. To get started first you need to <a title=\"Download Win32 OpenSSL\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zbHByb3dlYi5jb20vcHJvZHVjdHMvV2luMzJPcGVuU1NMLmh0bWw=" target=\"_blank\">download</a> and install OpenSSL on you Windows 7 machine, then create the request. For this example I will create a SAN certificate, so I can use it on multiple hosts and connect to them using either the FQDN or the NetBIOS name of the server. A detailed post on how to request normal certificates and certificates with a SAN attribute can be found <a title=\"Configure Internal Windows CA to issue SAN certificates\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvY29uZmlndXJlLWludGVybmFsLXdpbmRvd3MtY2EtdG8taXNzdWUtc2FuLWNlcnRpZmljYXRlcw==">here</a>, so go read it then come back. I presume you finished with the installation of OpenSSL, so let&#8217;s create the request by issuing the following commands, one by one:</p>
<pre class="brush: shell; gutter: true">C:\OpenSSL-Win64\bin\openssl genrsa 2048 &gt; rui.key
C:\OpenSSL-Win64\bin\openssl req ‐new ‐key rui.key &gt; rui.csr</pre>
<p>Complete the required information and make sure on the Common Name you type the FQDN of you ESX/ESXi host. In my example here I typed a descriptive name of the certificate because all the names are in the SAN attribute of the certificate.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVwbGFjZS5FU1gtRVNYaS5EZWZhdWx0LkNlcnRpZmNhdGUtMy5naWY=" rel=\"lightbox[1886]\" title=\"Create Certificate Request\"><img class="aligncenter size-medium wp-image-1952" title="Create Certificate Request" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Replace.ESX-ESXi.Default.Certifcate-3-300x142.gif" alt="" width="300" height="142" /></a></p>
<p>Now from your OpenSSL bin directory open with notepad or any other editor the <strong>rui.csr</strong> file and copy the request to your clipboard; be sure not to modify it in any way. Now open your Microsoft CA web page and choose <strong>Request a certificate &gt; advanced certificate request &gt; Submit a certificate request by using a base-64-encoded</strong>&#8230; then paste the content from you clipboard in the <strong>Saved Request</strong> box and choose <strong>Web Server</strong> from the <strong>Certificate Template</strong>. Click the <strong>Submit</strong> button, then <strong>YES</strong> on the warning message.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVwbGFjZS5FU1gtRVNYaS5EZWZhdWx0LkNlcnRpZmNhdGUtNC5naWY=" rel=\"lightbox[1886]\" title=\"Certificate Request\"><img class="aligncenter size-medium wp-image-1953" title="Certificate Request" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Replace.ESX-ESXi.Default.Certifcate-4-300x192.gif" alt="" width="300" height="192" /></a></p>
<p>The certificate was issued. Check the <strong>Base 64 encoded</strong> radio button and download the certificate to the <strong>bin</strong> directory of OpenSSL.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVwbGFjZS5FU1gtRVNYaS5EZWZhdWx0LkNlcnRpZmNhdGUtNS5naWY=" rel=\"lightbox[1886]\" title=\"Save Certificate Request\"><img class="aligncenter size-medium wp-image-1954" title="Save Certificate Request" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Replace.ESX-ESXi.Default.Certifcate-5-300x186.gif" alt="" width="300" height="186" /></a></p>
<p>We now need to change the format of the certificate so the ESXi host can recognize it. For this issue the following command:</p>
<pre class="brush: shell; gutter: false">openssl x509 ‐in ESXi.Certificate.cer ‐out rui.crt</pre>
<p>where <strong>ESXi.Certificate.cer</strong> is the certificate issued by the Windows Internal CA, the one we just download it.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVwbGFjZS5FU1gtRVNYaS5EZWZhdWx0LkNlcnRpZmNhdGUtNi5naWY=" rel=\"lightbox[1886]\" title=\"Change Certificate Format\"><img class="aligncenter size-medium wp-image-1955" title="Change Certificate Format" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Replace.ESX-ESXi.Default.Certifcate-6-300x78.gif" alt="" width="300" height="78" /></a></p>
<p>The next step is to upload the certificate and the private key (<strong>rui.crt</strong> and <strong>rui.key</strong>) to our ESXi host, and for this we will use <a title=\"Download WinSCP\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3dpbnNjcC5uZXQvZW5nL2Rvd25sb2FkLnBocA==" target=\"_blank\">WinSCP</a>.</p>
<blockquote><p>For you to be able to connect to the ESX/ESXi host using WinSCP, the SSH server service need to be enabled on the host, and port 22 opened.</p></blockquote>
<p>Now follow the path <strong>etc/vmware/ssl</strong> and you should be able to see the self signed certificate of the ESXi host. Make a backup, then copy our certificate and private key in this directory, replacing the default ones. Reboot the ESXi host.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVwbGFjZS5FU1gtRVNYaS5EZWZhdWx0LkNlcnRpZmNhdGUtNy5naWY=" rel=\"lightbox[1886]\" title=\"Replace Default ESXi Certificate\"><img class="aligncenter size-medium wp-image-1956" title="Replace Default ESXi Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Replace.ESX-ESXi.Default.Certifcate-7-300x174.gif" alt="" width="300" height="174" /></a></p>
<p>After the server is back online connect to it using the VMware vSphere Client. The certificate error should not appear any more. Now let&#8217;s try using a browser and connect to our ESXi host. As you can see the connection is now trusted.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVwbGFjZS5FU1gtRVNYaS5EZWZhdWx0LkNlcnRpZmNhdGUtOC5naWY=" rel=\"lightbox[1886]\" title=\"Trusted Connection\"><img class="aligncenter size-medium wp-image-1957" title="Trusted Connection" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Replace.ESX-ESXi.Default.Certifcate-8-300x192.gif" alt="" width="300" height="192" /></a></p>
<p>And here is my certificate with that &#8220;fancy&#8221; name <img title="Laughing" src="http://www.vkernel.ro/blog/wp-content/plugins/ultimate-tinymce/emotions/img/smiley-laughing.gif" alt="Laughing" border="0" />. On the SAN attribute you can see that I have multiple FQDN and NetBIOS names, so I&#8217;m able to use this certificate on multiple servers without requesting so many certificates, and connect to those servers using either the NetBIOS or the FQDN.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVwbGFjZS5FU1gtRVNYaS5EZWZhdWx0LkNlcnRpZmNhdGUtOS5naWY=" rel=\"lightbox[1886]\" title=\"Trusted Certificate\"><img class="alignnone size-medium wp-image-1958" title="Trusted Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Replace.ESX-ESXi.Default.Certifcate-9-241x300.gif" alt="" width="241" height="300" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvUmVwbGFjZS5FU1gtRVNYaS5EZWZhdWx0LkNlcnRpZmNhdGUtMTAuZ2lm" rel=\"lightbox[1886]\" title=\"Trusted Certificate\"><img class="alignnone size-medium wp-image-1959" title="Trusted Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Replace.ESX-ESXi.Default.Certifcate-10-241x300.gif" alt="" width="241" height="300" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1886" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/replacing-vmware-esx-server-default-self-signed-certificate/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an additional domain controller in an existing domain</title>
		<link>http://www.vkernel.ro/blog/creating-an-additional-domain-controller-in-an-existing-domain?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-an-additional-domain-controller-in-an-existing-domain</link>
		<comments>http://www.vkernel.ro/blog/creating-an-additional-domain-controller-in-an-existing-domain#comments</comments>
		<pubDate>Sat, 04 Feb 2012 20:07:54 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows Domains]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1901</guid>
		<description><![CDATA[Your environment is growing so you need to think about availability for your domain controller. You might think, what the heck, I&#8217;ll just restore it from backup if my domain controller fails; and you are right, but until you restore it, your users won&#8217;t be happy at all. To prevent this kind of  [...]]]></description>
			<content:encoded><![CDATA[<p>Your environment is growing so you need to think about availability for your domain controller. You might think, what the heck, I&#8217;ll just restore it from backup if my domain controller fails; and you are right, but until you restore it, your users won&#8217;t be happy at all. To prevent this kind of situations additional domain controllers are needed, so if one fails others takes the charge. Another reason why you need to have multiple domain controllers is for load balancing the traffic for the domain, and improve the reliability of network services.<span id="more-1901"></span></p>
<p>For this guide I have a Windows Server 2008 R2 Enterprise as a domain controller and DNS server for the forest/domain. We will add to this domain an additional domain controller also running Windows Server 2008 R2 Enterprise. I presume that your DNS and Active Directory infrastructure is working well, and no problems exist in the environment. Before we begin, the network adapter for the second server needs to be configured with a static IP address. On the <strong>Preferred DNS server</strong> box type the IP address of the domain controller, then click <strong>OK</strong> to save the changes.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xLmdpZg==" rel=\"lightbox[1901]\" title=\"Configure IP Settings on Second Server\"><img class="aligncenter size-medium wp-image-1910" title="Configure IP Settings on Second Server" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-1-270x300.gif" alt="" width="270" height="300" /></a></p>
<p>Now go to <strong>Start &gt; Run</strong> and issue the <strong>dcpromo</strong> (Domain Controller Promotion) command.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0yLmdpZg==" rel=\"lightbox[1901]\" title=\"Running dcpromo command\"><img class="aligncenter size-medium wp-image-1911" title="Running dcpromo command" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-2-300x159.gif" alt="" width="300" height="159" /></a></p>
<p>Some Active Directory binaries need to be installed on the system before the Active Directory wizard will pop-up.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0zLmdpZg==" rel=\"lightbox[1901]\" title=\"Installing binaries\"><img class="aligncenter size-medium wp-image-1912" title="Installing binaries" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-3-300x81.gif" alt="" width="300" height="81" /></a></p>
<p>On the <strong>Welcome</strong> screen leave the <strong>Use advanced mode installation</strong> option unchecked, because this is for advanced stuff that we don&#8217;t need right now.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi00LmdpZg==" rel=\"lightbox[1901]\" title=\"ADDS Welcome Screen\"><img class="aligncenter size-medium wp-image-1913" title="ADDS Welcome Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-4-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>The compatibility screen is for those that are still using NT or other non-Microsoft clients, but is not our case since we have only 2008 R2 operating systems.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi01LmdpZg==" rel=\"lightbox[1901]\" title=\"OS Compatibility\"><img class="aligncenter size-medium wp-image-1914" title="OS Compatibility" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-5-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>Choose <strong>Existing Forest</strong> then <strong>Add a domain controller to an existing domain</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi02LmdpZg==" rel=\"lightbox[1901]\" title=\"Deployment Configuration\"><img class="aligncenter size-medium wp-image-1915" title="Deployment Configuration" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-6-300x284.gif" alt="" width="300" height="284" /></a></p>
<p>Here type the domain name where you plan to install this domain controller, then set the credentials to connect to that specific domain. You need to use a Domain Admin account for this operation to succeed.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi03LmdpZg==" rel=\"lightbox[1901]\" title=\"Network Credentials\"><img class="aligncenter size-medium wp-image-1916" title="Network Credentials" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-7-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>Now the domain we just typed is verified and displayed on the <strong>Select a Domain</strong> page. Click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi04LmdpZg==" rel=\"lightbox[1901]\" title=\"Select a Domain\"><img class="aligncenter size-medium wp-image-1917" title="Select a Domain" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-8-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>If you have more sites in your environment, select the one that corresponds to this domain then click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi05LmdpZg==" rel=\"lightbox[1901]\" title=\"Select a Site\"><img class="aligncenter size-medium wp-image-1918" title="Select a Site" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-9-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>Now you have the option to install the DNS service on this server and make it a global catalog. In my environment I can&#8217;t install this server as a RODC because my forest functional level is still in mixed mode (Windows 2000 compatible). No stress, if I decide later to install a RODC all I have to do is raise the forest functional level to 2003 mode. Leave the defaults and continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xMC5naWY=" rel=\"lightbox[1901]\" title=\"Additional Domain Controller Options\"><img class="aligncenter size-medium wp-image-1919" title="Additional Domain Controller Options" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-10-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>If you get the following warning screen, don&#8217;t worry, just click <strong>YES</strong> and continue. This warning appears because the server is not part of the domain, and the wizard can&#8217;t create a delegation for this DNS server in the parent zone. During the domain controller promotion this will be fixed.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xMS5naWY=" rel=\"lightbox[1901]\" title=\"DNS Zone Warning\"><img class="aligncenter size-medium wp-image-1920" title="DNS Zone Warning" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-11-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>Here you have the option to change the path of the Active Directory database and log files, but I&#8217;m going with the defaults.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xMi5naWY=" rel=\"lightbox[1901]\" title=\"AD Database an Log Files Path\"><img class="aligncenter size-medium wp-image-1921" title="AD Database an Log Files Path" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-12-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>Type a strong password for the <strong>Active Directory Restore Mode</strong> and continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xMy5naWY=" rel=\"lightbox[1901]\" title=\"AD Restore Mode Password\"><img class="aligncenter size-medium wp-image-1922" title="AD Restore Mode Password" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-13-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>On the <strong>Summary</strong> screen we have the option to export the settings that we just configured through this wizard; so if you need to deploy multiple domain controllers on your domains you can do it silently using this settings. Off course some changes are needed on the file, but you get the idea. Click the <strong>Next</strong> button to start the installation.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xNC5naWY=" rel=\"lightbox[1901]\" title=\"Summary Screen\"><img class="aligncenter size-medium wp-image-1923" title="Summary Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-14-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>Now the wizard is installing the necessary services, and is setting the correct permissions for this domain controller.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xNS5naWY=" rel=\"lightbox[1901]\" title=\"Installing ADDS\"><img class="aligncenter size-medium wp-image-1924" title="Installing ADDS" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-15-300x283.gif" alt="" width="300" height="283" /></a></p>
<p>After restart you can log in with your domain admin account.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xNi5naWY=" rel=\"lightbox[1901]\" title=\"Log on Screen\"><img class="aligncenter size-medium wp-image-1925" title="Log on Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-16-300x172.gif" alt="" width="300" height="172" /></a></p>
<p>Now in the <strong>Active Directory Users and Computers</strong> you can see two domain controllers,</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xNy5naWY=" rel=\"lightbox[1901]\" title=\"Domain Controllers in the Domain\"><img class="aligncenter size-medium wp-image-1926" title="Domain Controllers in the Domain" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-17-300x186.gif" alt="" width="300" height="186" /></a></p>
<p>and in the DNS zone a proper entry was created for the server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xOC5naWY=" rel=\"lightbox[1901]\" title=\"Second DC entry in DNS\"><img class="aligncenter size-medium wp-image-1927" title="Second DC entry in DNS" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-18-300x178.gif" alt="" width="300" height="178" /></a></p>
<p>If we take a look at the <strong>Name Servers</strong> tab, we can see that both domain controllers are listed here acting as DNS servers for the domain.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDIvQ3JlYXRpbmcuQWRkaXRpb25hbC5EQ18uaW5fLkV4aXN0aW5nLkRvbWFpbi0xOS5naWY=" rel=\"lightbox[1901]\" title=\"Name Serves in the Domain\"><img class="aligncenter size-medium wp-image-1928" title="Name Serves in the Domain" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/02/Creating.Additional.DC_.in_.Existing.Domain-19-250x300.gif" alt="" width="250" height="300" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1901" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/creating-an-additional-domain-controller-in-an-existing-domain/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In-place upgrade from VMware ESX 4.1 to ESXi 5</title>
		<link>http://www.vkernel.ro/blog/in-place-upgrade-from-vmware-esx-4-1-to-esxi-5?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=in-place-upgrade-from-vmware-esx-4-1-to-esxi-5</link>
		<comments>http://www.vkernel.ro/blog/in-place-upgrade-from-vmware-esx-4-1-to-esxi-5#comments</comments>
		<pubDate>Sat, 28 Jan 2012 12:43:04 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMware ESX/ESXi]]></category>
		<category><![CDATA[ESXi Server]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1851</guid>
		<description><![CDATA[For those small businesses that don&#8217;t afford buying VMware vCenter and want to upgrade from ESX 4.1 to ESXi 5, an in-place upgrade is the only way to go. In this guide I&#8217;m going to show you the steps involved in the upgrade process. For this lab I have an ESX 4.1 server with some virtual machines  [...]]]></description>
			<content:encoded><![CDATA[<p>For those small businesses that don&#8217;t afford buying VMware vCenter and want to upgrade from ESX 4.1 to ESXi 5, an in-place upgrade is the only way to go. In this guide I&#8217;m going to show you the steps involved in the upgrade process. For this lab I have an ESX 4.1 server with some virtual machines located on the local datastore, so no iSCSI or Fiber Channel Storage is connected to the server. Even if they were connected the process will be the same.<span id="more-1851"></span></p>
<p>To give you an idea of how my ESX 4.1 server looks, I attached a picture. After the upgrade process every virtual machine, pool, settings should be the same.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS0xLmdpZg==" rel=\"lightbox[1851]\" title=\"ESX 4.1\"><img class="aligncenter size-medium wp-image-1871" title="ESX 4.1" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-1-300x188.gif" alt="" width="300" height="188" /></a></p>
<blockquote><p>Before you start the upgrade process <span style="color: #ff0000;">backup your virtual machines</span>, just in case something goes wrong.</p></blockquote>
<p>Now we can start the upgrade process, so reboot or power on the server and boot from the ESXi 5 installation media.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS0yLmdpZg==" rel=\"lightbox[1851]\" title=\"ESXi 5 Boot Menu\"><img class="aligncenter size-medium wp-image-1857" title="ESXi 5 Boot Menu" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-2-300x166.gif" alt="" width="300" height="166" /></a></p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS0zLmdpZg==" rel=\"lightbox[1851]\" title=\"ESXi 5 Installer\"><img class="alignnone size-medium wp-image-1858" title="ESXi 5 Installer" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-3-300x225.gif" alt="" width="300" height="225" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS00LmdpZg==" rel=\"lightbox[1851]\" title=\"ESXi 5 Installer\"><img class="alignnone size-medium wp-image-1859" title="ESXi 5 Installer" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-4-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>The first screen is telling us to check the hardware compatibility guide to see if ESXi 5 is supported on this server. To see if your hardware is compatible with this version of ESX server <a title=\"VMware Compatibility Guide\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52bXdhcmUuY29tL3Jlc291cmNlcy9jb21wYXRpYmlsaXR5L3NlYXJjaC5waHA/cmN0PWomYW1wO3E9JmFtcDtlc3JjPXMmYW1wO3NvdXJjZT13ZWImYW1wO2NkPTEmYW1wO3ZlZD0wQ0NVUUZqQUEmYW1wO3VybD1odHRwOi8vd3d3LnZtd2FyZS5jb20vZ28vaGNsJmFtcDtlaT1QdUVqVDZtSU04UE8tUWFscGJUZkNBJmFtcDt1c2c9QUZRakNORVh1SDNIMUJOSUxmbTdBTW9CTk8walFYaFQtZw==" target=\"_blank\">click here</a>. Now press <strong>ENTER</strong> to continue.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS01LmdpZg==" rel=\"lightbox[1851]\" title=\"ESXi 5 Welcome Screen\"><img class="aligncenter size-medium wp-image-1860" title="ESXi 5 Welcome Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-5-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Read and accept the <strong>EULA</strong> then continue by pressing <strong>F11</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS02LmdpZg==" rel=\"lightbox[1851]\" title=\"EULA\"><img class="aligncenter size-medium wp-image-1861" title="EULA" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-6-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>The installer will scan the hardware for a few seconds, then will display the storage devices present (recognized) on the server. If you have more than one drive connected choose the one where ESX 4.1 is installed, then press <strong>ENTER</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS03LmdpZg==" rel=\"lightbox[1851]\" title=\"Storage Devices\"><img class="aligncenter size-medium wp-image-1862" title="Storage Devices" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-7-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>This one is a very important screen. If you make the wrong decision here you can erase your old ESX server and your VMFS datastore.</p>
<p><strong>Migrate ESX, preserve VMFS datastore</strong> &#8211; will upgrade the version of ESX server, and all our virtual machines and settings will be preserved.</p>
<p><strong>Install ESXi, preserve VMFS datastore</strong> &#8211; will erase the old ESX server, and it will preserve the virtual machines but not the server settings. After the upgrade is finished you have to add all your virtual machines to the inventory, by hand or by using a script (PowerCLI).</p>
<p><strong>Install ESXi, overwrite VMFS datastore</strong> &#8211; will erase everything and install ESXi 5.</p>
<p>For our example here, choose the first option and press <strong>ENTER</strong> to continue.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS05LmdpZg==" rel=\"lightbox[1851]\" title=\"Migrate Options\"><img class="aligncenter size-medium wp-image-1864" title="Migrate Options" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-9-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>On the confirmation screen press <strong>F11</strong>.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS0xMC5naWY=" rel=\"lightbox[1851]\" title=\"Confirm Migrate\"><img class="aligncenter size-medium wp-image-1865" title="Confirm Migrate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-10-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>The installer starts the upgrade process, which will take a few minutes.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS0xMS5naWY=" rel=\"lightbox[1851]\" title=\"Migrating to ESXi 5\"><img class="aligncenter size-medium wp-image-1866" title="Migrating to ESXi 5" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-11-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>After is done, you need to press <strong>ENTER</strong> to reboot the server.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS0xMi5naWY=" rel=\"lightbox[1851]\" title=\"Reboot the Server\"><img class="aligncenter size-medium wp-image-1867" title="Reboot the Server" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-12-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>And here is our new ESXi 5 host, successfully upgraded,</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS0xMy5naWY=" rel=\"lightbox[1851]\" title=\"ESXi 5 Screen\"><img class="aligncenter size-medium wp-image-1868" title="ESXi 5 Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-13-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>with our virtual machines and settings preserved.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW4tUGxhY2UuVXBncmFkZS5Gcm9tXy5FU1hfLjQuMS50b18uRVNYaV8uNS0xNC5naWY=" rel=\"lightbox[1851]\" title=\"ESXi 5 Upgraded\"><img class="aligncenter size-medium wp-image-1872" title="ESXi 5 Upgraded" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/In-Place.Upgrade.From_.ESX_.4.1.to_.ESXi_.5-14-300x188.gif" alt="" width="300" height="188" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1851" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/in-place-upgrade-from-vmware-esx-4-1-to-esxi-5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Windows 2008 R2 Server Core</title>
		<link>http://www.vkernel.ro/blog/installing-windows-2008-r2-server-core?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-windows-2008-r2-server-core</link>
		<comments>http://www.vkernel.ro/blog/installing-windows-2008-r2-server-core#comments</comments>
		<pubDate>Thu, 26 Jan 2012 18:00:22 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1826</guid>
		<description><![CDATA[If you&#8217;re reading this post, it means you already know what Windows Server Core is, so I don&#8217;t need to tell you is a Microsoft operating system without a graphical user interface. After installation all you have is a terminal console, so bye-bye Start Menu and Control Panel. I think is a great  [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re reading this post, it means you already know what Windows Server Core is, so I don&#8217;t need to tell you is a Microsoft operating system without a graphical user interface. After installation all you have is a terminal console, so bye-bye Start Menu and Control Panel. I think is a great operating system which offers better security, small footprint, and low resource consumption. Not only you can use it as additional domain controller, web server, file server for your network but is also a perfect candidate for branch offices and Hyper-V hosts.<span id="more-1826"></span> Now that you have a bit of understanding about Server Core, I think is time to start the installation, so put your Windows Server 2008 R2 disc into your DVD drive, or mount the ISO if you are in a virtual environment. The loading files screen should appear on your monitor.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi0xLmdpZg==" rel=\"lightbox[1826]\" title=\"Windows Loading Screen\"><img class="aligncenter size-medium wp-image-1827" title="Windows Loading Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-1-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>At the installation page wizard choose your language, time format and keyboard input, then click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi0yLmdpZg==" rel=\"lightbox[1826]\" title=\"Windows Installation\"><img class="aligncenter size-medium wp-image-1828" title="Windows Installation" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-2-300x223.gif" alt="" width="300" height="223" /></a></p>
<p>Here click <strong>Install now</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi0zLmdpZg==" rel=\"lightbox[1826]\" title=\"Windows Installation\"><img class="aligncenter size-medium wp-image-1829" title="Windows Installation" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-3-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>Select <strong>Server Core Installation</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi00LmdpZg==" rel=\"lightbox[1826]\" title=\"Select Operating System\"><img class="aligncenter size-medium wp-image-1830" title="Select Operating System" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-4-300x224.gif" alt="" width="300" height="224" /></a></p>
<p>Read and accept the <strong>EULA</strong> then click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi01LmdpZg==" rel=\"lightbox[1826]\" title=\"EULA\"><img class="aligncenter size-medium wp-image-1831" title="EULA" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-5-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Because this is a fresh installation on a new server we have nothing to upgrade from, so click <strong>Custom (advanced) </strong>to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi02LmdpZg==" rel=\"lightbox[1826]\" title=\"Custom Installation\"><img class="aligncenter size-medium wp-image-1832" title="Custom Installation" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-6-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Create your partitions and select the one for the operating system installation. Since I have a small hard drive I will use all the available space for the operating system. Click <strong>Next</strong> to start the installation process.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi03LmdpZg==" rel=\"lightbox[1826]\" title=\"Drive Partitioning\"><img class="aligncenter size-medium wp-image-1833" title="Drive Partitioning" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-7-300x224.gif" alt="" width="300" height="224" /></a></p>
<p>Now the wizard starts copying the necessary files for the installation, but don&#8217;t go too far because in a few minutes it will finish.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi04LmdpZg==" rel=\"lightbox[1826]\" title=\"Installing System\"><img class="aligncenter size-medium wp-image-1834" title="Installing System" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-8-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Click <strong>OK</strong> and provide a complex password.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi05LmdpZg==" rel=\"lightbox[1826]\" title=\"Change System Password\"><img class="alignnone size-medium wp-image-1835" title="Change System Password" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-9-300x225.gif" alt="" width="300" height="225" /></a>    <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi0xMC5naWY=" rel=\"lightbox[1826]\" title=\"Change System Password\"><img class="alignnone size-medium wp-image-1836" title="Change System Password" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-10-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>We now have completed the system installation. As you can see there is no Start Menu, and all you have is a terminal console. In future posts I will show you to configure this 2008 R2 Core Server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbGluZy5TZXJ2ZXIuQ29yZV8uMjAwOC5SMi0xMS5naWY=" rel=\"lightbox[1826]\" title=\"Windows Core Console\"><img class="aligncenter size-medium wp-image-1837" title="Windows Core Console" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Installing.Server.Core_.2008.R2-11-300x225.gif" alt="" width="300" height="225" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1826" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/installing-windows-2008-r2-server-core/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clone virtual machines in Hyper-V</title>
		<link>http://www.vkernel.ro/blog/clone-virtual-machines-in-hyper-v?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=clone-virtual-machines-in-hyper-v</link>
		<comments>http://www.vkernel.ro/blog/clone-virtual-machines-in-hyper-v#comments</comments>
		<pubDate>Wed, 25 Jan 2012 18:00:58 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1685</guid>
		<description><![CDATA[As you know Hyper-V does not have an option to clone virtual machines, except when you use SCVMM. Because of this many admins need to use tricks so they don&#8217;t have to install and configure a new virtual machine from scratch every time they need a copy of Windows 7, or any other operating system. In  [...]]]></description>
			<content:encoded><![CDATA[<p>As you know Hyper-V does not have an option to clone virtual machines, except when you use SCVMM. Because of this many admins need to use tricks so they don&#8217;t have to install and configure a new virtual machine from scratch every time they need a copy of Windows 7, or any other operating system. In this guide I&#8217;m going to show you two of the most popular ones, and they free. For this lab I have a Hyper-V server running on Windows Server 2008 R2 SP1, and a Windows 7 machine (reference machine) for cloning called <strong>Windows.7.Enterprise</strong>.<span id="more-1685"></span></p>
<p>In this first example is important that the virtual machine should not have snapshots. The reference virtual machine (Windows.7.Enterprise) is located on the Hyper-V host C: drive, in a folder called <strong>HV-Machines</strong>. Inside HV-Machines folder create another folder and give it a distinctive name, so you can recognize it. I called mine <strong>Windows 7 Clone</strong>. Now copy the virtual disk (the *.vhd file) from the <strong>Windows.7.Enterprise</strong> machine to the <strong>Windows 7 Clone</strong> folder. If you want to, you can rename the copied virtual disk after the folder name, but is not necessary, is just that I like to have the virtual disk files named after the virtual machine that I will create.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTIuZ2lm" rel=\"lightbox[1685]\" title=\"Copy Reference Virtual Disk\"><img class="size-medium wp-image-1781 alignnone" title="Copy Reference Virtual Disk" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-2-300x188.gif" alt="" width="300" height="188" /> </a>    <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTMuZ2lm" rel=\"lightbox[1685]\" title=\"Reference Virtual Disk Copied&amp;Renamed\"><img class="alignnone size-medium wp-image-1782" title="Reference Virtual Disk Copied&amp;Renamed" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-3-300x188.gif" alt="" width="300" height="188" /></a></p>
<p>Open Hyper-V manager and create a new virtual machine from the <strong>Actions</strong> pane. Give the virtual machine a name, and I recommend you name the virtual machine after the folder we just created &#8220;Windows 7 Clone&#8221;. It will be much easier when troubleshooting. Now choose to store the virtual machine in the folder &#8220;Windows 7 Clone&#8221;. This is only if you want to have the configuration files and the virtual disk in the same folder.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTQuZ2lm" rel=\"lightbox[1685]\" title=\"Virtual Machine Name and Location\"><img class="aligncenter size-medium wp-image-1783" title="Virtual Machine Name and Location" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-4-300x218.gif" alt="" width="300" height="218" /></a></p>
<p>Continue the wizard until you reach the <strong>Connect Virtual Hard Disk</strong> page. Here instead of creating a new virtual disk we will go with the second option and use an existing virtual disk. Click the <strong>Browse</strong> button and select the virtual disk we just copied in the &#8220;Windows 7 Clone&#8221; folder.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTUuZ2lm" rel=\"lightbox[1685]\" title=\"Connect Virtual Hard Disk\"><img class="aligncenter size-medium wp-image-1784" title="Connect Virtual Hard Disk" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-5-300x218.gif" alt="" width="300" height="218" /></a></p>
<p>Finish the wizard. Now we have an exact copy of the reference virtual machine. Don&#8217;t forget to change its name an IP address, if is a static one.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTYuZ2lm" rel=\"lightbox[1685]\" title=\"Cloned VM Running\"><img class="aligncenter size-medium wp-image-1785" title="Cloned VM Running" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-6-300x181.gif" alt="" width="300" height="181" /></a></p>
<p>In the second example we are going to use the Hyper-V export function to clone the virtual machine. Using this method you can have snapshots and still being able to clone the machine. To start click the reference virtual machine (Windows.7.Enterprise) in the Hyper-V console, then in the <strong>Actions</strong> pane click the <strong>Export</strong> link.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTcuZ2lm" rel=\"lightbox[1685]\" title=\"Export VM\"><img class="aligncenter size-medium wp-image-1805" title="Export VM" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-7-300x181.gif" alt="" width="300" height="181" /></a></p>
<p>On the <strong>Export Virtual Machine</strong> window click the <strong>Browse</strong> button and choose a place where to save this virtual machine, then click <strong>Export</strong> to start the process. Is going to take a while so be patient. When the export process is finished the <strong>Cancel export</strong> link in the <strong>Actions</strong> pane will disappear.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTguZ2lm" rel=\"lightbox[1685]\" title=\"Export VM Path\"><img class="aligncenter size-medium wp-image-1806" title="Export VM Path" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-8-300x92.gif" alt="" width="300" height="92" /></a></p>
<p>Back in Hyper-V manager console click the link <strong>Import Virtual Machine</strong> in the <strong>Actions</strong> pane.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTkuZ2lm" rel=\"lightbox[1685]\" title=\"Import VM\"><img class="aligncenter size-medium wp-image-1807" title="Import VM" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-9-204x300.gif" alt="" width="204" height="300" /></a></p>
<p>In the window that opens we have two radio buttons and a check box. The first radio button, <strong>Move or restore the virtual machine (use the existing unique ID)</strong> is going to import the virtual machine and preserve its ID&#8217;s. This option is used when importing to a different Hyper-V server. If you import a virtual machine, and on the same Hyper-V server that ID already exists you will get an error message, and the import process fails.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTEwLmdpZg==" rel=\"lightbox[1685]\" title=\"Import VM ID Error\"><img class="aligncenter size-medium wp-image-1808" title="Import VM ID Error" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-10-300x176.gif" alt="" width="300" height="176" /></a></p>
<p>The second radio button, <strong>Copy the virtual machine (create a new unique ID)</strong>, like the name implies, it will create a new ID for the virtual machine you are importing. This is used when you use the same Hyper-V host to export and import virtual machines, like in our case. The check box is there if you want to import the same virtual machine for more than one time, without going through the export process again. Since we are using the same Hyper-V host to import the virtual machine, and another one (the reference machine) exists with the same ID, select the second radio button. Now click <strong>Browse</strong> and select the exported virtual machine folder, then hit <strong>Import</strong>. I changed the folder name because this is how I&#8217;m going to call my virtual machine in the Hyper-V console.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTExLmdpZg==" rel=\"lightbox[1685]\" title=\"Import VM\"><img class="size-medium wp-image-1809 alignnone" title="Import VM" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-11-300x173.gif" alt="" width="300" height="173" /> </a>    <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTEyLmdpZg==" rel=\"lightbox[1685]\" title=\"Import VM\"><img class="size-medium wp-image-1810 alignnone" title="Import VM" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-12-300x176.gif" alt="" width="300" height="176" /></a></p>
<p>Looks like I have a warning message after the import process finished. This is because I forgot to unmount the Windows 7 ISO from the reference virtual machine before exporting. I&#8217;ll just ignore it and click <strong>Close</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTEzLmdpZg==" rel=\"lightbox[1685]\" title=\"Import Warning Message\"><img class="aligncenter size-medium wp-image-1811" title="Import Warning Message" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-13-300x176.gif" alt="" width="300" height="176" /></a></p>
<p>The last step is to rename the virtual machine in the Hyper-V console so we can distinguish it from the original one. Again don&#8217;t forget to change its name and IP address if is a static IP.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTE0LmdpZg==" rel=\"lightbox[1685]\" title=\"Rename VM\"><img class="alignnone size-medium wp-image-1812" title="Rename VM" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-14-300x176.gif" alt="" width="300" height="176" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ2xvbmUuVk1fLmluXy5IeXBlci1WLTE1LmdpZg==" rel=\"lightbox[1685]\" title=\"Cloned VM Running\"><img class="alignnone size-medium wp-image-1813" title="Cloned VM Running" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Clone.VM_.in_.Hyper-V-15-300x181.gif" alt="" width="300" height="181" /></a></p>
<p>That&#8217;s it folks, hope it was informative for you.</p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1685" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/clone-virtual-machines-in-hyper-v/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Internal Windows CA to issue SAN certificates</title>
		<link>http://www.vkernel.ro/blog/configure-internal-windows-ca-to-issue-san-certificates?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=configure-internal-windows-ca-to-issue-san-certificates</link>
		<comments>http://www.vkernel.ro/blog/configure-internal-windows-ca-to-issue-san-certificates#comments</comments>
		<pubDate>Tue, 24 Jan 2012 18:00:14 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1723</guid>
		<description><![CDATA[A lot of companies these days are using SAN (Subject Alternative Name) certificates because they can protect multiple domain names using a single certificate. For example you can protect both www.mydomain.com and www.mydomain.org. If you are in a small environment and can&#8217;t afford a SAN  [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of companies these days are using SAN (Subject Alternative Name) certificates because they can protect multiple domain names using a single certificate. For example you can protect both <em>www.mydomain.com</em> and <em>www.mydomain.org.</em> If you are in a small environment and can&#8217;t afford a SAN certificate, you can use your internal Windows CA to issue this kind of certificates.<span id="more-1723"></span></p>
<p>For this lab I&#8217;m going to use an Enterprise Windows CA running on Windows Server 2008 R2 SP1. If you don&#8217;t have a 2008 R2 box, you can use a Windows 2003 server edition. To be able to issue SAN certificates using our internal Windows CA we need to configure it first, so connect to the CA server and open a terminal. Here type the following command:</p>
<pre class="brush: shell; gutter: false">certutil -setreg policy\EditFlags +EDITF_ATTRIBUTESUBJECTALTNAME2</pre>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTEuZ2lm" rel=\"lightbox[1723]\" title=\"Configure CA Registry\"><img class="aligncenter size-medium wp-image-1732" title="Configure CA Registry" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-1-300x180.gif" alt="" width="300" height="180" /></a></p>
<p>Don&#8217;t close the terminal yet, because we need to restart the <strong>Active Directory Certificates Services</strong> service. Type the following command to restart the service:</p>
<pre class="brush: shell; gutter: false">net stop certsvc &amp; net start certsvc</pre>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTIuZ2lm" rel=\"lightbox[1723]\" title=\"Restart CA Services\"><img class="aligncenter size-medium wp-image-1733" title="Restart CA Services" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-2-300x56.gif" alt="" width="300" height="56" /></a></p>
<p>Our internal CA is now ready to issue certificates that contains the SAN extension. Let&#8217;s request some.</p>
<blockquote><p>For this exercise you need to configure your Internal CA web page to use an encrypted connection. Issue a WEB certificate from the internal CA, or create a self sign certificate, then bind the certificate to the web site.</p></blockquote>
<p>Open a browser on one of your clients, or even the localhost and type the CA server web address into your browser (eg: <em>https://MyInternalCA/certsrv</em>). On the <strong>Welcome</strong> page click <strong>Request a certificate</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTMuZ2lm" rel=\"lightbox[1723]\" title=\"Request Certificate\"><img class="aligncenter size-medium wp-image-1745" title="Request Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-3-300x191.gif" alt="" width="300" height="191" /></a></p>
<p>Click <strong>advanced certificate request</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTQuZ2lm" rel=\"lightbox[1723]\" title=\"Request Certificate\"><img class="aligncenter size-medium wp-image-1746" title="Request Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-4-300x191.gif" alt="" width="300" height="191" /></a></p>
<p>Click <strong>Request and submit a request to this CA</strong>.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTUuZ2lm" rel=\"lightbox[1723]\" title=\"Request Certificate\"><img class="aligncenter size-medium wp-image-1747" title="Request Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-5-300x191.gif" alt="" width="300" height="191" /></a></p>
<p>On the warning message click the <strong>OK</strong> button.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTYuZ2lm" rel=\"lightbox[1723]\" title=\"Request Certificate\"><img class="aligncenter size-medium wp-image-1737" title="Request Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-6-300x191.gif" alt="" width="300" height="191" /></a></p>
<p>On the <strong>Certificate Template</strong> box select <strong>Web Server</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTcuZ2lm" rel=\"lightbox[1723]\" title=\"Request Certificate\"><img class="aligncenter size-medium wp-image-1738" title="Request Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-7-300x210.gif" alt="" width="300" height="210" /></a></p>
<p>Now I want to show you something fancy. Usually in the <strong>Name</strong> box you would type the common name of the certificate, but this time we are not going to. Just type something like <em>SSL Certificate </em>or <em>My SSL Certificate</em>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTguZ2lm" rel=\"lightbox[1723]\" title=\"Request Certificate\"><img class="aligncenter size-medium wp-image-1739" title="Request Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-8-300x191.gif" alt="" width="300" height="191" /></a></p>
<p>Complete the rest of the boxes until you reach the <strong>Attributes</strong> box. Here we provide the domain names that this certificate should protect. The syntax is like this:</p>
<pre class="brush: shell; gutter: false">san:dns=mydomain.com&amp;dns=mydomain.org&amp;dns=mydomain.net</pre>
<p>If you want to, give the certificate a friendly name than click the <strong>Submit</strong> button. When the warning pops-up click <strong>Yes</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTkuZ2lm" rel=\"lightbox[1723]\" title=\"Request Certificate\"><img class="aligncenter size-medium wp-image-1740" title="Request Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-9-300x101.gif" alt="" width="300" height="101" /></a></p>
<p>To install the certificate click the link <strong>Install this certificate</strong>. Now if we open the user certificates store we can see our certificate installed, and with a SAN extension that contains the protected domain names. Just look at the <strong>Issued to</strong> section. I told you it will be fancy <img title="Laughing" src="http://www.vkernel.ro/blog/wp-content/plugins/ultimate-tinymce/emotions/img/smiley-laughing.gif" alt="Laughing" border="0" />.</p>
<blockquote><p>Remember, this &#8220;fancy&#8221; certificate is just for fun, you can use it with your internal CA, but not with a commercial CA, because it will cost you more since you pay for the domains in the SAN extension. Another problem with this &#8220;fancy&#8221; certificate is that some software will give you a certificate error message, not being able to recognize the SAN extension in the certificate (been there). If you have this problem just type the FQDN (common name) in the <strong>Name</strong> box on the CA web page when you request the certificate.</p></blockquote>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTEwLmdpZg==" rel=\"lightbox[1723]\" title=\"SAN Certificate\"><img class="alignnone size-medium wp-image-1741" title="SAN Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-10-241x300.gif" alt="" width="241" height="300" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTExLmdpZg==" rel=\"lightbox[1723]\" title=\"SAN Certificate\"><img class="alignnone size-medium wp-image-1742" title="SAN Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-11-241x300.gif" alt="" width="241" height="300" /></a></p>
<p>OK, we created a certificate by completing the information in the CA web page, but what about those of you that have the request in a file ! Don&#8217;t worry, this is next. For this part of the guide I created a certificate request using OpenSSL. You can download OpenSSL from <a title=\"OpenSSL fro Windows download\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zbHByb3dlYi5jb20vcHJvZHVjdHMvV2luMzJPcGVuU1NMLmh0bWw=" target=\"_blank\">this address</a>. To configure it for SAN extension we need to edit the <strong>openssl.cfg</strong> file from the bin directory.</p>
<p>Here uncomment <em>req_extensions = v3_req</em> line, then paste this:</p>
<pre class="brush: text; gutter: false">[ v3_req ]
 # Extensions to add to a certificate request
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
subjectAltName = @alt_names 

[alt_names]

DNS.1 = myfirstdomain.com
DNS.2 = www.myseconddomain.net.net
DNS.3 = myseconddomain.org</pre>
<p>Off course replace the domain names with your own. Now open a terminal and go to the OpenSSL bin directory path. Here type the following:</p>
<pre class="brush: shell; gutter: false">openssl genrsa 2048 &gt; rui.key

openssl req -new -key rui.key &gt; rui.csr</pre>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTEyLmdpZg==" rel=\"lightbox[1723]\" title=\"Generate Certificate Private Key\"><img class="aligncenter size-medium wp-image-1752" title="Generate Certificate Private Key" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-12-300x146.gif" alt="" width="300" height="146" /></a></p>
<p>Now in the bin folder there is a new file called <strong>rui.csr</strong>. Open the file using notepad or any other text editor, copy the content and go the CA web page. Click <strong>Request a certificate &gt; advanced certificate request &gt; </strong> <strong>Submit a certificate request by using a base-64-encoded&#8230;&#8217;</strong> and paste the content from the <strong>rui.csr</strong> file in the <strong>Saved Request</strong> box. Under <strong>Certificate Template</strong> select <strong>Web Server</strong> and click the <strong>Submit</strong> button.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTEzLmdpZg==" rel=\"lightbox[1723]\" title=\"Request Certificate\"><img class="aligncenter size-medium wp-image-1753" title="Request Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-13-300x191.gif" alt="" width="300" height="191" /></a></p>
<p>Click <strong>Download Certificate</strong> and save it somewhere on your hard drive, then open it. It should have a common name and a SAN extension. If you want the common name to be something &#8220;fancy&#8221; like before, on the OpenSSL line <strong>Common Name (eg, YOUR name) []:</strong> type your desired name.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTE0LmdpZg==" rel=\"lightbox[1723]\" title=\"SAN Certificate\"><img class="alignnone size-medium wp-image-1754" title="SAN Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-14-241x300.gif" alt="" width="241" height="300" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSXNzdWUuU0FOXy5DZXJ0Xy4yMDA4LlIyLTE1LmdpZg==" rel=\"lightbox[1723]\" title=\"SAN Certificate\"><img class="alignnone size-medium wp-image-1755" title="SAN Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Issue.SAN_.Cert_.2008.R2-15-241x300.gif" alt="" width="241" height="300" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1723" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/configure-internal-windows-ca-to-issue-san-certificates/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert VMware virtual machines to Hyper-V virtual machines</title>
		<link>http://www.vkernel.ro/blog/convert-vmware-virtual-machines-to-hyper-v-virtual-machines?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=convert-vmware-virtual-machines-to-hyper-v-virtual-machines</link>
		<comments>http://www.vkernel.ro/blog/convert-vmware-virtual-machines-to-hyper-v-virtual-machines#comments</comments>
		<pubDate>Sun, 22 Jan 2012 20:26:35 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[ESXi Server]]></category>
		<category><![CDATA[System Center]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1616</guid>
		<description><![CDATA[I know that some of you out there have mixed virtual environments using Hyper-V and VMware, and I also know that allot of times you need to convert virtual machines from one platform to another. In this guide I&#8217;m going to show you how to convert virtual machines from a VMware platform to a Hyper-V  [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I know that some of you out there have mixed virtual environments using Hyper-V and VMware, and I also know that allot of times you need to convert virtual machines from one platform to another. In this guide I&#8217;m going to show you how to convert virtual machines from a VMware platform to a Hyper-V platform using two products; one is free an the other one costs. The free one is called <a title=\"StarWind V2V Converter\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zdGFyd2luZHNvZnR3YXJlLmNvbS9jb252ZXJ0ZXI=" target=\"_blank\">StarWind V2V Image Converter</a>, and the paid one is <a title=\"Microsoft System Center Virtual Machine Manager 2008 R2\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL2VuLXVzL3NlcnZlci1jbG91ZC9zeXN0ZW0tY2VudGVyL3ZpcnR1YWwtbWFjaGluZS1tYW5hZ2VyLmFzcHg=" target=\"_blank\">Microsoft&#8217;s System Center Virtual Machine Manager</a> (SCVMM). The version of SCVMM I am using for this guide is 2008 R2 with SP1. <span id="more-1616"></span>There are allot of products out there for conversion but I am using this ones on my day to day work and had only a few problems.</p>
<p style="text-align: left;">As a first step I&#8217;m going to convert a VMware ESXi 5 virtual machine (a Windows XP machine, because is smaller) using the StarWind converter. This converter does not need the configuration files of the virtual machine, only the virtual hard disk. To start, you need to copy your virtual machine from the ESXi datastore to your local computer (your technician computer), then power up the StarWind converter.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xLmdpZg==" rel=\"lightbox[1616]\" title=\"Welcome Screen\"><img class="aligncenter size-medium wp-image-1627" title="Welcome Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-1-300x243.gif" alt="" width="300" height="243" /></a></p>
<p style="text-align: left;">Here choose the source virtual hard disk from our Windows XP machine; the .vmdk file.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0yLmdpZg==" rel=\"lightbox[1616]\" title=\"Source Image\"><img class="aligncenter size-medium wp-image-1628" title="Source Image" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-2-300x243.gif" alt="" width="300" height="243" /></a></p>
<p style="text-align: left;">In the <strong>Destination Image Format</strong> screen select <strong>MS Virtual PC growable image</strong>, but if you have a Hyper-V cluster or you just want the disk to have the space pre-allocated select <strong>MS Virtual PC pre-allocated image</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0zLmdpZg==" rel=\"lightbox[1616]\" title=\"Destination Image Format\"><img class="aligncenter size-medium wp-image-1629" title="Destination Image Format" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-3-300x243.gif" alt="" width="300" height="243" /></a></p>
<p style="text-align: left;">Choose where the destination file should be saved, then click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay00LmdpZg==" rel=\"lightbox[1616]\" title=\"Destination File\"><img class="aligncenter size-medium wp-image-1630" title="Destination File" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-4-300x243.gif" alt="" width="300" height="243" /></a></p>
<p style="text-align: left;">Now the tool starts converting the VMware image disk to the selected output format, witch is a Hyper-V virtual disk.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay01LmdpZg==" rel=\"lightbox[1616]\" title=\"Converting\"><img class="aligncenter size-medium wp-image-1631" title="Converting" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-5-300x243.gif" alt="" width="300" height="243" /></a></p>
<p style="text-align: left;">When is done, just click <strong>Finish</strong> to close the StarWind tool.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay02LmdpZg==" rel=\"lightbox[1616]\" title=\"Conversion Done\"><img class="aligncenter size-medium wp-image-1632" title="Conversion Done" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-6-300x243.gif" alt="" width="300" height="243" /></a></p>
<p style="text-align: left;">And now we have a Hyper-V virtual disk converted from a VMware virtual disk.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay03LmdpZg==" rel=\"lightbox[1616]\" title=\"Converted VHD File\"><img class="aligncenter size-medium wp-image-1633" title="Converted VHD File" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-7-300x188.gif" alt="" width="300" height="188" /></a></p>
<p style="text-align: left;">All you have to do, is create a new virtual machine in Hyper-V and choose <strong>Use an existing virtual disk</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay04LmdpZg==" rel=\"lightbox[1616]\" title=\"Connect Virtual Hard Disk\"><img class="aligncenter size-medium wp-image-1637" title="Connect Virtual Hard Disk" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-8-300x218.gif" alt="" width="300" height="218" /></a></p>
<p style="text-align: left;">We now have a converted VMware virtual machine running in Hyper-V.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay05LmdpZg==" rel=\"lightbox[1616]\" title=\"VM Running in Hyper-V\"><img class="aligncenter size-medium wp-image-1638" title="VM Running in Hyper-V" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-9-300x190.gif" alt="" width="300" height="190" /></a></p>
<p style="text-align: left;">As a second step I&#8217;m going to show you how to convert VMware virtual machines to Hyper-V format using SCVMM 2008 R2. You can convert a virtual machine with SCVMM using three methods:</p>
<p style="text-align: left;">- directly from an ESX server host, but for this you need to have a VMware Virtual Center to connect to</p>
<p style="text-align: left;">- from the VMM library</p>
<p style="text-align: left;">- from a Windows or NFS network share</p>
<blockquote>
<p style="text-align: left;">Before the conversion, you have to uninstall VMware Tools on the guest operating system of the virtual machine.</p>
</blockquote>
<p style="text-align: left;">Here is a table with the supported operating systems for V2V conversion in SCVMM 2008 R2.</p>
<table border="0" align="center">
<tbody>
<tr>
<td style="text-align: left;"><strong>Operating System</strong></td>
<td style="text-align: left;"><strong>VMM 2008 R2 </strong></td>
</tr>
<tr>
<td>Windows XP Professional with Service Pack 3 (SP3)</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows XP 64-Bit Edition SP3</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows Server 2003 Standard Edition (32-bit x86)</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows Server 2003 Enterprise Edition (32-bit x86)</td>
<td>Yes (Requires SP2 or later.)</td>
</tr>
<tr>
<td>Windows Server 2003 Datacenter Edition (32-bit x86)</td>
<td>Yes (Requires SP2 or later.)</td>
</tr>
<tr>
<td>Windows Server 2003 x64 Standard Edition</td>
<td>Yes (Requires SP2 or later.)</td>
</tr>
<tr>
<td>Windows Server 2003 Enterprise x64 Edition</td>
<td>Yes (Requires SP2 or later.)</td>
</tr>
<tr>
<td>Windows Server 2003 Datacenter x64 Edition</td>
<td>Yes (Requires SP2 or later.)</td>
</tr>
<tr>
<td>Windows Server 2003 Web Edition</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows Small Business Server 2003</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows Vista with Service Pack 1 (SP1)</td>
<td>Yes</td>
</tr>
<tr>
<td>64-bit edition of Windows Vista with Service Pack 1 (SP1)</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows Server 2008 Standard 32-Bit</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows Server 2008 Enterprise 32-Bit</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows Server 2008 Datacenter 32-Bit</td>
<td>Yes</td>
</tr>
<tr>
<td>64-bit edition of Windows Server 2008 Standard</td>
<td>Yes</td>
</tr>
<tr>
<td>64-bit edition of Windows Server 2008 Enterprise</td>
<td>Yes</td>
</tr>
<tr>
<td>64-bit edition of Windows Server 2008 Datacenter</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows Web Server 2008</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows 7</td>
<td>Yes</td>
</tr>
<tr>
<td>64-bit edition of Windows 7</td>
<td>Yes</td>
</tr>
<tr>
<td>64-bit edition of Windows Server 2008 R2 Standard</td>
<td>Yes</td>
</tr>
<tr>
<td>64-bit edition of Windows Server 2008 R2 Enterprise</td>
<td>Yes</td>
</tr>
<tr>
<td>64-bit edition of Windows Server 2008 R2 Datacenter</td>
<td>Yes</td>
</tr>
<tr>
<td>Windows Web Server 2008 R2</td>
<td>Yes</td>
</tr>
</tbody>
</table>
<p style="text-align: left;">We are going to use the second method for this example. Now go to your Hyper-V library, right click it and choose <strong>Explore</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xMC5naWY=" rel=\"lightbox[1616]\" title=\"Open Library\"><img class="aligncenter size-medium wp-image-1650" title="Open Library" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-10-212x300.gif" alt="" width="212" height="300" /></a></p>
<p style="text-align: left;">Here copy the VMware virtual machine files from the ESXi 3.5 host. You only need the *.vmx and *.vmdk files</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xMS5naWY=" rel=\"lightbox[1616]\" title=\"VMware Machine Files in Library Share\"><img class="aligncenter size-medium wp-image-1706" title="VMware Machine Files in Library Share" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-11-300x178.gif" alt="" width="300" height="178" /></a></p>
<blockquote><p>I used a virtual machine from a VMware ESX 3.5 host, because VMM 2008 R2 is not supporting right now the 4.1 and 5 version of ESX. I tried to convert virtual machines from those versions but, alway got errors or the virtual disk was not recognized. More information can be found <a title=\"Supported Configurations for VMM\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3RlY2huZXQubWljcm9zb2Z0LmNvbS9lbi11cy9saWJyYXJ5L2NjNzY0MjMxLmFzcHg=" target=\"_blank\">here</a>.</p></blockquote>
<p style="text-align: left;"> Now refresh your Hyper-V library, and after a few seconds the VMware virtual machine should appear in VMM.</p>
<p style="text-align: left;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xMi5naWY=" rel=\"lightbox[1616]\" title=\"VMware VM in VMM Library\"><img class="aligncenter size-medium wp-image-1711" title="VMware VM in VMM Library" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-12-300x172.gif" alt="" width="300" height="172" /></a></p>
<p style="text-align: left;">It&#8217;s time convert this virtual machine, so click the link <strong>Convert virtual machine</strong> from the <strong>Actions</strong> pane. You can also right click the virtual machine template and choose <strong>Convert virtual machine</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xMy5naWY=" rel=\"lightbox[1616]\" title=\"Convert Virtual Machine\"><img class="aligncenter size-medium wp-image-1653" title="Convert Virtual Machine" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-13-163x300.gif" alt="" width="163" height="300" /></a></p>
<p style="text-align: left;">On the <strong>Convert Virtual Machine</strong> wizard screen click the <strong>Browse</strong> button.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xNC5naWY=" rel=\"lightbox[1616]\" title=\"Select Source\"><img class="aligncenter size-medium wp-image-1654" title="Select Source" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-14-300x228.gif" alt="" width="300" height="228" /></a></p>
<p style="text-align: left;">Select the our virtual machine disk from the library and click <strong>OK</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xNS5naWY=" rel=\"lightbox[1616]\" title=\"VM Source\"><img class="aligncenter size-medium wp-image-1655" title="VM Source" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-15-300x238.gif" alt="" width="300" height="238" /></a></p>
<p style="text-align: left;">If you want to give the virtual machine a different name you can do this in the <strong>Virtual machine name</strong> box.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xNi5naWY=" rel=\"lightbox[1616]\" title=\"VM Identity\"><img class="aligncenter size-medium wp-image-1656" title="VM Identity" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-16-300x228.gif" alt="" width="300" height="228" /></a></p>
<p style="text-align: left;">Choose the number of processors and the amount of memory for the virtual machine, then click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xNy5naWY=" rel=\"lightbox[1616]\" title=\"VM Configuration\"><img class="aligncenter size-medium wp-image-1657" title="VM Configuration" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-17-300x228.gif" alt="" width="300" height="228" /></a></p>
<p style="text-align: left;">Select on witch Hyper-V server the virtual machine should be placed. Now if you take a look at the <strong>Rating Explanation</strong> tab you have a couple of messages. The first one is telling us that VMM will move the virtual disk to an IDE bus; this is because Hyper-V does not support booting form SCSI bus adapters like VMware does. The second message is about virtual networks, witch is nothing to worry about, since VMware virtual networks have different names compared to Hyper-V virtual networks. Click <strong>Next</strong> and continue the wizard.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xODEuZ2lm" rel=\"lightbox[1616]\" title=\"Select Host\"><img class="aligncenter size-medium wp-image-1692" title="Select Host" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-181-300x254.gif" alt="" width="300" height="254" /></a></p>
<p style="text-align: left;">Choose the path for the virtual machine files on the Hyper-V server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0xOS5naWY=" rel=\"lightbox[1616]\" title=\"Select Path\"><img class="aligncenter size-medium wp-image-1659" title="Select Path" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-19-300x228.gif" alt="" width="300" height="228" /></a></p>
<p style="text-align: left;">If you want to you can connect the virtual machine to a network, by selecting it from the drop down box.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0yMC5naWY=" rel=\"lightbox[1616]\" title=\"Select Networks\"><img class="aligncenter size-medium wp-image-1660" title="Select Networks" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-20-300x228.gif" alt="" width="300" height="228" /></a></p>
<p style="text-align: left;">Change additional properties for this virtual machine then click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0yMS5naWY=" rel=\"lightbox[1616]\" title=\"Additional Properties\"><img class="aligncenter size-medium wp-image-1661" title="Additional Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-21-300x228.gif" alt="" width="300" height="228" /></a></p>
<p style="text-align: left;">At the <strong>Summary</strong> screen click the <strong>Create</strong> button to start the conversion.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0yMi5naWY=" rel=\"lightbox[1616]\" title=\"Summary\"><img class="aligncenter size-medium wp-image-1662" title="Summary" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-22-300x228.gif" alt="" width="300" height="228" /></a></p>
<p style="text-align: left;">The conversion starts and is going to take quite a long time. Just be patient.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0yNC5naWY=" rel=\"lightbox[1616]\" title=\"VM Converting\"><img class="aligncenter size-medium wp-image-1693" title="VM Converting" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-24-300x172.gif" alt="" width="300" height="172" /></a></p>
<p style="text-align: left;">After the conversion is done, and is successful the virtual machine appears in the <strong>Virtual Machines</strong> section in VMM.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29udmVydC5WTXdhcmUuZGlza18udG9fLkh5cGVyLVYuZGlzay0yNS5naWY=" rel=\"lightbox[1616]\" title=\"Converted VM Running in VMM\"><img class="aligncenter size-medium wp-image-1712" title="Converted VM Running in VMM" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Convert.VMware.disk_.to_.Hyper-V.disk-25-300x172.gif" alt="" width="300" height="172" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1616" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/convert-vmware-virtual-machines-to-hyper-v-virtual-machines/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to perform the job because&#8230;SCVMM 2008 R2 Error 2606</title>
		<link>http://www.vkernel.ro/blog/unable-to-perform-the-job-because-scvmm-2008-r2-error-2606?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=unable-to-perform-the-job-because-scvmm-2008-r2-error-2606</link>
		<comments>http://www.vkernel.ro/blog/unable-to-perform-the-job-because-scvmm-2008-r2-error-2606#comments</comments>
		<pubDate>Sun, 22 Jan 2012 18:55:15 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[System Center]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1696</guid>
		<description><![CDATA[I was trying to do a V2V conversion using SCVMM 2008 R2, and during the conversion I canceled the job. Then the hell came over me, I could not remove the virtual machine from the host any more using VMM console.
I was keep getting the same error message:
Error (2606)
Unable to perform the job  [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to do a V2V conversion using SCVMM 2008 R2, and during the conversion I canceled the job. Then the hell came over me, I could not remove the virtual machine from the host any more using VMM console.<span id="more-1696"></span></p>
<p>I was keep getting the same error message:</p>
<p><em><strong>Error (2606)</strong></em><br />
<em>Unable to perform the job because one or more of the selected objects are locked by another job. </em></p>
<p><em><strong>Recommended Action</strong></em><br />
<em>To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again. </em></p>
<p>Here is a print screen with the error:</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvRXJyb3IuMjYwNi0xLmdpZg==" rel=\"lightbox[1696]\" title=\"Error 2606\"><img class="aligncenter size-medium wp-image-1697" title="Error 2606" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Error.2606-1-300x174.gif" alt="" width="300" height="174" /></a></p>
<p>I tried forcing it with PowerShell, I rebooted the server, but nothing, so as a last resort I logged in on the Hyper-V host and deleted the virtual machine from here. Then I went back to the VMM server, removed the host from the console and re-added back in. It worked, my &#8220;half&#8221; virtual machine was gone now.</p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1696" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/unable-to-perform-the-job-because-scvmm-2008-r2-error-2606/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Exchange 2010 Edge Transport Server Role</title>
		<link>http://www.vkernel.ro/blog/installing-exchange-2010-edge-transport-server-role?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-exchange-2010-edge-transport-server-role</link>
		<comments>http://www.vkernel.ro/blog/installing-exchange-2010-edge-transport-server-role#comments</comments>
		<pubDate>Fri, 20 Jan 2012 18:00:48 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1580</guid>
		<description><![CDATA[Exchange 2010 Edge Transport Server Role is for those individuals or companies that want an extra layer of protection for their Exchange servers. The Edge server is placed in a DMZ zone for routing messages in and out of the company, so the traffic will not directly hit your Exchange servers. It is  [...]]]></description>
			<content:encoded><![CDATA[<p>Exchange 2010 Edge Transport Server Role is for those individuals or companies that want an extra layer of protection for their Exchange servers. The Edge server is placed in a DMZ zone for routing messages in and out of the company, so the traffic will not directly hit your Exchange servers. It is also used for message filtering, spam protection and for other internet threats protection. I can tell you so much more about Edge server role but I&#8217;m afraid you will get bored, so I&#8217;m giving you <a title=\"Overview of the Edge Transport Server Role\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3RlY2huZXQubWljcm9zb2Z0LmNvbS9lbi11cy9saWJyYXJ5L2JiMTI0NzAxLmFzcHg=" target=\"_blank\">this link</a> to find out more information.<span id="more-1580"></span></p>
<p>To be able to install the Exchange 2010 Edge Server Role some minimum system requirements are needed.</p>
<table border="0" align="center">
<tbody>
<tr>
<td style="text-align: center;"><strong>Component</strong></td>
<td style="text-align: center;"><strong> Requirement</strong></td>
</tr>
<tr>
<td>Processor</td>
<td>x64 architecture-based computer with Intel processor that supports Intel 64 architecture (formerly known as Intel EM64T)<br />
AMD processor that supports the AMD64 platform<br />
Intel Itanium IA64 processors not supported</td>
</tr>
<tr>
<td>Memory</td>
<td>Varies depending on Exchange features that are installed</td>
</tr>
<tr>
<td>Disk space</td>
<td>At least 1.2 GB on the drive on which you install Exchange<br />
An additional 500 MB of available disk space for each Unified Messaging (UM) language pack that you plan to install<br />
200 MB of available disk space on the system drive<br />
A hard disk that stores the message queue database on an Edge Transport server or Hub Transport server with at least 500 MB of free space</td>
</tr>
<tr>
<td>File format</td>
<td>Disk partitions formatted as NTFS file systems, which applies to the following partitions:<br />
System partition<br />
Partitions that store Exchange binary files<br />
Partitions containing transaction log files<br />
Partitions containing database files<br />
Partitions containing other Exchange files</td>
</tr>
</tbody>
</table>
<table border="0" align="center">
<tbody>
<tr>
<td style="text-align: center;"><strong>Component</strong></td>
<td style="text-align: center;"><strong>Requirement</strong></td>
</tr>
<tr>
<td>Operating system ona computer that has a 64-bit processor</td>
<td>One of the following:<br />
64-bit edition of Windows Server 2008 Standard with Service Pack 2 (SP2)<br />
64-bit edition of Windows Server 2008 Enterprise with SP2<br />
64-bit edition of Windows Server 2008 R2 Standard with SP1<br />
64-bit edition of Windows Server 2008 R2 Enterprise with SP1<br />
Windows Server 2008 Datacenter RTM or later<br />
Windows Server 2008 R2 Datacenter RTM or later</td>
</tr>
<tr>
<td>Operating system for installingthe Exchange management toolson a computer that has a 64-bit processor</td>
<td>One of the following:<br />
Windows Vista with SP2 for management tools only installation<br />
64-bit edition of Windows Server 2008 Standard with SP2<br />
64-bit edition of Windows Server 2008 Enterprise with SP2<br />
64-bit edition of Windows Server 2008 R2 Standard<br />
64-bit edition of Windows Server 2008 R2 Enterprise<br />
64-bit edition of Windows 7</td>
</tr>
</tbody>
</table>
<p>Before we start the installation we need to prepare the machine, and the first step is to add a DNS suffix. For this, right click <strong>My Computer</strong> and choose <strong>Properties</strong>. Click the link <strong>Change Settings</strong> than click the <strong>Change</strong> button.</p>
<blockquote><p>We need to add a DNS suffix because the Edge Transport server requires a FQDN for the machine, and is usually installed on standalone servers.</p></blockquote>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTIuZ2lm" rel=\"lightbox[1580]\" title=\"System Properties\"><img class="aligncenter size-medium wp-image-1588" title="System Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-2-266x300.gif" alt="" width="266" height="300" /></a></p>
<p>Choose <strong>More</strong>, and in the box type your DNS suffix. Click <strong>OK</strong> and restart the server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTMuZ2lm" rel=\"lightbox[1580]\" title=\"Add DNS Suffix\"><img class="aligncenter size-medium wp-image-1589" title="Add DNS Suffix" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-3-300x157.gif" alt="" width="300" height="157" /></a></p>
<p>After restart open <strong>Server Manager</strong> right click <strong>Features</strong> and choose <strong>Add Feature</strong>. Expand <strong>.NET Framework 3.5.1 Features</strong> and check the box <strong>.NET Framework 3.5.1</strong>. Click <strong>Next</strong> and <strong>Install</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTEuZ2lm" rel=\"lightbox[1580]\" title=\"Select Features\"><img class="aligncenter size-medium wp-image-1587" title="Select Features" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-1-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>Don&#8217;t close <strong>Server Manager</strong> because we need to install a Windows server role now. Right click <strong>Roles</strong> and choose <strong>Add Role</strong>. Check the box next to <strong>Active Directory Lightweight Directory Services</strong> then finish the wizard.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTQuZ2lm" rel=\"lightbox[1580]\" title=\"Select Server Roles\"><img class="aligncenter size-medium wp-image-1590" title="Select Server Roles" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-4-300x221.gif" alt="" width="300" height="221" /></a></p>
<p>There is one more thing to do, before we start the Edge server installation, and that is to download and install the Microsoft Office 2010 filter pack. You can download it from <a title=\"Microsoft Office 2010 Filter Packs\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL2Rvd25sb2FkL2VuL2RldGFpbHMuYXNweD9pZD0xNzA2Mg==" target=\"_blank\">here</a>, and off course, choose the x64 edition. Now that everything is in place, we can start the installation, so put the Exchange 2010 installation media into your DVD drive. On the initial screen click the link <strong>Install Microsoft Exchange</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTUuZ2lm" rel=\"lightbox[1580]\" title=\"Install Microsoft Exchange\"><img class="aligncenter size-medium wp-image-1591" title="Install Microsoft Exchange" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-5-300x224.gif" alt="" width="300" height="224" /></a></p>
<p>Skip the <strong>Introduction</strong> page, and on the second screen read and accept the EULA.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTYuZ2lm" rel=\"lightbox[1580]\" title=\"Exchange EULA\"><img class="aligncenter size-medium wp-image-1592" title="Exchange EULA" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-6-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>I&#8217;m going with the default setting here and not report to Microsoft.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTcuZ2lm" rel=\"lightbox[1580]\" title=\"Exchange Error Reporting\"><img class="aligncenter size-medium wp-image-1593" title="Exchange Error Reporting" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-7-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>Here click <strong>Custom Exchange Server Installation</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTguZ2lm" rel=\"lightbox[1580]\" title=\"Exchange Installation Type\"><img class="aligncenter size-medium wp-image-1594" title="Exchange Installation Type" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-8-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>Check the box <strong>Edge Transport Role</strong> and click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTkuZ2lm" rel=\"lightbox[1580]\" title=\"Server Role Selection\"><img class="aligncenter size-medium wp-image-1595" title="Server Role Selection" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-9-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>For this demonstration I&#8217;m not going to joint the CEIP program.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTEwLmdpZg==" rel=\"lightbox[1580]\" title=\"CEIP Program\"><img class="aligncenter size-medium wp-image-1596" title="CEIP Program" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-10-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>The wizard is now checking if everything is in order for the installation to proceed, and if it is click the <strong>Install</strong> button. After the installation is done, restart the server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTExLmdpZg==" rel=\"lightbox[1580]\" title=\"Readiness Check\"><img class="aligncenter size-medium wp-image-1597" title="Readiness Check" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-11-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>And here is our new Exchange Edge Transport Server role console. The next step is to configure the Edge server, but that story is for another time.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC5FZGdlXy4yMDEwLTEyLmdpZg==" rel=\"lightbox[1580]\" title=\"Exchange 2010 Edge Server Console\"><img class="aligncenter size-medium wp-image-1598" title="Exchange 2010 Edge Server Console" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.Edge_.2010-12-300x185.gif" alt="" width="300" height="185" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1580" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/installing-exchange-2010-edge-transport-server-role/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating and configuring an Exchange 2010 Database Availability Group (DAG)</title>
		<link>http://www.vkernel.ro/blog/creating-and-configuring-an-exchange-2010-database-availability-group-dag?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-and-configuring-an-exchange-2010-database-availability-group-dag</link>
		<comments>http://www.vkernel.ro/blog/creating-and-configuring-an-exchange-2010-database-availability-group-dag#comments</comments>
		<pubDate>Thu, 19 Jan 2012 17:49:53 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Data Protection]]></category>
		<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1517</guid>
		<description><![CDATA[Those of you that come from Exchange 2007 will love the way High Availability for databases are done in Exchange 2010. No more Single Copy Clusters (SCC),  Standby Continuous Replication (SCR), Local Continuous Replication (LCR), or Cluster Continuous Replication (CCR), is only Database  [...]]]></description>
			<content:encoded><![CDATA[<p>Those of you that come from Exchange 2007 will love the way High Availability for databases are done in Exchange 2010. No more Single Copy Clusters (SCC),  Standby Continuous Replication (SCR), Local Continuous Replication (LCR), or Cluster Continuous Replication (CCR), is only Database Availability Group or DAG. Exchange database and log files are replicated over a private network to Mailbox member serves that are part of the DAG. If the active Mailbox server fails, clients are automatically redirected to another Mailbox server that holds a copy of the database. More information can be found on the <a title=\"Understanding Database Availability Groups\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3RlY2huZXQubWljcm9zb2Z0LmNvbS9lbi11cy9saWJyYXJ5L2RkOTc5Nzk5LmFzcHg=" target=\"_blank\">Exchange 2010 product documentation</a>. <span id="more-1517"></span></p>
<p>For this guide I have the following lab configuration</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMS5naWY=" rel=\"lightbox[1517]\" title=\"Lab Network\"><img class="aligncenter size-medium wp-image-1559" title="Lab Network" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-1-300x201.gif" alt="" width="300" height="201" /></a></p>
<p>&nbsp;</p>
<p>Now let&#8217;s configure the networks on the Mailbox servers, and will start with the MAPI (public) network.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMi5naWY=" rel=\"lightbox[1517]\" title=\"TCP/IP Properties\"><img class="aligncenter size-medium wp-image-1531" title="TCP/IP Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-2-300x177.gif" alt="" width="300" height="177" /></a></p>
<p>The second one is the private network, the one that is used for database replication.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMy5naWY=" rel=\"lightbox[1517]\" title=\"TCP/IP Properties\"><img class="aligncenter size-medium wp-image-1532" title="TCP/IP Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-3-300x176.gif" alt="" width="300" height="176" /></a></p>
<p>Don&#8217;t close the properties of the TCP/IP protocol yet for the private network. Click the <strong>Advance</strong> button an go to the DNS tab. Here clear the box <strong>Register this connection&#8217;s address in DNS</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtNC5naWY=" rel=\"lightbox[1517]\" title=\"TCP/IP Properties\"><img class="aligncenter size-medium wp-image-1533" title="TCP/IP Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-4-251x300.gif" alt="" width="251" height="300" /></a></p>
<p>&nbsp;</p>
<p>Now change the binding NIC order by going to <strong>Advanced &gt; Advanced Settings</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMjIuZ2lm" rel=\"lightbox[1517]\" title=\"Network Bindings\"><img class="aligncenter size-medium wp-image-1553" title="Network Bindings" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-22-300x169.gif" alt="" width="300" height="169" /></a></p>
<p>Make sure the public network is on top.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMjMuZ2lm" rel=\"lightbox[1517]\" title=\"Network Bindings\"><img class="aligncenter size-medium wp-image-1554" title="Network Bindings" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-23-270x300.gif" alt="" width="270" height="300" /></a></p>
<p>Now open the Exchange management console. Here expand <strong>Organization Configuration</strong> and click the <strong>Mailbox</strong> object. To create a DAG you can either click <strong>New Database</strong> <strong>Availability</strong> <strong>Group</strong> on the <strong>Actions</strong> pane, or click the <strong>Database Availability Groups</strong> tab. On the New Database Availability Group wizard we need to configure three components:</p>
<p><strong>Database Availability Group Name</strong> &#8211; the name of the new DAG; no more than 15 characters.</p>
<p><strong>Witness Server</strong> &#8211; a host that maintains the cluster quorum. This host can be a Windows server joined to the domain, but is recommended by Microsoft to be an Hub Transport server. The witness server can&#8217;t be a member of the DAG, but it must reside in the same Active Directory forest as the DAG, and not also running the Mailbox server role. If no witness server is specified in the box, a Hub Transport  server in the same site as the DAG is automatically selected.</p>
<p><strong>Witness Directory</strong> &#8211; a folder on the witness sever that stores some cluster information.</p>
<p>After you complete the required information click the <strong>Manage</strong> button to start creating the DAG.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtNS5naWY=" rel=\"lightbox[1517]\" title=\"New Database Availability Group\"><img class="aligncenter size-medium wp-image-1534" title="New Database Availability Group" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-5-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>If everything worked out well you should have a green check mark.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtNi5naWY=" rel=\"lightbox[1517]\" title=\"New Database Availability Group\"><img class="aligncenter size-medium wp-image-1535" title="New Database Availability Group" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-6-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>Now we need to add the Mailbox servers that are going to participate in the replication process. For that right click the DAG and choose <strong>Manage Database Availability Group Membership</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtNy5naWY=" rel=\"lightbox[1517]\" title=\"Manage DAG Membership\"><img class="aligncenter size-medium wp-image-1536" title="Manage DAG Membership" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-7-300x123.gif" alt="" width="300" height="123" /></a></p>
<p>Here click the <strong>Add</strong> button and select the Mailbox servers.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtOC5naWY=" rel=\"lightbox[1517]\" title=\"Select Mailbox Server\"><img class="aligncenter size-medium wp-image-1537" title="Select Mailbox Server" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-8-300x271.gif" alt="" width="300" height="271" /></a></p>
<p>Click the <strong>Manage</strong> button to start adding the members to our newly created DAG. This is going to take some time because the Windows Failover Cluster feature must be installed on those Mailbox member servers.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtOS5naWY=" rel=\"lightbox[1517]\" title=\"Manage DAG Group Membership\"><img class="aligncenter size-medium wp-image-1538" title="Manage DAG Group Membership" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-9-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>Because the wizard assigns all the available networks to the DAG the replication may occur on the MAPI (public) network creating an increase of traffic. For this reason we need to disable it so the replication can take place only on the private network. Click the DAG, find your MAPI network on the <strong>Networks</strong> section, right click <strong>Replication Enabled</strong> and choose <strong>Properties</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMTAuZ2lm" rel=\"lightbox[1517]\" title=\"DAG Networks\"><img class="aligncenter size-medium wp-image-1539" title="DAG Networks" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-10-300x220.gif" alt="" width="300" height="220" /></a></p>
<p>Clear the box <strong>Enable Replication</strong> and click <strong>OK</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMTEuZ2lm" rel=\"lightbox[1517]\" title=\"Disable DAG Network\"><img class="aligncenter size-medium wp-image-1540" title="Disable DAG Network" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-11-268x300.gif" alt="" width="268" height="300" /></a></p>
<p>Now our MAPI network is disabled and replication will only take place on the private network, witch is what we want.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMTIuZ2lm" rel=\"lightbox[1517]\" title=\"DAG Networks\"><img class="aligncenter size-medium wp-image-1541" title="DAG Networks" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-12-300x220.gif" alt="" width="300" height="220" /></a></p>
<p>We have created a DAG, we configured the network for the DAG, the next step is to add database copies. If your database is located on a different drive than the default one, all the Mailbox servers that will keep a copy of the database will need to have the same drive letter. In my case I have a database called <em>Finance Database</em> located on the <em>E</em>  drive, and the same <em>E</em> drive needs to be present on the other Mailbox system(s). If the same path is not found on one of the replication partners an error message appears when you try to add a database copy.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMTMuZ2lm" rel=\"lightbox[1517]\" title=\"Add Mailbox Database Copy\"><img class="aligncenter size-medium wp-image-1542" title="Add Mailbox Database Copy" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-13-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>Now go to <strong>Database Management</strong> tab, right click the database you want to replicate and choose <strong>Add Mailbox Database Copy</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMTQuZ2lm" rel=\"lightbox[1517]\" title=\"Add Mailbox Database Copy\"><img class="aligncenter size-medium wp-image-1543" title="Add Mailbox Database Copy" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-14-300x153.gif" alt="" width="300" height="153" /></a></p>
<p>On the <strong>Add Mailbox Database Copy</strong> page click the <strong>Browse</strong> button to select the replication partner.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMTUuZ2lm" rel=\"lightbox[1517]\" title=\"Add Mailbox Database Copy\"><img class="size-medium wp-image-1544 alignnone" title="Add Mailbox Database Copy" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-15-300x261.gif" alt="" width="300" height="261" /> </a>    <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMTYuZ2lm" rel=\"lightbox[1517]\" title=\"Select Mailbox Server\"><img class="size-medium wp-image-1545 alignnone" title="Select Mailbox Server" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-16-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>Click the <strong>Add</strong> button to start creating a copy of the database on the selected server.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMTcuZ2lm" rel=\"lightbox[1517]\" title=\"Add Mailbox Database Copy\"><img class="size-medium wp-image-1546 aligncenter" title="Add Mailbox Database Copy" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-17-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>If the operation succeeded a green check box appears on the wizard.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMTguZ2lm" rel=\"lightbox[1517]\" title=\"Add Mailbox Database Copy\"><img class="aligncenter size-medium wp-image-1547" title="Add Mailbox Database Copy" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-18-300x261.gif" alt="" width="300" height="261" /></a></p>
<p>Now we have a healthy copy of the database on another Mailbox server as you can see in the <strong>Database Copies</strong> section.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMTkuZ2lm" rel=\"lightbox[1517]\" title=\"Database Copies\"><img class="aligncenter size-medium wp-image-1548" title="Database Copies" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-19-300x172.gif" alt="" width="300" height="172" /></a></p>
<p>Let&#8217;s see if it really works.</p>
<blockquote><p>To be able to verify this properly, a user mailbox needs to be created on the mailbox database that is part of the DAG (Finance Database).</p></blockquote>
<p>Shut down the Mailbox server that holds the active (mounted) copy of the database; in this case is EX01. After a few seconds the Mailbox database should be mounted on the second Mailbox server witch is EX02. You can see this by opening the Exchange management console on EX02.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMjAuZ2lm" rel=\"lightbox[1517]\" title=\"Failed Databases\"><img class="aligncenter size-medium wp-image-1549" title="Failed Databases" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-20-300x172.gif" alt="" width="300" height="172" /></a></p>
<p>And user(s) can still access their mailbox(es), even if one the Mailbox servers is down.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLkRBR18ub25fLkV4Y2hhbmdlLjIwMTAtMjEuZ2lm" rel=\"lightbox[1517]\" title=\"OWA Client on Backup Database\"><img class="aligncenter size-medium wp-image-1550" title="OWA Client on Backup Database" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.DAG_.on_.Exchange.2010-21-300x190.gif" alt="" width="300" height="190" /></a></p>
<p style="text-align: left;">Off course you can create multiple databases and configure them for replication, and if you have more then two Mailbox servers who are members of a DAG you can mix and match those databases for better performance and HA.</p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1517" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/creating-and-configuring-an-exchange-2010-database-availability-group-dag/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing VMware vSphere 5 Web Client Server</title>
		<link>http://www.vkernel.ro/blog/installing-vmware-vsphere-5-web-client-server?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-vmware-vsphere-5-web-client-server</link>
		<comments>http://www.vkernel.ro/blog/installing-vmware-vsphere-5-web-client-server#comments</comments>
		<pubDate>Sat, 14 Jan 2012 11:03:31 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware vCenter]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1492</guid>
		<description><![CDATA[VMware vSphere 5 Web Client Server is a web management console for your vCenter infrastructure. Yes, you can configure and manage vSphere hosts and virtual machines in your vCenter infrastructure even if you are thousand miles away. Just open a browser, login in and you are good to go. In this  [...]]]></description>
			<content:encoded><![CDATA[<p>VMware vSphere 5 Web Client Server is a web management console for your vCenter infrastructure. Yes, you can configure and manage vSphere hosts and virtual machines in your vCenter infrastructure even if you are thousand miles away. Just open a browser, login in and you are good to go. In this guide I&#8217;m going to show you how to install the vSphere 5 Web Client Server on a Windows Server 2008 R2 SP1.<span id="more-1492"></span></p>
<p>To start put your vCenter DVD in your optical drive, or mount the ISO image. On the initial screen, click the <strong>VMware vSphere Web Client (Server)</strong> menu, then the <strong>Install</strong> button.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTEuZ2lm" rel=\"lightbox[1492]\" title=\"vCenter Initial Installation Screen\"><img class="aligncenter size-medium wp-image-1495" title="vCenter Initial Installation Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-1-300x220.gif" alt="" width="300" height="220" /></a></p>
<p>Click <strong>Next</strong> to skip the <strong>Welcome</strong> page.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTIuZ2lm" rel=\"lightbox[1492]\" title=\"Welcome Screen\"><img class="aligncenter size-medium wp-image-1496" title="Welcome Screen" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-2-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Again, <strong>Next</strong> on the <strong>End-User Patent Agreement</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTMuZ2lm" rel=\"lightbox[1492]\" title=\"End-User Patent Ageement\"><img class="aligncenter size-medium wp-image-1497" title="End-User Patent Ageement" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-3-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Read and accept the <strong>EULA</strong>, then continue the wizard.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTQuZ2lm" rel=\"lightbox[1492]\" title=\"EULA\"><img class="aligncenter size-medium wp-image-1498" title="EULA" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-4-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Complete the customer information.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTUuZ2lm" rel=\"lightbox[1492]\" title=\"Customer Information\"><img class="aligncenter size-medium wp-image-1499" title="Customer Information" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-5-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Leave the default ports here and continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTYuZ2lm" rel=\"lightbox[1492]\" title=\"Web Client Port Settings\"><img class="aligncenter size-medium wp-image-1500" title="Web Client Port Settings" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-6-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Change the installation path if you want, but I&#8217;m gonna go with the default one here.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTcuZ2lm" rel=\"lightbox[1492]\" title=\"Destination Folder\"><img class="aligncenter size-medium wp-image-1501" title="Destination Folder" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-7-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>Now, just click the <strong>Install</strong> button to start the installation process.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTguZ2lm" rel=\"lightbox[1492]\" title=\"Ready to Install\"><img class="aligncenter size-medium wp-image-1502" title="Ready to Install" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-8-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>After the installation is done, click the <strong>Finish</strong> button.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTkuZ2lm" rel=\"lightbox[1492]\" title=\"Installation Finished\"><img class="aligncenter size-medium wp-image-1503" title="Installation Finished" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-9-300x225.gif" alt="" width="300" height="225" /></a></p>
<p>The administration web page opens. Ignore the certificate error, and just click <strong>Continue to this website</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTEwLmdpZg==" rel=\"lightbox[1492]\" title=\"Certificate Error\"><img class="aligncenter size-medium wp-image-1504" title="Certificate Error" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-10-300x191.gif" alt="" width="300" height="191" /></a></p>
<p>If you get the Adobe Flash Player page, click the picture in the corner to go and get the Flash Player from Adobe.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTExLmdpZg==" rel=\"lightbox[1492]\" title=\"Flash Player Missing\"><img class="aligncenter size-medium wp-image-1505" title="Flash Player Missing" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-11-300x191.gif" alt="" width="300" height="191" /></a></p>
<p>Now that we took care of the Flash Player problem, refresh the Web Client Server page. A vCenter Server needs to be registered with the Web Client service before you can manage those vSphere hosts and virtual machines. That, in a future guide.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTEyLmdpZg==" rel=\"lightbox[1492]\" title=\"Web Client Administration Console\"><img class="aligncenter size-medium wp-image-1506" title="Web Client Administration Console" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-12-300x191.gif" alt="" width="300" height="191" /></a></p>
<p>Here I attached a preview of how a registered vCenter server looks in the web console.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTEzLmdpZg==" rel=\"lightbox[1492]\" title=\"Web Client Login Page\"><img class="alignnone size-medium wp-image-1507" title="Web Client Login Page" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-13-300x197.gif" alt="" width="300" height="197" /> </a>    <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvSW5zdGFsbC52U3BoZXJlLjUuV2ViXy5DbGllbnQuU2VydmVyLTE0LmdpZg==" rel=\"lightbox[1492]\" title=\"vCenter Registered in Web Client\"><img class="alignnone size-medium wp-image-1509" title="vCenter Registered in Web Client" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Install.vSphere.5.Web_.Client.Server-14-300x178.gif" alt="" width="300" height="178" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1492" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/installing-vmware-vsphere-5-web-client-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure WSUS to use SSL</title>
		<link>http://www.vkernel.ro/blog/configure-wsus-to-use-ssl?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=configure-wsus-to-use-ssl</link>
		<comments>http://www.vkernel.ro/blog/configure-wsus-to-use-ssl#comments</comments>
		<pubDate>Fri, 13 Jan 2012 10:29:15 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[WSUS]]></category>
		<category><![CDATA[Patching]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1461</guid>
		<description><![CDATA[You have WSUS in your infrastructure, and now you need to implement SSL because you want to be sure that your clients are connecting to the right WSUS server, the meta data is encrypted, or you are just curious to see how it&#8217;s done. Configuring WSUS to use SSL is a straight forward process, and all  [...]]]></description>
			<content:encoded><![CDATA[<p>You have WSUS in your infrastructure, and now you need to implement SSL because you want to be sure that your clients are connecting to the right WSUS server, the meta data is encrypted, or you are just curious to see how it&#8217;s done. Configuring WSUS to use SSL is a straight forward process, and all you need is a certificate, and some IIS configurations. For this guide I have a single WSUS server deployment in a single forest/domain environment running on Windows Server 2008 R2 SP1. The certificate is issued by an internal Enterprise CA. Information on how to install an Enterprise Certification Authority can be found <a title=\"Install Certification Authority in Windows Server 2008 R2\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvaW5zdGFsbC1jZXJ0aWZpY2F0aW9uLWF1dGhvcml0eS1pbi13aW5kb3dzLXNlcnZlci0yMDA4LXIy">here</a>. <span id="more-1461"></span></p>
<p>To get started, first we need to request a certificate for the WSUS web site, so open IIS, click the server name, then open <strong>Server Certificates</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC0xLmdpZg==" rel=\"lightbox[1461]\" title=\"Open Server Certificates\"><img class="aligncenter size-medium wp-image-1466" title="Open Server Certificates" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-1-300x161.gif" alt="" width="300" height="161" /></a></p>
<p>On the <strong>Actions</strong> pane click <strong>Create Domain Certificate</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC0yLmdpZg==" rel=\"lightbox[1461]\" title=\"Create Domain Certificate\"><img class="aligncenter size-medium wp-image-1467" title="Create Domain Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-2-186x300.gif" alt="" width="186" height="300" /></a></p>
<p>On the <strong>Common Name</strong> box we need to type the name we want appear in the certificate. I recommend to use either the name of the WSUS server, or the FQDN of the server. If you have external clients that use this WSUS server you need to type the FQDN (the internet public address) in this box. But now things are getting a little complicated, because you either need to create a split-brain DNS or create a SAN certificate that includes the FQDN and the WSUS server name. For more info you can read <a title=\"Configure the WSUS Web Site to Use SSL\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2dzLnRlY2huZXQuY29tL2Ivd2VtZF91YV8tX3Ntc193cml0aW5nX3RlYW0vYXJjaGl2ZS8yMDA4LzA5LzAzL2NsYXJpZnlpbmctaG93LXRvLWNvbmZpZ3VyZS10aGUtd3N1cy13ZWItc2l0ZS10by11c2Utc3NsLmFzcHg=" target=\"_blank\">this post</a>. Complete the rest of the boxes and click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC0zLmdpZg==" rel=\"lightbox[1461]\" title=\"Distinguished Name Properties\"><img class="aligncenter size-medium wp-image-1468" title="Distinguished Name Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-3-300x228.gif" alt="" width="300" height="228" /></a></p>
<p>Select your internal CA by clicking the <strong>Select</strong> button, give the certificate a friendly name and click <strong>Finish</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC00LmdpZg==" rel=\"lightbox[1461]\" title=\"Certification Authority\"><img class="aligncenter size-medium wp-image-1469" title="Certification Authority" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-4-300x228.gif" alt="" width="300" height="228" /></a></p>
<p>Now that we have our certificate in place we need to add this certificate to the web site. Expand <strong>Sites </strong>and click the <strong>Default Web Site</strong>. On the <strong>Actions</strong> pane click <strong>Bindings</strong>.  Now click <strong>Add</strong>, on the <strong>Type</strong> drop down box select <strong>https</strong>, and your WSUS certificate on the <strong>SSL Certificate</strong> drop down box.</p>
<p><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC01LmdpZg==" rel=\"lightbox[1461]\" title=\"Add Site Binding\"><img class="alignnone size-medium wp-image-1470" title="Add Site Binding" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-5-300x162.gif" alt="" width="300" height="162" /></a>     <a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC02LmdpZg==" rel=\"lightbox[1461]\" title=\"Site Bindings\"><img class="alignnone size-medium wp-image-1471" title="Site Bindings" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-6-300x139.gif" alt="" width="300" height="139" /></a></p>
<p>The next step is to enforce SSL encryption on the following virtual roots:</p>
<p>• SimpleAuthWebService<br />
• DSSAuthWebService<br />
• ServerSyncWebService<br />
• ApiRemoting30<br />
• ClientWebService</p>
<p>Select <strong>SimpleAuthWebService</strong> and open the<strong> SSL Settings</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC03LmdpZg==" rel=\"lightbox[1461]\" title=\"SSL Settings\"><img class="aligncenter size-medium wp-image-1472" title="SSL Settings" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-7-300x169.gif" alt="" width="300" height="169" /></a></p>
<p>Check the box <strong>Require SSL</strong>, and make sure <strong>Ignore</strong> is selected under <strong>Client certificates</strong>. Click <strong>Apply</strong> on the <strong>Actions</strong> pane to save the changes.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC04LmdpZg==" rel=\"lightbox[1461]\" title=\"Application SSL Settings\"><img class="aligncenter size-medium wp-image-1473" title="Application SSL Settings" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-8-300x171.gif" alt="" width="300" height="171" /></a></p>
<p>Repeat  this operations for the rest of the virtual roots, mentioned before. By now, the connection to the service should be lost, and a connection error message appears in the WSUS console. This is because the console is trying to connect using the default port 80.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC05LmdpZg==" rel=\"lightbox[1461]\" title=\"WSUS Console Connection Error\"><img class="aligncenter size-medium wp-image-1474" title="WSUS Console Connection Error" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-9-300x171.gif" alt="" width="300" height="171" /></a></p>
<p>To fix this, open a terminal and issue the following command from <em>&lt;WSUS Installation Folder&gt;\Tools</em>:</p>
<p><em>WSUSUtil.exe configuressl FQDN of the software update point site system&gt;  (the name in your certificate)</em></p>
<p>in my case is:</p>
<pre class="brush: shell; gutter: false">WSUSUtil.exe configuressl Server-WSUS</pre>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC0xMC5naWY=" rel=\"lightbox[1461]\" title=\"WSUSUtil Command\"><img class="aligncenter size-medium wp-image-1475" title="WSUSUtil Command" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-10-300x148.gif" alt="" width="300" height="148" /></a></p>
<p>I managed to get access to the console only after a system restart, but after restart I am connected using SSL.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC0xMi5naWY=" rel=\"lightbox[1461]\" title=\"Connected with SSL\"><img class="aligncenter size-medium wp-image-1477" title="Connected with SSL" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-12-300x171.gif" alt="" width="300" height="171" /></a></p>
<p>The next step is to point your clients to the correct url, by modifying the existing GPO or creating a new one. Open the policy <strong>Specify intranet Microsoft update service location</strong> and type the new url in the form <em>https://YourWSUSserver</em>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC0xMS5naWY=" rel=\"lightbox[1461]\" title=\"Edit GPO\"><img class="aligncenter size-medium wp-image-1476" title="Edit GPO" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-11-300x274.gif" alt="" width="300" height="274" /></a></p>
<p>To see if all this is working correctly, go to one of your clients and force the new policy to apply using <em>gpupdate /force</em>.</p>
<blockquote><p>The gpupdate /force command will just download all the GPO&#8217;s and re-apply them to the client, it won&#8217;t force the client to check for updates. For that you need to use wuauclt /detectnow.</p></blockquote>
<p>First let&#8217;s see the client update log</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC0xMy5naWY=" rel=\"lightbox[1461]\" title=\"Client Update Log\"><img class="aligncenter size-medium wp-image-1478" title="Client Update Log" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-13-300x243.gif" alt="" width="300" height="243" /></a></p>
<p>WireShark is showing me that an encrypted connection is made between the client (192.168.50.11) and the WSUS server (192.168.50.10),</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC0xNC5naWY=" rel=\"lightbox[1461]\" title=\"Client Pachets\"><img class="aligncenter size-medium wp-image-1479" title="Client Pachets" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-14-300x171.gif" alt="" width="300" height="171" /></a></p>
<p>and updates are downloaded by the client.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvQ29uZmlndXJlLldTVVNfLldpdGhfLlNTTC0xNS5naWY=" rel=\"lightbox[1461]\" title=\"Updates Downloaded to Client\"><img class="aligncenter size-medium wp-image-1480" title="Updates Downloaded to Client" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Configure.WSUS_.With_.SSL-15-300x207.gif" alt="" width="300" height="207" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1461" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/configure-wsus-to-use-ssl/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Publish Outlook Web App (OWA) with TMG 2010</title>
		<link>http://www.vkernel.ro/blog/publish-outlook-web-app-owa-with-tmg-2010?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=publish-outlook-web-app-owa-with-tmg-2010</link>
		<comments>http://www.vkernel.ro/blog/publish-outlook-web-app-owa-with-tmg-2010#comments</comments>
		<pubDate>Wed, 11 Jan 2012 20:31:15 +0000</pubDate>
		<dc:creator>Adrian Costea</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[ISA/TMG]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[ISA]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[TMG]]></category>

		<guid isPermaLink="false">http://www.vkernel.ro/blog/?p=1268</guid>
		<description><![CDATA[Hi there, me again. Just a couple of days before, I had to publish Exchange 2010 OWA for a client; than I thought, why not make a guide on this blog and show you the steps. And here it is. In this post I will show you how to securely publish Exchange 2010 OWA to the internet using Forefront TMG  [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there, me again. Just a couple of days before, I had to publish Exchange 2010 OWA for a client; than I thought, why not make a guide on this blog and show you the steps. And here it is. In this post I will show you how to securely publish Exchange 2010 OWA to the internet using Forefront TMG 2010. All the action takes place in a single forest/domain environment, one Exchange 2010 SP1 with all the roles, TMG server is joined to the domain, and certificates are going to be issued by an internal Enterprise CA.<span id="more-1268"></span></p>
<blockquote><p>To be able to test this in a lab environment if you don&#8217;t own a public domain, you can edit the hosts file on an external client and point the FQDN to the external IP of the TMG server.</p></blockquote>
<p>Before we start to publish the OWA site we need to make some configuration changes on the Exchange server. Open your Exchange console, expand <strong>Server Configuration</strong> and click the <strong>Client Access</strong> object. In the middle pane click your Exchange server and select the <strong>Outlook Web App</strong> tab.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTEuZ2lm" rel=\"lightbox[1268]\" title=\"Open OWA Properties\"><img class="aligncenter size-medium wp-image-1413" title="Open OWA Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-1-300x171.gif" alt="" width="300" height="171" /></a></p>
<p>Right click <strong>OWA (default Web Site)</strong> and choose <strong>Properties</strong>. Go to <strong>Authentication</strong> tab, select <strong>Use one or more standard authentication methods</strong>, and check the box <strong>Basic Authentication (password is sent in clear text)</strong>. Don&#8217;t worry the passwords are not sent in clear text, we are going to encrypt the traffic using a certificate.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTIuZ2lm" rel=\"lightbox[1268]\" title=\"OWA Properties\"><img class="aligncenter size-medium wp-image-1414" title="OWA Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-2-258x300.gif" alt="" width="258" height="300" /></a></p>
<p>Now back on the management console click the <strong>Exchange Control Panel</strong> tab. Right click <strong>ECP (Default Web Site)</strong> and choose <strong>Properties</strong>. Go to <strong>Authentication</strong> tab, select <strong>Use one or more standard authentication methods, </strong>and check the box <strong>Basic Authentication (password is sent in clear text)</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTMuZ2lm" rel=\"lightbox[1268]\" title=\"ECP Properties\"><img class="aligncenter size-medium wp-image-1415" title="ECP Properties" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-3-268x300.gif" alt="" width="268" height="300" /></a></p>
<p>For the configurations to take effect we need to restart IIS. Open a terminal and type:</p>
<pre class="brush: shell; gutter: false">iisreset /noforce</pre>
<p>Sometimes the service takes a log time to stop, like in mine case. Wait a minute or two and issue the command again.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTQuZ2lm" rel=\"lightbox[1268]\" title=\"Restart IIS\"><img class="aligncenter size-medium wp-image-1416" title="Restart IIS" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-4-300x148.gif" alt="" width="300" height="148" /></a></p>
<p>The next step is to install a proper Exchange certificate. I have a post where I talked about how to install and configure Exchange certificates <a title=\"Request and install SAN certificate in Exchange 2010\" href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvcmVxdWVzdC1hbmQtaW5zdGFsbC1zYW4tY2VydGlmaWNhdGUtaW4tZXhjaGFuZ2UtMjAxMA==">here</a>. Read the post, then come back.</p>
<p>Now we need to export the Exchange certificate and import it on the TMG server. Click <strong>Start &gt; Run</strong>, type <strong>mmc</strong>. On the console go to the <strong>File</strong> menu, choose <strong>Add/Remove Snap-in</strong>, select <strong>Certificates</strong> and click <strong>Add</strong>. On the new window select <strong>Computer Account &gt; Local Computer</strong>, and click <strong>Finish</strong> and <strong>OK</strong>. Now expand <strong>Certificates &gt; Personal</strong>, right click the Exchange certificate and choose <strong>All Tasks &gt; Export</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTUuZ2lm" rel=\"lightbox[1268]\" title=\"Export Certificate\"><img class="aligncenter size-medium wp-image-1417" title="Export Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-5-300x150.gif" alt="" width="300" height="150" /></a></p>
<p>Select the option <strong>Yes, export the private key</strong> and click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTYuZ2lm" rel=\"lightbox[1268]\" title=\"Export Certificate Private Key\"><img class="aligncenter size-medium wp-image-1418" title="Export Certificate Private Key" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-6-300x270.gif" alt="" width="300" height="270" /></a></p>
<p>Choose to export all extended properties.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTcuZ2lm" rel=\"lightbox[1268]\" title=\"Export Certificate Information\"><img class="aligncenter size-medium wp-image-1419" title="Export Certificate Information" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-7-300x270.gif" alt="" width="300" height="270" /></a></p>
<p>Type a password to protect the certificate.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTguZ2lm" rel=\"lightbox[1268]\" title=\"Certificate Password Protection\"><img class="aligncenter size-medium wp-image-1420" title="Certificate Password Protection" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-8-300x270.gif" alt="" width="300" height="270" /></a></p>
<p>Specify a path to export the certificate to and finish the wizard.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTkuZ2lm" rel=\"lightbox[1268]\" title=\"Certificate File Name\"><img class="aligncenter size-medium wp-image-1421" title="Certificate File Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-9-300x270.gif" alt="" width="300" height="270" /></a></p>
<p>Now we need to import the certificate on the TMG server. Again open the mmc console and add the <strong>Certificates Snap-in</strong> like we did before. Right click the <strong>Personal</strong> folder and choose <strong>All Tasks &gt; Import</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTEwLmdpZg==" rel=\"lightbox[1268]\" title=\"Import Certificate\"><img class="aligncenter size-medium wp-image-1422" title="Import Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-10-300x178.gif" alt="" width="300" height="178" /></a></p>
<p>Click the <strong>Browse</strong> button and select the Exchange certificate.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTExLmdpZg==" rel=\"lightbox[1268]\" title=\"Certificate File Name\"><img class="aligncenter size-medium wp-image-1423" title="Certificate File Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-11-300x270.gif" alt="" width="300" height="270" /></a></p>
<p>Provide the password to decrypt the certificate. This is the password we set on export. Finish the wizard.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTEyLmdpZg==" rel=\"lightbox[1268]\" title=\"Certificate Password Protection\"><img class="aligncenter size-medium wp-image-1424" title="Certificate Password Protection" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-12-300x270.gif" alt="" width="300" height="270" /></a></p>
<p>It&#8217;s time to create our publishing rule, so open the TMG console and go to <strong>Firewall Policy</strong>. On the <strong>Tasks</strong> pane click <strong>Publish Exchange Web Client Access</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTEzLmdpZg==" rel=\"lightbox[1268]\" title=\"Open OWA Publising Rule\"><img class="aligncenter size-medium wp-image-1425" title="Open OWA Publising Rule" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-13-300x253.gif" alt="" width="300" height="253" /></a></p>
<p>Give the publishing rule a name and click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTE0LmdpZg==" rel=\"lightbox[1268]\" title=\"Rule Name\"><img class="aligncenter size-medium wp-image-1426" title="Rule Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-14-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>Since we are publishing Exchange 2010 OWA, from the list select <strong>Exchange Server 2010</strong>, and check the box <strong>Outlook Web Access</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTE1LmdpZg==" rel=\"lightbox[1268]\" title=\"Exchange Version\"><img class="aligncenter size-medium wp-image-1427" title="Exchange Version" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-15-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>We are only publishing a single web site, so the default option is OK. Click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTE2LmdpZg==" rel=\"lightbox[1268]\" title=\"Publishing Type\"><img class="aligncenter size-medium wp-image-1428" title="Publishing Type" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-16-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>The publishing rule will use SSL, so choose the first option.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTE3LmdpZg==" rel=\"lightbox[1268]\" title=\"Connection Security\"><img class="aligncenter size-medium wp-image-1429" title="Connection Security" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-17-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>Type the internal site name, and provide the IP or computer name, so TMG can connect to the publish server. In the internal site name I usually type the external name of the site, so users don&#8217;t have to memorize two web addresses. The published server is our Exchange server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTE4LmdpZg==" rel=\"lightbox[1268]\" title=\"Internal Site Name\"><img class="aligncenter size-medium wp-image-1430" title="Internal Site Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-18-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>Here type the public name, the one that external users will type in their browser to connect to Exchange OWA.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTE5LmdpZg==" rel=\"lightbox[1268]\" title=\"Public Name\"><img class="aligncenter size-medium wp-image-1431" title="Public Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-19-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>On the <strong>Select Web Listener</strong> screen click the <strong>New</strong> button to create a new listener. The existing one is for HTTP traffic and we need a listener for HTTPS traffic. Name the new listener and continue the wizard.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTIwLmdpZg==" rel=\"lightbox[1268]\" title=\"Listener Name\"><img class="aligncenter size-medium wp-image-1433" title="Listener Name" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-20-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>We need a secure connection, so leave the default selection here and click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTIxLmdpZg==" rel=\"lightbox[1268]\" title=\"Client Connection Security\"><img class="aligncenter size-medium wp-image-1434" title="Client Connection Security" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-21-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>Check the box next to <strong>External</strong>, to listen for traffic coming from the internet.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTIyLmdpZg==" rel=\"lightbox[1268]\" title=\"Web Listener IP Address\"><img class="aligncenter size-medium wp-image-1435" title="Web Listener IP Address" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-22-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>Click the <strong>Select Certificate</strong> button, and select the Exchange certificate we imported just now.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTIzLmdpZg==" rel=\"lightbox[1268]\" title=\"Exchange Certificate\"><img class="aligncenter size-medium wp-image-1436" title="Exchange Certificate" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-23-300x229.gif" alt="" width="300" height="229" /></a></p>
<p>On the <strong>Authentication Settings</strong> page, be sure <strong>HTML Form Authentication</strong> is the one selected. Click <strong>Next</strong>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTI0LmdpZg==" rel=\"lightbox[1268]\" title=\"Authentication Settings\"><img class="aligncenter size-medium wp-image-1437" title="Authentication Settings" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-24-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>We do not need SSO, so uncheck the box and continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTI1LmdpZg==" rel=\"lightbox[1268]\" title=\"SSO Settings\"><img class="aligncenter size-medium wp-image-1438" title="SSO Settings" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-25-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>Click <strong>Finish</strong> to close the listener wizard.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTI2LmdpZg==" rel=\"lightbox[1268]\" title=\"Listener Wizard Summary\"><img class="aligncenter size-medium wp-image-1439" title="Listener Wizard Summary" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-26-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>Back to the Exchange OWA publishing rule click <strong>Next</strong> to continue.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTI3LmdpZg==" rel=\"lightbox[1268]\" title=\"Select Web Listener\"><img class="aligncenter size-medium wp-image-1440" title="Select Web Listener" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-27-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>On the <strong>Authentication Delegation</strong> page select <strong>Basic Authentication</strong>. This is the type of authentication we configured on the Exchange server.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTI4LmdpZg==" rel=\"lightbox[1268]\" title=\"Authentication Delegation\"><img class="aligncenter size-medium wp-image-1441" title="Authentication Delegation" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-28-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>Click <strong>Next</strong> leaving the defaults on the<strong> User Sets</strong> page.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTI5LmdpZg==" rel=\"lightbox[1268]\" title=\"User Sets\"><img class="aligncenter size-medium wp-image-1442" title="User Sets" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-29-300x282.gif" alt="" width="300" height="282" /></a></p>
<p>Finish the wizard and apply the configuration on the TMG server by clicking the <strong>Apply</strong> button. Now let&#8217;s see if it works. From an external client access the OWA page in this form <em>https://FQDN/owa</em>.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTMwLmdpZg==" rel=\"lightbox[1268]\" title=\"OWA from the Internet\"><img class="aligncenter size-medium wp-image-1443" title="OWA from the Internet" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-30-300x183.gif" alt="" width="300" height="183" /></a></p>
<p>And now the TMG logs.</p>
<p style="text-align: center;"><a href="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52a2VybmVsLnJvL2Jsb2cvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDEvUHVibGlzaC5PV0FfLjIwMTAud2l0aF8uVE1HXy4yMDEwLTMxLmdpZg==" rel=\"lightbox[1268]\" title=\"TMG Logs\"><img class="size-medium wp-image-1444 aligncenter" title="TMG Logs" src="http://www.vkernel.ro/blog/wp-content/uploads/2012/01/Publish.OWA_.2010.with_.TMG_.2010-31-300x202.gif" alt="" width="300" height="202" /></a></p>
 <img src="http://www.vkernel.ro/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1268" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.vkernel.ro/blog/publish-outlook-web-app-owa-with-tmg-2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

