Start Remote Desktop Services (TermService) and Remote Desktop Services UserMode Port Redirector (UmRdpService) from a console or another remote-management channel, because RDP cannot accept connections while these services are stopped.^1^
Restore the services
Use physical console access, Hyper-V/VMware console, iLO/iDRAC, or an existing PowerShell-remoting session. Run PowerShell as Administrator:
Get-Service TermService, UmRdpService |
Select-Object Name, Status, StartType
Set-Service TermService -StartupType Manual
Set-Service UmRdpService -StartupType Manual
Start-Service TermService
Start-Service UmRdpService
Get-Service TermService, UmRdpService
Both services should report Running. If prompted when starting Remote Desktop Services through services.msc, select Yes to restart the UserMode Port Redirector service automatically.^1^
If PowerShell remoting is already configured, an administrator can perform this remotely:
Invoke-Command -ComputerName SERVER01 -ScriptBlock {
Start-Service TermService
Start-Service UmRdpService
Get-Service TermService, UmRdpService
}
If either service fails to start, record the complete PowerShell error and check Event Viewer → Windows Logs → System for Service Control Manager events. Microsoft recommends contacting Microsoft Support when these services cannot be started.^2^
Verify the RDP listener
After the services start, run:
qwinsta
netstat -anob | findstr 3389
tasklist /svc | findstr TermService
Expected results:
-
qwinsta contains rdp-tcp with state Listen.
- TCP port
3389 is LISTENING.
- The PID listening on 3389 matches the process hosting
TermService.
If TermService runs but rdp-tcp is not listening, check these services and settings first:^2^
-
TermService and UmRdpService remain running.
- Remote Desktop is enabled.
- A Group Policy is not disabling remote connections.
- No other process owns TCP 3389.
To identify a policy override, run:
gpresult /H C:\gpresult.html
Open the report and inspect:
Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Connections → Allow users to connect remotely by using Remote Desktop Services
If a domain GPO disables that setting, correct the winning GPO rather than changing only the local setting.^1^
Separate server failure from network failure
From the client computer, test the server’s RDP port:
Test-NetConnection -ComputerName SERVER01 -Port 3389 `
-InformationLevel Detailed
-
TcpTestSucceeded : True means the network path reaches the listener; investigate credentials, user rights, or RDP configuration.
-
TcpTestSucceeded : False means traffic is blocked or not routed. Check Windows Firewall, upstream firewalls, and—if applicable—Azure network security rules.
On the server, enable the built-in Remote Desktop firewall rules:
Get-NetFirewallRule -DisplayGroup "Remote Desktop" |
Set-NetFirewallRule -Enabled True
Avoid disabling the entire firewall except as a brief, controlled diagnostic, and restore it immediately afterward. Microsoft’s troubleshooting flow uses the listener state and Test-NetConnection result to distinguish server-side configuration failures from network connectivity failures.^2^
Registry replacement of the RDP-Tcp listener should be a last resort: it requires a backup and an export from a working computer running the same Windows version, and incorrect registry changes can leave RDP unavailable.^2^
References
- General Remote Desktop connection troubleshooting
- Remote Desktop can't connect to the remote computer