Turn Off Windows Firewall from GCP Console or Gcloud | C2C Community
Solved

Turn Off Windows Firewall from GCP Console or Gcloud

  • 29 June 2021
  • 2 replies
  • 371 views

Userlevel 3
Badge +3

Do we have any means to turn off windows firewall entirely using the GCP console? like using metadata key value pair or other means?

icon

Best answer by yuval 29 June 2021, 07:14

View original

2 replies

Userlevel 4
Badge +3

Hello @ejcs001 , my colleague wrote a blog post that might be relevant:

https://blog.doit-intl.com/restoring-windows-server-access-via-the-google-cloud-serial-consol-5023837c8cda

Userlevel 3
Badge +3

Hi, @yuval, this is a good find. But the problem is we do not have access to the SAC Terminal. Upon checking, the terminal prompts the folllowing:

----------------------------------------------------------------------------------------------------------------------------

BdsDxe: loading Boot0005 "Windows Boot Manager" from HD(2,GPT,70B9298F-6A7E-40B4
-993C-881879AC1F4C,0x8000,0x32000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: starting Boot0005 "Windows Boot Manager" from HD(2,GPT,70B9298F-6A7E-40B
4-993C-881879AC1F4C,0x8000,0x32000)/\EFI\Microsoft\Boot\bootmgfw.efi

UEFI: Attempting to start image.
Description: Windows Boot Manager
FilePath: HD(2,GPT,70B9298F-6A7E-40B4-993C-881879AC1F4C,0x8000,0x32000)/\EFI\Mic
rosoft\Boot\bootmgfw.efi
OptionNumber: 5.



I actually found a similar way to turn off the firewall. I use a metadata key value pair 

“windows-startup-script-ps1” “netsh advfirewall set allprofiles state off”. Unfortunately, it works on test windows machine that I have created but not on the affected machine that I am mentioning in another post. So, I conclude this is not just a firewall issue.

 

Reply