6

I have enabled Hyper-V on my Windows 10 Pro (v.1809) and installed Ubuntu-v18.04.2-64bit Desktop image. In Hyper-V Manager, I have been getting this error when connecting to the virtual machine:

Video remoting was disconnected unexpectedly

But from this screen I think it was started successfully:

Ubuntu 18.04.2 running screen

I have tried many solutions but none of them work for me:

  1. Enable RemoteFX
  2. Disable enhanced session mode

I try to start all Hyper-V related services but only the following ones can be started: HV Host Service, Host Computer Service, Virtual Machine Management.

The running Hyper-v related services

I also find this error showing up when connection failed in Event Viewer > Hyper-V-VMMS log:

*The Hyper-V Virtual Machine Management service encountered an unexpected error: Unspecified error (0x80004005).*
dirdi
  • 3,317

5 Answers5

6

I have the exact same problem. For now I solved by disabling the enhanced session mode in the Hyper-V configuration. But different from you I disabled in the USER section and not in the SERVER section and works for me. I hope this can help

2

I had the same problem and I could use the machine with the enhanced session mode turned off, but this gives the limited usability.

The problem was that I set up the Ubuntu machine to log me in automatically. When I set it up to "Require password", I can use the enhanced mode.

0

Enhanced session mode can allow dynamic resolution and better user experience but you must disable the auto login when connecting in enhanced session mode.

You can login via the basic mode first: - select "view" from the toolbar - uncheck the "Enhanced session"

Now, you should be able to login in its default solution. You can go to setting -> account and disable the auto login.

0

I'm having the same problem on a Windows 11 VM which worked fine previously. No auto-login function.
I've tried disabling the Enhanced Session Mode in both the User and Server sections of the Hyper-V Settings but neither of these has made any difference. I've also checked the Hyper-V services and all seem to be running as expected.
I've also tried a fresh VM and tried to install Win 11 again but am having the same problem.

EDIT (27/02/2022): I have found a workaround for the Hyper-V problem by using a more reliable product: VMware Workstation Player. I've installed Windows 11 using this article. It details how to bypass the TPM check which usually prevents Windows 11 from being installed in Workstation.

Rich M
  • 398
  • 1
  • 4
  • 19
-1

Found the solution to this! Yes finally, atleast for me anyways. When I connect to the VM host server, I open a RUN command to MSTSC.exe I enter the hosts name, but instead click on SHOW OPTIONS, Display. My resolution was set to only 1024x800. I was doing some work previously and had set just those sessions with this smaller resolution, but all subsequent sessions began using it. I didn't think much of it until this problem started to happen. I changed mine to 1280x1024 and it worked. I think I normally had it set to 1920x1080. Once you make this change, click on connect. Now from the host, open the VM from the Hyper-V manager like normal.

BTW-I do have both Enhanced settings for computer and user checked. I didn't test with different settings once I found this solved my problem.

*VM is Windows Svr 2008 r2, VM host is Windows Svr 2012 r2

Good luck all, Jake

Jake
  • 1