
Retrieve a forgotten Wi-Fi connection password very easily by going to search directly on your computer.
Forgot your Wi-Fi password and can’t connect new devices? If you have a Windows PC that has already been connected to this Wi-Fi network, there is a good chance that the password has been saved so that the machine can connect to it automatically.
Recovering this precious sesame is then a real child’s play. With a few clicks and a few command lines, you can access your network settings and display your Wi-Fi connection password in plain text.
1. Open the command prompt
Start by opening a command prompt window in administrator mode. To do this, click on the Start menu, expand the Windows System directory. Right click on Command Prompt, go to More, and choose Run as administrator.

2. View known networks
At least if you unchecked the option when you first connected to your network, your machine should have saved the password to automatically connect subsequent times.
To display a list of all the Wi-Fi networks known to your machine, type the following command and press Enter:
netsh wlan show profile

3. Display the password of your Wi-Fi network
To display the Wi-Fi password for a specific network, type the following command and validate by pressing Enter:
netsh wlan show profile WIFI YOURNAME key = clear
by replacing YOUR WIFI NAME with the name of the Wi-Fi network for which you want to display the password. The complete profile of your Wi-Fi network is then displayed in the command prompt.

Under the Security Settings heading, there should be a Key Content row showing your Wi-Fi network connection password.