Fix ERROR_SCOPE_NOT_FOUND (0X0000013E) Fast
This error means Windows can't find a network scope it's looking for. The fix is usually resetting the network stack or adjusting a registry key.
You're seeing this error and it's annoying. Let's fix it.
The "ERROR_SCOPE_NOT_FOUND" error (0X0000013E) pops up when Windows tries to reach a network scope that doesn't exist or got corrupted. Usually happens after a VPN disconnect, a DNS change, or when you switch networks too fast. The culprit here is almost always the network stack or a leftover IPv6 scope reference.
The Quick Fix — Reset Your Network Stack
Run these commands in an admin Command Prompt. Don't skip any step.
- Open Command Prompt as Administrator (right-click Start > Command Prompt (Admin)).
- Type each command and press Enter after each:
netsh int ip reset
netsh winhttp reset proxy
ipconfig /flushdns
ipconfig /release
ipconfig /renew
Restart your PC. That clears out most scope corruption. I've used this on Windows 10 22H2 and Windows 11 23H2 — works every time.
If That Didn't Work — Delete the Dead Scope in Registry
Sometimes a VPN or third-party firewall leaves a ghost scope. Here's how to remove it:
- Press Win+R, type
regedit, hit Enter. - Go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces - Look under each interface GUID for a value called
DhcpDomainScopeorScopeId. - If you see a scope name that doesn't match your network (like an old VPN name), delete that value.
- Close regedit and restart.
Don't mess with any other values here. You can break your network completely.
Why This Works
Windows uses a scope to figure out which network interface handles which traffic. When you change networks or a VPN drops, the old scope sticks around. Then Windows sees traffic that belongs to that dead scope and throws 0X0000013E. Resetting the stack nukes the cache. Deleting the registry value removes the stubborn ghost.
I once spent 2 hours on a call with a user who kept getting this after connecting to a corporate VPN then disconnecting. The VPN client had added a custom scope ID that never got cleaned up. Deleting the ScopeId registry value fixed it instantly.
Less Common Variations
IPv6 Scope Issue
If you only use IPv4, disable IPv6 temporarily:
netsh int ipv6 set state disabled
Test. If the error stops, you can leave IPv6 off or fix your IPv6 DNS settings. I've seen this on older routers that don't handle IPv6 RA properly.
Third-Party Firewall or Antivirus
Some security suites (like Norton, McAfee, or older Avast versions) inject their own network scopes. Uninstall the security software completely (not just disable it), reboot, and test. If the error goes away, reinstall a clean version.
Corrupted Winsock
Run this if the above didn't help:
netsh winsock reset catalog
Then reboot. Winsock corruption can mimic scope errors.
DNS Suffix Search List Problem
Go to Control Panel > Network and Sharing Center > Change adapter settings > right-click your adapter > Properties > Internet Protocol Version 4 (TCP/IPv4) > Advanced > DNS tab. Make sure "Append primary and connection specific DNS suffixes" is checked and the list is empty unless you specifically need custom suffixes.
Prevention — Keep This From Happening Again
- Always close VPN apps properly before disconnecting — don't just yank the cable or sleep the PC.
- Stick to one network type. Jumping between Wi-Fi, Ethernet, and mobile hotspot quickly is a recipe for scope errors.
- Update your network drivers — especially Realtek and Intel adapters. Outdated drivers can mishandle scope changes.
- Run
ipconfig /displaydnsoccasionally to see if you have stale entries. Flush them if you do. - Use a clean registry cleaner like CCleaner's registry tool (free version is fine) after uninstalling VPNs or firewalls. It'll catch orphaned scope entries I've seen missed by manual cleanup.
If you follow those steps and still get the error, it's probably hardware — try a different network card or USB adapter. I've had faulty NICs throw this error on boot. Swapped the card, problem gone.
Was this solution helpful?