How to Disable Internet Connection Without Disabling the LAN/Network in Windows 10

If you need a Windows 10 PC to stop reaching the Internet while still communicating with devices on the local network, do not disable the network adapter. The correct method depends on who manages the network and why Internet access must be blocked.

For a managed or permanent restriction

The cleanest approach is usually at the router, firewall, or managed network: block Internet/WAN access for that device while allowing the local subnets and services it needs. This preserves LAN connectivity without relying on fragile settings on the PC itself.

For troubleshooting on your own network

  1. Identify the PC’s current local IP configuration and the local resources it must still reach.
  2. Use your router or firewall’s device-access controls, if they support a LAN-only policy.
  3. Apply the restriction to the correct device.
  4. Test access to a known local resource.
  5. Test an Internet destination to confirm that WAN access is blocked.

Removing or falsifying the default gateway on the PC is sometimes suggested as a shortcut, but DHCP can restore it and manual addressing can create routing or DNS problems. Windows Firewall outbound rules can also become complex and may not produce a simple “LAN only” policy without careful network knowledge.

On a company or school network, do not alter routes, firewall rules, or addressing to evade policy. Ask the network administrator. Windows 10’s ordinary free-support lifecycle ended in October 2025, which is particularly relevant for machines intentionally kept on internal networks.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy