Complete Computer Knowledge Portal

Monday, April 29, 2013

Turn On/Off Firewall Protection from Command Line

Here are some simple commands that you can use to check status of firewall or to Turn On or Off Windows Firewall.
Press Windows + R Button to run command





Type netsh and hit Enter.netsh Prompt will open.









Type firewall and hit enter








Now you are at netsh firewall >To enable firewall just type set opmode enable












To disable type set opmode disable









you can also view firewall configuration by using sh config command at netsh firewall > prompt.


No comments:

Post a Comment