Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

protected by bwDraco Sep 8 '15 at 20:37

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .