Command line Firewall on off Off: NetSh Advfirewall set allprofiles state off On: NetSh Advfirewall set allprofiles state on