How do I retrieve and remember my Wi-Fi password?

Often we always ask for the Wi-Fi password when we go to a place, but sometimes we find that we have been to that place and connected to Wi-Fi, but what is the password?

To share the password with others in this kind of situation, where you already have a computer connected to Wi-Fi but you don't remember the password, you can actually do it with one command.

Please note: this method only works with Windows 10!!!

First, type 'cmd' in the Start menu to get into command prompt mode (WIN+R followed by CMD), you don't need administrator privileges here.

how do i retrieve and remember my wi fi password 1

In command prompt mode, type Netsh wlan show profile name="hotspot name" key=clear. For example, I typed:

Netsh wlan show profile name=“CMCC-chen” key=clear

Note that the " " sign is not required on the command line!!!

how do i retrieve and remember my wi fi password

Enter to run the command, scroll down to "Security Settings", and the Wi-Fi password can be viewed under "Key Content".

how do i retrieve and remember my wi fi password 2

If you're too lazy to change the name every time, you can also use a slightly more complicated command like this to show all the Wi-Fi passwords your computer has ever connected to:

for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -i -v echo | netsh wlan show profiles %j key=clear

This way you can find the corresponding password in the key content of the security settings under each Wi-Fi record information, isn't that convenient?

how do i retrieve and remember my wi fi password 3

Author: King
Copyright: PCSofter.COM
Permalink: https://pcsofter.com/guide/how-do-i-retrieve-and-remember-my-wi-fi-password.html

THE END
Share
QRCode
<< Prev
Next >>