Questions? Feedback? powered by Olark live chat software
Knowledgebase
Author Avatar

RDP Freezing Regularly

Written by: on 11 June 2020 04:52 PM 11 June 2020 04:52 PM

Sometimes with some connections RDP may freeze regularly. There have been lots of discussions on this and the below fix should work. Generally the problem is UDP packets are not 100% reliable and RDP tends to use UDP too much to provide client information. Therefore disabling the use of UDP tends to fix most issues.

If you login to your remote desktop server and click on the signal strength icon (only available in full screen mode), it will tell you if it's using UDP.

 

WINDOWS 2008 R2 / WINDOWS 2012 R2

Create a registry value forcing RDP to use TCP instead of UDP/TCP. This appears to work very well improving the connectivity substantially. This should be done on the server itself and a reboot will be required to activate it.

Source: https://getadmx.com/?Category=Windows_10_2016&Policy=Microsoft.Policies.TerminalServer::TS_SELECT_TRANSPORT

Open regedit.

Browse to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

  • Create a Value of type: REG_DWORD
  • Give it the name: SelectTransport
  • Give it a value of: 1

Restart your computer.

This will set your RDP to use TCP only and in most cases fixes occasional freezing issues. Note that the other settings available are:

  • Value: 0 (Use both UDP and TCP)
  • Value: 2 (Use either UDP or TCP)

WINDOWS 2016 - WINDOWS 2019

Source: https://social.technet.microsoft.com/Forums/en-US/92830c17-7d02-4f47-bf5a-9319f1fb67c9/remote-desktop-sessions-freeze-with-1809?forum=winRDc

Open regedit.

Browse to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

  • Create a Value of type: REG_DWORD
  • Give it the name: SelectTransport
  • Give it a value of: 1

Restart your computer or the Remote Desktop Service.

This will set your RDP to use TCP only and in most cases fixes occasional freezing issues. Note that the other settings available are:

  • Value: 0 (Use both UDP and TCP)
  • Value: 2 (Use either UDP or TCP)

GROUP POLICY (ALL WINDOWS VERSIONS)

Another location to set this is in group policy at: Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connection -> Select RDP transport protocols

Again you need to set the value to 1 (Use only TCP).

 

(6 vote(s))
Helpful
Not helpful