Hyper-V Error, "Cannot Connect to the Virtual Machine"

Copper Contributor

I'm on Windows 11 Pro (Client) version 23H2 host and have tried creating multiple different guest OS machines all with the same error, "Cannot Connect to the Virtual Machine." However, when I power on the machine, I can see an image of it booted up in the Hyper-V Manager window. I just can't connect to it. Both the host and the guest machine are running on the same pc. Any idea how to troubleshoot this? This is my first time using Hyper_V to manage virtual machines so it's possible I'm overlooking something. Here is a screenshot of the error in Hyper-V Manager

Screenshot 2024-05-20 120310.png

I tried creating both internal and external switches in the Virtual Switch Manager. I made sure virtualization is enabled in the BIOS and that Windows is up to date. I've tried starting and stopping the service and restarting my pc.

1 Reply

@AdrianeS42 sometimes the VMMs console is flaky especially when you reboot a VM and enhanced mode is enabled (aka RDP). nothing to do with virtual switching. Hyper-V host (Client or Server OS) communicates directly with the VM through VMMS service.
Thank you for using Hyper-V! Mind that Windows Admin Center 2311 is the major replacement for Hyper-V MMC (not 100% feature complete, esp. the console session is easier in the old one).

 

Dear @EldenChristensen if anyone has the time, the reconnecting issues with VMMs could be worth looking into for a WS 2025 LCU. It can get really nasty, with a "cannot reconnect loop", not always reproducible but high chance.