Forgot the WiFi password on Windows? netsh remembers everything. It’s like your brain, but more reliable.

1
netsh wlan show profile name="WiFi-Name" key=clear

Look for the Key Content field under Security settings.

Example output:

1
2
3
4
5
6
7
8
Security settings
-----------------
    Authentication         : WPA2-Personal
    Cipher                 : CCMP
    Authentication         : WPA2-Personal
    Cipher                 : CCMP
    Security key           : Present
    Key Content            : YourWiFiPassword123

List all saved WiFi networks:

1
netsh wlan show profiles

Notes:

  • Requires administrator/elevated command prompt
  • Only shows passwords for networks you’ve connected to
  • Replace WiFi-Name with actual SSID (network name)