Score:-1

Lost RDP session on gcp VM(windows server 2016) afer changing firewall settings

cn flag

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?

jp flag
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)?
Jamil Aslam avatar
cn flag
@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
jp flag
Nice to hear that. Please upvote/accept my answer if it was helpful for you.
Score:0
jp flag

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.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.