Cannot RDT to VM on same PC


  1. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #1

    Cannot RDT to VM on same PC


    I have a Windows 10 Hyper-V VM running on my Windows 10 1903 18362.329 Desktop. Was working fine 5 or so days ago. Just tried to RDT to it and am getting the following error:

    Cannot RDT to VM on same PC-rdtffsil.jpg

    Checked Windows Update and I had two updates on the 30th and one on the 29th.

    Cannot RDT to VM on same PC-latestwu.jpg

    I'm going to roll them back one at a time and see if that resolves the problem. Will post results here.
      My Computers


  2. Posts : 17,661
    Windows 10 Pro
       #2

    That error message in most cases means that there is already an existing remote desktop connection to that VM (remote host), or Hyper-V Enhanced Mode connection for that VM is open.

    The simplest solution is to shut down the VM, and restart virtualization host. After restart, start the VM but do not start Enhanced session. You should now be able to use Remote Desktop Connection to connect to it.

    Kari
      My Computer


  3. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #3

    Enhanced mode is open. I can connect if I use the IP address. I'll turn off enhanced mode and see if that fixes it. Thanks yet again.
      My Computers


  4. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #4

    Now I see the name of the VM, WIN10PRO-HYP-V and RDT work again.

    Another self-inflicted wound, caused by my playing around and forgetting what I had done.
      My Computers


  5. Posts : 17,661
    Windows 10 Pro
       #5

    Important lesson here is that you can only have one remote desktop connection open from a remote client (virtualization host) to remote host (virtualization guest, VM). Hyper-V Enhanced Session Mode is fully based on RDP, so it counts as one console session (remote desktop connection).

    To RDP to VM, often it is enough to just close the Virtual Machine Connection window. As you know, VM runs in the background when its windows is closed. When closed, its existing console sessions are terminated, and you can initiate a new remote desktop connection to it.

    Kari
      My Computer


  6. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #6

    Hyper-V Enhanced Session Mode is fully based on RDP, so it counts as one console session (remote desktop connection)
    I didn't realize this. Well aware now. Thank you.
      My Computers


 

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:30.
Find Us




Windows 10 Forums