ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

Switching Windows firewall on/off?

(1/1)

lanux128:
i want to quickly enable the "Don't allow exceptions" option in Windows Firewall (see pic) before going online. so i'm wondering which registry keys are involved so that maybe i might be able to whip up a mini AHK script to do that and also toggle on/off the windows firewall.. Any ideas? :)

cthorpe:
the following command disables exceptions:

netsh firewall set opmode mode = ENABLE exceptions = DISABLE


To allows exceptions:

netsh firewall set opmode mode = ENABLE exceptions = ENABLE


turn off firewall:

netsh firewall set opmode DISABLE


turn on firewall

netsh firewall set opmode ENABLE

lanux128:
thanks a lot, cthorpe.. that is very helpful.. :Thmbsup:

Navigation

[0] Message Index

Go to full version