This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene has been writing and editing tech content at wikiHow since 2019. She previously worked for AppleCare, served as a writing tutor, volunteered in IT at an animal rescue, and taught as an adjunct professor for EN101 and EN102. Darlene has completed Coursera courses on technology, writing, and language. She holds both a BA (2011) and an MA (2012) from Rowan University in Writing, with a focus on workplace communication. With her extensive experience, academic background, and ongoing learning, Darlene has become the go-to grammar expert for her friends and family, as well as a skilled wordsmith for anyone in need.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 831,081 times.
Learn more...
You may want to block a program—or several—from accessing the Internet. You may want to block someone's entire computer from accessing the Internet, or you may want to temporarily disable your own access so that you can get work done without being distracted. The easiest way to disable access, regardless of the operating system, is simply to remove the network interface hardware from the computer or disconnect the computer's LAN cable or wireless network. This wikiHow article teaches you software-based ways to disable access from within the computer's user interface.
Quickly Disabling Internet Access on a Computer
- Use the Control Panel and disable your Internet connection in "Network and Security" quickly and easily.
- Adjust your Firewall settings to allow certain programs to access the Internet and disable the Internet for other programs.
- Alternatively, use a fake proxy server to block internet access to your computer.
Steps
-
Press ⊞ Win+R. This will open the Run dialog.
- Use this method if you want to quickly disable the network for your computer.
-
Enter "ncpa.cpl". Press Enter after typing the command and wait for the "Network Connections" window to open.
- You can also open the "Network Connections" window by going to Control Panel.
Advertisement -
Right-click your Wi-Fi connection and click "Disable". This will block the computer from accessing this particular Wi-Fi network's internet connection. This setting will not stop any other computers from logging onto the Wi-Fi network.
- This process is reversible. If you want to enable the network connection later, you can do so by clicking on the Wi-Fi connection and selecting "Enable."
-
Open Windows Defender Firewall. Press the Win key, type in Windows Defender Firewall, then click Windows Defender Firewall at the top of the Start window.
- This will allow you to block certain programs from the internet, like Minecraft or Sims, but not everything. In that case, this is the best option if you want to stop someone from playing online games when they should be focusing on something else, like schoolwork.
-
Click Allow an app or feature through Windows Firewall. This link is at the top-left side of the Firewall window.
-
Click Change settings. It's at the upper-right side of the window, just above the list of programs on your computer.
- You may have to click Yes on a pop-up window after doing this before you can continue.
- If you don't have administrator privileges on your computer, you won't be able to do this.
-
Locate a program you wish to block. The list of programs in the middle of the page displays all programs that Windows Firewall is blocking or allowing; you can scroll down to find your specific program.
-
Add a program to the list if necessary. If you can't find your program in the list, you can add it by doing the following:
- Click Allow another app... below the list.
- Click Browse....
- Go to the location of the app or program file (usually an EXE) you want to block.
- Select the app or program file.
- Click Open, then select the program's name in the window and click Add if it doesn't automatically add.
-
Click the checkmark to the left of the program. Doing so should remove the checkmark, thereby blocking the program through Windows Firewall.
- If there is no checkmark to the left of the program, Windows Firewall is already blocking the program.
- Leave the two checkboxes to the right of the program ("Home/Work (Private)" and "Public") alone.
-
Click OK. It's at the bottom of the window. This will both save your changes and prevent the program from connecting through the network (and/or from running properly on your computer).[1]
- For example, if you unchecked Firefox, you won't be able to access the Internet with that web browser, but you can still use Chrome to go online.
-
Open System Settings. Do this by clicking the Apple logo in the menu at the top of your screen and selecting System Settings.
- macOS versions Monterey and older will see System Preferences instead.
-
Click Network. It's next to a connected globe icon.
-
Click Firewall. You may need to scroll down to see this.
-
Click Options. If you aren't able to select Options, make sure Firewall is turned on.
- You'll see a list of apps and services on your Mac that use the Internet.
-
Click + (to add an app or service). If you see the app or service in the list, skip this step.
- Use the window that opens when you click + to navigate and find the app or service you want to stop from accessing the Internet.
- If you want to stop any apps from accessing the Internet, click the switch next to "Block all incoming connections. This will still allow your Mac to use the Internet, however, for basic processes, including DHCP and IPSec.
-
Change the drop-down to read "Block incoming connections". This prevents the specific app or service from accessing the Internet.[2]
-
Consider using an internet-toggling app. These programs may come in handy if you want to temporarily disable your Internet access for an entire computer, but you don't want to navigate the firewall settings each time you do so. Perhaps you want to get some work done offline, but you don't want to completely isolate yourself from the possibility of using the Internet. You can usually choose to disable all sites or just certain sites.
-
Try using the Toggle Internet script. This app will help you “forcefully” step away from the Internet by temporarily disabling all Internet access from your computer. This little script will allow you to completely disable the Internet on your Windows computer with a click. You can restore the Internet connection anytime later with another click. To get started, download Toggle-Internet.bat to your desktop.
-
Toggle your Internet. Right-click on the Toggle desktop icon. Choose “Run as Administrator,” and you’ll be instantly disconnected from the Internet. Later, when you need to reconnect, just right-click the same file and run as an administrator as before.
- Internally, the script merely toggles the status of your Network Adapter (also known as the LAN adapter or Ethernet card), thus shutting down the Internet for you. If you were to disable or enable the Network Adapter manually, the steps would be Control Panel -> Network and Internet -> View Network Status -> Change Adapter Settings.
-
Try using Let Me Work. Toggle Internet will temporarily block all sites, but you may wish to disable access to a select group of distracting websites while staying connected to Google Docs or your email. Download the Let Me Work script. You can specify the list of sites that should be blocked, and this script will modify the Windows HOSTS file to shut them off temporarily.[3]
Community Q&A
-
QuestionCan I block a specific iPhone from accessing my home broadband?
Community AnswerYes, you can block specific devices. Access your router's administration page, typically via an IP address like 192.168.0.1, and locate the device to add its MAC address to a blocking list. This will prevent the iPhone from accessing the internet, a common feature on most modern routers. -
QuestionHow can I prevent others from accessing my Wi-Fi network?
Liza GaylordCommunity AnswerTo prevent unauthorized access, secure your Wi-Fi network with a password. This requires anyone attempting to connect to enter the correct credentials. Most routers have built-in security features; consult your device's instructions for specific setup guidance. -
QuestionHow can I block internet access for a device that uses an Ethernet cable?
Community AnswerTo temporarily block access, you can unplug the Ethernet cable from your device or the wall jack. For a permanent solution, you could physically cut the cable.
Video
Tips
-
Bear in mind, however, that most methods are reversible.Thanks
-
Always check the Firewall exceptions for unauthorized programs.Thanks
-
Disabling Internet access means that the program can never connect to the Internet, whether to download updates or to send any data.Thanks





















