"Cannot connect to the virtual machine." for new Hyper-V Virtual Machine

18,484

Solution 1

I found my specific issue. The VPN software that I used was preventing me connecting to the virtual machines. I uninstalled the VPN software and it worked fine.

The VPN software was Astrill, which I use to test CDNs and how websites look when connecting from various places around the world. This may no longer be an issue with the latest version.

I'm now running the VPN from within a virtual machine, which works fine and doesn't interfere with the Windows 8 network stack.

Solution 2

I fixed it by allowing VMMS.EXE (Located in C:\Windows\System32) through my firewall (Sophos) and allowing IPV6 traffic.

Solution 3

In my case it was problem with the Cryptographic service (VipNet CSP). You should unchek "Support work ViPNet CSP via Windows cryptoAPI" and reboot.

Solution 4

I've found out that it was the proxy server that prevented me to connect to Hyper-V virtual machine.

Proxy is actually forced by group policy so this is actually just a workaround for me, but if I set UseProxy setting in registry to 0, I can connect to my virtual machine

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Terminal Services] "AllowExplicitProxyName"=dword:00000001

"ProxyName"="rdgw.somedomain.com"

"UseProxy"=dword:00000000

"AllowExplicitUseProxy"=dword:00000001

"AllowExplicitLogonMethod"=dword:00000001

"LogonMethod"=dword:00000004

Solution 5

Go to Hyper-V setting in your Hyper-V manager. Then turn off NUMA Spanning and restart Hyper-V Virtual Machine Management Service. Before I tried everything. Finally that one works!!!!!

Share:
18,484

Related videos on Youtube

Daniel Ballinger
Author by

Daniel Ballinger

Updated on September 18, 2022

Comments

  • Daniel Ballinger
    Daniel Ballinger over 1 year

    I've added Hyper-V to my Windows 8 Pro install. The CPU is an Intel i7-3770, so I believe it supports virtualization (which I've also enabled in the bios).

    When I create a new Virtual machine I am unable to connect to it via the Hyper-V Manager. I can see the VM is running in the small thumbnail, but I can't access it.

    Cannot connect to the virtual machine. Try to connect again. It the problem persists, contact your system administrator.
    Would you like to try connecting again?

    Cannot connect to the virtual machine

    By default only the Hyper-V Virtual Machine Management service is running:

    Currently Running Hyper-V Services

    I've tried manually starting the "Hyper-V Remote Desktop Virtualization Service" as its description of providing a platform for communication between the virtual machine and the operating system running on the physical computer sounded promising.

    This resulted in a prompt:

    The Hyper-V Remote Desktop Virtualization Service service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

  • Outdated Computer Tech
    Outdated Computer Tech about 10 years
    explain how to do that?
  • must19
    must19 almost 10 years
    open the file C:\Windows\System32\drivers\etc\hosts end check entries like this one : 102.54.94.97 rhino.acme.com
  • julestruong
    julestruong over 4 years
    that didnt work with NordVPN