This repository was archived by the owner on May 28, 2021. It is now read-only.
Disable Domain FirewallΒ #339
Open
Description
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
}
Metadata
Metadata
Assignees
Labels
No labels