How to Diagnose Wi-Fi & Network Issues with Netsh & Ipconfig

Few PC problems are as frustrating as sudden "Connected, no internet" warnings or random Wi-Fi dropouts during video calls. Windows includes powerful command-line networking tools—ipconfig and netsh—capable of generating visual wireless connectivity graphs and resetting corrupted network driver sockets.

Step 1: Generate the Hidden Windows WLAN Diagnostic Report

Windows has a built-in wireless telemetry engine that tracks signal quality drops, router disconnect reasons, and adapter driver sleep states over the past 3 days. Open Command Prompt as Administrator and run:

Command Prompt (Admin)
netsh wlan show wlanreport

This compiles a rich HTML report saved to C:\ProgramData\Microsoft\Windows\WlanReport\wlan-report-latest.html. Open this file in your browser to inspect interactive graphs showing whether dropouts are caused by access point roaming, weak RSSI signal, or driver sleep cycles.

Step 2: Flush and Re-Register Corrupted DNS Caches

If websites refuse to load with "DNS_PROBE_FINISHED_NXDOMAIN" or "Server IP address could not be found", clear the local resolver cache:

Command Prompt
ipconfig /flushdns
ipconfig /registerdns
ipconfig /release
ipconfig /renew

Step 3: Complete Reset of TCP/IP Stack & Winsock Catalog

VPN software, anti-cheat programs, and security suites frequently install Layered Service Providers (LSP) into the Windows Sockets (Winsock) network catalog. If corrupted, all internet traffic gets blocked. Reset the stack to factory defaults:

Command Prompt (Admin)
netsh winsock reset
netsh int ip reset
Reboot Required
After executing netsh winsock reset, reboot your PC immediately to allow the Windows Kernel to re-bind pristine TCP/IP stack drivers.

Step 4: Fix Aggressive Wi-Fi Roaming Disconnects

If your laptop disconnects from Wi-Fi whenever you move slightly:

  1. Press Win + X > Device Manager.
  2. Expand Network adapters > right-click your Intel/Realtek Wi-Fi controller > Properties.
  3. Under the Advanced tab, locate Roaming Aggressiveness (or Roaming Sensitivity).
  4. Change the value from "Highest" to "Lowest" or "Medium-Low".