How do I block a program from accessing the Internet except one?

If you want to block an application from accessing the internet on Windows 11 and Windows 10 computers, here is how you can do that. There are mainly two methods to prevent an app from using the internet connection on your computer – using Windows Defender Firewall and using third-party software.

How do I block a program from accessing the Internet except one?

Let’s assume that you want to hand over your computer to your kid for educational purposes, and your kid needs to read some offline books. On the other hand, your computer is always connected to the internet due to some reason. At such a moment, if you want to prevent your kid from accessing the internet via a browser like Google Chrome, Mozilla Firefox, or Microsoft Edge, this tutorial will be handy for you. Whether it is a browser, game, or anything else, you can block that program from using the internet on your computer.

To block an application from accessing the internet using Windows Defender Firewall, follow these steps:

  1. Open Windows Defender Firewall on your PC.
  2. Click on the Advanced settings option.
  3. Select the Outbound Rules on the left side.
  4. Click on the New Rule option on the right side.
  5. Select Program and click the Next button.
  6. Select This program path > click the Browse button.
  7. Choose the program you want to block from accessing the internet.
  8. Click the Next button.
  9. Select Block the connection option and click on Next.
  10. Select DomainPrivate, and Public options > click the Next button.
  11. Enter the name of the Firewall rule and click the Finish button.

To learn more about these steps, continue reading.

At first, you need to search for the firewall in the Taskbar search box and click on the individual search result to open the Windows Defender Firewall on your computer. Following that, click on the Advanced settings option on the left side and click the Outbound Rules.

On the right-hand side, you can find an option called New Rule. Click on it to create a new firewall rule to block the program from using the internet connection on your PC.

How do I block a program from accessing the Internet except one?

Here you can find multiple options, such as Program, Port, Predefined, and Custom. You need to select the Program option and click the Next button.

How do I block a program from accessing the Internet except one?

Following that, you will get an option to block a specific program or all programs from using the internet on your PC. If you want to block one particular app, you need to choose the This program path option, click the Browse button, and select the installer file.

How do I block a program from accessing the Internet except one?

Then, click the Next button. After that, you need to choose the Block the connection option and click on the Next option.

How do I block a program from accessing the Internet except one?

Now, you will find three options or types of connections – Domain, Private, and Public. You need to select all three options and click the Next button.

How do I block a program from accessing the Internet except one?

Lastly, enter the name of your firewall rule and click the Finish button.

How do I block a program from accessing the Internet except one?

Once done, you cannot use the internet on that program you selected. In order to re-enable internet access, you need to delete the firewall rule. To do so, right-click on the rule you created to block the program from accessing the internet, and select the Delete option.

How to prevent an app from accessing the internet using third-party software?

If you do not want to go through all the steps as mentioned above to block a program from using internet on your Windows 11/10 PC, you can use third-party software. There are plenty of tools available in the market.

  • For example, you can use ProgCop, which blocks any program from accessing the internet within moments. The user interface is uncluttered, and it is not much time-consuming to set things up. You can easily add a program to the list and remove it whenever needed.
  • The second tool is OneClickFirewall. At times, you might need to make all the changes right from the context menu. If so, you can use this software on your computer. The best thing about this tool is that you can get an option called Block Internet Access in the right-click context menu on all the programs.

How do I block a program from accessing the Internet except one?

You can block all programs from accessing the internet except one specific one with the help of the Windows Defender Firewall. You need to create a new outbound rule blocking all programs at once. For that, select the All programs option when it asks to choose the program you want to block. You must create a new outbound rule that allows the desired application to access the internet.

Related: How to allow or block a program in Windows Firewall.

How do I block a program from accessing the internet in Windows 11?

There are mainly two ways to block a program from accessing the internet in Windows 11. You can use either Windows Defender Firewall or a third-party tool. If you need convenience, you can opt for ProgCop or OneClickFirewall. However, if you need more flexibility over the options, you must choose the firewall method.

That’s all! Hope this guide helped.

How do you exclude a program from accessing the Internet?

How to Block a Program from Accessing the Internet Windows 11.
Launch the Windows Settings app..
In the left sidebar, select "Network & internet.".
Then, Click "Advanced network settings" and choose "Windows Firewall." ... .
Select "Advanced settings" from the center bottom..
Select "Outbound Rules" from the left sidebar..

How do I block certain websites except one?

Can you block all websites except one in router?.
Access your router's settings by logging in..
Find the parental controls, web filtering or similar settings. ... .
There should be two filtering types: the blacklist and the whitelist. ... .
Add specific websites or URLs to the whitelist one by one..
Save your settings..

How do I restrict a program?

Option two: block access to programs via Group Policy Editor.
Open Run, type in “gpedit. ... .
Go to User Configuration>Administrative Templates>Templates..
Double-click Run only specified Windows applications..
In the Run only specified Windows applications window, choose the Enabled option..