If you’re already connected to a Wi-Fi network but have forgotten the network key, there’s a simple way to retrieve it. Windows 10 stores the passwords for all the Wi-Fi networks that you’ve connected to. In this guide, we’ll show you the step by step instructions to find your PC’s Wi-Fi password.
View Wi-Fi Network Key
1. Start by opening a command prompt. You can simply type
cmd into the Start menu to open it.
2. Next, type the following command into your command prompt, replacing
wifi-name with the actual name (SSID) of the Wi-Fi network.
netsh wlan show profile wifi-name key=clear
You will see the network key revealed under “Key Content” in the “Security settings” section.
3. If your Wi-Fi name contains a space, you’ll need to put quotes around it in your command, like the example below.
netsh wlan show profile "Moto G (5) Plus 6783" key=clear
4. To see all the Wi-Fi networks that your PC has stored passwords for, use the following command.
netsh wlan show profile
As you can see in our example, two Wi-Fi networks are listed. Once you know the SSID (name of the Wi-Fi), you can use the command in step 2 to reveal the password.