Windows

netsh

CautionNetwork shell

netsh wlan show profile

Manages Wi-Fi profiles, IP config and firewall. 'winsock reset' / 'int ip reset' are classic repairs.

Examples

  • netsh wlan show profile name="Office" key=clearShow saved Wi-Fi password
  • netsh winsock resetReset Winsock (reboot needed)

Syntax

netsh <context> <command>

Before you run it

Reset commands wipe settings.

Used when you see

Connection fails through a proxy
1
Check the system proxy on Windowsnetsh winhttp show proxy — WinHTTP and GUI settings differ.
See the whole flow →
Wi-Fi keeps dropping
1
Check the SSID, signal strength and channelnetsh wlan show interfaces — under ~60% signal points to RF issues.
See the whole flow →
OneDrive sync is stuck
3
Make sure a proxy isn't interfering
See the whole flow →

Related commands

  • ipconfigShow/refresh IP configuration
  • routeRouting table (Windows)
  • nmcliManage NetworkManager

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store