Disconnecting Internet Access without Unplugging

This is disabling the internet for the lazy. The back of the computer is usually filthy and not very accessible, so here are three ways to accomplish this inside Windows.

1. Disable the Network Adapter.

Bottom right, Network and Sharing Center, Local Area Connection, and click disable:

disable_net1

Disabling the adapter is not always ideal in some cases; especially with VMs running.

2. Temporarily delete the default gateway.

Open the command prompt with administrator privileges.

disable_net2

Check the default route (0.0.0.0 mask 0.0.0.0). Remember the gateway.

disable_net3

Delete it.

disable_net4

Internet is inaccessible at this point. Add it back after.

route add 0.0.0.0 mask 0.0.0.0 192.168.0.254

3. ipconfig /release and afterward, ipconfig /renew

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *