5

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).*
6
  • Check if all HyperV related services are running in Service Manager (services.msc)?
    – Biswapriyo
    Commented Jul 6, 2019 at 3:59
  • Thank you. I just updated my description.
    – enix0907
    Commented Jul 6, 2019 at 18:36
  • Personally, if I see any error having "unexpected error" message in Windows 10, I just clean install it.
    – Biswapriyo
    Commented Jul 6, 2019 at 19:05
  • Ok I will uninstall Hyper-V and install it. Hopefully the issue will be solved. Thanks.
    – enix0907
    Commented Jul 6, 2019 at 20:29
  • No luck. Still getting the same error. I start to wonder if this is something to do with my hardware/drivers? maybe it's my network or video card? or 4K resolution?
    – enix0907
    Commented Jul 6, 2019 at 23:50

5 Answers 5

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
  • 3
    Here are further instructions on how to disable: tenforums.com/tutorials/…
    – raterus
    Commented Dec 18, 2019 at 15:58
  • This failed to make any difference for me. I ended up using VMware Workstation Player.
    – Rich M
    Commented Feb 27, 2022 at 12:47
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.

2
  • Auto login was the problem for me as well
    – jacob_pro
    Commented Apr 13, 2020 at 15:57
  • This failed to make any difference for me. I ended up using VMware Workstation Player.
    – Rich M
    Commented Feb 27, 2022 at 12:47
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.

1
  • This failed to make any difference for me. I ended up using VMware Workstation Player.
    – Rich M
    Commented Feb 27, 2022 at 12:47
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.

-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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .