Windows: How to Block an entire folder | Windows Firewall Guide

Windows: How to Block an entire folder | Windows Firewall Guide

Channel:
Subscribers:
278,000
Published on ● Video Link: https://www.youtube.com/watch?v=4AH4SV7bGN0



Category:
Guide
Duration: 5:47
36,913 views
1,246


Wanted to block a program, and all the other .exe's in a folder? Well, it's difficult. With the help of a small .bat file, life can be made simpler. This video shows you how to completely block or allow an entire folder (and subfolders) internet access via the Windows Firewall.

--------
@ setlocal enableextensions
@ cd /d "%~dp0"

for /R %%f in (*.exe) do (
netsh advfirewall firewall add rule name="Blocked: %%f" dir=out program="%%f" action=block
)
pause
--------

Timestamps:
0:00 - Explanation
1:23 - Creating .bat file
2:06 - Command explanation
3:32 - Blocking IN and OUT data
4:09 - Blocking all files in a folder in Windows Firewall

-----------------------------
💸 Found this useful? Help me make more! Support me by becoming a member: https://youtube.com/channel/UCkih2oVTbXPEpVwE-U7kmHw/join
-----------------------------
💸 Direct donations via Ko-Fi: https://ko-fi.com/TCNOco
💬 Discuss video & Suggest (Discord): https://s.tcno.co/Discord
👉 Game guides & Simple tips: https://YouTube.com/TroubleChuteBasics
🌐 Website: https://tcno.co
📧 Need voice overs done? Business query? Contact my business email: TroubleChute (at) tcno.co

Everything in this video is my personal opinion and experience, and should not be considered professional advice. Always do your own research and make sure what you're doing is safe.




Other Videos By TroubleChute


2020-10-05OBS: How to record Audio Only | While streaming | + Multitrack support
2020-10-04How to use Android as another Windows Display | Complete guide | Free!
2020-10-03Google: Finding transparent images properly on Mobile (No background)
2020-10-02How to Start Steam in Offline mode (Without opening it first) | Complete guide
2020-10-01OBS: Use as a Virtual Camera [Updated] | OBS for Zoom, Discord, Skype etc.
2020-09-30Mirror and Control Android on Windows | Free, Open-source | Crash Course
2020-09-29Android: How to delete broken files | Can't delete? 0 Byte files?
2020-09-28Steam: How to hide recent game activity & game hours
2020-09-27OBS: How to Disable Cursor in Display/Game/Window Capture
2020-09-26OBS: How to Minimize to Tray | Hide OBS from Start bar | Guide
2020-09-25Windows: How to Block an entire folder | Windows Firewall Guide
2020-09-25Windows: Complete GPU Driver Clean Reinstall | DDU Crash Course
2020-09-24How to: Get access to EA Desktop Beta | Complete guide
2020-09-22Windows: Fix Store error 0x80D03002 | Game Pass Error + More
2020-09-21Free: Xbox Game Pass for PC with Discord Nitro | Guide
2020-09-21Syncplay: How to set up your own private server
2020-09-19Steam: How to Remove Game from Library [Not Hide or Refund]
2020-09-18Syncplay: "Watch Party" for local videos! Sync videos w/ VLC Media Player
2020-09-17How to: Enable & Use Nvidia Reflex | New | Complete Crash Course
2020-09-16Windows: How to pause Windows Update | Temporary
2020-09-16Steam: How to move Sourcemods folder to another drive | Symlink guide



Tags:
windows firewall
firewall block all exes
block all of the game exes in your system firewall
use a firewall to block all game exe from going online
firewall
windows 10
block
tutorial
internet
windows
firewall block folder
block folder in windows firewall
how to block folder in firewall windows 10
firewall block entire folder
firewall block folders
windows firewall block all exe in folder
windows firewall block shared folder
windows 10 firewall block shared folder