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
- Identify the PC’s current local IP configuration and the local resources it must still reach.
- Use your router or firewall’s device-access controls, if they support a LAN-only policy.
- Apply the restriction to the correct device.
- Test access to a known local resource.
- 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.

Matt Jacobs has been working as an IT consultant for small businesses since receiving his Master’s degree in 2003. While he still does some consulting work, his primary focus now is on creating technology support content for SupportYourTech.com.
His work can be found on many websites and focuses on topics such as Microsoft Office, Apple devices, Android devices, Photoshop, and more.