Hi everyone,
this has now happened on both of my Windows Server 2012 R2 Hyper V hosts.
Both servers are part of the domain.
When creating a new VM, I can run through every step but when I click Finish, I receive the error:
Hyper-V encountered an error trying to access an object on computer localhost because the object was not found. The object might have been deleted or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running try to perform the task again by using run as administrator.
I'm running this as the domain administrator. Have also tried as local administrator. Managing Hyper V on the servers themselves so this shouldn't be related to firewall etc.
This occurred once before, and it was resolved by doing the following:
1. Stopped the Virtual Machine Management Service.
2. Run (elevated command prompt) the command
MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof
3. Reboot the server.
This isn't working anymore. I suspect a recent windows update has broken something, but can't be sure.
Can anyone assist with this?
Ian