Welcome to Microsoft Q&A Forum!
Based on your description, even if Remote Desktop is enabled and port 3389 is allowed in Windows Firewall, RDP may still fail because other components required for connectivity are missing or blocked. The most common causes are:
- Network connectivity / reachability issue: The server may not be reachable from the client (DNS, routing, VLAN, or external firewall/NAT issues). Even with port 3389 open locally, traffic may not reach the server.
- Firewall profile mismatch: The rule can be enabled, but not for the active profile (Public/Private/Domain). RDP rules must be enabled for the correct profile, otherwise connections are still blocked.
- RDP service (TermService) not running or not listening: Remote Desktop requires the service to be running and listening on port 3389. If nothing is listening, the port rule alone doesn’t help.
- Port or listening configuration mismatch: RDP uses port 3389 by default. If it was changed in the registry, connecting without specifying the custom port will fail.
- Network Level Authentication (NLA) or permission issues: Misconfigured NLA or lack of user permissions can prevent connection even when RDP is enabled.
- Group Policy or external security controls: Domain GPO, antivirus, or network devices (NSG, firewall, router) can still block RDP traffic.
Reference: Remote Desktop Can't Connect to the Remote Computer - Windows Server | Microsoft Learn
Change Remote Desktop listening port on Windows and Windows Server | Microsoft Learn
I would like to share the following recommended solutions that may help resolve the issue.
1. Test connectivity from client
Run Test-NetConnection <server/IP> -Port 3389 in PowerShell to confirm port accessibility.
Use ping <ServerName> and nslookup <ServerName> to verify DNS resolution and network reachability
2. Confirm RDP is actually listening
The RDP-Tcp listener may not be active. On the server, open Command Prompt and run:
- qwinsta (look for "rdp-tcp" with state “Listen” in the output)
- netstat -ano | findstr "3389" (should show the server listening on port 3389)
If the listener is missing, restart the Remote Desktop Services service
3. Check user permissions
The user must be a member of the "Remote Desktop Users" group. Check via lusrmgr.msc and add the user if needed
4. Confirm group policy restrictions
Local or domain GPOs may restrict RDP access. Kindly check:
- Path: gpedit.msc → Computer Configuration → Windows Settings → Security Settings → Local Policies → User Rights Assignment
- Then, ensure "Allow logon through Remote Desktop Services" includes the correct users/groups
5. Check Network Level Authentication (NLA)
If NLA is enabled, clients must support it. You can disable NLA temporarily for testing:
- Open sysdm.cpl → Choose Remote tab → Uncheck "Allow connections only from computers running Remote Desktop with Network Level Authentication”
6. Verify RDP Certificate
If there are certificate or TLS issues, the RDP listener may fail. Check the Certificates MMC snap-in (certlm.msc) under Remote Desktop, delete the self-signed certificate, and restart the Remote Desktop Services service to regenerate it.
I hope this information is helpful and thank you for choosing Microsoft Q&A to raise your concern.