Windows Firewall helps you to protect your PC from hackers and malicious software. It is a powerful tool that allows you to fine-tune the protection and notifications for different network profiles such as Home, Work, and Public. When you are connected to a public network like a library or a coffee shop, you may want to block all incoming connections for safety reasons. A Firewall safeguards your system against any uninvited trouble whether at home or at work.
If you need to disable or enable the Windows Firewall frequently, you may want to create a shortcut for it on your desktop instead of going all the way through the Control Panel. You may find this especially handy if you find the firewall obstructing any of your running tasks.
Disable Enable Windows Firewall desktop shortcut
You can create a desktop shortcut as follows in Windows 10.
Right-click on your desktop > New > Shortcut.
To disable firewall, type or better still, copy-paste the following in the Location field.
netsh firewall set opmode disable
Click Next > Name it Disable Firewall > Finish. Give it a suitable icon.
To Enable the Firewall copy-paste instead:
netsh firewall set opmode enable
and name it Enable Firewall. Again give it a suitable icon.
You will have to Run it as Administrator. On clicking on both, a black CMD box will appear and then disappear with the letters OK in it.
Thus, you can easily disable or enable Windows Firewall on your Windows computer.
NOTE: Please see the comment by noname below. The netsh firewall command has been deprecated; Use “netsh advfirewall firewall” instead.
Speaking of desktop shortcuts, you might want to check out Handy Shortcuts, – our freeware which lets you create tons of shortcuts in a click. Go here to learn how to lock Windows 8 and to create its desktop shortcut.