Hyper-V: "Hyper-V encountered an error trying to access an object on computer....

I was building a new Dev machine for SharePoint 2013 and the upcoming SharePoint 2016 release and noticed i couldn't connect to my Windows 2012 R2 Hyper-V host on which i do most of my "Proof of Concept" stuff. 

I got the following error:

"Hyper-V encountered an error trying to access an object on computer <host> because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running."

After trying enter-pssession in PowerShell, (which worked of course...) pinging, firewall rules, winrm settings, etc. I resorted to rebuilding the configuration for hyper-v.

This can be fixed by running the following command on your Hyper-v Host itself.
  
MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof

This finally resolved the issue. 

Reacties

Een reactie posten

Populaire posts van deze blog

One ADFS to serve them all (Part I)!

Microsoft Hub NVA configuration example.

RDS: Remote Desktop Gateway with NPS and Cross domain identities.