Win 10 FW - Block All Connections From .exe's in Folder?
Page 1 of 1
Immunity




Posts: 5573

PostPosted: Sat, 11th May 2024 00:16    Post subject: Win 10 FW - Block All Connections From .exe's in Folder?
Here's the scenario -

There's a folder that has many executables inside their own folders.

Ex:

J:\Progs\Prog1\Prog1.exe
J:\Progs\Prog2\Prog2.exe

etc.

Is there a way to get windows Firewall to block all inbound and outbound connections from every executable in the J:\Progs\ root folder (even when they themselves are nested further in)? As far as I can tell, you can only add individual .exes manually, and not block an entire directory outright.

Apparently one can do this via a .bat file - the problem with that is it'd have to run again every time more folders were added in there.

What's the best way to go about doing this? I'd prefer not to have to use a third party program if possible - if that's not possible, what suite works best for something like this?

At the moment just using Windows Defender/Firewall with Malwarebytes as an on demand scanner.

Wasn't sure whether to ask this question here, or in Applications, but technically its to do with the Windows 10 firewall, so Question Laughing


I can never be free, because the shackles I wear can't be touched or be seen.
i9-9900k, MSI MPG-Z390 Gaming Pro Carbon, 32GB DDR4 @ 3000, eVGA GTX 1080 DT, Samsung 970 EVO Plus nVME 1TB
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Operating Systems
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group