Hyper V 2012R2


I'm able to connect to a 2012R2 machine, but none of the virtual machines are displayed. I can connect using hyper-v manager, so I don't think it's a permissions issue. Anyone else having issues?

file attachments


jbvernejoux wrote Oct 28, 2013 at 5:25 PM

Yes, same behavior since I upgraded my host from W2012 to W2012 R2.
I managed to use it successfully on an W2012 Host (locally and remote) .
It seems it is a compatibility issue with W2012 R2: No more able to use it with any W2012 R2 hypervisor/OS.

What i found via googling:
With Win2012, Microsoft decided to deprecate the WMI namespace accesses/API for Hyper-V R2 monitoring/administration that were used in HyperV R2 / W2008R2 (and then by HyperV Mon).
BUT it was yet possible to use it in an "Read-only" mode in Windows 2012 server. A newer Wmi Namespace was created in W2012 to manage hyperV R3 and its new features to replace the other.

New with W2012 R2: it looks like that the WMI old fashion access Hyperv R2 namespace is definitively out. So i think no future for the amazing HyperVMon tool on W2012 R2 without a complete rewrite based on the new WMI HyperV R3 API... I don't know if the author or someone else could write a new version.

jbvernejoux wrote Oct 28, 2013 at 5:31 PM

[Edit previous post:]
here are the links about MS blogs and old Wmi namespace dropped support:

quedel wrote Nov 8, 2013 at 6:17 AM

I have a workaround for the problem with Hyper-V 2012R2.

I made a copy of the HV-Monitor Folder in C:\Users\username\AppData\Local\Microsoft\Windows Sidebar\Gadgets and give it a meaningful name...

then I open the gadget.xml an change the name of the gadget, for example "Hyper-V Monitor 2012R2".

the last and most important Point is the gadget.vbs.
search and replace the string "root\virtualization" to "root\virtualization\V2"!
then, the HV-Monitor is running (only) with Hyper-V 2012 R2.

Gamefanatic wrote Nov 17, 2013 at 6:42 PM

I second Quedel's work-around. This resolved it for me as well... Just wish I had seen it before doing all the research myself! :P I haven't tested if this change will still work with Server 2008 version though. I will probably next week.

quedel wrote Nov 18, 2013 at 12:53 PM

It does not work with 2008...
That is the reason, why i made a duplicate from the gadget...

quedel wrote Nov 18, 2013 at 2:18 PM

I add a patch for the gadget.vbs. (To find at "Source Code->Patches")
With the patch, the HV-Monitor can monitor all Hyper-V versions.

msroedel wrote Jan 9, 2014 at 6:50 AM

Thanks for the patched gadget.vbs!
I just noticed a minor problem: machines in paused state are displayed with an 'unknown' state. Thus, starting such machines is not possible via the gadget. Obviously, the wmi query delivers an unexpected result if the VM is in paused state. Ideas anyone?

wrote Jan 23, 2014 at 7:33 PM

wrote Aug 16, 2016 at 10:45 AM