Issues with Remote Desktop on Windows 11 after Update 22H2

Anonymous
2022-09-22T13:54:07+00:00

All of our Remote Desktop Users using Windows 11 are having problems connecting to Remote Desktop after installing this update. It just hangs at connecting.

We have found that there is a bug in the Remote Desktop client so that it is only trying the UDP connection and not trying TCP connection. We only allow the port 443 connection through on our firewall.

The only workaround we have found is to make the following change on the Windows 11 computer.

Have to set this value to 1 in the registry for Windows 11 client to work outside the network

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client

KEY VALUE - fClientDisableUDP SET TO 1

Otherwise the Remote client just keeps trying to connect via UDP.

This issue did not start until the Windows 11 update was installed over the last couple days.

Jeff

Windows for business | Windows Server | User experience | Remote desktop clients

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

125 answers

Sort by: Most helpful
  1. Anonymous
    2022-09-28T17:00:30+00:00

    Disabling UDP on the gateway doesn't work.

    From what I understand, mstsc.exe's normal behavior is to connect via UDP first. If that times out, it will then connect via TCP.

    It seems like mstsc.exe Version 22621 is failing to timeout during the UDP connection attempt and then freezes. Once it freezes, you have to use Task Manager to end the process, as clicking the "X" won't close the program.

    In other words, the RD Gateway's UDP settings are irrelevant when it comes to this issue.

    The only two workarounds to this problem are to use the registry setting to disable UDP (that causes mstsc.exe to skip the whole UDP connection process and go straight to TCP) or copy the mstsc.exe and mstscax.dll files from a computer running Windows 11 21H2 to your updated 22H2 machine, overwriting the existing files (will need to take ownership first).

    (use the latter fix if you really need UDP)

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-09-26T15:09:52+00:00

    Thanks for the post Jeff. That fixed the problem for me.

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2022-10-06T12:09:07+00:00

    Thanks your very much everyone for the information shared.

    we are working on this issue internally, will let you know the outcome.

    Appreciate the patience!

    Nouri

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2022-10-07T13:33:35+00:00

    All of our Remote Desktop Users using Windows 11 are having problems connecting to Remote Desktop after installing this update. It just hangs at connecting.

    We have found that there is a bug in the Remote Desktop client so that it is only trying the UDP connection and not trying TCP connection. We only allow the port 443 connection through on our firewall.

    The only workaround we have found is to make the following change on the Windows 11 computer.

    Have to set this value to 1 in the registry for Windows 11 client to work outside the network

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client

    KEY VALUE - fClientDisableUDP SET TO 1

    Otherwise the Remote client just keeps trying to connect via UDP.

    This issue did not start until the Windows 11 update was installed over the last couple days.

    Jeff

    I confirm that the solution you report does it work! thanks a lot! In the next updates do you think the problem will be solved? otherwise I will have to do this manual adjustment on the pc of all employees ... 😒

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2022-09-29T18:11:35+00:00

    I have done what you suggested but still getting the following error.... can anyone help me?

    [Window Title]

    Remote Desktop Connection

    [Content]

    An internal error has occurred.

    [^] Hide details [OK]

    [Expanded Information]

    Error code: 0x4

    Extended error code: 0x0

    Timestamp (UTC): 09/29/22 06:09:05 PM

    Press Ctrl+C to copy.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments