ManWarrior
ManWarrior

Reputation: 45

RDP to windows server 2016 not working google cloud platform

My windows server 2016 is not connecting using RDP. It was working till yesterday but today it is not working. I had just rebooted the server and no other change was done. I am able to connect using Interactive Serial Console. Following are the findings:

  1. Faulty server is not reachable from any other working server in the same subnet. Neither ICMP (ping) nor with TCP. For TCP, I checked with Test-NetConnection -Port 3389 and result was a failure.
  2. Surprisingly, The faulty server is able to reach other servers with ping and Test-NetConnection on port 3389.
  3. RDP is in running state. Verified by sc query SessionEnv, sc query TermService, sc query UmRdpService, sc query RpcSs, sc query RpcEptMapper. All these services are running. Also, restarted services.
  4. Netstat -a shows that RDP is listening on port 3389.
netstat -a | findstr 3389
  TCP    0.0.0.0:3389           IPADDRESS:0       LISTENING
  TCP    [::]:3389              IPADDRESS:0       LISTENING                
  UDP    0.0.0.0:3389           *:*
  UDP    [::]:3389              *:*
  1. Verified No antivirus, windows firewall, security blockage.
  2. Followed the steps given on https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-rdp and output is PASSED. For NLA and SecureLayer the output was different and added the required changes to registry.

Can someone please help me to fix this? Is it possible to verify if RDP is broken?

Error screenshot when attempted RDP connect from server in same subnet: enter image description here

Upvotes: 0

Views: 842

Answers (1)

Arbeena Muskan Shaik
Arbeena Muskan Shaik

Reputation: 31

by default windows desktop is blocked and disabled by windows firewall, follow these steps to enable it

1.Open Windows Firewall (Start button > Windows System > Control Panel) - From the Control Panel Go to Systems and Security > Windows Defender Firewall. 2.From the Firewall, Click on the Allow and app or feature through Windows Defender Firewall link in the left pane. 3.Click Change settings and then check the box next to Remote Desktop, for both private and public networks. 4.Click OK to save the new settings.

you can refer this link for more details

Upvotes: 1

Related Questions