How to Block a Program in the Windows 10 Firewall

There are a number of reasons why you might want to stop a program, app or process from accessing your home network and sending outbound or accepting inbound traffic and packets on your computer. If you need to do that, you can block the respective program or process in the Windows 10 firewall settings.

To block any executable's inbound or outbound traffic on your home network, follow these steps.

  1. Click your start menu and type "firewall". This should bring up an icon in the menu, named "Windows Defender Firewall with Advanced Security". Click on it.
  2. In the new window that opens, click on "Inbound Rules" in the left vertical menu pane.
  3. Click on "New Rule" in the right vertical menu pane.
  4. In the new popup that opens, leave the radio button selection on "Program" and click "Next".
  5. Click the "Browse" button and navigate your hard drives to the location of the program executable that you want to block.
  6. Click to highlight and select the program you want to block and click the "Open" button.
  7. Click the "Next" button. Change the radio button to "Block the connection" and click "Next" again.
  8. Leave all checkboxes as they are and click "Next".
  9. Enter a custom name for the newly created blocking exception and click "Finish". The description field is completely optional.

To block outbound traffic, the same process applies. Simply click "Outbound Rules" in the left vertical menu pane, then follow steps 3 through 9 above and you will finish the outbound exception.

Once you have done this, you're all set. The process you just included in the rule set of the firewall will not be able to communicate with external points through your computer's network. Bear in mind that doing this manually might block some processes that need an active, open Internet connection to work properly. This is why you should be extra careful when selecting the executables to block and make sure you have the right program and executable name selected.

If you want to restore Internet access and enable inbound and outbound traffic for those processes you added, you can always do that by right-clicking the rule in the list of inbound and outbound rules and click on "Disable Rule".

November 2, 2020

Leave a Reply