T The Triage ManualTechnical Guides for IT Emergencies
P2 · Remote Access & VPN

RDP, RDS, and RemoteApp Connection or Redirection Failures — TermService, Firewall, and Role Misconfiguration

Remote Desktop Protocol (RDP), Remote Desktop Services (RDS), and RemoteApp sessions fail to connect or redirect correctly due to the TermService not running, TCP 3389 being blocked by firewall or network policy, RDS role misconfiguration (Connection Broker, Session Host, Gateway), or certificate/authentication failures during the RDP handshake. Diagnosis begins with confirming the TermService state and port availability, then progresses to event log review and RDS role topology validation. Resolution involves ensuring TermService is running and set to Automatic start, opening the firewall for TCP 3389 where appropriate, and correcting RDS role and RemoteApp publication settings via Server Manager or PowerShell RDS cmdlets.

Indicators

Likely causes

Diagnostic steps

  1. Check whether TermService is running: run 'Get-Service TermService' in PowerShell or open Services.msc and locate 'Remote Desktop Services'. Confirm status is 'Running' and startup type is 'Automatic'.
    Determines whether the RDP listener service is active. A stopped or disabled TermService will refuse all inbound RDP connections before any firewall or network check is relevant.
  2. Verify TCP 3389 is open and listening on the target host: run 'netstat -ano | findstr :3389' locally on the host, and from the client run 'Test-NetConnection -ComputerName <hostname> -Port 3389' to confirm reachability.
    Confirms the RDP port is bound locally and that no firewall (Windows Firewall, network ACL, or perimeter) is blocking the connection between client and host.
  3. Review Windows Event Viewer on the affected host: navigate to Applications and Services Logs > Microsoft > Windows > TerminalServices-LocalSessionManager and TerminalServices-RemoteConnectionManager. Look for connection failure events and absence of Event ID 21 (successful logon).
    Identifies specific RDP session establishment errors, authentication failures, or redirection problems with timestamps and session context to pinpoint the failure layer.
  4. For full RDS deployments, validate RDS role configuration via Server Manager > Remote Desktop Services, or run 'Get-RDSessionCollection' and 'Get-RDRemoteApp' in PowerShell to confirm session collections are healthy and RemoteApp programs are published and assigned to valid session hosts.
    Confirms the RDS topology is correctly configured — session host assignments, collection membership, and RemoteApp publication state all affect whether sessions connect and redirect correctly.
  5. Check for conflicting Group Policy settings: run 'gpresult /h c:\gpo-report.html' on the affected host and review the output for policies under Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services that may disable RDP, enforce NLA, or override firewall rules.
    GPO settings frequently override local configuration and can silently block RDP access or force authentication requirements that the client or certificate cannot meet.

Resolution path

Prevention

Tools

References

RDPRDSRemoteAppRemote Desktop ServicesTermServiceconnection failureredirection failureWindows ServerNLARD Connection BrokerRD Session HostfirewallTCP 3389remote accessEvent ID 21