<?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 Here's Why</title><link>http://blogs.msdn.com/mikekol/archive/tags/Hyper-V+Here_2700_s+Why/default.aspx</link><description>Tags: Hyper-V Here's Why</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Aero Glass? In my Virtual Machine? It’s more likely than you think…</title><link>http://blogs.msdn.com/mikekol/archive/2009/08/12/aero-glass-in-my-virtual-machine-it-s-more-likely-than-you-think.aspx</link><pubDate>Thu, 13 Aug 2009 02:37:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9867355</guid><dc:creator>mikekol</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/9867355.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=9867355</wfw:commentRss><description>&lt;p&gt;Back in 2006, I posted an article about how to get &lt;a href="http://blogs.msdn.com/mikekol/archive/2006/02/22/537325.aspx"&gt;Glass running in a VM&lt;/a&gt;.&amp;#160; &lt;br /&gt;The trick was to use Remote Desktop on a Glass-enabled machine to TS into a VM which is running the same OS.&amp;#160; If the build of the OS on your workstation is different than the one in the VM, Glass won’t work.&lt;/p&gt;  &lt;p&gt;With the release of the Windows Virtual PC for Windows 7 Release Candidate, this subject has come up again in &lt;a href="http://www.redmondpie.com/enable-aero-glass-in-windows-virtual-pc/"&gt;a post from the RedmondPie.com&lt;/a&gt; folks.&amp;#160; They noticed that if you enable the Integration Services in a Windows 7 VM, you’ll get Aero Glass!&lt;/p&gt;  &lt;p&gt;This may be news, but it’s actually the same ol’ story.&amp;#160; The reason that enabling Integration Services gives you Aero Glass is because it uses Remote Desktop technology to show you the video from the Virtual Machine.&amp;#160; That also helps to explain why installing Vista (or a build of 7 that is different than the one on the host) doesn’t give you Glass.&lt;/p&gt;  &lt;p&gt;Now, you might be asking yourself why – if this is true – do you not get Glass in Hyper-V while using VMConnect?&amp;#160; After all, VMConnect uses Remote Desktop technology to show you the VM Video, too.&amp;#160; &lt;/p&gt;  &lt;p&gt;To explain this, I asked &lt;a href="http://blogs.msdn.com/virtual_pc_guy"&gt;Ben Armstrong&lt;/a&gt; what was going on, just to make sure that I understood it correctly (for the record, I didn’t).&amp;#160; Ben thought deeply for a second, and knew that the best way to explain this to me was to draw pretty pictures on my whiteboard.&amp;#160; I’ve tried to reproduce them below&lt;sup&gt;&lt;em&gt;1&lt;/em&gt;&lt;/sup&gt;:&lt;/p&gt;  &lt;div align="center"&gt;   &lt;table border="0" cellspacing="0" cellpadding="2" width="400" align="center"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="200"&gt;           &lt;p align="center"&gt;&lt;font size="4"&gt;&lt;strong&gt;&lt;em&gt;Windows Virtual PC&lt;/em&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="200"&gt;           &lt;p align="center"&gt;&lt;font size="4"&gt;&lt;strong&gt;&lt;em&gt;Hyper-V&lt;/em&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="200"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/mikekol/WindowsLiveWriter/AeroGlassInmyVirtualMachineItsmorelikely_A3B1/image_2.png"&gt;&lt;img style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="My picture is prettier than Ben&amp;#39;s was." border="0" alt="My picture is prettier than Ben&amp;#39;s was." align="left" src="http://blogs.msdn.com/blogfiles/mikekol/WindowsLiveWriter/AeroGlassInmyVirtualMachineItsmorelikely_A3B1/image_thumb.png" width="386" height="356" /&gt;&lt;/a&gt;&lt;/td&gt;          &lt;td valign="top" width="200"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/mikekol/WindowsLiveWriter/AeroGlassInmyVirtualMachineItsmorelikely_A3B1/image_4.png"&gt;&lt;img style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Yay Visio!" border="0" alt="Yay Visio!" src="http://blogs.msdn.com/blogfiles/mikekol/WindowsLiveWriter/AeroGlassInmyVirtualMachineItsmorelikely_A3B1/image_thumb_1.png" width="386" height="357" /&gt;&lt;/a&gt; &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;  &lt;div align="left"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="left"&gt;In the illustrations above, you can see that the architecture is somewhat similar between Windows Virtual PC and Hyper-V (with respect to video, anyway).&amp;#160; In both cases, an application that uses the RDP ActiveX control (MSTSCAX.DLL), like VMWindow.exe or VMConnect.exe,&amp;#160; for video remoting hooks into a process which hosts the RDP encoder.&amp;#160; If no integration components are installed in the guest OS, video is handled by our emulated S3 video adapter, which gets passed back through to VMWindow or VMConnect. &lt;/div&gt;  &lt;div align="left"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="left"&gt;If integration components are installed and enabled, there’s a different option.&amp;#160; &lt;/div&gt;  &lt;div align="left"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="left"&gt;In Hyper-V, the RDP encoder talks to the Video Virtual Device (VDEV), which communicates with the child partition via a communications bus called VMBus, allowing it to talk directly to the synthetic video adapter (SynthVid VSC) that is running in the child partition.&amp;#160; SynthVid then sends frame buffers back across VMBus, back to the Video VDEV, where it’s picked up by the RDP encoder, finally making the video show up in VMConnect.&lt;/div&gt;  &lt;div align="left"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="left"&gt;In Windows Virtual PC, the RDP encoder makes a connection to an RDP endpoint inside the guest OS via a communications bus called VPCBus.&amp;#160; In this specific scenario, VPCBus is essentially acting as a network transport, allowing an RDP connection to be made from the host OS to the guest OS without the use of a network (which is why this works even if you don’t have a network adapter in your guest OS).&amp;#160; Now, you don’t have an RDP connection to the guest all the time – when the guest boots there’s obviously no RDP endpoint to connect to.&amp;#160; At that point, you’re using emulated video.&amp;#160; As soon as the integration components come online and are successfully enabled, Windows Virtual PC creates a Remote Desktop connection to the guest OS, and seamlessly switches over to using that for video.&lt;/div&gt;  &lt;div align="left"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="left"&gt;And that’s the secret sauce behind getting Glass in Windows Virtual PC and not in Hyper-V:&amp;#160; Hyper-V transmits frame buffers which are then rendered into video by the RDP encoder, while Windows Virtual PC actually creates a Remote Desktop connection, which can use all of the pixie dust necessary for Aero remoting to work.&lt;/div&gt;  &lt;div align="left"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="left"&gt;So why doesn’t Hyper-V do this too?&amp;#160; &lt;/div&gt;  &lt;div align="left"&gt;That’s a topic for another blog post.&lt;/div&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font size="1"&gt;&lt;sup&gt;1&lt;/sup&gt;Please note that these images are not necessarily technically accurate – their only purpose is to help demonstrate concepts relevant to the conversation.&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9867355" width="1" height="1"&gt;</description><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/Windows+7/default.aspx">Windows 7</category><category domain="http://blogs.msdn.com/mikekol/archive/tags/Windows+Virtual+PC+for+Win7/default.aspx">Windows Virtual PC for Win7</category></item><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>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>KB950050 Isn't Installed After I Insert and Install the Integration Services Setup Disk.  Here's Why.</title><link>http://blogs.msdn.com/mikekol/archive/2008/06/26/kb950049-isn-t-installed-after-i-insert-and-install-the-integration-services-setup-disk-here-s-why.aspx</link><pubDate>Thu, 26 Jun 2008 22:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8574509</guid><dc:creator>mikekol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/8574509.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=8574509</wfw:commentRss><description>&lt;DIV style="PADDING-RIGHT: 7px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; DISPLAY: inline" id=scid:B3E14793-948F-49af-A347-D19C374A7C4F:254b7c04-98b4-4952-9946-3f4972d4ab80 class=wlWriterSmartContent&gt;
&lt;SCRIPT type=text/javascript&gt;&lt;!--
digg_topic = 'microsoft';
//--&gt;&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript src="http://digg.com/tools/diggthis.js" mce_src="http://digg.com/tools/diggthis.js"&gt;&lt;/SCRIPT&gt;
&lt;/DIV&gt;
&lt;P&gt;In the RC0 release of Hyper-V, you may recall, you had to use the same QFE to Windows Server 2008 host and guest machines to get the Integration Component versions matching.&lt;/P&gt;
&lt;P&gt;In&amp;nbsp;RTM, you simply need to choose the Insert Integration Services Setup Disk option from the Action menu in VMConnect, just like you do for Windows XP, Windows Server 2003, and Windows Vista.&lt;/P&gt;
&lt;P&gt;However, after you get the ICs working and you connect up to Windows Update, the Hyper-V QFE for Windows Server 2008 (KB950050) is still listed.&amp;nbsp; That little logical paradox causes you to check which QFEs are actually installed on your system, and you find that KB950050 isn't in that list.&lt;/P&gt;
&lt;P&gt;What sort of crazy voodoo magic is this?&lt;/P&gt;
&lt;P&gt;Well, according to Occam's Razor, the simplest answer is typically the correct one.&lt;/P&gt;
&lt;P&gt;The simplest answer in this case is that Windows isn't lying - KB950050 isn't installed.&amp;nbsp; For RTM (actually, this happened in RC1), we added another QFE to the mix so that the standard way of installing the ICs (the VMGuest.ISO, which is what gets inserted into the VM's DVD-ROM drive when you click Insert Integration Services Setup Disk) worked for Windows Server 2008.&lt;/P&gt;
&lt;P&gt;Since the RTM update actually contains an updated VMGuest.ISO file, it would be impossible for us to put the RTM update in the ISO (it's a classic "chicken-and-egg" problem).&amp;nbsp; &lt;/P&gt;
&lt;P&gt;So, we added another QFE that just contains the Integration Components and nothing else to make life easier for all of you.&amp;nbsp; You can still apply KB950050 if you want to.&amp;nbsp; In fact, you can just apply KB950050 if that's your thing.&amp;nbsp; Or, if you want to be totally up to date, you can apply both of them.&lt;/P&gt;
&lt;P&gt;Ok, now I'm &lt;EM&gt;really&lt;/EM&gt; going to the ship party.&amp;nbsp; Honest.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8574509" 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></item><item><title>I still get an error while installing the Integration Components on Win2k3 after I installed Win2k8 RC1 on the host! HC?</title><link>http://blogs.msdn.com/mikekol/archive/2008/01/14/i-still-get-an-error-while-installing-the-integration-components-on-win2k3-after-i-installed-win2k8-rc1-on-the-host-hc.aspx</link><pubDate>Tue, 15 Jan 2008 03:53:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7113819</guid><dc:creator>mikekol</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/7113819.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=7113819</wfw:commentRss><description>&lt;div class="wlWriterSmartContent" id="scid:B3E14793-948F-49af-A347-D19C374A7C4F:9a2922d1-9bea-429a-8e55-40c0b8f2fdec" style="padding-right: 7px; display: inline; padding-left: 0px; float: left; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt; &lt;script type="text/javascript"&gt;&lt;!--
digg_bodytext = 'In an earlier post, I said that you should install Windows Server 2008 RC1 with Hyper-V Beta if you're getting error 61658 while trying to install the Integration Components in Windows Server 2003.';
//--&gt;&lt;/script&gt; &lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt; &lt;/div&gt;  &lt;p&gt;In an &lt;a href="http://blogs.msdn.com/mikekol/archive/2008/01/04/getting-an-error-while-installing-the-ics-on-server-2003-here-s-why.aspx" target="_blank"&gt;earlier post&lt;/a&gt;, I said that you should install Windows Server 2008 RC1 with Hyper-V Beta if you're getting error 61658 while trying to install the Integration Components in Windows Server 2003.&lt;/p&gt;  &lt;p&gt;And you should.&lt;/p&gt;  &lt;p&gt;But some people are still seeing it.&amp;#160; If you happen to be one of them, here's why:&lt;/p&gt;  &lt;p&gt;You probably didn't really install Windows Server 2008 RC1 with Hyper-V Beta; you probably installed Windows Server 2008 RC1, which contained the Hyper-V CTP.&lt;/p&gt;  &lt;p&gt;I won't go into the reason behind having two similarly named releases so close together because I wasn't involved in that discussion, so any attempt to explain it would be pure speculation on my part.&amp;#160; Needless to say, the situation we find ourselves in is that there is a Windows Server 2008 that has our beta bits in it, and one that has our old CTP bits.&lt;/p&gt;  &lt;p&gt;If you've yet to install any build of RC1, you can get a link to download the one that has Hyper-V Beta &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=8F22F69E-D1AF-49F0-8236-2B742B354919&amp;amp;displaylang=en" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;If you've already installed it and you're curious as to whether or not you've got the CTP or the Beta bits of Hyper-V, you can easily tell.&amp;#160; If you had to double-click on any MSU files to get the role to show up in Server Manager, you have the CTP release.&lt;/p&gt;  &lt;hr /&gt;  &lt;p&gt;After Blogging Mint:&lt;/p&gt;  &lt;blockquote&gt;   &lt;h6&gt;&lt;em&gt;I don't know if anyone else out there ever saw these videos, but when I was in High School, my physics class had to watch some lectures given by a man named &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/Paul_G._Hewitt" target="_blank"&gt;&lt;em&gt;Paul G. Hewitt&lt;/em&gt;&lt;/a&gt;&lt;em&gt;.&amp;#160; While describing miscellaneous laws of physics, he would commonly prove the law via some demonstration, then ask his class &lt;/em&gt;&lt;a href="http://youtube.com/watch?v=P3SIymHoQoc&amp;amp;feature=related" target="_blank"&gt;&lt;em&gt;&amp;quot;HC?&amp;quot; which stood for &amp;quot;How come?&amp;quot;&lt;/em&gt;&lt;/a&gt;&lt;/h6&gt;    &lt;h6&gt;&lt;em&gt;My &amp;quot;Here's why&amp;quot; series of posts wasn't exactly inspired by Professor Hewitt, but I've yet to write a post without thinking about those videos in some way, so I consider them to be a sort of tip of the hat.&lt;/em&gt;&lt;/h6&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7113819" 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></item><item><title>Does your mouse stop working when you TS into a host machine and try to use a guest OS? Here's why.</title><link>http://blogs.msdn.com/mikekol/archive/2008/01/09/does-your-mouse-stop-working-when-you-ts-into-a-host-machine-and-try-to-use-a-guest-os-here-s-why.aspx</link><pubDate>Wed, 09 Jan 2008 23:17:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7045162</guid><dc:creator>mikekol</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/mikekol/comments/7045162.aspx</comments><wfw:commentRss>http://blogs.msdn.com/mikekol/commentrss.aspx?PostID=7045162</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;  &lt;div class="wlWriterSmartContent" id="scid:B3E14793-948F-49af-A347-D19C374A7C4F:7aff69ab-2c83-491e-bb14-9bc4d98badd1" style="padding-right: 7px; display: inline; padding-left: 0px; float: left; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt; &lt;script type="text/javascript"&gt;&lt;!--
digg_title = 'Do you lose your mouse over TS when using Hyper-V?  Here's why.';
//--&gt;&lt;/script&gt; &lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt; &lt;/div&gt; To continue my &amp;quot;here's why&amp;quot; series of posts, I figured I'd talk about something else that a lot of our users have run into - the infamous disappearing mouse when you try to use a Hyper-V guest while TS'd (that's Terminal Services - or Remote Desktop) into the host machine.  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Here's the scenario:&amp;#160; You've got a VM that you need to use, so you TS into your host machine, start up the Hyper-V Management Tool, connect to your VM and try to use it.&amp;#160; Suddenly, your mouse doesn't work anymore, so you try to release it using the CTRL-ALT-Left Arrow hotkey.&amp;#160; That doesn't work.&amp;#160; Now you can't even use the mouse on your host operating system.&lt;/p&gt;  &lt;p&gt;If you close your TS session and restart it, you get your mouse back, but this happens each time you try to control your guest.&lt;/p&gt;  &lt;p&gt;Some of you are probably saying &amp;quot;Yes - that happens to me all the time, and it's annoying!&amp;quot;&amp;#160; Others may think I'm making it up, since they've never had this problem.&lt;/p&gt;  &lt;p&gt;So, here's what's going on.&amp;#160;&amp;#160; There are two modes of mouse operation when we're dealing with Virtual Machines:&amp;#160; integrated and relative, as discussed by Ben Armstrong &lt;a href="http://blogs.msdn.com/virtual_pc_guy/archive/2007/06/07/why-are-additions-required-for-using-virtual-machines-through-remote-desktop.aspx" target="_blank"&gt;here&lt;/a&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;When you TS into the host machine, your mouse is running in integrated mode.&amp;#160; When you're using a VMConnect window to control a VM, the mouse runs in relative mode (with one important caveat, which I will come to later on).&amp;#160; When you mix integrated and relative mode, you get badness.&lt;/p&gt;  &lt;p&gt;So what is a humble system administrator or virtualization enthusiast to do?&lt;/p&gt;  &lt;p&gt;There are a few work-arounds: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Run Windows Server 2008 as a guest.&lt;/strong&gt;&amp;#160; No, seriously.&amp;#160; The Hyper-V Integration Components are built into Windows Server 2008, so it will simply work in this configuration out of the box.       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Install the Integration Components for your guest operating system.&lt;/strong&gt;&amp;#160; This is the caveat I was talking about earlier, and is the primary reason why some of you have quite possibly never seen this.&amp;#160;&amp;#160; If you have the ICs installed and running, the mouse is running in integrated mode, and works flawlessly over TS.       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;TS directly into the guest operating system.&lt;/strong&gt;&amp;#160; If there are no ICs available for your chosen guest OS, you can use TS (or any other remote control application, really) to control the guest directly.&amp;#160; This assumes, of course, that the VM is exposed to the same network as the machine you're controlling it from.       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Use the actual, physical console of the host machine.&lt;/strong&gt;&amp;#160; If you take TS out of the picture, you won't have this problem.       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Remote Administration tools for Hyper-V.&lt;/strong&gt;&amp;#160; These aren't available yet, but in our final release, we'll provide a way for you to install the Hyper-V Manager tools on Windows Vista, so you won't actually have to run them on a server.&amp;#160; &lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7045162" 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></item></channel></rss>