Windows 10: Hyper-V can’t connect to localhost

hyper-vwindows 10

For an internship I would like to use Linux. The only real option I am given is to use Hyper-V to run a virtual Linux machine. I`ve managed to get Hyper-V Manager running by turning all Hyper-V features on under " Turn Windows features on or off".

Unfortunately, when I open Hyper-V Manager open "Connect to Server", select "Local computer" and press "OK". I get the following error message:

An error occurred while attempting to connect to server "pc-name".
Check that the Virtual Machine Management service is running and that
you are authorized to connect to the server.

Hyper-V encountered an error trying to access an object on computer
"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.

On this Windows 10 PC (Dell Latitude E7270) I have been given superuser rights and can run programs as admin, which is done. Furthermore, Virtual Machine Management service is running — looking at "Services". Can we infer that I am somehow not authorized to connect to the server? If so, how come?

Does anyone have an idea how to fix this problem?

Best Answer

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

Related Question