If you have any desire to obstruct an application from getting to the web on Windows 11 and Windows 10 PCs, this is the way you can do that.

There are fundamentally two techniques to forestall an application from utilizing the web association on your PC – utilizing Windows Protector Firewall and utilizing outsider programming. But in this tutorial, i will explain how to block any software from accessing the internet through firewall.
Watch the tutorial on YouTube
How to block an application from accessing the internet
Follow the process below to block an application from accessing the internet using Windows Defender Firewall:
- Open Windows Defender Firewall on your PC.
- Click on the Advanced settings option.
- Select the Outbound Rules on the left side.
- Click on the New Rule option on the right side.
- Select Program and click the Next button.
- Select This program path > click the Browse button.
- Choose the program you want to block from accessing the internet.
- Click the Next button.
- Select Block the connection option and click on Next.
- Select Domain, Private, and Public options > click the Next button.
- Enter the name of the Firewall rule and click the Finish button.
At first, you need to search for the firewall advance setiingd 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.

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.

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.
Then, click the Next button. After that, you need to choose the Block the connection option and click on the Next option.

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.

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

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.