How to Stop or Block a Program from Accessing Internet on Windows 11?


When it comes to keeping computers and networks secure, a firewall can also control the access of applications to the Internet, but it cannot only use to keep computers and networks safe. It is possible to block access to the internet by a program using the Windows Defender Firewall. Windows 11 has a powerful security utility known as the Windows Defender Firewall.

Whatever your reasons for preventing an app from accessing the internet, we’ve covered you. You may find freeware and shareware applications in the market to block an app from accessing the internet. This risewindows post will discuss how to stop or block a program from accessing the Internet on Windows 11.

How to Block or Prevent a Program from Accessing the Internet on Windows 11?

To completely block a program from connecting to the internet, perform the following steps:-

Step 1. Firstly, click the Search button on the taskbar and type “Windows Defender Firewall with Advanced Security” in the search bar.

Step 2. Now, click the “Windows Defender Firewall with Advanced Security” from the available search results to open it.

Step 3. Then, select Inbound Rules from the left sidebar when the app opens.

Step 4. After that, on the right side pane of the program, click on New Rule.

Step 5. Next, a new pop-up window will open up. Select Program and then click the Next button.

Step 6. Now, select the “This program path “option on the following window. Click the Browse button and select the program executable you want to block or paste the exact file path. Then, click the Next button.

Step 7. Then, select Block the connection and click the Next button.

Step 8. After that, when prompted with the option “When does this rule apply,” leave the domain, private and public, selected. Then click the Next button.

Step 9. Then, enter the name and description of the rule. Then click the Finish button.

Step 10. So, in the “Windows Defender with Advanced Security” window, select Outbound Rules. And then click the New Rule on the right sidebar.

Step 11. Finally, you will see similar windows as you have done in the above steps from 5 to 9. Repeat the steps to configure the outbound rule.

When both inbound and outbound rules are configured to block connections for a program or game in Windows Defender Firewall, that application will no longer have access to the internet.

That’s it for the article.

I hope this post will be helpful to you.

Good luck & keep growing, guys.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.