Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Disable Domain Firewall #339

Open
Moe1369 opened this issue Aug 29, 2020 · 1 comment
Open

Disable Domain Firewall #339

Moe1369 opened this issue Aug 29, 2020 · 1 comment

Comments

@Moe1369
Copy link

Moe1369 commented Aug 29, 2020

Just noticed that the StandardProfile regkey only disables the firewall in private and public scope.
It is possible to create a Key named "DomainProfile" under HKLM:\Software\Policies\Microsoft\WindowsFirewall\DomainProfile

Should look something like this:

If (!(Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile")) {
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile" -Force | Out-Null
}
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile" -Name "EnableFirewall" -Type DWord -Value 0
}

@E3V3A
Copy link

E3V3A commented Sep 30, 2020

Good and important observation.
Perhaps @Disassembler0 can provide a quick fix for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants