How do I Force UDP Transport Protocol in Remote Desktop Connection in Windows 11?

Anonymous
2024-12-26T06:11:55+00:00

There was another similar thread asked 2 years ago, but with no specific instructions on modifying registry.

https://answers.microsoft.com/en-us/windows/forum/all/how-to-force-rdp-to-use-udp-windows-11/8da8d4ef-57ac-4e16-8506-ab40ce380cef

Is there a way to force RDP to use UDP? If so, how?

Previous thread mentioned about enabling protocol 8.0 but it's not seen in W11 anymore.

***Move from Windows / Windows 11 / Settings***

Windows for business | Windows Client for IT Pros | 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. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} vote
Accepted answer
  1. Anonymous
    2025-01-06T08:55:52+00:00

    Hello,

    In Windows 11, Remote Desktop Services typically only supports TCP or UDP, rather than enabling both. So there really isn't a direct option in Win11's Group Policy to enable both TCP and UDP protocols for remote desktop connections, nor can it be achieved by modifying the registry.

    When you select and enable "Use either UDP or TCP" in the RDP transport type of Group Policy ,If  the UDP connection is successful, most of the RDP traffic will use UDP.If the UDP connection is not successful ,then all of the RDP traffic will use TCP.

    If you need to use both TCP and UDP protocols for Remote Desktop Connectivity (RDP) in Windows 11, you may want to consider using some third-party tools or services to implement this need.

    I hope this information helps.

    Best regards,

    Jingjing Wu

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-12-27T07:27:54+00:00

    Thanks. The option is to use either TCP or UDP, is there a way to use both TCP & UDP?

    0 comments No comments
  2. Anonymous
    2024-12-27T07:16:53+00:00

    Hello,

    In Windows 11, Remote Desktop Protocol (RDP) uses the TCP protocol for connections by default, as TCP provides more reliable data transfer. UDP is commonly used for some specific functions of remote desktops, such as audio and video transmission, but it is not the primary transmission protocol.

    Alternatively, it is generally possible to enable both TCP and UDP protocols in Windows 11, which will allow Remote Desktop Services to communicate using both TCP and UDP protocols. Enabling both TCP and UDP can provide a more stable connection, as some network environments may limit or optimize the UDP protocol, causing connection issues. As shown in the figure below, open Group Policy, navigate to: Computer Configuration -> Management Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connection, double-click "Select RDP Transport Protocol", and select "Use either UDP or TCP" in the transfer type.

    You can do this by following these steps:

    1. Open the Registry Editor:

    Press Win+R, type regedit and press Enter to open the registry editor.

    1. Navigate to RDP Client Settings:

    In Registry Editor, expand the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client.

    1. Create or modify registry entries:

    In the margin on the right, create a new DWORD 32-bit value and name it fClientDisableUDP.

    Double-click fClientDisableUDP and set the numeric data to 0 to enable UDP connection. (If set to 1, disable UDP connection)

    Please note that modifying the registry involves system-level changes that can introduce unpredictable risks, including system instability or security issues. So, before making modifications, make sure that you have backed up your registry and that you know how to revert to its original state.

    I hope this information helps.

    Best regards,

    Karlie Weng

    0 comments No comments