Command prompt to show password of Wifi:
Open the command prompt and run it as administrator.
netsh wlan show profile
Type the following command to see the password of any WiFi network:
netsh wlan show profile WiFi-name key=clear
Under the security settings, in the ‘key content’, you see the WiFi password of that particular network.