Error Connecting to Hyper-V Host

Got yourself a Hyper-V host on a nice HP server and can't connect to it remotely from the Hyper-V manager?  You are not alone.  Assuming your error is something like the error below then I may be able to help.

The WS-Management service cannot process the request.  The class Msvm_RegisteredProfile does not exist in the root/interop namespace.


This has something to do with the HP tools messing with the registration of the MOF's.  All we need to do to fix it is register the MOF files.  To do this, open an administrative command prompt on the server and run the following command.

MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof


That will parse through the MOF file and register it on the system leaving you with the nice screenshot below.


You should now be able to use your local Hyper-V console to connect to the server and manage away.


As with anything you find on the Internet use this at your own risk.  Just because it worked for me doesn't mean it will work for you.


Comments

Popular posts from this blog

Local Administrator Password Solution(LAPS)

MBAM Not BitLocking