Hyper-V Manager: right-clicking on local or remote VM crashes MMC snap-in

I have a Windows Server 2008 R2 Enterprise SP1 machine that I log into and use to manage virtual machines running on multiple Hyper-V servers on our domain. Sometimes, when I right-click on a local or remote VM, the Hyper-V Manager will crash and display the following error message:

Screenshot of Hyper-V Manager showing the error message "MMC has detected an error in a snap-in and will unload it."

If I use the Actions menu on the lower right, it works just fine, but for some reason right-clicking causes MMC to stop working. Is there any way to fix this issue? Here are the full details of the error message.

Description:
  Stopped working

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: mmc.exe
  Problem Signature 02: 6.1.7600.16385
  Problem Signature 03: 4a5bc808
  Problem Signature 04: Microsoft.Virtualization.Client
  Problem Signature 05: 6.1.0.0
  Problem Signature 06: 4ce7c9e3
  Problem Signature 07: 342
  Problem Signature 08: 1f
  Problem Signature 09: System.OverflowException
  OS Version:   6.1.7601.2.1.0.274.10
  Locale ID:    1033

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Also this stack trace:

FX:{922180d7-b74e-45f6-8c74-4b560cc100a5}

Exception has been thrown by the target of an invocation.

  at Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.OnThreadException(Object sender, ThreadExceptionEventArgs e)
   at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   at System.Windows.Forms.Control.WndProcException(Exception e)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   at System.Windows.Forms.ListView.WndProc(Message& m)
   at Microsoft.Virtualization.Client.Controls.EnhancedListView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Looks to be an issue with HyperV snapin crashing when running on a second monitor

You aren't going to believe this. We figured out what it was finally and it was fairly complicated :)

We found a bug with the Hyper-V MMC snap in that is very repeatable. With Win2k8R2, hook up a machine to an external monitor (I was doing this on a laptop). Then, move the MMC (server manager in this case) the external monitor. Try to right-click on any VM in Hyper-V and it will crash. As soon as you move it back to the main monitor it works fine again.

Go figure!

I can confirm these results on my system, which has 2 GPUs with 4 monitors total (See below). If i use HyperV manager on the primary display or lower half of monitors 3 and 4 then everything works, but as soon as I move it above the vertical height of the primary display and try to right click it will crash. I have been working with Microsoft Support to resolve the issue (SR number 112110960192323 ) and will follow up if a hotfix or workaround is found.

enter image description here


It seems that a rogue Windows Update is responsible for this. You can uninstall it by running wusa.exe /uninstall /kb:2686831, the reboot, then reinstall the update via automatic update and reboot again. This fix is outlined in this TechNet forum post.

If that doesn't work, I'd try uninstalling RSAT and reinstalling it.