How to find a the WiFi password on a Windows laptop that is connected.
Run CMD as administrator
enter this
netsh wlan show profile
this command will show the WiFi user profile and SSID
now enter this
netsh wlan export profile folder=C:\ key=clear
go to the root of C drive and you will find a XML file, open it with notepad
Search for <keyMaterial> and there you will find the password
how you get to the command prompt of a computer with admin privileges is on you