RDP does not connect

Rafael Mello 96 Reputation points


Guys, I have a problem with 2 servers, one on each client.

Out of nowhere the remote desktop server has stopped, it doesn't connect for anything.

I have the ports released on the firewall, the service active.

I tried to change the port, I changed the registry according to tutorials on the net and nothing.

I put the service to listen on a door of another service that works (of course I stopped that other service)

and does not connect.

I did sfc / scannow, DSIM, windows update and etc.

One server is Windows Server 2012 and the other is Windows Server 2012 R2.

Any tips?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,837 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
3,226 questions
No comments
{count} votes

Accepted answer
  1. Rafael Mello 96 Reputation points

    Hello, I was able to resolve it by backing up the HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control \ Terminal Server \ WinStations \ RDP-Tcp from a server with the same version of the operating system and I deleted the problem servers.

    I restored that backup and it worked right away.

    Thanks for listening.

3 additional answers

Sort by: Most helpful
  1. Dave Patrick 341.5K Reputation points MVP

    Might try from PowerShell on both source and target.

    Test-NetConnection -ComputerName "" -CommonTCPPort "RDP" -InformationLevel "Detailed"

    --please don't forget to Accept as answer if the reply is helpful--

  2. Rafael Mello 96 Reputation points

    @Dave Patrick Failed on both


  3. Dave Patrick 341.5K Reputation points MVP

    Looks like the Remote Desktop Services (TermService) service is not running on or is not listening on port 3389

    If you changed the listening port then you could test using (example)

    Test-NetConnection -ComputerName "" -Port 3399 -InformationLevel "Detailed"

    --please don't forget to Accept as answer if the reply is helpful--