How to Block a Program From the Internet in Windows 10

This tutorial will take you every single step of the way through creating a Windows Firewall Rule to block a specific program (whichever you want) in Windows 10.

  1. Start out by clicking the Windows 10 Start Button and in the Search section type the word firewall. One of the items that will be displayed is Windows Firewall | Control Panel. Select that one.
  2. You’ll be presented with the main Windows 10 Firewall screen.

  3. click to enlarge

  4. From the column on the left side of the window, click the Advanced Settings… item.
  5. Now you’ll be presented with the Advanced section of the Windows 10 Firewall.

  6. click to enlarge

  7. Select the Outbound Rules item from the left-most column.
  8. Now you’ll be presented with the Advanced Outbound Rules section.

  9. click to enlarge

  10. This time we’re going to look in the column on the right side of the screen, titled Outbound Rules…. From this section, select New Rule…
  11. When asked which type of connection you want to block, select Program and then click the Next > button.
  12. Since you only want to block one program (not them all) – click the Browse… button next to This program path:. NOTE: you can of course block more than one program by creating multiple rules.
  13. Click through the folders on your PC until you find the Application you want to block from accessing the Internet. If you’re having trouble locating it, it’s probably in the Program Files folder, likely in a sub-folder with either the program name or company name as a part of the folder name itself. When you’ve found it, select it by clicking on it once, and then click the Open button.

  14. click to enlarge

  15. Click the Next > button to continue.
  16. Select Block the connection and then click the Next > button.
  17. Make sure that all three items (Domain, Private and Public) have “check marks” next to them, and then click the Next > button.
  18. Give your newly created “rule” a name and quick description, and finally, click the Finish button.
  19. You’ll be returned to the Advanced Outbound Windows Firewall Settings section.

  20. click to enlarge

  21. This time, the column on the right side (Actions) will have your newly created Rule in it!
  22. As stated earlier in this tutorial, you can do this for as many programs in Windows 10 as you’d like. You can even use the “Copy” button to create similar rules without having to go through every step again.

75 thoughts on “How to Block a Program From the Internet in Windows 10”

  1. Pingback: How to Block a Program from Accessing The Internet in Windows 8 - Simple Help

  2. Pingback: How to Block a Program From the Internet in Windows 10 – Simple Help | Ramblings of a Bored Geek

  3. +20 clicks to block 1 program in Windows 10’s ancient Firewall user interface… bravo Microsoft! I wish there a better way to do this.

    1. Zchesus Alwaysrighty

      Hello asd
      How about this for making it easier:

      Open notepad:

      paste everything below between ##### lines

      save it as somefilename.reg

      and voila now you have block with firewall and delete from firewall (you can name them however you want) in your right click context menu.

      execute and confirm that you want it entered into registry

      yw :P

      ############

      Windows Registry Editor Version 5.00

      [HKEY_CLASSES_ROOTexefileshell]

      [HKEY_CLASSES_ROOTexefileshellFirewall – Block Program]

      [HKEY_CLASSES_ROOTexefileshellAdd To Firewallcommand]

      @=”netsh advfirewall firewall add rule name=”%1″ dir=out action=block program=”%1″”

      [HKEY_CLASSES_ROOTexefileshellDelete From Firewall]

      [HKEY_CLASSES_ROOTexefileshellDelete From Firewallcommand]

      @=”netsh advfirewall firewall delete rule name=”%1″”

      #############

    2. Zchesus Alwaysrighty

      I wrote you a reply on how to make this easier (1 click) but the guy who owns the site still didn’t approve my comment (still pending). If you want, pm me on youtube or at twitter (I’m zchesus everywhere) and I’ll post you quick solution

  4. Pingback: Accesstuner Race Updates - Page 4 - Mazdaspeed Forums

  5. Pingback: Adobe Audition CC 2019 v12-0-0-241 WiN x64 – MVST

  6. Diane Marie Smith

    I have been getting calls about windows firewall every day. I don’t even have that and threating to take money out of my checking account. Stop harassing calls or I will be contacting Better Business Burean.

Leave a Comment

Your email address will not be published. Required fields are marked *