Share via

Issue to RDP on server 2025

Scott Huang 3,451 Reputation points
2026-05-06T03:57:29.84+00:00

HI,

It is enabled below to RDP on Local server but I cannot access it using RDP. Any reasons?

User's image

Windows for business | Windows Server | User experience | Remote desktop clients
0 comments No comments

2 answers

Sort by: Most helpful
  1. Jason Nguyen Tran 17,025 Reputation points Independent Advisor
    2026-05-06T04:47:32.8533333+00:00

    Hi Scott Huang,

    There are a few common reasons this can happen. First, please check that the Windows Defender Firewall is allowing inbound RDP traffic (TCP port 3389). Even if Remote Desktop is enabled, the firewall may still block external connections. Second, confirm that the server’s network settings are correct, if the IP address is assigned via DHCP, it may have changed, so make sure you’re connecting to the right address. Third, ensure that your user account has permission to log in via Remote Desktop; only members of the Remote Desktop Users group or administrators can connect.

    It’s also worth verifying that no group policy or security configuration is restricting RDP access. In some environments, enhanced security settings or network-level authentication requirements can prevent successful connections. Lastly, if you’re attempting to connect from outside the local subnet, check that routing and NAT rules are properly configured.

    I hope these suggestions help you narrow down the issue and get RDP working as expected. If this answer is helpful, please don’t forget to hit “Accept Answer”.

    Jason.


  2. Q&A Assist
    2026-05-06T03:57:46.6566667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Even though Remote Desktop shows as Enabled on the local server, several other conditions must be correct before RDP connections succeed. Use the following checks in order:

    1. Confirm RDP is actually enabled in the registry
    • On the server, open Registry Editor and go to:
      • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
    • Verify the fDenyTSConnections value:
      • 0 = RDP enabled
      • 1 = RDP disabled
    • If it is 1, change it to 0.
    1. Verify the RDP services are running On the server, open Services and confirm these services are Running:
    • Remote Desktop Services (TermService)
    • Remote Desktop Services UserMode Port Redirector (UmRdpService) Start them if they are stopped.
    1. Check that the RDP listener and port are correct
    • In Registry Editor, go to:
      • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
    • Confirm PortNumber is 0x00000d3d (3389).
    • If a different port is configured, connect using servername:port.
    1. Test local RDP and listener behavior
    • On the server console, run mstsc and connect to localhost.
      • If this fails, the problem is on the server (RDP listener/configuration).
      • If this works, the problem is likely network/firewall.
    1. Verify firewall rules for RDP On the server, open wf.msc and check Inbound Rules:
    • Ensure Remote Desktop - User Mode (TCP-In) and Remote Desktop - User Mode (UDP-In) are Enabled for all profiles.
    • Or in elevated PowerShell:
        Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Set-NetFirewallRule -Enabled True
      

    If still failing, temporarily disable the firewall to test:

    Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
    

    (Enable it again after testing.)

    1. Test network connectivity to port 3389 from another machine From a machine in the same network, run in elevated PowerShell:
    Test-NetConnection -ComputerName <server-name-or-ip> -Port 3389 -InformationLevel Detailed
    
    • If TcpTestSucceeded = False, there is a network or firewall/NSG issue between client and server.
    • If True, focus on server configuration (steps 1–4 and 7–8).
    1. Check for another process using port 3389 On the server, run:
    tasklist /svc | findstr TermService
    netstat -anob | findstr 3389
    
    • Confirm the PID for TermService matches the process listening on port 3389.
    • If another process is using 3389, stop that process and restart Remote Desktop Services.
    1. Validate RDP certificate and roles
    • In MMC → Certificates (Computer account) → Remote Desktop, delete the RDP self-signed certificate and restart Remote Desktop Services so it is recreated.
    • In Server Manager → Manage → Remove Roles and Features, check Remote Desktop Services roles. Remove unnecessary RDS roles (for example, Connection Broker) if this is not an RDS deployment, then restart the server.

    If all these checks pass and RDP still fails, collect logs and contact Microsoft Support as indicated in the documentation.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.