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

If you are working with Hyper-V or Docker for Windows and your Hyper-V or docker can’t be started due to the error:

[Window Title]
Hyper-V Manager
[Main Instruction]
An error occurred while attempting to connect to server “YOUR-PC-NAME”. Check that the Virtual Machine Management service is running and that you are authorized to connect to the server.
[Content]
Hyper-V encountered an error trying to access an object on computer ‘ YOUR-PC-NAME ‘ because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running.
[Close]

In this case, It’s possibly about Code flow guard (CFG) issue. You can try to turn CFG off to start Hyper-V instance.

1, Open “Window Security”

2, Open “App & Browser control”

3, Click “Exploit protection settings” at the bottom

4, Switch to “Program settings” tab

5, Locate “C:\WINDOWS\System32\vmcompute.exe” in the list and expand it

6, Click “Edit”

7, Scroll down to “Code flow guard (CFG)” and uncheck “Override system settings”

8, Start vmcompute from powershell “net start vmcompute”

References:

[1] https://social.technet.microsoft.com/Forums/ie/en-US/ee5b1d6b-09e2-49f3-a52c-820aafc316f9/hyperv-doesnt-work-after-upgrade-to-windows-10-1809?forum=win10itprovirt

[2] https://www.thewindowsclub.com/control-flow-guard-windows

2 thoughts on “Hyper-V encountered an error trying to access an object on computer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.