This tutorial guides you through the steps to block any application from accessing the internet on your Windows 10 or 11 computer using Windows Defender Firewall. By the end of this guide, you will learn how to create a new outbound rule, specify the program path, block the connection, and verify the rule, giving you greater control over your system’s network usage.

Step 1: Open Windows Defender Firewall

Begin by accessing the Windows Defender Firewall settings:

  • Press Win + R to open the Run dialog.
  • Type Control Panel and press Enter.
  • Navigate to System and Security and then click on Windows Defender Firewall.

Step 2: Create a New Outbound Rule

To block an application, you must create a new outbound rule:

  • Click on Advanced settings located in the left pane.
  • In the Windows Defender Firewall with Advanced Security window, find Outbound Rules in the left pane and click on it.
  • In the right pane, click on New Rule....

Step 3: Select Program Path

Now, specify the application you wish to block:

  • Select the Program option and click Next.
  • Choose This program path and browse to find the executable file for the application (e.g., C:\Program Files\AppName\App.exe).
  • Click Next.

Step 4: Block the Connection

Next, you need to configure the connection blocking:

  • Select Block the connection and click Next.
  • You will then see options for when to apply the rule – ensure all three options (Domain, Private, Public) are checked, then click Next.

Step 5: Name and Finish the Rule

Finally, you will name your rule:

  • Enter a descriptive name for the rule (e.g., “Block MyApp Internet Access”).
  • Provide an optional description, then click Finish to apply the rule.

Step 6: Verify the Rule

To ensure that the rule is active:

  • Return to the Outbound Rules section in the Windows Defender Firewall.
  • Locate your newly created rule and ensure it is marked as enabled.

Extra Tips & Common Issues

Here are some additional tips to enhance your experience:

  • If the application still connects to the internet after following these steps, double-check the rule settings for any errors.
  • Consider disabling and re-enabling the rule to troubleshoot connection issues.
  • Remember to review your outbound rules regularly to ensure they remain updated with your needs.

In conclusion, this guide has provided you with a simple and effective way to block applications from accessing the internet using Windows Defender Firewall. Should you need to unblock an application in the future, you can simply disable or delete the outbound rule you created in these steps.

2025