-1

I lost my RDP session after setting up some firewall settings on my GCP windows VM and now that is unreachable via IP or RDP or URL. I tried pinging that IP but request timed out.

Can someone please help?

  • 1
    Have you tried to connect to your VM via [Windows SAC](https://cloud.google.com/compute/docs/instances/connecting-to-windows#connecting_to_the_windows_sac) and [disable your firewall rule](https://docs.microsoft.com/en-us/powershell/module/netsecurity/disable-netfirewallrule?view=windowsserver2019-ps)? – Serhii Rohoza Jul 04 '21 at 15:24
  • 1
    @SerhiiRohoza Thank you for your help brother. You saved me. I was working to find the solution for last 2 days. Your answer gave me a proper direction and I found this article which resolved my problem. https://blog.doit-intl.com/restoring-windows-server-access-via-the-google-cloud-serial-consol-5023837c8cda – Jamil Aslam Jul 04 '21 at 20:59
  • Nice to hear that. Please upvote/accept my answer if it was helpful for you. – Serhii Rohoza Jul 04 '21 at 21:13

1 Answers1

0

As it was discussed at the comments section, to solve this issue you should connect to your VM instance via serial console and then remove the firewall rule. More details you can find at the documentation Windows SAC.

As it was mentioned by @Jamil Aslam, this article shows an example of such action.

Serhii Rohoza
  • 1,424
  • 2
  • 5
  • 15