Friday, 9 January 2015

Can Ping but can't connect using Remote Desktop Connection (RDP)

I am using a Windows Server 2008 R2 machine for my Administrative task, I used to connect different machines via Remote Desktop Connection (RDP) tool, it was worked well before, I can connect any computer or server (i.e Windows 7, Windows Server 2008 R2) from my Server machine. But today, I can't connect any machine from my server machine via Remote Desktop Client (RDP) tool.

- I can ping the Remote machine from my Local server.
- I cannot connect Remote Desktop (RDP) only from my server machine that I am using for Administrative task but I can connect same machines from other Server machine.

After search through internet, I have got below steps as solution.
On the target machine, make sure that Port 3389 is not being blocked by a firewall.  If you are using Windows Firewall, go to the Windows Firewall control panel, verify that "Don't Allow Exceptions" is not checked under the "General" tab, then click on the "Exceptions" tab and make sure there is a check mark beside "Remote Desktop".
In remote machine, you can also make sure that a program is running to accept incoming remote desktop connections by bringing up a command prompt (Start -> Run -> "cmd") and entering the following command:

   netstat   -an   |    find   "3389"
If all is well, you should see the following line returned:
     TCP               LISTENING 
The above solution will solve the issue only if the problem persists in Remote Machine, but as I stated earlier, I cannot connect Remote Desktop (RDP) only from one Server machine but I can connect the same remote machine from my other Server machine. So, in my case the problem is in my own Server machine not in Remote machine since it can be connected from different servers.

Solution 1: Remote desktop connection failed but ping successful

The Remote Desktop Connection failure problem was solved by simply restarting the windows service Remote Desktop Configuration. The Remote Desktop Configuration service (RDCS) is responsible for all Remote Desktop Services and Remote Desktop related configuration and session maintenance activities that require SYSTEM context. These include per-session temporary folders, RD themes, and RD certificates.

- Open Service Manager by running the command services.msc
- Search and find the service Remote Desktop Configuration and Restart it.

Can Ping but Cannot Connect using Remote Desktop (RDP)

Solution 2 : Remote desktop connection failed but ping successful

If your Remote desktop connection failed problem not fixed by above solution try this one.

Restart explorer.exe

- Open Task Manager and select Proceess tab.
- Now search and kill the process explorer.exe

Remote desktop connection failed but ping successful

- Click File menu in Task Manger, and click New Task (Run..).
- Type the process name explorer.exe and click OK.

Can ping servers but cannot connect to them

- Now, you can try to connect remote machine via Remote Desktop Connection tool.

Note: If these solutions didn't fix your problem and if you fixed the same issue by different solution, please write that solution as comment below.  


No comments:

Post a Comment