W10 built-in Firewall: any way to blacklist a path?

wahnsinn

Member
Aug 23, 2017
115
115
I tend to be good about blocking outbound comms for any new games or cracked programs, but occasionally, when I install something new, I forget.

Is there any way I could set it up so that the whole path where I place these games or programs is always blacklisted, and so any new games I install there will also automatically not be able to communicate out?

Researching this, I've seen a thing called "Firewall App Blocker" which has an "add path" feature, but all it does is look for any already existing .exe files in the given path and block those. Not what I need.
 

Winterfire

Forum Fanatic
Respected User
Game Developer
Sep 27, 2018
5,537
8,083
I didn't watch the video, but from the title, it seems this is what you're looking for:
 

wahnsinn

Member
Aug 23, 2017
115
115
I didn't watch the video, but from the title, it seems this is what you're looking for:
First of all thanks for responding!

This batch is functionally identical to the "Firewall App Blocker" app I mentioned, i.e. it will block any .exe files that already exist at the time the batch file is run. Unfortunately, that's not going to help me if I forget to run it after installing a new program though, which is the reason I'm looking for a more foolproof method.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,029
16,347
Is there any way I could set it up so that the whole path where I place these games or programs is always blacklisted, and so any new games I install there will also automatically not be able to communicate out?
After a quick search, and taking count of the fact that someone decided to create a batch file for this, it really seem that it's not possible to do that.

Anyway, normally one should do the opposite, blocking all software by default, then allowing only those that have the right to access the network. But it also don't seem to be possible to do this.
 

Winterfire

Forum Fanatic
Respected User
Game Developer
Sep 27, 2018
5,537
8,083
Even other software like Simplewall don't do this it seems: windows doesn't support it. I recall Avast being able to do it, but that'd require having a whole third party AV in your system which is prob not what you're looking for.