PDF download Download Article
A step-by-step guide on preventing your computer or specific programs from accessing the internet
PDF download Download Article

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.
Method 1
Method 1 of 4:

Disabling Internet Access on Windows

PDF download Download Article
  1. This will open the Run dialog.
    • Use this method if you want to quickly disable the network for your computer.
  2. 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
  3. 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."
  4. Advertisement
Method 2
Method 2 of 4:

Blocking Apps from the Internet on Windows

PDF download Download Article
  1. 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.
  2. This link is at the top-left side of the Firewall window.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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]
  8. Advertisement
Method 3
Method 3 of 4:

Blocking Apps from the Internet on Mac

PDF download Download Article
  1. 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.
  2. It's next to a connected globe icon.
  3. You may need to scroll down to see this.
  4. 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.
  5. 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.
  6. This prevents the specific app or service from accessing the Internet. [2]
  7. Advertisement
Method 4
Method 4 of 4:

Internet-Toggling Apps on Windows & Mac

PDF download Download Article
  1. 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.
  2. 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.
  3. 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.
  4. 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]
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Is it possible to block a specific iPhone from accessing the home broadband?
    Community Answer
    Definitely! It depends on how advanced with technology you are though. If you know what 192.168.0.1 (or 192.168.1.1) is, then you know that you can access settings with your router. Inside there, you can find the device and add the device to the MAC Address blocking list. This will block all access to the internet. They can connect, but it won't let them use it at all. Whether that is available or not depends on your router, but anything fairly new should do the job.
  • Question
    How to prevent other people from accessing my wifi?
    Liza Gaylord
    Community Answer
    The easiest way to do this is have wifi with a password on it so that others will be prompted for a password when they try to use your wifi. Most routers come with security options -- investigate the instructions for your router to accomplish this.
  • Question
    Is there a way to block internet access via an ethernet cable?
    Community Answer
    You can remove the cover to the outlet on the wall and remove the cord from the plug. If you want a more permanent solution, cut the cord completely.
See more answers
Ask a Question
      Advertisement

      Video

      Tips

      Show More Tips
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 818,416 times.

      Is this article up to date?

      Advertisement