Remote Desktop connection is the default application available in Windows 10 machine to access other windows machines remotely. In Windows 10 there is a issue where once you establish RDP connection to the machine the screen will freeze after some time randomly and you have to disconnect and re-connect the RDP session. To fix RDP connection freezes in Windows 10 you need to disable UDP protocol from RDP client using local Group Policy.
RDP Connection Freezes in Windows 10
RDP uses both UDP and TCP protocols on port 3389. RDP protocol started using UDP from RDP v8 which was released in Windows 8 and Server 2012. The purpose of UDP is to make the connection faster and improve user experience. But in Windows 10, the RDP client freezes the screen randomly. This is most likely because of bug in Windows 10 which is unable to switch between TCP and UDP protocol seamlessly. This issue have been reported in Windows 10 version 1809 to 1903. Disabling the UDP protocol from local group policy fixes this issue.
Step 1. From the Windows 10 machine open Run application.
Step 2. Type gpedit.msc and click OK to open Local Group Policy Editor.
Step 3. Expand Computer Configuration > Administration Templates > Windows Components > Remote Desktop Services > Remote Desktop Connection Client. Double click the setting “Turn Off UDP On Client”. Choose Enabled option to enable this setting. Click Apply to apply the change.
Now you can open Remote Desktop connection application and start new session. This should fix the freezing issue.