Windows 10 Is it possible to make a firewall rule for both in- and outgoing rules at the same time?

2up

Well-Known Member
Joined
Oct 24, 2018
Messages
5
...So I don't have to de- and activate both in- and outgoing rules everytime. It seems like a lot to do that could be done with a single click.

Win 10
Windows Defender Firewall
Udgave Windows 10 Home
Version 20H2
Installeret d. ‎01-‎09-‎2020
Operativsystemets build 19042.870

Thanks!
 


Solution
To simplify the process of toggling the Windows Defender Firewall rules on and off in Windows 10, you can create desktop shortcuts that directly enable or disable the firewall. Here's how you can achieve this with a few simple steps:

Creating Desktop Shortcuts for Windows Defender Firewall:​

  1. Create a Shortcut for Enabling Firewall:
    • Right-click on your desktop and select "New" -> "Shortcut."
    • In the location field, input the following command:
      Code:
       netsh advfirewall set allprofiles state on
    • Name the shortcut (e.g., "Enable Firewall") and click "Finish."
  2. Create a Shortcut for Disabling Firewall:
    • Right-click on your desktop and again select "New" -> "Shortcut."
    • In the location...
To simplify the process of toggling the Windows Defender Firewall rules on and off in Windows 10, you can create desktop shortcuts that directly enable or disable the firewall. Here's how you can achieve this with a few simple steps:

Creating Desktop Shortcuts for Windows Defender Firewall:​

  1. Create a Shortcut for Enabling Firewall:
    • Right-click on your desktop and select "New" -> "Shortcut."
    • In the location field, input the following command:
      Code:
       netsh advfirewall set allprofiles state on
    • Name the shortcut (e.g., "Enable Firewall") and click "Finish."
  2. Create a Shortcut for Disabling Firewall:
    • Right-click on your desktop and again select "New" -> "Shortcut."
    • In the location field, input:
      Code:
       netsh advfirewall set allprofiles state off
    • Name this shortcut appropriately (e.g., "Disable Firewall") and click "Finish."

      Using the Shortcuts:​

      • Double-click on the "Enable Firewall" shortcut to turn on Windows Defender Firewall.
      • Double-click on the "Disable Firewall" shortcut to turn off Windows Defender Firewall.

      Notes:​

      • These shortcuts directly toggle the firewall state without the need for delving into the Windows Defender Firewall interface.
      • Ensure you only disable the firewall when necessary for specific activities.
      By using these desktop shortcuts, you can easily enable or disable Windows Defender Firewall with a single click, streamlining the process and saving you time in managing your firewall settings.
 


Solution
Back
Top