On Windows you can check both your device IP addresses and the password for a Wi-Fi network you have already joined. Use these steps for your own PC and network.
Find your IP address with Command Prompt
- Press the Windows key, type
cmd, open Command Prompt. - Type
ipconfigand press Enter. - Under your active Wi-Fi or Ethernet adapter, note:
- IPv4 Address: your local (LAN) IP
- Default Gateway: usually the router admin IP
Your public IP will not appear in ipconfig. Use What is my IP? for that. Local detection: What is my local IP?.
View a saved Wi-Fi password on Windows
- Open Settings → Network & Internet → Wi-Fi → Manage known networks (wording varies by Windows 10/11).
- Or open Control Panel → Network and Sharing Center → Connections (your Wi-Fi) → Wireless Properties → Security → check Show characters.
- Alternatively in an Admin Command Prompt:
netsh wlan show profile name="YourNetworkName" key=clear
Look for Key Content.
Get the password from the router instead
If Windows does not list the network, log into the gateway and open Wireless settings. Follow How to log into your router. The Default Gateway from ipconfig is the address to try first, often 192.168.1.1 or 192.168.0.1.