Enable / Disable Firewall on Windows Command Line
Applies To Windows Vista 7 / 8 / 8.1 / Windows 10 / Windows 2008 / 2008 R2 / 2012 / 2012 R2
(Note : Need Administrator Permission to run below command)
Disable the firewall entirely
Command
netsh advfirewall set allprofiles state off
Enable the firewall entirely
Command
netsh advfirewall set allprofiles state on
Check the status of firewall
Command
netsh advfirewall show allprofiles
Comments
Post a Comment