<?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>Windows Server Administration &#187; Hyper-V</title>
	<atom:link href="http://www.msserveradmin.com/category/hyper-v/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.msserveradmin.com</link>
	<description>Server Administration Articles and Tips for Network Admins</description>
	<lastBuildDate>Wed, 04 Mar 2009 03:10:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Virtualize Your Exchange Edge Server</title>
		<link>http://www.msserveradmin.com/virtualize-edge-server-role/</link>
		<comments>http://www.msserveradmin.com/virtualize-edge-server-role/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 04:55:55 +0000</pubDate>
		<dc:creator>Daniel Anderson</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.msserveradmin.com/?p=363</guid>
		<description><![CDATA[OK Here we go back in the swing of things and the first server I am going to &#8220;Virtualize&#8221; is an Exchange 2007 Server that holds the Edge Server Role. After Reading this article it all seemed fairly straight forward. How wrong I was !!! Here is what I did that led me to this [...]]]></description>
			<content:encoded><![CDATA[<p>OK Here we go back in the swing of things and the first server I am going to <strong>&#8220;Virtualize&#8221;</strong> is an Exchange 2007 Server that holds the Edge Server Role. After Reading <a href="http://technet.microsoft.com/en-us/library/bb332339.aspx">this article</a> it all seemed fairly straight forward. <strong>How wrong I was !!!</strong> Here is what I did that led me to this unwanted ERROR <strong>&#8220;The Exchange Server is in an inconsistant state&#8221;</strong> when I was trying to install the Edge Transport Role on the new Hyper-V Virtual Server.</p>
<p>The first thing that needed to be done was an export of the current server configuration using, as Microsoft calls it, &#8220;cloned configuration tasks&#8221;. There is a folder located in the install directory of Exchange, generally <em>C:\Program Files\Microsoft\Exchange Server\</em> called <strong>&#8220;Scripts&#8221;</strong>. Inside there are 2 Powershell Scripts that you will need. </p>
<p>They are <strong>ExportEdgeConfig.ps1</strong> and <strong>ImportEdgeConfig.ps1</strong>.</p>
<p>To capture the configuration we need to run the ExportEdgeConfig.ps1 script in the Exchange Management Shell like so:</p>
<p><strong>./ExportEdgeConfig -CloneConfigData:&#8221;C:\CloneConfigData.xml&#8221;</strong></p>
<p><strong>NOTE:</strong> Make Sure you run the Exchange Management Shell as Administrator (right click > Run As Administrator)<br />
<span id="more-363"></span><br />
Now I am going to be keeping the same computer name on the new Virtual Edge Server, so I did this next.</p>
<p>Shutdown the current Exchange Server and then Reset the Computer Account in Active Directory. Next was to start up the NEW Exchange Server, rename it and join it to the domain. You <strong>MUST </strong>make sure that the drive letter configuration is the same as the OLD Server.</p>
<p>Next Install Exchange, I did this by running trying to run this command:</p>
<p><strong>Setup.com /Role:Edge</strong></p>
<p>This is where it all fell apart. I got an error and decided to try again by running the setup.exe file. Sure enough it was No Good and I received this Error &#8220;The Exchange Server is in an inconsistant state&#8221;. Then I tried to run the install in Recovery Mode by using this command:</p>
<p><strong>setup.com /m:RecoverServer</strong></p>
<p>Guess what? Failed again. Things were looking pretty grim. Considering this was a virtual machine and only hosting the Edge Transport Role I copied across a sysprepped Windows Server 2008 VHD that I created earlier and started from scratch.</p>
<p>While the Server was starting up I reset the Computer Account in Active Directory and I also need to get brutal and use ADSi Edit and remove the entry in the following location:</p>
<p><strong>CN=Configuration, DC= Domain Name, DC=com, CN=Services, CN=Microsoft Exchange, CN=<Organization Name>, CN=Administrative Groups, CN= <Exchange Administrative Group>, CN=Servers, CN=<Server Name></strong></p>
<p>and also remove the entry in the <strong>Exchange Servers</strong> and <strong>Exchange Install Domain Servers</strong> Security Groups.</p>
<p>The Server was now up and running and joined to the domain so I tried again to install Exchange 2007 and the Edge Transport Role, and all seemed to go through fantastically!</p>
<p>After Exchange was installed I then need to run the New-EdgeSubscription CMDLET on the Edge Server:</p>
<p><strong>New-EdgeSubscription -FileName &#8220;c:\EdgeServerSubscription.xml&#8221;</strong></p>
<p>Then import that XML File on the Server that is running the Hub Transport Role. To to that you can use the Exchange Management Console and navigate to this spot.</p>
<p>Organisation Configuration > Hub Transport > and then click the Edge Subscription Tab.</p>
<p>After that was completed I gave the Edge Server a Restart and the mail started flowing in again&#8230;&#8230;.There seemed to be a few people that have had a similar issue so I hope this sheds some light on a procedure on how to get around this issue. Another bonus to virtualization !!!!.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msserveradmin.com/virtualize-edge-server-role/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>32bit Printer Drivers on an x64 Windows 2008 Print Server</title>
		<link>http://www.msserveradmin.com/32bit-printer-drivers-on-an-x64-windows-2008-print-server/</link>
		<comments>http://www.msserveradmin.com/32bit-printer-drivers-on-an-x64-windows-2008-print-server/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 21:30:37 +0000</pubDate>
		<dc:creator>Daniel Anderson</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.msserveradmin.com/?p=244</guid>
		<description><![CDATA[Continuing on with my Hyper-V Virtual Machine installations, I moved onto a Windows 2008 Print Server after yesterday I spoke about How To Migrate a Windows 2003 DHCP Server to a Windows 2008 Server. These virtuals are x64 based VM&#8217;s and as I found out after adding the Print Services Role to the server and [...]]]></description>
			<content:encoded><![CDATA[<p>Continuing on with my Hyper-V Virtual Machine installations, I moved onto a Windows 2008 Print Server after yesterday I spoke about <a href="/windows-2008-virtual-domain-controller/">How To Migrate a Windows 2003 DHCP Server to a Windows 2008 Server</a>. These virtuals are x64 based VM&#8217;s and as I found out after adding the <strong>Print Services Role</strong> to the server and then installing a printer to share and connecting to that printer from a 32bit XP Client the server didn&#8217;t have appropriate drivers installed and asked me to locate the driver files.<br />
<br />
90% of my printers are HP ones so I went to the <a href="http://www.hp.com.au">HP website</a> and downloaded the most recent driver, it turns out they have a &#8220;HP Universal PCL 6&#8243; driver. Now this driver appears to do, as the name suggests, provide the correct drivers to all HP Printers!.<br />
<br />
To get the x86 drivers onto the <strong>x64 Windows 2008 Server</strong> you need to connect to the server from the x86 client and open up the printer and faxes share. THen from the File Menu select <strong>Server Properties</strong>, then from the <strong>Driver Tab</strong> add the x86 drivers that you downloaded, and they will then be uploaded to the server.<br />
<br />
Another catch here is that both x86 and x64 drivers <strong>MUST </strong>have the same name. If they have the same name, they will appear automatically in additional drivers for both architectures in your printer&#8217;s sharing properties.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msserveradmin.com/32bit-printer-drivers-on-an-x64-windows-2008-print-server/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Windows 2008 Virtual Domain Controller</title>
		<link>http://www.msserveradmin.com/windows-2008-virtual-domain-controller/</link>
		<comments>http://www.msserveradmin.com/windows-2008-virtual-domain-controller/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 01:27:27 +0000</pubDate>
		<dc:creator>Daniel Anderson</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.msserveradmin.com/?p=225</guid>
		<description><![CDATA[Well I got another Hyper-V host up and running today which will house a couple of VM on it, a Domain Controller which will also have DNS and DHCP installed and also a Print Server. I have set it up with 3 Logical Drives consisting of a Mirrored OS, Hardware Raid-10 for the VHD and [...]]]></description>
			<content:encoded><![CDATA[<p>Well I got another Hyper-V host up and running today which will house a couple of VM on it, a Domain Controller which will also have DNS and DHCP installed and also a Print Server. I have set it up with 3 Logical Drives consisting of a Mirrored OS, Hardware Raid-10 for the VHD and Hyper-V data and another single drive that will have the Shadow Copies of the Raid-10 Volume on it.<br />
<br />
The Install of the <a href="http://www.msserveradmin.com">Active Directory Domain Services</a> went great and obviously DNS was installed along the way. I also made this one a <strong>Global Catalog</strong> Server.</p>
<p><strong>How To Migrate Windows 2003 DHCP to Windows 2008 DHCP Server</strong></p>
<p>Next up was <strong>migrating the DHCP</strong> from the old Windows 2003 Server to this new box, below is how I did this:<br />
<br />
First <strong>export </strong>the DHCP Database from the 2003 Server with the following command:<br />
<br />
<strong>netsh dhcp server export C:\dhcp.txt all </strong><br />
<br />
Then copy that file to the new 2008 Server. Add the DHCP Server Role on the new box via Server Manager. Then with the following command import the dhcp database:<br />
<br />
<strong>netsh dhcp server import C:\dhcp.txt all</strong><br />
<br />
Now when I did this I got this error <strong>&#8220;Error while importing option &#8220;6.&#8221; &#8220;This option conflicts with the existing option &#8220;&#8221; An Internal Error Occurred.&#8221;</strong>.<br />
<br />
This was to do with the fact that while adding the DHCP Server Role to the new machine there were entries in the Server Options that were done automatically, once I went in and removed these options &#8220;006 DNS Servers&#8221; and &#8220;015 DNS Domain Name&#8221; and then re did the import with the string above everything went fine.<br />
<br />
Next up Print Server. Subscribe to my <a href="http://feeds.feedburner.com/MsServerAdmin">RSS Feed</a> so you can see how I managed this.<br />
<br />
By the way there is a great article and script from John Howard that enables you to <a href="http://blogs.technet.com/jhoward/archive/2008/11/14/configure-hyper-v-remote-management-in-seconds.aspx">Configure Hyper-V Remote Management in Seconds.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.msserveradmin.com/windows-2008-virtual-domain-controller/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
