Trick to recover a Wi-Fi (Wifi) password from a windows system that you have connected to before..
Open a command prompt as an administrator.
Run the command
netsh wlan show profile
record the name of the SSID of the network you would like to retrieve the password from.
the run this command
netsh wlan show profile name=”XXXXXXXXX” key=clear —-You only need the quotation marks if the SSID has and spaces
Info is then displayed about the network find the security section and the “Key Content” will display the password.