How-To Guides5 min read

How to Reset the Windows 11 Network Stack When Wi-Fi or Ethernet Breaks

Diagnose limited connectivity, corrupted Winsock entries, and VPN leftovers on Windows 11 using ipconfig, netsh winsock reset, wireless reports, and Settings Network reset.

To reset the Windows 11 network stack from an elevated Command Prompt, run netsh winsock reset, netsh int ip reset, ipconfig /release, ipconfig /renew, and ipconfig /flushdns in order, then restart your PC. Only use Settings > Network & internet > Advanced network settings > Network reset as a last resort, because it removes VPN clients and Hyper-V virtual switches.

Key takeaways

  • Always check ipconfig /all and ping the default gateway before resetting adapters so you do not wipe VPN configs for an ISP outage.
  • Run netsh winsock reset and netsh int ip reset before using the nuclear Settings Network reset button.
  • Back up custom static IPs, DNS entries, Wi-Fi keys, and VPN installers before invoking Settings Network reset.

Quick facts

  • A 169.254.x.x IPv4 address indicates APIPA fallback after DHCP failed to assign a lease.
  • netsh winsock reset restores the Winsock catalog to a clean state and clears broken Layered Service Providers.
  • netsh wlan show wlanreport generates a 3-day HTML diagnostic report of Wi-Fi disconnects and driver error codes.
  • Windows Settings Network reset reinstalls network adapters and can revert known connections to a Public profile.

Why I escalate network resets in tiers instead of hitting Reset Now first

When Wi-Fi shows "No internet, secured" or Ethernet drops right after a Windows cumulative update or a bad VPN disconnect, clicking Network reset in Windows 11 Settings looks tempting. I skip that button until I have exhausted command-line repairs first.

The reason is collateral damage: Windows Settings Network reset tears down every installed network adapter, reinstalls drivers to defaults, wipes saved custom configurations, and per Microsoft Support's documentation, can force you to reinstall VPN clients or Hyper-V virtual switches (affecting WSL 2 and Docker setups) while marking reconnected networks as Public. Most real outages come from a wedged DHCP lease, stale DNS cache, or a broken Winsock Layered Service Provider, all of which clean up cleanly without erasing your network environment.

Escalating Windows 11 network stack reset sequence from diagnostics to full Network reset
Escalating Windows 11 network stack reset sequence from diagnostics to full Network reset

Diagram: Original vector escalation workflow authored for Tech Oblivion (CC BY 4.0), based on Microsoft Support and Microsoft Learn networking references.

Prerequisites and pre-reset backup

Before resetting anything, gather minimal context and prepare a fallback in case driver reinstallation loses connectivity:

  • Administrator access on Windows 11 (required for netsh stack resets and wlanreport).
  • Backup note of any custom static IPv4/IPv6 addresses, manual DNS servers, or corporate VPN installer files if you anticipate reaching Step 4.
  • Test another device on the same Wi-Fi or router first so you do not troubleshoot a dead ISP modem on your PC.
Important: If you are considering driver uninstallation in Device Manager or a full Settings Network reset on an offline machine, download your laptop's latest Wi-Fi/Ethernet driver installer on another device and copy it to a USB drive first.

Step-by-step network reset workflow

Step 1: Inspect IP state, gateway reachability, and DNS

Open an elevated Command Prompt (search cmd, right-click Command Prompt, and choose Run as administrator) and read the active adapter state before changing anything.

CMD
ipconfig /all

Look closely at three fields under your active Wi-Fi or Ethernet adapter:

  • IPv4 Address: If you see 169.254.x.x (Automatic Private IP Addressing), Windows could not reach a DHCP server on your router.
  • Default Gateway: Note this address (often 192.168.1.1 or similar) and ping it to verify local link reachability.
  • DNS Servers: Check whether a valid DNS server is listed and reachable.

Run quick connectivity checks against your gateway (replace 192.168.1.1 with your actual Default Gateway):

CMD
ping 192.168.1.1
ipconfig /all | findstr /c:"DNS Servers"

If Wi-Fi keeps dropping intermittently and you want hard evidence, generate Microsoft's 3-day wireless diagnostic report:

CMD
netsh wlan show wlanreport

Expected result: netsh writes an HTML timeline of every Wi-Fi connect/disconnect event, driver version, and Device Manager error code from the past 72 hours. If ping fails to reach your router while another device works fine, move to Step 2.

Step 2: Refresh DHCP leases and clear the DNS resolver cache

If your link is physically connected (or showing "No Internet") without Winsock corruption, renew your IP lease and purge stale DNS records first. This requires no reboot.

CMD
ipconfig /release
ipconfig /renew
ipconfig /flushdns

Expected result: ipconfig /renew prints a valid non-APIPA IPv4 address, subnet mask, and default gateway, and ipconfig /flushdns reports Successfully flushed the DNS Resolver Cache. Test a website or ping a known host before going further.

Step 3: Reset Winsock and the TCP/IP stack via netsh

When DHCP renewal fails, VPN kill-switches hang, or traffic stalls across every browser, reset the Winsock catalog and TCP/IP stack in the exact order documented by Microsoft Support.

First, if you want a quick record of current Winsock providers before clearing them, inspect the catalog:

CMD
netsh winsock show catalog

Then run the full sequence in your elevated Command Prompt:

CMD
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns

Restart your PC right after these commands finish (Start > Power > Restart). Note that netsh winsock reset returns the Winsock catalog to its clean baseline and removes third-party Layered Service Providers (LSPs), which is why VPN or firewall clients sometimes prompt to repair themselves afterward.

Expected result: After restarting, Windows binds a fresh TCP/IP state and clean Winsock catalog, restoring normal browser, terminal, and Windows Update traffic.

Step 4: Use Windows Settings Network reset only as a last resort

If Step 3 fails after a reboot, especially following a major Windows 10-to-11 upgrade or broken driver update, run the built-in adapter reset.

Warning: Network reset uninstalls and reinstalls all network adapters and resets settings to defaults. You may need to re-enter Wi-Fi passwords, reconfigure static IPs, re-enable Private network discovery, and reinstall VPN clients or Hyper-V virtual switches.
  1. Open Start > Settings > Network & internet > Advanced network settings > Network reset.
  2. Select Reset now, then select Yes to confirm.
  3. Wait for Windows to automatically restart your PC (typically after a 5-minute countdown, or restart manually once prompted).

Expected result: After the reboot, Windows reinstalls clean default adapter profiles. Reconnect to your Wi-Fi network, confirm Network profile type under adapter properties if you need local file sharing (Private vs Public), and verify internet access.

Troubleshooting lingering adapter failures

SymptomLikely causeFix
IP reads 169.254.x.x after resetRouter DHCP pool exhausted, bad Ethernet cable, or MAC filterRestart modem/router for 30 seconds or test wired Ethernet directly
Wi-Fi toggle missing entirelyAdapter disabled, hardware switch off, or WLAN AutoConfig stoppedOpen services.msc, restart WLAN AutoConfig, and check Device Manager
Gateway pings fine, websites fail to openUnreachable ISP DNS or stuck manual proxyCheck Settings > Network & internet > Proxy and test DNS server reachability
Wi-Fi drops during idle or downloadsAggressive wireless power managementIn Device Manager adapter Properties > Power Management, uncheck power-off saving
netsh commands succeed but fail after rebootCorrupted Windows networking components or third-party filter driverCheck wlanreport problem codes and reinstall vendor NIC driver from USB backup

Sources