Skip to content
February 27, 2026 Junior (1-3 years) How-To

Remote Desktop Troubleshooting Guide

Fix Remote Desktop connection issues. RDP not working? Can't connect? Here's the complete fix guide.

Methodology

Practical guidance for working engineers, with a bias toward steps you can verify and repeat.

• What it covers: the exact problem, workflow, or decision
• What to verify: logs, settings, outcomes, or pass/fail checks
• What to avoid: risky changes without rollback or validation
• What to expect: prerequisites, caveats, and role fit

Remote Desktop Troubleshooting Guide

RDP not connecting? Can’t remote to that server? Here’s how to diagnose and fix Remote Desktop issues.

Quick Checklist

  • RDP enabled on target
  • Network allows port 3389
  • User in Remote Desktop Users
  • Firewall not blocking
  • NLA configured correctly

Enable RDP

# Enable RDP (Local)
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0

# Enable RDP through firewall
Enable-NetFirewallRule -Name "RemoteDesktop-TCP"
Enable-NetFirewallRule -Name "RemoteDesktop-UDP"

Check RDP Status

# Check if RDP is enabled
Get-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections"

# Check listening port
Get-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" -Name "PortNumber"

Add User to RDP Users

# Add user to Remote Desktop Users
Add-LocalGroupMember -Group "Remote Desktop Users" -Member "Username"

# Or via AD
Add-ADGroupMember -Identity "Remote Desktop Users" -Members "Username"

Network Level Authentication

# NLA required (more secure, can cause issues)
# Check NLA status
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" -Name "UserAuthentication"

# Disable NLA (less secure, troubleshooting)
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" -Name "UserAuthentication" -Value 0

Common Errors

”Remote computer is not available"

# Test connectivity
Test-NetConnection -ComputerName "TargetPC" -Port 3389

# Ping test
Test-Connection -ComputerName "TargetPC"

"Logon attempt failed”

  • Wrong credentials
  • Account disabled
  • Account expired
  • NLA issue

”The remote session was disconnected”

  • License issues (RDS)
  • Too many connections
  • Network interruption

Check RDS Licensing

# Check RDS license server
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\TermService\Parameters" -Name "LicenseServer"

# Check installed licenses
Get-WmiObject -Class "Win32_TSLicenseKeyPack"

Fix Corrupted RDP

# Reset RDP stack
Remove-Item -Path "HKCU:\Software\Microsoft\Terminal Server Client" -Recurse -Force

# Delete RDP certificates
Remove-Item -Path "HKLM:\Software\Microsoft\Terminal Server Client\Default" -Recurse -Force

Wrap-Up

Most RDP issues are firewall, permission, or NLA-related. Check connectivity first, then work through the list.

Questions? Drop them below!

Was this helpful?

Comments

Comments are coming soon. Have feedback? Reach out via the About page.