Home  >  Article  >  System Tutorial  >  How to Block a Program from Accessing the Internet in Windows 10

How to Block a Program from Accessing the Internet in Windows 10

WBOY
WBOYOriginal
2024-08-02 01:38:35873browse

There are some situations in which you don't want some programs in Windows 10 to connect to the internet. For example, some programs automatically update by itself when it's connected to the internet. That may be not what you want. Then you can block the program. Now, this post will show you how to block a program from accessing the internet on Windows 10 computer.

How to block a program from accessing the Internet on Windows 10

This can be done through the Windows built-in Firewall. Steps are as follows.

Step 1: Open Control Panel, and go to the Windows Firewall. Make sure you've turned on Windows Firewall in Windows 10. If not, turn it on.

Step 2: Click the Allow an app or feature through Windows Firewall link on the left pane.

How to Block a Program from Accessing the Internet in Windows 10

Step 3: On the Allowed apps page, click the Change settings button. Check whether the application you want to block from internet access is in the Allowed apps and features list. If it is, clear its checkbox so that internet connection for this program can be blocked.

How to Block a Program from Accessing the Internet in Windows 10

If the program is not in the list, go back to the Windows Firewall window and do as follows to block it from accessing the internet.

Step 4: Click the Advanced settings link on the left pane.

How to Block a Program from Accessing the Internet in Windows 10

Step 5: After the Windows Firewall with Advanced Security window opens, click on Outbound Rules on the left-side pane and then click on New Rule on the right-side pane.

How to Block a Program from Accessing the Internet in Windows 10

Step 6: After the New Outbound Rule Wizard dialog opens, select Program and click Next.

How to Block a Program from Accessing the Internet in Windows 10

Step 7: Select This program path, and type the path to the target program (.exe) file you want to block from internet access or use the Browse button to select the program file.

How to Block a Program from Accessing the Internet in Windows 10

Step 8: Select Block the connection and click Next.

How to Block a Program from Accessing the Internet in Windows 10

Step 9: Keep the checkbox next to Domain, Private, and Public checked, and click Next.

How to Block a Program from Accessing the Internet in Windows 10

Step 10: Finally, type a name and description for this new outbound rule for easier recognition, and click Finish.

How to Block a Program from Accessing the Internet in Windows 10

Step 11 (Optional): Go back to the "Windows Firewall with Advanced Security" screen, and similarly you can create a new Inbound Rule to completely block the program from accessing the internet if you want.

Tips: Simply put, Outbound means the programs on your computer send data/request to a remote server on the internet, and Inbound means a remote server on the Internet sends data to your local computer.

The above is the detailed content of How to Block a Program from Accessing the Internet in Windows 10. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn