Remote Desktop Freezing on Windows When in High CPU or On Heavy graphics Screens

I had this strange behavior when controlling windows through RDP protocol, The session was freezing randomly and I have to disconnect and re-connect all the time. Apparently disabling the UDP protocol in the session help preventing this . To disable the UDP protocol in RDP use this reg key on the Target mechine :

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client]
"fClientDisableUDP"=dword:00000001

You need to create the DWORD (32-bit) value  fClientDisableUDP and set the value to 1 (Base to Decimal). You can also type this in command prompt as Admin :

reg add "HKLM\software\policies\microsoft\windows nt\Terminal Services\Client" /v fClientDisableUDP /d 1 /t REG_DWORD

Restart the client machine ! 

Through the group policy : type gpedit.msc , then

  • 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”

You might also want to disable the UseURCP (Universal Rate Control Protocol for Real-Time Communication Applications) execute as admin from cmd:

REG ADD "HKLM\SOFTWARE\Microsoft\Terminal Server Client" /v UseURCP /t REG_DWORD /d 0 /f

Or create manualy the registry key:

HKEY_Local_Machine\SOFTWARE\Microsoft\Terminal Server Client

  1. Right click Terminal Server Client and select Export to back up this registry entry.
  2. Then, right click Terminal Server Client and select New -> DWORD.
  3. Rename it as UseURCP with value 0.
  4. The next time the user logs in, this setting will take effect.

Good Luck

Leave a Reply

Your email address will not be published. Required fields are marked *