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.

  • Pingback: How to Block a Program from Accessing The Internet in Windows 8 - Simple Help()

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

  • mrtn

    Thank you! Very clear and helpful tutorial :)


    Thank You so much

  • smnthtrwl

    Thank you for this!

  • I’m thrilled it helped! :)

  • You’re welcome! Thanks for the feedback :)

  • asd

    +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.

  • 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_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″”


  • 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

  • Hrach Abrahamyan

    but the software I blocked still works! should I reboot the system?

  • Jonathan Bratanata

    Thanks a lot for this tutorial! It helped me a lot.

  • Noman Ali

    Wao!! This is just awesome and worthy.

  • DonnaM

    THanks a mill

  • Vladimir Guanzon

    Great tip! Thanks!

  • Pingback: Accesstuner Race Updates - Page 4 - Mazdaspeed Forums()

  • Twinkle

    Great tutorial

  • hisham

    this does not work

  • Hassan Abdul-Kareem

    windows is a headache

  • Hassan Abdul-Kareem

    worked , thanks.

  • Worked very well. Thanks a lot..

  • Rickie L

    Wow, easy-pleasy! Thank you so very much.

  • Tharindu Dhananjaya

    Great.Thank you very much!!!!
    Easy to understand.

  • Zunair Mushtaq

    Nice Brief…(y) Great job

  • ravi kumar patel

    Thank you so much..

  • Medo


  • thanks

  • Ackchyually

    Straight to the point. Very helpful article!

  • Ali

    Thanks for this helpful post

  • Farzad HN

    Thank you very much
    .That was very helpful.

  • Thank you!

  • amin

    Thank you :)