Win10-Initial-Setup-Script
Win10-Initial-Setup-Script copied to clipboard
Disable Domain Firewall
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
}
Good and important observation. Perhaps @Disassembler0 can provide a quick fix for this.