<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ErkmenHost Ltd.</title>
    <description>The latest articles on DEV Community by ErkmenHost Ltd. (@erkmenhost).</description>
    <link>https://dev.to/erkmenhost</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3658689%2F7bb6d3e8-08f5-4f4d-9dc9-a9c1808018ce.png</url>
      <title>DEV Community: ErkmenHost Ltd.</title>
      <link>https://dev.to/erkmenhost</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/erkmenhost"/>
    <language>en</language>
    <item>
      <title>How to Fix the Annoying RDP Screen Freeze (TCP vs UDP)</title>
      <dc:creator>ErkmenHost Ltd.</dc:creator>
      <pubDate>Fri, 12 Dec 2025 13:34:29 +0000</pubDate>
      <link>https://dev.to/erkmenhost/how-to-fix-the-annoying-rdp-screen-freeze-tcp-vs-udp-3i7k</link>
      <guid>https://dev.to/erkmenhost/how-to-fix-the-annoying-rdp-screen-freeze-tcp-vs-udp-3i7k</guid>
      <description>&lt;p&gt;How to Fix the Annoying RDP Screen Freeze (TCP vs UDP)&lt;/p&gt;

&lt;p&gt;It's a classic scenario for any administrator: You are connected to your Windows Server via Remote Desktop, and suddenly, the screen freezes. You assume the connection dropped.&lt;/p&gt;

&lt;p&gt;But it hasn't. If you disconnect and reconnect, you realize that your "blind" clicks actually registered. The session was alive, but the display was frozen.&lt;/p&gt;

&lt;p&gt;This is not a bug; it's a protocol issue. And yes, there is a permanent fix.&lt;/p&gt;

&lt;p&gt;The Root Cause: UDP's Zero Tolerance&lt;br&gt;
Modern Windows versions (Server 2019/2022, Windows 10/11) prioritize UDP (User Datagram Protocol) for RDP connections. UDP is fast and great for streaming, but it has zero tolerance for packet loss.&lt;/p&gt;

&lt;p&gt;If your internet connection has even a micro-drop (common in Wi-Fi or long-distance routing), the UDP stream breaks, freezing your screen. Meanwhile, your mouse clicks (sent via TCP) keep working.&lt;/p&gt;

&lt;p&gt;The solution? Force RDP to use the rock-solid TCP Protocol.&lt;/p&gt;

&lt;p&gt;Method 1: The Server-Side Fix (Group Policy)&lt;br&gt;
This is the best method as it applies to all users connecting to the server.&lt;/p&gt;

&lt;p&gt;On the server, run gpedit.msc.&lt;br&gt;
Navigate to:&lt;br&gt;
Computer Configuration &amp;gt; Administrative Templates &amp;gt; Windows Components &amp;gt; Remote Desktop Services &amp;gt; Remote Desktop Session Host &amp;gt; Connections&lt;br&gt;
Double-click on "Select RDP Transport Protocols".&lt;br&gt;
Set it to Enabled and select "Use only TCP" from the dropdown.&lt;br&gt;
Click OK.&lt;br&gt;
RDP TCP Configuration Group Policy&lt;br&gt;
Set "Select RDP Transport Protocols" to "Use only TCP"&lt;/p&gt;

&lt;p&gt;Method 2: The Registry Fix (Fastest Way)&lt;br&gt;
If you don't want to navigate menus, or if you are using Windows Server Core, use this command to apply the same setting instantly.&lt;/p&gt;

&lt;p&gt;Open Command Prompt (CMD) as Administrator.&lt;br&gt;
Paste the following command:&lt;br&gt;
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v SelectTransport /t REG_DWORD /d 1 /f&lt;br&gt;
(Value 1 means TCP Only. Value 0 is Dual UDP/TCP).&lt;/p&gt;

&lt;p&gt;Method 3: The Client-Side Fix (If You Can't Touch the Server)&lt;br&gt;
If you don't have Admin rights on the server, you can force your own computer to disable UDP for RDP sessions.&lt;/p&gt;

&lt;p&gt;On your local PC, run gpedit.msc.&lt;br&gt;
Go to: Computer Configuration &amp;gt; Administrative Templates &amp;gt; Windows Components &amp;gt; Remote Desktop Services &amp;gt; Remote Desktop Connection Client.&lt;br&gt;
Enable the policy "Turn off UDP On Client".&lt;br&gt;
Final Step: Apply and Restart&lt;br&gt;
For these changes to take full effect, a server reboot is recommended. Alternatively, open CMD as Admin and run gpupdate /force.&lt;/p&gt;

&lt;p&gt;Your RDP connection might feel slightly less "smooth" on animations, but it will be rock-solid and will never freeze on connection hiccups again.&lt;/p&gt;

&lt;p&gt;Need a Stable Network?&lt;br&gt;
Even TCP can't fix a bad network. Switch to ErkmenHost Dedicated Servers premium Anti-DDoS network. Low latency, high uptime, and no packet loss.&lt;br&gt;
"Looking for lag-free RDP? Check out our NVMe VPS plans at ErkmenHost."&lt;/p&gt;

</description>
      <category>sysadmin</category>
      <category>devops</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
