1
votes

Apologies if this is a bit basic:

I have a Google Compute Instance running Windows Server 2012 R2. It has a valid admin account and password (checked via gcloud). The external IP address can be pinged, the system has been stopped and started successfully. The gcloud commands execute successfully etc etc.

If I try to RDT in I get the unsuccessful message. If I use the RDT (Chrome) option in the Google Cloud Platform admin page I get this message:

In order to use the Chrome RDP Extension, you must configure VM instance so that it has an external IP address, username and password.

Note: You must configure the network firewall to open TCP port 3389 to enable RDP access.

Note that ALL of the above are correct and confirmed.

I am sort of going round in circles, I've tried to use powershell on a windows system to RDT in to no avail. Again, using the built in Bash serial access I can get to the system and, for example, retrieve the admin account and password, BUT RDT FAILS.

I have tried using the powershell command Enter-PSSEssion... and I initially got a winrm error, apparently the IP address needs to be in trustedhosts. Fixed that and now I am getting a message that I need to verify that winrm is running on the destination computer, catch 22, that's why I'm using winrm, to access the destination computer.

Any ideas what I might try next?

Thanks.....

1
You might be missing to allow tcp/5986 port from anywhere. As by default, upon creation of instance it allows 3389 but not WinRM. Check the documentation hereKarthickN

1 Answers

0
votes

create a rdp network tag for firewall rule, which allows tcp:3389 ingress and and then apply it to the instance in question... someone (assuming you're at work) might have removed/edited these rules trough the console or gcloud command.