<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Virtual Varia : Hyper-V RTM</title><link>http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx</link><description>Tags: Hyper-V RTM</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Does restoring a snapshot break domain connectivity?  Here’s why.</title><link>http://blogs.msdn.com/mikekol/archive/2009/03/18/does-restoring-a-snapshot-break-domain-connectivity-here-s-why.aspx</link><pubDate>Wed, 18 Mar 2009 23:55:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9488025</guid><dc:creator>mikekol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9488025.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9488025</wfw:commentRss><description>&lt;p&gt;This is a pretty common question on our internal mailing lists, and I’d imagine that it’s common outside of Microsoft as well, so I thought it would make a nice blog post (since I’m way behind on blogging…).&lt;/p&gt;  &lt;p&gt;So, you have a VM that’s joined to a domain and working perfectly.&amp;#160; You take a snapshot so you can restore to this magical point of workingness at any time, and life is good.&lt;/p&gt;  &lt;p&gt;One day, you need to fire up this VM and test something, so you revert to your snapshot and start the VM.&amp;#160; That’s when you’re told that the domain doesn’t trust your (virtual) workstation anymore.&amp;#160; What the heck just happened?&amp;#160; No changes were made to the snapshot!&amp;#160; That’s why it’s called a snapshot!&amp;#160; Why did this break?&lt;/p&gt;  &lt;p&gt;Well, you’re right.&amp;#160; No changes were made to snapshot, and that’s part of the problem.&lt;/p&gt;  &lt;p&gt;It’s part of the default Active Directory domain policies for a domain member to change the password for it’s account every now and then.&amp;#160; You’ve no doubt had to change the password for your User Account occasionally, so this shouldn’t be a surprise.&amp;#160; What may be a surprise is that the same thing happens for Computer Accounts.&amp;#160; That’s right – &lt;a href="http://blogs.technet.com/askds/archive/2009/02/13/machine-account-password-process.aspx" target="_blank"&gt;computers have accounts&lt;/a&gt;, too.&lt;/p&gt;  &lt;p&gt;Every now and then (by default, it’s 30 days, but the value is configurable via domain policy), the workstation will negotiate a new password with the domain.&amp;#160; It all happens behind the scenes, so you’d never know it.&amp;#160; It just works.&lt;/p&gt;  &lt;p&gt;Unless you, you know, have a domain-joined VM with snapshots.&lt;/p&gt;  &lt;p&gt;The problem comes about because the workstation – at some point – negotiated a new password with the domain and recorded it for future use.&amp;#160; Then the snapshot was applied, and you turned your VM into a time traveler.&amp;#160; This VM from the past was brought into the future, and has no knowledge of anything that happened in the interim.&amp;#160; So, it thinks that it’s old password is still good.&amp;#160; And it tries to use that password.&amp;#160; And the domain says “um, no”.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Well &lt;strong&gt;that’s&lt;/strong&gt; stupid.&amp;#160; Why does Hyper-V let this happen?&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;It’s not just Hyper-V.&amp;#160; Many years ago, in my previous life as a network admin, this happened all the time to my VMWare images.&amp;#160; The same thing will happen in any situation where you convince Windows that the computer account password is something that it’s not (like restoring a snapshot or any other kind of backup).&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Fine.&amp;#160; What can I do about this?&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;There are three possibilities that I’m aware of.&amp;#160; If anyone has any other suggestions, please feel free to leave them in the comments.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;If you can, change the default domain policy, or get an exception created for your computer account(s).     &lt;br /&gt;This is not the best option because it opens up a security hole (small as it may be).      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Log into a local administrator account on the system and leave the domain.&amp;#160; Then rejoin it.&amp;#160; The computer account will get updated with a new password that your workstation knows.&amp;#160; Alternately, you could &lt;a href="http://support.microsoft.com/default.aspx/kb/260575" target="_blank"&gt;use NETDOM.EXE to reset the computer account password&lt;/a&gt;.       &lt;br /&gt;You could even automate this if you need to.      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Sysprep the VM and create an unattend file that will configure it to your liking, and that will &lt;a href="http://technet.microsoft.com/en-us/library/05242ea8-7c20-4d94-bbec-c5344354bf27" target="_blank"&gt;automatically join the domain for you&lt;/a&gt;.&amp;#160; Once the machine is sysprep’d, make a snapshot and restore to that one from now on.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Hope that helps.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9488025" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+Here_2700_s+Why/default.aspx">Hyper-V Here's Why</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category></item><item><title>Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)</title><link>http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx</link><pubDate>Fri, 06 Feb 2009 23:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9402821</guid><dc:creator>mikekol</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9402821.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9402821</wfw:commentRss><description>&lt;P&gt;It was my New Years Resolution that I’d do an average of 2 blog posts per week this year.&amp;nbsp; So far, I haven’t been doing a very good job of that, but I think I have a good excuse.&amp;nbsp; I’ve been very busy with preparing to release a new tool, and now, I can finally announce it.&lt;/P&gt;
&lt;P&gt;Fine citizens of the Virtualization Nation: I present to you the Windows® Image to Virtual Hard Disk Converter, or WIM2VHD as I like to call it.&lt;/P&gt;
&lt;P&gt;WIM2VHD is a tool that will create a bootable VHD from a specified Windows 7 or 2008 R2 WIM image (like the INSTALL.WIM file that ships on the installation DVDs) without having to run Windows Setup.&amp;nbsp; That means that you can a Windows 7 or Windows Server 2008 R2 virtual machine up and running much, much faster.&lt;/P&gt;
&lt;P&gt;You can use these VHDs in Virtual PC, Virtual Server, Hyper-V, and … some other things, too.&amp;nbsp; We’ll talk more about that later.&lt;/P&gt;
&lt;P&gt;You can get WIM2VHD &lt;A href="http://code.msdn.microsoft.com/wim2vhd" mce_href="http://code.msdn.microsoft.com/wim2vhd"&gt;here&lt;/A&gt;.&amp;nbsp; &lt;BR&gt;(The &lt;A href="http://blogs.msdn.com/mikekol/archive/2009/05/05/wim2vhd-release-candidate-now-available.aspx" target=_blank mce_href="http://blogs.msdn.com/mikekol/archive/2009/05/05/wim2vhd-release-candidate-now-available.aspx"&gt;release candidate&lt;/A&gt; has been released, too...)&lt;/P&gt;
&lt;P&gt;I’ve done my best at creating some good documentation for WIM2VHD, which is available from the link above.&amp;nbsp; Please make sure that you read the docs.&amp;nbsp; If you have any questions, feel free to start a discussion thread at the WIM2VHD site.&lt;/P&gt;
&lt;P&gt;Here’s a video I made introducing WIM2VHD, and showing it in action.&amp;nbsp; More are one the way.&lt;/P&gt;
&lt;DIV align=center&gt;&lt;EMBED id=ri87lnnu height=364 type=application/x-shockwave-flash pluginspage=http://macromedia.com/go/getflashplayer width=432 src=http://images.video.msn.com/flash/soapbox1_1.swf mce_src="http://images.video.msn.com/flash/soapbox1_1.swf" allowFullScreen="true" allowScriptAccess="always" flashvars="c=v&amp;amp;v=fe41ef64-47bc-4f13-9f06-abc8884a3758&amp;amp;ifs=true&amp;amp;fr=msnvideo&amp;amp;mkt=en-US"&gt;&lt;/EMBED&gt;&lt;NOEMBED&gt;&lt;/NOEMBED&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;EM&gt;Please be aware, however, that while the underlying process of creating the VHDs &lt;U&gt;&lt;STRONG&gt;is&lt;/STRONG&gt;&lt;/U&gt; supported by Microsoft, WIM2VHD is &lt;U&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/U&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;SPAN class=sbmLink&gt;
&lt;TABLE cellSpacing=1 cellPadding=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class=sbmText class="sbmText"&gt;Share this post : &lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to Social!" href="http://social.microsoft.com/en-us/action/create/s/E/?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;ttl=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/social.png" mce_src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/social.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to MSDN!" href="http://social.msdn.microsoft.com/en-us/action/create/s/E/?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;ttl=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/msdn.png" mce_src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/msdn.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to Technet!" href="http://social.technet.microsoft.com/en-us/action/create/s/E/?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;ttl=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/technet.png" mce_src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/technet.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to Expression!" href="http://social.expression.microsoft.com/en-us/action/create/s/E/?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;ttl=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/expression.png" mce_src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/expression.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;amp;address=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to digg" href="http://digg.com/submit?phase=2&amp;amp;url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to Facebook" href="http://www.facebook.com/sharer.php?u=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;t=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.technet.com/photos/james/images/1765319/original.aspx" mce_src="http://blogs.technet.com/photos/james/images/1765319/original.aspx"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to live" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/live4.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/live4.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to reddit!" href="http://reddit.com/submit?url=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to technorati!" href="http://technorati.com/faves/?add=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;title=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png"&gt;&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://blogs.msdn.com/mikekol/archive/2009/02/06/announcing-the-windows-image-to-virtual-hard-disk-converter-wim2vhd.aspx&amp;amp;t=Announcing the Windows® Image to Virtual Hard Disk Converter (WIM2VHD)" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" mce_src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png"&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9402821" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Microsoft+Hyper-V/default.aspx">Microsoft Hyper-V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Windows+7/default.aspx">Windows 7</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/VIIrtualization/default.aspx">VIIrtualization</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/WIM2VHD/default.aspx">WIM2VHD</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+in+2008+R2/default.aspx">Hyper-V in 2008 R2</category></item><item><title>How to use VMConnect to create an .RDP-like shortcut directly to your VMs</title><link>http://blogs.msdn.com/mikekol/archive/2008/12/02/how-to-use-vmconnect-to-create-an-rdp-like-shortcut-directly-to-your-vms.aspx</link><pubDate>Wed, 03 Dec 2008 00:42:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9166326</guid><dc:creator>mikekol</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9166326.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9166326</wfw:commentRss><description>&lt;p&gt;The Remote Desktop application in Windows has a nifty little feature where you can save all of your custom settings for a specific remote computer to a single .RDP file, and then just use that .RDP file as a shortcut to connect to that remote computer instantly.&lt;/p&gt;  &lt;p&gt;VMConnect, which is the name of the application that you use to connect to the console session of a Hyper-V Virtual Machine, doesn’t have that option.&amp;#160; &lt;/p&gt;  &lt;p&gt;Curses!&amp;#160; What is an administrator to do!?!&lt;/p&gt;  &lt;p&gt;Well, if your VM is running Windows, you could always Remote Desktop directly into the guest OS, but that won’t connect you directly to the console (i.e. you won’t be able to watch the VM boot).&lt;/p&gt;  &lt;p&gt;But there’s a better way.&amp;#160; VMConnect allows you to specify the name of the Hyper-V server and the name of the VM you want to connect to on the command line.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/mikekol/WindowsLiveWriter/Howtous.RDPlikeshortcutdirectlytoyourVMs_C0BC/vmconnect_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="vmconnect" border="0" alt="vmconnect" src="http://blogs.msdn.com/blogfiles/mikekol/WindowsLiveWriter/Howtous.RDPlikeshortcutdirectlytoyourVMs_C0BC/vmconnect_thumb.jpg" width="426" height="315" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;So, let’s say that you have a Hyper-V Server called “MyHost” and a VM called “My Guest” that you want to connect to quickly.&amp;#160; All you need to do is create a shortcut that points to VMConnect.exe with the following syntax:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/mikekol/WindowsLiveWriter/Howtous.RDPlikeshortcutdirectlytoyourVMs_C0BC/create%20shortcut_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="create shortcut" border="0" alt="create shortcut" src="http://blogs.msdn.com/blogfiles/mikekol/WindowsLiveWriter/Howtous.RDPlikeshortcutdirectlytoyourVMs_C0BC/create%20shortcut_thumb.jpg" width="523" height="370" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Remember to use quotes around the VM name if it contains spaces!&amp;#160; Also, if the VM exists on the same machine as the one you’re creating the shortcut on, you can use the name “localhost” for the server.&lt;/p&gt;  &lt;p&gt;Click Next, name the shortcut whatever you want, and you’re good to go.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9166326" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Microsoft+Hyper-V/default.aspx">Microsoft Hyper-V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+Here_2700_s+Why/default.aspx">Hyper-V Here's Why</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category></item><item><title>Problems with QueryPerformanceCounter on Windows Server 2003 Multi-Processor Hyper-V guests?  Here’s why.</title><link>http://blogs.msdn.com/mikekol/archive/2008/10/15/problems-with-queryperformancecounter-on-windows-server-2003-multi-processor-hyper-v-guests-here-s-why.aspx</link><pubDate>Thu, 16 Oct 2008 02:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9001181</guid><dc:creator>mikekol</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9001181.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9001181</wfw:commentRss><description>&lt;P&gt;A friend of mine from another group came to me with a problem he’s been having on some Windows Server 2003 guests.&lt;/P&gt;
&lt;P&gt;They’re doing some nifty stuff with the .NET &lt;A href="http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx" mce_href="http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx"&gt;Stopwatch()&lt;/A&gt; class, and some WPF animations, which uses the &lt;A href="http://msdn.microsoft.com/en-us/library/ms644904.aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms644904.aspx"&gt;QueryPerformanceCounter&lt;/A&gt; Win32 API to figure out the timing during the animations.&amp;nbsp; Apparently, when they run their code in Hyper-V, the animations look sort of… not good.&lt;/P&gt;
&lt;P&gt;They’re using Windows Server 2003 SP2 x86, which has been allocated two virtual processors.&lt;/P&gt;
&lt;P&gt;It turns out that our performance guru, Tony Voellm, has already encountered something like this.&amp;nbsp; From Tony’s &lt;A href="http://blogs.msdn.com/tvoellm/archive/2008/06/05/negative-ping-times-in-windows-vm-s-whats-up.aspx" mce_href="http://blogs.msdn.com/tvoellm/archive/2008/06/05/negative-ping-times-in-windows-vm-s-whats-up.aspx"&gt;blog post&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;The root issue comes about from the Win32 QueryPerformanceCounter function.&amp;nbsp; By default it uses a time source called the TSC.&amp;nbsp; This is a CPU time source that essentially counts CPU cycles.&amp;nbsp; The TSC for each (virtual) processor can be different so there is no guarantee that reading TSC on one processor has anything to do with reading TSC on another processor.&amp;nbsp; This means back to back reads of TSC on different VP's can actually go backwards. Hyper-V guarantees that TSC will not go backwards on a single VP.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The fix for this is to modify the guest’s BOOT.INI file by adding the &lt;A href="http://support.microsoft.com/kb/895980" mce_href="http://support.microsoft.com/kb/895980"&gt;/USEPMTIMER&lt;/A&gt; switch to your operating system’s boot entry.&amp;nbsp; This tells the system to use a different timer for QueryPerformanceCounter-related tasks, and should alleviate the problem.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update: &lt;/STRONG&gt;It looks like some people are seeing this as an error in their event logs.&amp;nbsp; The event number is 1054, and the event source is UserEnv.&amp;nbsp; This is the same problem with the same solution, it's just a different way of showing up.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-mk&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9001181" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Miscellaneous+V/default.aspx">Miscellaneous V</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+Here_2700_s+Why/default.aspx">Hyper-V Here's Why</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category></item><item><title>Hyper-V Installation Tricks: Updates</title><link>http://blogs.msdn.com/mikekol/archive/2008/08/15/hyper-v-installation-tricks-updates.aspx</link><pubDate>Sat, 16 Aug 2008 02:04:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8870958</guid><dc:creator>mikekol</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/8870958.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=8870958</wfw:commentRss><description>&lt;p&gt;I haven’t updated my three part series about different ways to install Hyper-V for our RTM release.&amp;#160; I’ve been working on getting some step-by-step videos created, but it’s always been on the back burner, and I was waiting to update the posts until I had the videos ready.&lt;/p&gt;  &lt;p&gt;Well, a discussion on an internal DL yesterday lit a fire under me, so now I’m going to sit down and do this.&amp;#160; The videos aren’t done yet, but I’ll add them when they are.&lt;/p&gt;  &lt;p&gt;Since not much of the original content has changed, I’m just going to update the original posts with the new bits.&amp;#160; I’ll add some more descriptions about why I’m doing what I’m doing, and where I got certain things.&lt;/p&gt;  &lt;p&gt;Hopefully, this will make the series more useful.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/mikekol/archive/2008/03/25/hyper-v-installation-tricks-part-1-sysprep-and-hyper-v.aspx"&gt;Sysprep and Hyper-V&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a title="Hyper-V Installation Tricks - Part 2- Unattended Installation of Windows and Hyper-V RC0" href="http://blogs.msdn.com/mikekol/archive/2008/03/25/hyper-v-installation-tricks-part-2-unattended-installation-of-windows-and-hyper-v-rc0.aspx"&gt;Unattended Installation of Windows and Hyper-V&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/mikekol/archive/2008/03/27/hyper-v-installation-tricks-part-3-integrated-installation-and-the-beauty-of-the-win6-servicing-stack.aspx"&gt;Integrated Installation and The Beauty of the Win6 Servicing Stack&lt;/a&gt; &lt;/li&gt; &lt;/ol&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8870958" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+How+To/default.aspx">Hyper-V How To</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category></item><item><title>Hyper-V Installation Tricks - Part 3: Integrated Installation and The Beauty of the Win6 Servicing Stack</title><link>http://blogs.msdn.com/mikekol/archive/2008/03/27/hyper-v-installation-tricks-part-3-integrated-installation-and-the-beauty-of-the-win6-servicing-stack.aspx</link><pubDate>Fri, 28 Mar 2008 03:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8340644</guid><dc:creator>mikekol</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/8340644.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=8340644</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Updated for Hyper-V RTM&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Thus far we covered the steps necessary to capture a system image with Hyper-V installed, and how to install Windows and Hyper-V at the same time without dealing with system images at all.&lt;/p&gt;  &lt;p&gt;Let's take a step back and talk about system images again.&amp;#160; Images are a great way to deploy a customized version of Windows to many different workstations or servers without having to go through the effort of configuring each system independently of each other. &lt;/p&gt;  &lt;p&gt;Even if you're just setting Windows Vista or Windows Server 2008 up from a DVD, you're still using an image to do the installation.&amp;#160; If you look on the DVD in the \sources folder, you'll find a file called &lt;font face="Courier New"&gt;install.wim&lt;/font&gt;.&amp;#160; WIM stands for Windows IMage, and it's an actual image of a real Windows installation that Setup applies directly to your hard drive (and then manipulates a bit, but that's a different story).&lt;/p&gt;  &lt;p&gt;You can also make your own &lt;a href="http://technet.microsoft.com/en-us/windowsvista/aa905116.aspx" mce_href="http://technet.microsoft.com/en-us/windowsvista/aa905116.aspx"&gt;WIM files using the &lt;font face="Courier New"&gt;imagex.exe&lt;/font&gt; tool&lt;/a&gt; that ships with the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=94bb6e34-d890-4932-81a5-5b50c657de08&amp;amp;DisplayLang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=94bb6e34-d890-4932-81a5-5b50c657de08&amp;amp;DisplayLang=en"&gt;Windows AIK&lt;/a&gt;, which I'll link to again.&amp;#160; &lt;/p&gt;  &lt;p&gt;The cool thing about WIMs (and there are actually many, but I'm just going to stick with the one that's relevant to this post) is that - using &lt;font face="Courier New"&gt;imagex.exe&lt;/font&gt; - you can mount a WIM as a folder on your Win6 (that's Vista and Server 2008)-based system and copy files to or from it, then save your changes.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;So what does this have to do with Hyper-V installation?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Well, hang on...&amp;#160; there's more that we need to talk about.&lt;/p&gt;  &lt;p&gt;With Windows Vista and Windows Server 2008, some really cool work was done to make the operating systems more servicable.&amp;#160; I'm not really in a position to go into all the details, but one of the absolute coolest side effects was the ability to service a Windows installation without actually booting it, which is called Offline Servicing.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;No, really... what does this have to do with Hyper-V installation?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Hyper-V RTM ships as a hotfix, which means that you can use the Offline Servicing features of the servicing stack to integrate it with any Windows Server 2008 image that you've got.&amp;#160; (This includes the retail media, as well as any image that you made yourself.&amp;#160; For best results, you should only use images that have been sysprep'd, or are otherwise generalized.)&lt;/p&gt;  &lt;p&gt;Assuming you're using WIMs, here's how to do it.   &lt;br /&gt;    &lt;br /&gt;(Robert Larson has posted a great step-by-step article that even has pictures, if that’s more your thing.&amp;#160; Check it out over &lt;a href="http://virtualizationadmin.com/articles-tutorials/microsoft-hyper-v-articles/installation-deployment/slipstreaming-hyper-v-rtm.html"&gt;here&lt;/a&gt;.)&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Download the Hyper-V RTM hotfix (it could actually be any hotfix packaged into an MSU)      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Copy the WIM file you want to integrate this fix into to a place where you have read/write access.&amp;#160; I usually create a folder in the root of the drive called C:\image.&amp;#160; If you’re copying files from a DVD, remember to remove the Read-Only attribute from the WIM file, either by right-clicking on it in Explorer, choosing Properties, and un-ticking the Read Only box, or issuing the command attrib c:\image\install.wim –r.     &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Extract the CAB file from the MSU you just downloaded, just like we talked about in Part 2.&amp;#160; &lt;a href="http://support.microsoft.com/kb/928636" mce_href="http://support.microsoft.com/kb/928636"&gt;There's also a KB article that describes the process.&lt;/a&gt;       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Open an elevated AIK Tools Command Prompt (because you've installed the AIK, right?).      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Create a folder to use as a mount point for your WIM (I typically use &lt;font face="Courier New"&gt;C:\mnt&lt;/font&gt;).       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Did you know that WIM files can contain more than one image?&amp;#160; In fact, the INSTALL.WIM file on standard Windows Server 2008 media contains six different images!&amp;#160; You can see all of the images in a WIM file by running imagex /info c:\image\install.wim.&amp;#160; For starters, let’s work on image number 1.     &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Run:      &lt;br /&gt;&lt;font face="Courier New"&gt;imagex /mountrw C:\image\install.wim 1 C:\mnt&lt;/font&gt;       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Run:      &lt;br /&gt;&lt;font face="Courier New"&gt;start /w pkgmgr /ip /m:c:\extract\Windows6.0-KB950050-x64.cab /o:c:\mnt;c:\mnt\windows /s:%temp%        &lt;br /&gt;&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;Check the return code by running:      &lt;br /&gt;&lt;font face="Courier New"&gt;echo %errorlevel%&lt;/font&gt;       &lt;br /&gt;      &lt;br /&gt;If it's anything but 0, there was a failure while applying the update.       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Run:      &lt;br /&gt;&lt;font face="Courier New"&gt;imagex /unmount /commit c:\mnt        &lt;br /&gt;&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font face="ta"&gt;If you have multiple images in your WIM that you want to patch, repeat this process – starting at step 7, and changing the “1” to whatever image number you want to patch – for each image in the WIM.&lt;/font&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;font face="ta"&gt;And there you have it.&amp;#160; The next time you apply that image, your Windows installation will have the Hyper-V RTM bits already present in the package store.&amp;#160; That's different than having the role enabled, though.&amp;#160; You'll still need to enable it (which can be automated using parts of the unattend fragments provided in Part 2), but when you do, you'll have RTM from the beginning).&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8340644" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+How+To/default.aspx">Hyper-V How To</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category></item><item><title>Hyper-V Installation Tricks - Part 2: Unattended Installation of Windows and Hyper-V</title><link>http://blogs.msdn.com/mikekol/archive/2008/03/25/hyper-v-installation-tricks-part-2-unattended-installation-of-windows-and-hyper-v-rc0.aspx</link><pubDate>Wed, 26 Mar 2008 09:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8337309</guid><dc:creator>mikekol</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/8337309.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=8337309</wfw:commentRss><description>&lt;P&gt;&lt;STRONG&gt;Updated for Hyper-V RTM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Picture it:&amp;nbsp; Sicily, 1914.&amp;nbsp; You've got a bunch of Servers that you need to install and configure Windows Server 2008 and Hyper-V on.&amp;nbsp; You don't feel like messing around with Sysprep.&amp;nbsp; What do you do?&lt;/P&gt;
&lt;P&gt;Well, since none of these things existed in 1914, you're probably pretty safe, but that doesn't really help anyone right now, does it?&lt;/P&gt;
&lt;P&gt;What you need, is a way to do an unattended installation of Windows and Hyper-V so you don't have to sit there the whole time and type commands when the system is ready for you.&amp;nbsp; Lucky for you, we've already thought of that.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Before you begin, I strongly recommend that you download the Windows AIK for Windows Server 2008 and Windows Vista SP1.&amp;nbsp; The AIK contains tools and documentation specifically for helping administrators just like you to roll-out Windows on a large scale.&amp;nbsp; With the AIK, you'll get a nifty little tool that will help you build unattended installation files (formerly called &lt;FONT face="Courier New" size=2&gt;sysprep.inf&lt;/FONT&gt;, now called &lt;FONT face="Courier New" size=2&gt;unattend.xml&lt;/FONT&gt;).&amp;nbsp; You can download it &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=94bb6e34-d890-4932-81a5-5b50c657de08&amp;amp;DisplayLang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=94bb6e34-d890-4932-81a5-5b50c657de08&amp;amp;DisplayLang=en"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Assumptions&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For the purposes of this post, I'm going to assume that you already have an &lt;FONT face="Courier New" size=2&gt;unattend.xml&lt;/FONT&gt; file you plan on using to answer questions at install-time.&amp;nbsp; In the body of this post, I'll only be providing XML fragments for you to drop into your answer file as necessary.&amp;nbsp; But, just to make sure that everyone gets the information they way, I'll attach a complete and working answer file (except for the product key, of course), which you can find at the bottom of this post. (Use that file at your own risk - it repartitions your hard drive, so don't use it unless you understand everything it does!) &lt;BR&gt;&lt;/LI&gt;
&lt;LI&gt;You're dealing with enabling the Hyper-V role on x64 servers, and you want to apply the RTM patch. &lt;BR&gt;&lt;/LI&gt;
&lt;LI&gt;You're going to be using a USB key with your Windows installation media to do the unattended installation.&amp;nbsp; You could just as easily create a custom install DVD with the unattend file and the RTM QFE on it.&amp;nbsp; It's up to you, but I'm just going to stick with the steps for a USB key. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;The Steps&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Download the Hyper-V RTM patch.&amp;nbsp; (We're assuming you're doing this on the server, so we're working with x64 packages only.)&amp;nbsp; It's over on the Microsoft Download Center, which is right over here.&amp;nbsp; Download the MSU, and save it to your local machine. &lt;BR&gt;&lt;/LI&gt;
&lt;LI&gt;Create a working directory on your local machine.&amp;nbsp; I prefer to call mine &lt;FONT face="Courier New" size=2&gt;C:\extract&lt;/FONT&gt;. &lt;BR&gt;&lt;/LI&gt;
&lt;LI&gt;From an elevated command prompt, run the following command: &lt;BR&gt;&lt;FONT face="Courier New" size=2&gt;expand -F:* &lt;EM&gt;Windows6.0-KB950050-x64.msu&lt;/EM&gt; C:\extract &lt;BR&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Look in &lt;FONT face="Courier New" size=2&gt;C:\extract&lt;/FONT&gt; and you’ll see an assortment of files.&amp;nbsp; There are only two files that you need to care about.&amp;nbsp; First, take a look at &lt;FONT face="Courier New" size=2&gt;Windows6.0-KB950050-x64.xml&lt;/FONT&gt; in your favorite text editor.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;Look at the &lt;FONT face="Courier New" size=2&gt;&amp;lt;package /&amp;gt;&lt;/FONT&gt; element.&amp;nbsp; We’re going to use this in a minute, so you may want to copy it to your clipboard. &lt;BR&gt;&lt;/LI&gt;
&lt;LI&gt;The next file to find is &lt;FONT face="Courier New" size=2&gt;Windows6.0-KB950050-x64.cab&lt;/FONT&gt;.&amp;nbsp; This file contains the actual hotfix. Copy it to the root of your USB key. &lt;BR&gt;&lt;/LI&gt;
&lt;LI&gt;Open up your &lt;FONT face="Courier New" size=2&gt;unattend.xml&lt;/FONT&gt; file and add one of the following fragments right after the &amp;lt;unattend /&amp;gt; element, but before any of the &amp;lt;settings /&amp;gt; elements. &lt;BR&gt;&lt;BR&gt;You’ll notice that in the fragments below, we’ve used the &lt;FONT face="Courier New" size=2&gt;&amp;lt;package /&amp;gt;&lt;/FONT&gt; section that we copied out of the XML file in step 4.&amp;nbsp; The only change we made was to the &lt;FONT face="Courier New" size=2&gt;&amp;lt;source /&amp;gt;&lt;/FONT&gt; element’s location attribute, so we can make sure that Windows Setup will know where to find the hotfix.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;&lt;FONT face="Courier New" size=2&gt;&amp;lt;!-- fragment for Server Full --&amp;gt; &lt;BR&gt;&amp;lt;servicing&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;package &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; action="configure"&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assemblyIdentity &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Microsoft-Windows-Foundation-&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;Package" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; version="6.0.6001.18000" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processorArchitecture="amd64" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; publicKeyToken="31bf3856ad364e35"&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; language="" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;selection &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Microsoft-Hyper-V" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; state="true" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;selection &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Microsoft-Hyper-V-Management-Clients" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; state="true" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/package&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;package &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; action="install"&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assemblyIdentity &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Package_for_KB950050" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; version="6.0.1.9"&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processorArchitecture="amd64" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; publicKeyToken="31bf3856ad364e35" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; language="neutral" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;source &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location="E:\Windows6.0-KB949219-x64.cab" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/package&amp;gt; &lt;BR&gt;&amp;lt;/servicing&amp;gt;&lt;/FONT&gt; &lt;BR&gt;&lt;BR&gt;-or- &lt;BR&gt;&lt;FONT face="Courier New" size=2&gt;&amp;lt;!-- fragment for Server Core --&amp;gt; &lt;BR&gt;&amp;lt;servicing&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;package &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; action="configure"&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assemblyIdentity &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Microsoft-Windows-ServerCore-&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;Package" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; version="6.0.6001.18000" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processorArchitecture="amd64" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; publicKeyToken="31bf3856ad364e35"&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; language="" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;selection &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Microsoft-Hyper-V" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; state="true" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/package&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;package &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; action="install"&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assemblyIdentity &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Package_for_KB950050" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; version="6.0.1.9"&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processorArchitecture="amd64" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; publicKeyToken="31bf3856ad364e35" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; language="neutral" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;source &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location="E:\Windows6.0-KB949219-x64.cab" /&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/package&amp;gt; &lt;BR&gt;&amp;lt;/servicing&amp;gt; &lt;BR&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Save the &lt;FONT face="Courier New" size=2&gt;unattend.xml&lt;/FONT&gt; file to your USB key as "&lt;FONT face="Courier New" size=2&gt;autounattend.xml&lt;/FONT&gt;". &lt;BR&gt;&lt;/LI&gt;
&lt;LI&gt;Go test it out.&amp;nbsp; Pop a Windows installation DVD into one of your servers and plug in the USB Key that you copied all of your unattend files to.&amp;nbsp; If you had the unattend file answer all of the questions during setup, the installation should just start without you having to do anything. &lt;BR&gt;&lt;/LI&gt;
&lt;LI&gt;Once you're at the desktop of your new Windows installation, go check in the Programs applet in the Control Panel.&amp;nbsp; If you look at installed updates, you should see KB950050- the Hyper-V RTM QFE. &lt;/LI&gt;&lt;/OL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8337309" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/mikekol/attachment/8337309.ashx" length="4938" type="text/xml" /><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+How+To/default.aspx">Hyper-V How To</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category></item><item><title>Hyper-V Installation Tricks - Part 1: Sysprep and Hyper-V</title><link>http://blogs.msdn.com/mikekol/archive/2008/03/25/hyper-v-installation-tricks-part-1-sysprep-and-hyper-v.aspx</link><pubDate>Wed, 26 Mar 2008 09:31:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8337308</guid><dc:creator>mikekol</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/8337308.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=8337308</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Updated for Hyper-V RTM&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Before we jump right into this, I thought it would be best if we got a few things straight.&amp;#160; For the remainder of this post, everytime I say &amp;quot;sysprep,&amp;quot; I'm referring to running Sysprep with the /generalize switch.&amp;#160; This is the best way to make sure that the Windows installation image that you capture and apply to other systems actually works when you put it on those other systems.&lt;/p&gt;  &lt;p&gt;For more details on what Sysprep with and without the /generalize switch does, I encourage you to read the documentation, which I have conveniently provided &lt;a href="http://technet2.microsoft.com/WindowsVista/en/library/fd2f79c9-3049-4b8c-bcfd-4e6dc5771ace1033.mspx?mfr=true"&gt;a hyperlink to&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;So, you're planning to sysprep a Windows Server 2008 box with Hyper-V installed?&amp;#160; Good choice.&amp;#160; I'm sure you'll be happy with the result, but there are few things that you'll have to do to make sure Hyper-V functions properly after you apply the image to a different computer.&amp;#160; &lt;/p&gt;  &lt;p&gt;The purpose of sysprep is to make the system as generic as possible so that any image taken of a sysprep'd system can then be applied to different hardware.&amp;#160; Syspreping the system will destroy any super-specific information - like hardware IDs.&amp;#160; The next time that Windows installation boots up, all of the information is regenerated.&lt;/p&gt;  &lt;p&gt;With Hyper-V, however, you'll need to do a little bit of work after the system boots back up for the first time.&lt;/p&gt;  &lt;p&gt;First, &lt;strong&gt;&lt;a href="http://support.microsoft.com/kb/954356"&gt;the hypervisor will not be running&lt;/a&gt;&lt;/strong&gt;, since the BCD (Boot Configuration Data) store has been generalized.&amp;#160; You'll need to run the following command to put the hypervisor launch directive back in the BCD store:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;bcdedit /set hypervisorlaunchtype auto&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Secondly, &lt;strong&gt;any virtual network switch that was set for external connectivity will revert to an internal-only switch&lt;/strong&gt;.&amp;#160; This is because the physical NIC that the external switch was bound to doesn't technically exist after a sysprep.&amp;#160; You'll need to rebind the switch to a physical NIC if you want external connectivity again.&lt;/p&gt;  &lt;p&gt;Thirdly, &lt;strong&gt;any disks that you have set to pass-thru (whether hard disks or CD/DVD ROM drives) will need to be set up again&lt;/strong&gt; (this is also because of the hardware IDs).&lt;/p&gt;  &lt;p&gt;If you have to do this on a lot of systems, I recommend that you take a look at our &lt;a href="http://msdn2.microsoft.com/en-us/library/cc136992(VS.85).aspx"&gt;WMI API documentation&lt;/a&gt; and figure out how to do this programmatically, and then add commands to your unattend.xml file that run those scripts after the first boot on the new hardware.&lt;/p&gt;  &lt;p&gt;I'll talk more about this in a future post.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8337308" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+How+To/default.aspx">Hyper-V How To</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category></item><item><title>Hyper-V Installation Tricks - Prologue</title><link>http://blogs.msdn.com/mikekol/archive/2008/03/25/hyper-v-installation-tricks-prologue.aspx</link><pubDate>Wed, 26 Mar 2008 09:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8337302</guid><dc:creator>mikekol</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/8337302.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=8337302</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Updated for Hyper-V RTM&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;As you may have heard, we've shipped Hyper-V.&amp;#160; Sorry for the lack of posts - it seems like I'm always on vacation when we ship a major release like this, so my posts lag a few days behind.&lt;/p&gt;  &lt;p&gt;Installing Hyper-V isn't exactly a difficult task, but if you have to do it on multiple machines, installing Windows, installing Hyper-V and then applying the RTM patch can be a bit time consuming.&amp;#160;&amp;#160; The purpose of this series of posts is to offer a few different ways to help you speed up your Hyper-V deployments.&lt;/p&gt;  &lt;p&gt;Here are the major topics I'm planning to post about:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a class="" href="http://blogs.msdn.com/mikekol/archive/2008/03/25/hyper-v-installation-tricks-part-1-sysprep-and-hyper-v.aspx" mce_href="http://blogs.msdn.com/mikekol/archive/2008/03/25/hyper-v-installation-tricks-part-1-sysprep-and-hyper-v.aspx"&gt;Sysprep and Hyper-V&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a class="" href="http://blogs.msdn.com/mikekol/archive/2008/03/25/hyper-v-installation-tricks-part-2-unattended-installation-of-windows-and-hyper-v-rc0.aspx" mce_href="http://blogs.msdn.com/mikekol/archive/2008/03/25/hyper-v-installation-tricks-part-2-unattended-installation-of-windows-and-hyper-v-rc0.aspx"&gt;Unattended Installation of Windows and Hyper-V&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/mikekol/archive/2008/03/27/hyper-v-installation-tricks-part-3-integrated-installation-and-the-beauty-of-the-win6-servicing-stack.aspx"&gt;Integrated Installation - The Beauty of the Win6 servicing stack&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;If you've got any other suggestions for topics, please let me know.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8337302" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+How+To/default.aspx">Hyper-V How To</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+RTM/default.aspx">Hyper-V RTM</category></item></channel></rss>