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

3 responses to “Hyper-V encountered an error trying to access an object on computer”

  1. wizball Avatar
    wizball

    Thanks, but I also had to start the vmms service then it worked.
    net start vmms

    Liked by 1 person

    1.  Avatar
      Anonymous

      Damn… This was what I needed.
      Thanks a lot wizball

      Like

  2. Azmat Ali Khan Jadoon Avatar
    Azmat Ali Khan Jadoon

    Really helpful. Saved my day!

    Liked by 1 person

Leave a reply to Azmat Ali Khan Jadoon Cancel reply

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

I’m Hung

Welcome to my personal space. This is a small corner where I share ideas and things I find interesting,..

Let’s connect

Don’t hesitate to reach out if there’s anything we can discuss, or simply to connect :)