How to recover the forgotten Wi-Fi password on Windows computers.

The situation is as follows: your computer is connected to a Wi-Fi network, but you can't recall the password you used to get in. Perhaps the network administrator set up your Wi-Fi connection without giving you the password, or maybe you forget it over time.
Now you need to connect a second device to the same Wi-Fi network, such your phone, but you don't know how to get the password back.



Recover the Forgotten Wi-Fi Password

 In this case, you can either ask the Wi-Fi owner for the password or, for a more straightforward option, use your computer's command prompt to quickly recover the saved Wi-Fi password. Computers running Windows can use this method.

 

Find the Wi-Fi Password on Windows

Go into administrator mode and open the command prompt. Enter cmd in the Run box, then select Run as Administrator by right clicking the command prompt icon. To view the Wi-Fi password, type the following command and press Enter.

Show profile name=ABC key=clear with netsh wlan

Remember to substitute your Wireless SSID (the name of the Wi-Fi network to which your computer is connected) for ABC. The Security Settings section will display the password (see screenshot).

 Use the findstr command if you just want to view the password and not the other data:

Show profile name=ABC key=clear | findstr Key using netsh wlan

 

You most likely haven't opened the command prompt window as administrator if you don't see the password.