TechBuzzPro

Block Internet for Specific Apps Windows 11

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can block internet access for specific apps on Windows 11 by using the built-in Windows Defender Firewall. This method allows you to restrict network connectivity for individual programs without affecting other applications or requiring third-party software. To begin, you must have administrator privileges on your PC and know the exact file path of the application you wish to block.

What You'll Need

  • A Windows 11 computer with administrator rights
  • The executable file (.exe) path of the app you want to block
  • Access to Windows Security settings

Step-by-Step

  1. Open Windows Security: Click the Start button, type "Windows Security," and open the app from the search results. Alternatively, press Win + I to open Settings, then navigate to Privacy & security > Windows Security.
  2. Navigate to Firewall Settings: In the Windows Security window, click on Firewall & network protection. You will see three profiles: Domain, Private, and Public networks. For most home users, you will configure rules for the Private network, but you may need to repeat these steps for Public if you connect to untrusted Wi-Fi networks frequently.
  3. Open Advanced Settings: On the right-hand side of the firewall page, click the link labeled Allow an app through Windows Firewall. A new window titled "Allowed apps" will appear. At the bottom of this window, click the Change settings button. If prompted by User Account Control (UAC), click Yes to allow administrative changes.
  4. Create a New Rule: In the "Allowed apps" window, click the Allow another app... button at the bottom. A dialog box will pop up asking you to browse for the program. Click Browse.
  5. Select the Application: Navigate to the folder where the application is installed (usually in C:\Program Files or C:\Program Files (x86)). Select the main executable file (ending in .exe) for the app you want to block. Click Open, then click Add to add it to the list of allowed apps.
  6. Disable Network Access: Once the app appears in the list, ensure the checkbox next to it is checked. Crucially, look at the checkboxes below the list for Private and Public. By default, Windows creates an "Allow" rule when you add an app here. To block it, you must create a separate "Block" rule because Windows Firewall processes rules in a specific order, and allowing usually overrides blocking unless configured correctly. However, a more direct method for blocking is to use the Advanced Security console directly as described in the next step, or to remove the checkmarks if you are trying to restrict it. Correction for Precision: The "Allowed apps" interface is primarily for *allowing* traffic. To strictly *block* an app, it is safer and more reliable to use the Advanced Firewall console to create a specific Block rule. Here is the precise path: 1. Return to the Firewall & network protection main screen. 2. Click Advanced settings on the right sidebar. This opens the "Windows Defender Firewall with Advanced Security" console. 3. In the left pane, click Inbound Rules. 4. In the right pane, click New Rule.... 5. Select Program and click Next. 6. Choose This program path and click Browse. Locate the .exe file of the app you want to block. Click Next. 7. Select Block the connection. Ensure all three boxes (Domain, Private, Public) are checked. Click Next. 8. Name the rule (e.g., "Block AppName") and optionally add a description. Click Finish.
  7. Verify the Rule: Scroll through the list of Inbound Rules to find your new rule. Ensure it is enabled (the icon should not have a red circle with a slash). Repeat steps 3-8 for Outbound Rules if you also want to prevent the app from sending data out.

Common Mistakes

Users often confuse the "Allowed apps" list with a comprehensive control panel. Adding an app to the "Allowed apps" list actually permits traffic; removing it does not necessarily block it if no explicit block rule exists. Always use the "New Rule" wizard in Advanced Settings for definitive blocking. Another common error is forgetting to create rules for both Inbound and Outbound traffic. Blocking inbound only stops others from reaching the app, but the app can still initiate connections. Finally, ensure you are selecting the correct network profile (Private vs. Public). If you only block it on Private networks, it will still work on Public Wi-Fi.

Tips

If you need to block multiple apps simultaneously, consider creating a script or using a dedicated firewall management tool, though Windows Firewall is sufficient for most users. When naming your rules, include the date or purpose (e.g., "Block Chrome - Work Hours") to make them easier to identify later. If an app continues to access the internet after applying the rule, check if it has background services or helper processes running under different names; you may need to block those executables as well. Remember that some system-critical apps may require network access to function properly; do not block essential Windows components.

Troubleshooting

If the app still connects after following the steps, first verify that the rule is enabled and applies to the correct network profiles. Check if the app uses a different executable for its updates or background tasks. Restart your computer to ensure the firewall rules reload completely. If you suspect a conflict with third-party antivirus software, temporarily disable it to see if it is overriding Windows Firewall rules. As a last resort, reset the firewall settings by going to Control Panel > System and Security > Windows Defender Firewall > Restore defaults, but note that this will remove all custom rules.

Frequently Asked Questions

Can I block internet for games?

Yes, you can block any .exe file, including games. This prevents them from downloading updates or accessing online multiplayer features.

Will blocking an app affect my whole PC?

No, the rule applies only to the specific executable you selected. Other applications will continue to function normally.

How do I unblock an app?

Go back to Advanced Settings > Inbound/Outbound Rules, find the rule you created, right-click it, and select Delete or Disable.

Does this work on Microsoft Store apps?

Microsoft Store apps are sandboxed and may not have traditional .exe paths visible in standard folders. Use the full package name or locate their installation directory in Program Files\WindowsApps (note: access may be restricted).

Why did I get a UAC prompt?

User Account Control prompts appear when making changes to system security settings. Clicking Yes is required to apply firewall rules.

Can I schedule when the block is active?

Windows Firewall does not natively support scheduling rules. You would need third-party software to automate enabling/disabling rules at specific times.