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

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024

Комментарии • 256

  • @SpecOps1987
    @SpecOps1987 3 года назад +54

    This was so much easier than adding 50 exe's by hand. Thank you!

    • @charbel5992
      @charbel5992 2 года назад

      Hey man i did this to a lot of .exe .dll files but now my pc takes a long time to start, is it related u think? Having si many rules makes the pc slow?

    • @SpecOps1987
      @SpecOps1987 2 года назад +2

      @@charbel5992 It depends which files you did it to. If you did it to Windows services and stuff that now can't communicate with the internet, they might hang up for an extended amount of time while trying to establish a connection. If you're on Windows 10, there's a very easy "restore firewall to default" function that will flush all those rules and go back to how it was before. You can try this to see if things return to normal speed-wise.

  • @RetoonHD
    @RetoonHD 3 года назад +29

    You explained it so perfectly, i gotta give you props for that. Makes it so much easier to understand for people that don't do a whole lot on the command line.

  • @sm7085
    @sm7085 Год назад +12

    Really appreciate this video for not only providing a solution, but clearly explaining how it works!

  • @Dudanation12
    @Dudanation12 2 года назад +7

    RUclips needs a triple like button. This was such a good video. Not only is your solution PERFECT but you explain it very well for those who can't read code or know all of the parameters.

  • @Jebesniper
    @Jebesniper 10 месяцев назад +18

    Just incase if anyone wanna block just the .dll - add .dll next to *.exe for example (*.exe, .dll) or just (*.dll). Thanks for the tutorial mate

    • @silentscope7440
      @silentscope7440 7 месяцев назад +4

      I think this comment should be pinned. I added .xml to the command as well. Some programs are sneaky.

    • @daber2000
      @daber2000 4 месяца назад +4

      so
      in (*.exe, *.dll)
      or
      in (*.exe, .dll)
      ?
      thanks

    • @Ehren1337
      @Ehren1337 2 месяца назад

      this takes up alot lines in firewall.. wish you can group it.

    • @milliondollarputhay9504
      @milliondollarputhay9504 День назад

      ​@@daber2000 i did it like this:
      (*.exe, .dll)
      only one asterisk (*) in the front

  • @TheHardknok
    @TheHardknok 4 года назад +39

    Dude, how is this brilliant gem hidden. This needs to go viral. Thanks a ton mate!

    • @joergel17
      @joergel17 3 года назад +5

      I really don´t want to lessen how fucking good this is. But Please, people of the internet, please stop telling everyone about everything cool. You don´t know those "viral" persons, maybe they are aholes maybe they are not.
      What will definitely happen is that things that it will be more complicated for the enlightened.
      Imagine "viral" use of good ablockers. RUclips will block them.
      Imagine everyone at your favorite secret spot on this planet. Sucks, doesn´t it?
      So tell your friends, be nice to the creator, but don´t spread it too much.
      Everyone who needs this, will find it. As I just did by googling.

    • @DrMohammedselem
      @DrMohammedselem 3 года назад

      Totally agree this saved me lot of time

    • @sbypasser819
      @sbypasser819 2 года назад

      @@joergel17 YES

  • @343mustbestopped2
    @343mustbestopped2 Год назад +4

    My guy. The most informative and well explained video I've found so far. It's even fun to learn these new things and not a drag.

  • @nosferatu5
    @nosferatu5 16 дней назад

    Wow. Thank you so much. You're the king.
    Reinstalling windows and i still can't believe how big of a list i have to go through to make windows usable. Delete confirmation, file extensions, o&o disabling bloat, one drive etc. It's amazing how Microsoft struggles to be normal.

  • @4L10
    @4L10 2 года назад

    Comes up as top result for "windows 10 firewall block folder" and truly deserves it. Thank you.

  • @Canyon_Lark
    @Canyon_Lark Год назад

    Ha wow, thanks. RUclips auto play took me right to the exact “niche” solution I needed while I wasn’t even paying attention. After doing about 30 by hand, I was looking into whether or not I needed both inbound and outbound rules for my situation, because I was not keen on doing all that again! And then this video just starts playing, and it’s something I’ve been wondering how to do for years! Again, thanks, great tutorial

  • @njellis
    @njellis 3 года назад +8

    Excellent script - great job! Thank you for sharing; saved me a lot of time.

  • @yoractualvoice
    @yoractualvoice 4 года назад +1

    This Channel deserves more Subs......
    It's solves the very problems whose solutions you cannot find anywhere else.
    Also he also explains the reason why we are using that code which nobody else cares to tell.
    Best Of luck for the Future brother....

  • @suepen1524
    @suepen1524 Год назад

    Update. Thank you so very much. I already had defender open so it did not refresh list. This is awesome. So very helpful

  • @allenpowell1702
    @allenpowell1702 10 месяцев назад

    Finally I can use the built in firewall to block all exe files in a path. You rock!

  • @Hords
    @Hords 5 месяцев назад +1

    Perfect command to block Adobe from ever accessing the internet ever again and locking me out of Photoshop, Much love Chute!

    • @Hords
      @Hords 5 месяцев назад

      @BestPodcasted What i did was just make a whole new folder for everything related to Adobe. & cut and place everything in that folder instead.
      & then follow the video.

  • @gerickolson2706
    @gerickolson2706 3 года назад

    Recently ran into a program with 16 .exe files. I'd have to enter 32 rules in. Thank you for saving me time now and in the future ♥

  • @pcnerve
    @pcnerve 2 года назад +20

    Don't forget to edit batch file for .DLLs as well, because these are also executable files and may be invoked indirectly to connect to the Internet.

    • @lorenzo6341
      @lorenzo6341 2 года назад +3

      DLL's aren't executables, they contain executable code that is executed by EXE or other types of files, that's why DLL stands for Dynamic Link *Library*.

    • @buildingsbyair
      @buildingsbyair Год назад

      @@lorenzo6341 Hi, does that mean I don't need to add the DLL's as their execution is from within EXE?

    • @SndOfMzk
      @SndOfMzk Год назад

      @@SamHuRe you don't have to do this. Don't do this

    • @ricerice245
      @ricerice245 7 месяцев назад

      ​@@buildingsbyairrefer to my comment to block everything, dlls can be created by exes after its run so its handy to be able to block everything in a folder if you start seeing things spawn

    • @ricerice245
      @ricerice245 7 месяцев назад

      ​@@buildingsbyairi got two dlls that connect to a malicious network so im using this to neutralize it

  • @kevinlevin4930
    @kevinlevin4930 3 года назад

    Amazing was searching for folder blocking ,everyone else was showing single file only thank you so much

  • @dbitMedia
    @dbitMedia Год назад

    Thank you so much, this is so awesomely helpful. I was doing this by hand in apps that have dozens, maybe hundreds of exe components. Thankfully I was only less than half way through when I thought 'there has to be a better way' and found your video. It made it a breeze. Cheers!

  • @s.fleming2441
    @s.fleming2441 2 года назад

    Deadly, works so well. I've wanted this for years now.

  • @ioannesnox
    @ioannesnox 2 года назад

    You rock man, I have been entering these manually for so long.....

  • @hipnologoycarosantos7273
    @hipnologoycarosantos7273 2 года назад +1

    This is a masterpiece for free. Thanks for doing this, big man! Keep it up.

  • @payman_azari
    @payman_azari Год назад

    Saved my day thanks! it detected more than 200 exe files for me so 200+ rules added 😂

  • @learnwithmittal
    @learnwithmittal 7 месяцев назад

    thank you so much for making my life easier
    any thing cannot be simpler than this

  • @drcinematic.youtube
    @drcinematic.youtube 3 года назад +1

    Amazing video! Thanks. Your channel is a hidden gem.

  • @SoyGuss_
    @SoyGuss_ 4 месяца назад

    This is, definitely the best video on the matter. And it still works, Thank you

  • @alas8922
    @alas8922 Месяц назад

    Definitely a lifesaver!. I can now use internet while editing

  • @thenx5521
    @thenx5521 3 года назад

    awesome, this saves so much time and is easy to use, thank you.
    i want to add that i had to open the bat file as administrator

  • @BenedictAdvincula
    @BenedictAdvincula 3 месяца назад

    Thank you very much , It's 100% legit and working. It blocks my Adobe Illustrator internet access and the adobe popup is gone. Hope more interesting tips in ur channel.

  • @scottplooster1315
    @scottplooster1315 3 года назад

    Thanks so much for creating this easy to follow video... I was a little confused at specifying target .exe directory but then figured if the batch file is within that directory that's what the '%' points to...

  • @lucdanais5707
    @lucdanais5707 8 месяцев назад

    Amazingly simple and effective. Thank you.

  • @bluecar5556
    @bluecar5556 Год назад

    @troublechute This batch file works great. I'm going to use this so much you have no idea. Well done man!

  • @abhiborisdeep2141
    @abhiborisdeep2141 Год назад

    EXTREMLY HAPPY AND THANKS UPLOADER FOR THIS VIDEO HELPED ME A LOT.

  • @organicwebdev
    @organicwebdev 11 месяцев назад

    Bro, this is awesome bro, man, this is incredible, you save a lot of time by finding a way to do this man, I appreciate it so much dude, Best Regards!

  • @Errr717
    @Errr717 20 дней назад

    That was pretty cool. This definitely worked for me. Thanks much.

  • @itchylol742
    @itchylol742 3 месяца назад

    excellently explained tutorial, working on windows 11 too.

  • @michelangelop3923
    @michelangelop3923 3 года назад

    Thanks a lot man! it helped me block around 500 exe's across 7 apps!

    • @charbel5992
      @charbel5992 2 года назад

      Hey man i did that as well but i have a question, did that make you pc take longer time to start?

  • @0oTHEJACKo0
    @0oTHEJACKo0 2 года назад +1

    what is the extension for all filetypes? :D
    (*.*) instead of (*.exe)?

  • @vadimkolosov
    @vadimkolosov 2 года назад

    Thank you! Loved the video. Concise, everything covered and explained!

  • @mr.critic
    @mr.critic Год назад

    This is brilliant. Now imagine if you could just right click on any folder and select BLOCK in firewall

  • @lijowilson94
    @lijowilson94 7 месяцев назад

    Thanks mate...Seriously...Thanks...
    Well explained in layman terms...

  • @Ariess-jy3ss
    @Ariess-jy3ss 5 дней назад

    THANK YOU so much!!! You are a lifesaver, god bless you.

  • @ursoulsmate
    @ursoulsmate 6 месяцев назад

    HUGE HUGE THANK YOU. YOU'RE A LIFE SAVER

  • @npcpranks
    @npcpranks Год назад +1

    Top tier content.

  • @tangerinestreet1512
    @tangerinestreet1512 Год назад

    Thanks for this, it's exactly what i was looking for and worked perfectly!

  • @charank7364
    @charank7364 Год назад

    Very Useful. Exactly what I needed.

  • @the_stixXx
    @the_stixXx Год назад

    Life saver! Exactly what I needed. Thanks a ton!!!!

  • @JavoMadrigal
    @JavoMadrigal 3 месяца назад

    Perfectly explained! thank you very much!

  • @asparagusoffice
    @asparagusoffice 2 года назад

    this solved a lot of headaches, thanks

  • @RedwanMostafa-e8d
    @RedwanMostafa-e8d 2 месяца назад

    I was looking for exactly this kind of thing. thanks a lot

  • @kattuner
    @kattuner Год назад

    Very very very helpful video. Exactly what I needed. Thanks a lot!

  • @diliupg
    @diliupg 2 года назад

    Great video, great explanation. Great way to win subscribers! You got a new one! Good job!

  • @avix213
    @avix213 Год назад

    wow, this is incredibly well working

  • @SisyphusOnSunday
    @SisyphusOnSunday 3 месяца назад

    Finally sound a solution that actually works!

  • @TwsInformatica
    @TwsInformatica 11 месяцев назад

    Literally a lifesaver
    Tks Sr. 07

  • @shivam.shakya
    @shivam.shakya 3 года назад

    That was such a good explanation and demo. thanks!

  • @bradp213
    @bradp213 Год назад

    Thank you sooo much!!!! I wish you taught me programming in college. Super easy to follow and great explanation.

  • @arejaz21111
    @arejaz21111 9 месяцев назад

    Worked like a charm. Thank You!

  • @ricerice245
    @ricerice245 7 месяцев назад +1

    to block all file types do (*) instead of (*.exe) i had to do this because it wasn't detecting my file type

  • @skylerinman
    @skylerinman 2 года назад

    LIKE
    gg man ty this was super helpful!
    I don't normally comment on these things, but I could not see the "like" bar here, unknowingly if I was gonna waste my time or not,
    luckily you were amazing. Keep these tricks up, you know we'll be coming back

  • @Nienormalny
    @Nienormalny 4 месяца назад

    This is absolutely brilliant!

  • @eduardohungaro4449
    @eduardohungaro4449 2 года назад

    Extremely useful! Thank you so much for this!

  • @dmitripopov8570
    @dmitripopov8570 6 месяцев назад

    Thank you very much! It worked flawlessly!

  • @peterlee6216
    @peterlee6216 Год назад

    Outstanding help and much appreciated thank you.

  • @DerekGranquist
    @DerekGranquist Год назад

    Very helpful. Smart approach! Thank you!

  • @SHA256HASH
    @SHA256HASH 2 года назад

    You are a legend for this video! Subbed!

  • @yuliakalashnikova6161
    @yuliakalashnikova6161 4 месяца назад

    oh, it worked perfectly! thank you so much!

  • @novailoveyou
    @novailoveyou Год назад

    Thank you! It worked for me! This is really helpful!

  • @kodeth5200
    @kodeth5200 2 года назад

    you saved me a lot of time and effort and earned my sub

  • @jesus.moreno
    @jesus.moreno 2 года назад

    wouuuuuuuuuuu ... you are awesome man .... I was looking for this solution long time ago ... muchas gracias !!

  • @Super-Saiyan-Banana
    @Super-Saiyan-Banana 2 года назад +1

    This works for every other file extension if I change .exe to another extension like .dll, right? Or I can set it to *.* to make it block all the available files?

  • @nokomentsEVH
    @nokomentsEVH 8 месяцев назад +1

    May gods bless you! 🙏🙏🙏

  • @1337Unlucky
    @1337Unlucky 10 месяцев назад

    GENIUS! Perfect video!

  • @charbel5992
    @charbel5992 2 года назад

    @TroubleChute i did this to plenty of files, but now my laptop is taking longer time on startup, is it possible having a lot of inbound outbound rules can cause this?

  • @leinadmofficial
    @leinadmofficial Год назад

    thank you so much, this worked and its so easy to understand

  • @RanbirGaming
    @RanbirGaming Год назад

    Thanks man, this was really helpful!❤

  • @ooyyss7652
    @ooyyss7652 9 месяцев назад +2

    I tried it on windows 10 and it was a bit different for me. It didn't work when I kept both lines (inbound and outbound block) in the same batch file. What worked for me was I created two seperate batch files that kept the exact same statement in the video description except one of them wrote dir=in instead of dir=out. I ran them seperately as admin and it worked. If anyone is having a similar problem, feel free to try this.

  • @iamdelbin
    @iamdelbin 4 месяца назад

    Very helpful. Thanks and I'm subscribing your channel.❤

  • @AudiophileHeaven
    @AudiophileHeaven 4 месяца назад

    Thank you so much, great tutorial!

  • @sann6688
    @sann6688 2 года назад

    Thank you very much bro! That was really helpful.

  • @midnightdt
    @midnightdt 4 месяца назад

    You are a king. Thank you

  • @AnshulChaudhary25
    @AnshulChaudhary25 2 года назад

    Thanks dude, you made it so easy to understand.

  • @goodysmarts
    @goodysmarts 3 года назад +2

    Thanks for this bit of important info. I guess you can configure the script to block [ .dll ] files by replacing the .exe with .dll

    • @hexquare
      @hexquare 3 года назад

      Of course. You can even set the exact name of dll you want to block. Also, remove "/R" if you don't want to create similar rule for subfolders.

    • @TMProjection
      @TMProjection 2 года назад

      @@hexquare say i have a list of .exe
      what script would i run to just block that list, instead of blocking them all one by one manually

  • @Lana_Warwick
    @Lana_Warwick 3 месяца назад

    Hi, wondering if there's a way to have it ignore exe's already previously applied to the firewall?
    E.g. I just added the 10th sub folder, ran bat, the first sub folder exe, added weeks ago, is now listed in firewall 10 times.
    Prob doesn't matter, just an ocd thing. Be nice if we could just block the folder, single entry blocking all within.

  • @matinkingofgame1357
    @matinkingofgame1357 Год назад

    dude you are an angel

  • @farewelldesigns9362
    @farewelldesigns9362 3 года назад

    Damn that script comes in handy, thanks for sharing! :)

  • @edipsaln
    @edipsaln 3 года назад

    Time saver video, very useful!! Thanks!

  • @guestreet6341
    @guestreet6341 2 года назад

    this is crazy helpful bru thank you

  • @agis7172
    @agis7172 3 года назад

    Thanks dude, you're amazing!

  • @Deadago888
    @Deadago888 8 месяцев назад

    so ez and simple dhanyawad

  • @bandidojr
    @bandidojr 2 года назад

    YOU ARE BRILLIANT!

  • @ArikCool
    @ArikCool 3 месяца назад

    You are just Amazing!

  • @A_Lousy_Viewer
    @A_Lousy_Viewer 2 года назад

    Yesssss, there is an extension that keep installing files on my computer, no matter how many times I delete them. Now I can block those files from my computer. Those are not only .exe but .js, .json, and .png but I guess I just need to change the file extension in the commands

  • @bearox8302
    @bearox8302 3 месяца назад

    What if I dont have an exe in this step? like im trying to make it in a folder where I have other folders wich contain exes? 3:21

  • @lutherblisset372
    @lutherblisset372 11 месяцев назад

    thank you, i finally resolve my problem

  • @Jesse-lg3xj
    @Jesse-lg3xj 2 года назад

    You are AWESOME! Thank you!

  • @NACHOXVALLE
    @NACHOXVALLE Год назад

    I'm runnin' some tests, the block action works flawlesly, but not the allow one, surely is my mistake but i can't find the error. Must i flush dns....? Other question, please; i've placed the path of a folder after cd/ d, obviously works fine, but i wonder how to write multiple paths in order to block eberything i need without navigate through the whole machine or drives in my network. Any ideas?, thx a lot.

  • @davidoaken2786
    @davidoaken2786 Год назад

    If i create a folder and create shortcuts to many EXEs from many other folders across my computer and place them in that folder, will that block the initial program?

  • @shanubhatt1611
    @shanubhatt1611 Год назад

    Thank you for this amazing video. I'm left with one doubt tho, how to disable blocking for all these .exes at once? what do I need to change in the code for that?

  • @slpkntchen
    @slpkntchen 2 года назад

    Thanks a lot for saving a lot of time.