Step1;- Open the command prompt in administrator mode,Type “cmd” in the Run box, right-click the command prompt icon and choose Run as Administrator .
Step2:- Now enter the following command and hit enter to see the WiFi password.
netsh wlan show profile name=labnol key=clear
Remember to replace labnol with the name of your Wireless SSID (this is the name of the Wi-Fi network that you connect your computer to).
Step3 :-If you would only like to see the password and not the other information, use the findstr command:
netsh wlan show profile name=labnol key=clear | findstr Key