Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know how to block a single program through the firewall quite easily, but I have to do this for several applications now and the process becomes tedious. Is there any way to block multiple programs quickly in Windows 7 Firewall? Or just a way to block an entire folder.

A third party program maybe? (I'm refering to a GUI for the firewall feature in Windows, not an alternative firewall program).

share|improve this question
add comment

2 Answers

You ought to be able to write a quick batch file that applies your rules using netsh:

netsh advfirewall firewall add rule name=”My Application” dir=in action=block program=”C:\MyApp\MyApp.exe”

I can't say I've tested this, though, since I'm not at my own computer right now (no admin rights).

share|improve this answer
add comment

If your not very familiar in bash and want to optimize even more @Amazed answer, here's something cool:

https://sites.google.com/site/mytools4000/home/allow-block-multiple-programs-through-windows-7-firewall

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.