


To enable again, just put on at the end instead of off. So if you wanted to disable the firewall completely, you would use allprofiles instead of privateprofile. The other options are currentprofile, publicprofile, domainprofile, and allprofiles. To disable the firewall for a specific profile, you would use the following command: netsh advfirewall set privateprofile state off The Firewall Policy tells you what inbound and outbound policies are being applied to each profile. State means if the firewall is turned on or off.
