如果你正在尋找一種方法 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 “內容限制“ 標籤。
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 “是” 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 “無瀏覽器選項”. 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.這將打開 計算機管理, 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 然後右鍵單擊它並選擇 禁用。
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.搜索 控制面板 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.最後, 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.
推薦:
我希望上述步驟對您有所幫助,現在您可以輕鬆地 Change Keyboard Layout in Windows 10, 但如果您對本教程仍有任何疑問,請隨時在評論部分提出。