If your RDP (Remote Desktop Protocol) connection to a Windows Server 2025 machine keeps freezing (especially in GUI mode), here are troubleshooting steps to resolve the issue:


1. Check Network Stability

  • Test latency/packet loss: Run ping -t [server-IP] in CMD to check for drops.
  • Use wired connection (if possible) instead of Wi-Fi.
  • Try a different network (hotspot/VPN) to rule out ISP issues.

2. Adjust RDP Display & Performance Settings

  • Lower color depth: In RDP client > Display tab, set to 16-bit instead of 32-bit.
  • Disable visual effects:
  • Go to Experience tab > Select “Low-speed broadband” or manually disable:
    • Desktop background
    • Font smoothing
    • Animations
    • Persistent bitmap caching (enable this for better performance)

3. Update RDP & Graphics Drivers

  • On the Server (2025):
  • Update GPU drivers (even if it’s a virtual machine).
  • Disable GPU acceleration in RDP:
    powershell reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations" /v "fEnableHardwareMode" /t REG_DWORD /d 0 /f
  • Restart the TermService: Restart-Service TermService -Force
  • On Your Local PC:
  • Update Remote Desktop Client (or try Microsoft’s modern RDP client).

4. Disable UDP for RDP (Force TCP)

  • UDP can cause freezing in unstable networks. Force TCP-only mode:
  • Open Local Group Policy Editor (gpedit.msc) on the server:
    • Navigate to:
      Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections
    • Enable “Select Transport Type” and set to “Use only TCP”.
  • Or via Registry (if no Group Policy):
    powershell reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SelectTransport" /t REG_DWORD /d 1 /f
  • Restart the server afterward.

5. Increase RDP Timeout & Bandwidth Limits

  • Adjust timeout settings (to prevent idle disconnects):
  reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v "KeepAliveTimeout" /t REG_DWORD /d 600000 /f
  • Increase bandwidth cap (if on a fast network):
  reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v "MaxBandwidth" /t REG_DWORD /d 0xffffffff /f

6. Disable RemoteFX (If Using a VM)

  • If the server is virtualized (Hyper-V/VMware), RemoteFX can cause freezes:
  Disable-WindowsOptionalFeature -Online -FeatureName "Microsoft-Hyper-V-RemoteFX" -NoRestart

(Reboot after disabling.)


7. Check for Server Resource Issues

  • High CPU/RAM usage? Open Task Manager (Ctrl+Shift+Esc) on the server.
  • Disk latency? Check Resource Monitor for high disk queues.
  • Terminal Services limits? Ensure enough RDP CALs are available.

8. Try Alternative RDP Clients

  • mRemoteNG (free, supports multiple protocols)
  • Remmina (Linux users)
  • Royal TS (advanced management)

Final Fix: Reset RDP Config

If all else fails, reset RDP settings to default:

netsh int tcp set global autotuninglevel=restricted
netsh interface tcp set global rss=disabled

Then restart the server.


Conclusion

Most freezes are caused by network issues, GPU acceleration, or UDP instability. Start with forcing TCP mode and disabling visual effects, then test. Let me know if you still face issues! 🚀

Leave a Reply

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