如果你正在寻找一种方法 Block Internet Access or connectivity on Windows 10 PC then don’t look any further as today in this article we will see how you can disable internet access on your PC. There can many n numbers of reasons as to why you want to block internet access for example, on home PC, a child or family member might mistakenly install some malware or virus from the internet, sometimes you want to save your internet bandwidth, organizations disable internet so that employees can focus more on the work etc. This article will list all the possible methods using which you can easily block internet connection and you can also block internet access for programs or applications.
Windows 10 提示:如何阻止 Internet 访问
确保创建一个还原点,以防出现问题。
方法 1:禁用 Internet 连接
You can block internet connection from any specific network through network connection settings. Follow these steps to disable the internet for any specific network.
1.按Windows键+R然后输入 ncpa.cpl 然后按Enter打开 网络连接 窗口。
2.This will open the network connection window where you can see your Wi-Fi, Ethernet network etc. Now, choose the network which you want to disable.
3.Now, right-click on that particular network 并选择 关闭 从选项中。
This will disable the internet for that respective network connection. If you want to “启用” this network connection, follow these similar steps and this time choose “启用“。
Method 2: Block Internet Access Using System Host File
A website can be easily blocked through the system host file. It is one of the easiest methods to block any websites, so just follow these steps:
1.Navigate to the following path from the File Explorer:
C:/Windows/System32/drivers/etc/hosts
2.Double-click on the 主机文件 then from the list of programs select 记事本 并点击 确定。
3.This will open the hots file in notepad. Now type the website name and the IP address which you want to be blocked.
4.Press Ctrl + S to save the changes. If you’re unable to save then you need to follow this guide to fix the issue: Want to Edit the Hosts File in Windows 10? Here is how to do it!
方法3: Block Internet Access Using 使用家长控制
You can block any website with a parental control feature. This feature helps you define which websites should be allowed, and which websites should be restricted on your system. You can also put data limit (bandwidth) on the internet. This feature can be implement by following these steps:
1.按Windows键+I打开 个人设置 然后点击 账户t icon to open account related settings.
2.Now from the left-hand side menu select “其他人“ 选项。
3.Now, you need to 添加家庭成员 作为一个 孩子 或作为一个 成年人 under the option “添加家庭成员“。
“
4.Now click on “Manage Family Setting online” to change the parental setting for the accounts.
5.This will open a web page of Microsoft parental control. Here, all the adult and child account would be visible, which you have created for your Windows 10 PC.
6.Next, click on the recent activity option at the top-right corner of the screen.
7.This will open a screen where you can apply different restriction related to the internet and games under “Content Restriction“ 标签。
8.Now you can restrict the websites 并且 enable safe search. You can also specify which websites are allowed and which ones are blocked.
Method 4: Disable Internet Access Using Proxy Server
You can block all the websites by using the proxy server option in internet explorer. You can change the proxy server through these steps:
1.按Windows键+R然后输入“inetcpl.cpl” and hit Enter to open Internet Properties.
请注意: You can also open Internet Properties by using Internet Explorer, select 个人设置 > 互联网选项。
2。 切换到 连系 :s tab and click on the “局域网设置“。
4.Make sure to checkmark “为您的局域网使用代理服务器” option then type any fake IP address (ex: 0.0.0.0) under the address field and click OK to save changes.
Disable Proxy Settings using Registry Editor
You should be careful using the registry because any mistake can result in permanent damage to your system. So it is recommended that you create a full back up of your registry before making any changes. Just follow the step below to block internet connection through the registry.
1.按Windows键+R然后输入 注册表编辑器 并按 Enter 打开注册表编辑器。
2.When you run the above command, it will ask for permission. Click on “Yes” to open the Registry Editor.
3.Now, navigate to the following location in the Registry Editor:
HKEY_CURRENT_USERSoftwarePoliciesMicrosoftInternet Explorer
4.Now right-click on the 互联网浏览器 并选择 New > key. Name this new key as “限制” & hit Enter.
5.Then again right-click on the “限制” key then select New > DWORD (32-Bit) Value.
6.Name this new DWORD as “NoBrowserOptions”. Double-click on this DWORD and change the value data to ‘1’ from ‘0’.
7.Again right-click on 互联网浏览器 然后选择 新>键. Name this new key as “控制面板“。
8.右键单击 控制面板 然后选择 New > DWORD(32-bit) Value.
9.Name this new DWORD as “ConnectionTab” and change its value data to ‘1’.
10.Once finished, close the Registry Editor and reboot your PC to save changes.
After the PC restarts, no one will be able to change the proxy settings using Internet Explorer or Control Panel. Your proxy address will be the last address which you used in the above method. Finally, you have disabled or block Internet Access in Windows 10 but if in future you need to access the internet then just navigate to Internet Explorer registry key 右键单击 on 限制 并选择 删除. Similarly, right-click on Control Panel & again select Delete.
Method 5: Disable Network Adapter
You can block the internet by disabling network adapters. Through this method, you will able to block all the internet access on your PC.
1.Press Windows Key + R then type “mmc compmgmt.msc”(不带引号)并按 Enter 键。
2.This will open 计算机管理, from where click on 装置经理 under the System Tools section.
3.Once Device Manager opens, scroll down and click on “网络适配器” to expand it.
4.现在 choose any device then right-click on it and select 禁用。
If in future you want to use that device again for the network connection then follow the above steps then right-click on that device and select Enable.
How to Block Internet Access to Programs
Method A: Use Windows Firewall
Windows firewall is basically used to prevent unauthorized access into the system. But you can also use a window firewall to block internet access for any application. You need to create a new rule for that program through the following steps.
1.Search for 控制面板 using the Windows Search.
2.In the control panel, click on the “Windows Defender防火墙“ 选项。
3.Now click on the “高级设置” option from the left-hand side of the screen.
4.A firewall window with advanced settings wizard will open, click on “入站规则” from the left-hand side of the screen.
5.Go to the Action section and click on the “新规则“。
6.Follow all the steps to create the rule. On the “曲目” step, browse to the application or program for which you are creating this rule.
7.Once you click the browse button the “文件管理器 ” window will open. Choose the .exe文件 of the program and hit the “下一页“按钮。
8.Now select “Block the Connection” under Action and hit the 下一页 button. Then give the 轮廓 并再次单击 下一步。
9.Finally, type the name & description of this rule 并点击“完成“按钮。
That’s it, it will block internet access for the specific program or application. You could again enable the internet access for the said program by following the same steps till the Inbound rule window opens, then delete the rule which you just created.
方法B: Block Internet Access for any Program using Internet Lock (Third Party Software)
互联网锁 is the third-party software which you can install to block internet access. Most of the method which we have earlier discussed require manual blocking of the internet. But through this software, you can configure the required settings related to internet connectivity. It is a freeware and has a very user-friendly interface. Following are the feature of this software:
- Can block internet connection.
- Any Websites can be blocked.
- You can also create parental rule related for the internet connection.
- Can restrict internet access to any program.
- Can be used to blacklist any website.
方法C: Block Internet Access for any Program using OneClick Firewall
OneClick firewall is the utility tool which you can install on your computer. It would be just the part of the windows firewall and this tool does not have its own interface. It would be just appeared in the context menu, whenever you right click on any program.
In the right-click context menu you will find these two options after installation:
- Block Internet Access.
- Restore Internet Access.
Now, just right-click on the programs’ s .exe file. In the menu, you need to choose the “阻止上网”. This will block internet access for that program and the firewall will automatically create a rule for this program.
These are the methods which can be used to restrict internet access for the program and the computer.
推荐:
I hope the above steps were helpful and now you can easily Change Keyboard Layout in Windows 10, 但如果您对本教程仍有任何疑问,请随时在评论部分提问。