Start RDP session from within hyper-v windows 10

AdK 26 Reputation points
2020-09-21T14:30:31.29+00:00

Hi,

I have a little problem migrating from virtualbox to hyper-v

My host OS is Windows-10, got hyper-v installed and running a guest Windows-10
Within the guest OS i'm trying to setup a remote connection to another desktop, which fails, saying its not supported. (it has connection to the internet and can ping th e desktop and the desktop can be accessed with rdp)

Is there a workaround for this ? (in virtualbox this setup works)

Kind regard
Andre

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,694 questions
0 comments No comments
{count} votes

Accepted answer
  1. Xiaowei He 9,891 Reputation points
    2020-09-23T08:13:25.563+00:00

    Hi,

    Please check if the following method could work:

    Go to Run –> gpedit.msc to open Group Policy Editor.
    Go to the following policy path:
    Computer Configuration -> Administrative Templates -> System -> Credentials Delegation
    26891-image.png

    From the right-hand pane, open Encryption Oracle Remediation.
    Select Enabled and set the protection level to Vulnerable.

    26778-image.png
    Go to command prompt and run the following command:
    gpupdate /force
    This will apply the group policy immediately and you will be able to use Remote Desktop without restarting the computer.

    Thanks for your time!
    Best Regards,
    Anne

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. AdK 26 Reputation points
    2020-09-23T09:31:47.807+00:00

    I managed to solve it by updating Windows to the latest version (my mistake not doing this imediately after install)

    Thanks for the help!

    Kind regards,
    Andre

    1 person found this answer helpful.
    0 comments No comments

  2. Xiaowei He 9,891 Reputation points
    2020-09-22T03:08:53.307+00:00

    Hi,

    On the Windows 10 VM, please check if we enable remote desktop in the below setting:

    Open file explorer > right click "This PC" > "Remote Settings" > "Remote Desktop" :

    26328-re.png

    If after enable the remote desktop, we are still unable to connect to the VM, please provide the detailed error message when connect.

    Thanks for your time!
    Best Regards,
    Anne

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. AdK 26 Reputation points
    2020-09-22T09:23:45.073+00:00

    Hi,

    I checked the setting and it allows remote connections with Network Level Authentication.

    The NLA seems to be the issue. I cannot disable it (company policy).
    26406-error.png

    I forgot to mention that from the guest OS I connect to my company's network (cisco anyconnect VPN)

    Message from eventviewer :
    Application and Services Logs->Microsoft->Windows->
    TerminalServices-ClientActiveXCore:

    RDPClient_TCP: An error was encountered when transitioning from TcpStateExpectingX244CC to TcpStateFailure in response to TcpEventErrorProcessingX224CC (error code 0x80004005).

    RDP ClientActiveX has been disconnected (Reason= 519)

    RDPClient_SSL: An error was encountered when transitioning from TsSslStateHandshakeInProgress to TsSslStateDisconnecting in response to TsSslEventHandshakeContinueFailed (error code 0x80004005).

    The weird thing is that it all works on Virtualbox (no changed settings) and the same thing not working on Hyper-V

    I tested it on a hyper-v type 1 and type 2 Windows 10 enterprise installation.

    • checked that NLA service is running.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.