As you could remember, several users reported a bug in Remote Desktop Protocol in Windows 11 version 22H2. It causes freezes and disconnections. Sometimes RDP simply fails to connect to the remote computer. Microsoft has officially confirmed the bug, but doesn't provide any new workaround besides the disabling UDP for RDP, that affected users already use.
Microsoft reports that the problem only occurs when establishing a connection using the Remote Desktop gateway or Remote Desktop Connection Broker. By default there is a different connection method, so most users shouldn't have any problems. However, when trying to access the Remote Desktop Services collection, or when using RemoteApp and Desktop Connection, you will most likely have issues.
Microsoft claims that the issue occurs regardless of the version of Windows you are trying to connect to. In some cases, the Remote Desktop application may simply stop responding, but you may also receive a message that the connection was lost. If the application is frozen, then you will have to open the Task Manager, find the
mstsc.exe process and terminate it.
As a workaround, Microsoft suggests disabling UDP using the Group Policy editor. For this you need:
- Open the Group Policy Management Console or the Local Group Policy Editor.
- Go to "Computer Configuration" -> "Administrative Templates" -> "Windows Components" -> "Remote Desktop Services" -> "Remote Desktop Connection Client" .
- Find the policy "Turn off UDP On Client" and set its value to "Enabled" .
- Confirm the changes and restart your computer.
Alternatively, you can apply a Registry tweak. Open the Registry and navigate to the HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client key. There, create a new 32-bit DWORD named fClientDisableUDP and set it to 1.
Keep in mind that this change may reduce performance when working with a remote desktop over the Internet. After the hotfix is released, you should disable this policy to restore performance.
The official note is here.
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!