Export the current policy with netsh advfirewall export, then restore defaults from the console, netsh advfirewall reset, or HNetCfg.FwPolicy2 in PowerShell.
2 posts tagged
Export the current policy with netsh advfirewall export, then restore defaults from the console, netsh advfirewall reset, or HNetCfg.FwPolicy2 in PowerShell.
Enable logging of dropped packets in Windows Firewall per profile from the console, or with one Set-NetFirewallProfile line that sets the log file and size.