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

1 Answer 1

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

Your Answer


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.