Open the command prompt, with admin access of course, and type in the command netsh wlan show profiles. It will list all the Wi-Fi networks you have connected to. Each of these mentioned profiles will be displayed using the SSID Name.
The next command you should type is netsh wlan show profile name=”Profile-Name” key=clear. The profile name should be the name of the Wi-Fi network you wish to know the password of and without quotes. The screenshot will clear any doubts you might have.
That’s all, the password for the said network will be displayed under the security tab.
Word of Advice on Windows 10 Wi-Fi Sense
While talking about the Windows 10 Wi-Fi Sense previously, we mentioned that a user will have to type in the password again to enable Wi-Fi password sharing. But the trick might be a way to break that. So if you really don’t what to share your Wi-Fi, read about the Optout trick.