netsh advfirewall See Current State netsh advfirewall show currentprofile #turn off netsh advfirewall set allprofiles state off #turn on netsh advfirewall set allprofiles state on