3 Ways to Block Internet Access for Specific Apps in Windows 11

Free up significant network resources by blocking apps 

by Kazim Ali Alvi
Kazim Ali Alvi
Kazim Ali Alvi
Kazim has always been fond of technology, be it scrolling through the settings on his iPhone, Android device, or Windows. And at times, unscrewing the device to take... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • A firewall rule comes in handy when you want to block an app from accessing the Internet.
  • You can set up a Temporary Block rule through the Command Prompt.
  • Keep reading to find out the steps to disable Internet access for any app!
learn how to block internet access for specific apps in windows 11

When the Internet speed appears low on the PC but is fine on other devices, it’s likely that an app is consuming considerable resources. The app could be running background updates or syncing files. But you can always block Internet access for specific apps in Windows 11.

And this is not an advanced task, as many would imagine! It’s simple to set up in the firewall settings. You can disable the Internet for certain apps, including Google Chrome, Firefox, YouTube, or the Microsoft Store, amongst others.

Benefits of blocking Internet access for specific apps in Windows 11:

  • Increased Internet speed
  • Other apps get the required share of bandwidth
  • Save network resources on limited Internet plans
  • Prevents necessary downloads and enhances security

How do I restrict Internet access to apps in Windows 11?

1. Via the Windows Defender Firewall

  1. Press Windows + S to open the Search menu, type Control Panel in the text field, and click the relevant search result.
  2. Click on System and Security.system and security
  3. Click on Windows Defender Firewall.
  4. Select Advanced settings from the left pane.advanced settings  to block internet access for specific apps in windows 11
  5. Choose Outbound Rules, and then click on New Rule on the right-hand side.outbound rule to  to block internet access for specific apps in windows 11
  6. Select Program and click Next.program
  7. Click on Browse, then locate the app you want to block Internet access for, select the launcher, click Open, and then Next to proceed. The app should be in the ProgramFiles or ProgramFile(x86) folder.
  8. Select Block the connection radio button and click Next.block the connection
  9. Tick the checkboxes for all three network profiles and click Next.network profiles
  10. Enter a name and description (optional) for the rule, and then click Finish.finish

If it’s a browser you have blocked the Internet access for, the ERR_NETWORD_ACCESS_DENIED error will show up.

How we test, review and rate?

We have worked for the past 6 months on building a new review system on how we produce content. Using it, we have subsequently redone most of our articles to provide actual hands-on expertise on the guides we made.

For more details you can read how we test, review, and rate at WindowsReport.

2. Using the Command Prompt

  1. Press Windows + R to open Run, type cmd, and hit Ctrl + Shift + Enter.cmd
  2. Click Yes in the UAC prompt.
  3. Paste the following command to set up an inbound rule while replacing Path with the app’s storage location, and hit Enter:netsh advfirewall firewall add rule name="FF Block In" protocol=TCP dir=in action=block program="Path"
  4. For instance, if we were to block the Brave browser, the command would be: netsh advfirewall firewall add rule name="FF Block In" protocol=TCP dir=in action=block program="C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe"block internet access for specific apps in windows 11 with command prompt
  5. Similarly, execute the following two commands and replace Path with the actual program path as found in the File Explorer: netsh advfirewall firewall add rule name="FF Block TCP" protocol=TCP dir=out action=block program="Path" netsh advfirewall firewall add rule name="FF Block UDP" protocol=UDP dir=out action=block program="Path"

You can easily turn off the Internet for a specific app in Windows 11 or an executable file using the command line. Remember, the rules you created will appear in Windows Defender Firewall with Advanced Security.

3. With a third-party app

If you want to block all apps except one from accessing the Internet and find the manual methods rather tedious, a third-party tool would come to aid.

To simply block Internet access for an individual app, we recommend using a reliable third-party tool. These will also help if you want to block several apps at once, view network statistics, and perform advanced actions.

How do I unblock Internet access for specific apps?

Delete the rule: Open Windows Defender Firewall > select Advanced settings from the left panel, go to Outbound Rules > right-click the relevant rule > select Delete > click Yes in the confirmation prompt.

Remember, if you ever face connectivity issues with a specific app, check if Windows Firewall is blocking the program, then delete the rule or reconfigure the settings.

Once you know how to block internet access for specific apps in Windows 11, allocating network resources shouldn’t be much of a hassle! And you can now enjoy seamless connectivity with a high Internet speed.

Besides, if other users are running network-hogging apps, you can always restrict user access to programs.

For any queries or to share your favorite method, drop a comment below.

This article covers:Topics: