How to Block a Program in Windows Firewall (Step-by-Step Guide)


Blocking a program in the Windows Firewall helps control which applications can access the internet or your network. This is useful for restricting potentially unsafe software or managing bandwidth usage. Here’s how to do it:

Step 1: Open Windows Defender Firewall

You can access Windows Firewall using several methods:

Tip:

Make sure you're logged in as an Administrator to make changes.

Step 2: Open Advanced Firewall Settings

Once the Firewall window opens:

Step 3: Go to Outbound Rules

In the left pane of the Advanced Security window, click on “Outbound Rules”.

Step 4: Create a New Outbound Rule

In the Actions pane on the right, click on “New Rule…”.

Step 5: Select the Program to Block

Tip:

You can typically find installed programs in C:\Program Files or C:\Program Files (x86).

Step 6: Choose the Action

On the next screen, select “Block the connection”.

Step 7: Apply Rule to Profiles

You’ll be asked when this rule should apply. Check all boxes for:

Step 8: Name Your Rule

The program will now be blocked from initiating any outgoing connections.

To Confirm or Modify the Rule

Temporarily Block a Program Using Windows Firewall

If you're testing or troubleshooting, a temporary block might be sufficient:

To allow it again, simply re-check the box.