Windows | Get passwords from saved WiFi
by - Thursday, January 1, 1970 at 12:00 AM
Here is a way to get all the information from a saved WiFi connection.I got the idea to make this thread from [url=https://breached.to/Thread-Show-Saved-Wifi-Password-List-in-Windows-10-11]this thread[/url], this one is just with one liners instead of a script that gives the same result.There are two ways do it:1) Specify a network and get the information that way2) Get information from all the stored networksIn order to do the first one, we need the name of a network, get one by doing:[code]netsh wlan show profiles[/code][quote][color=#d9d7ce][font=Consolas, 'Courier New', monospace][color=#d9d7ce][font=Consolas, 'Courier New', monospace][color=#d9d7ce]C:\Users\XXXX>netsh wlan show profiles[/color][/font][/color][color=#d9d7ce]Profiles on interface Wi-Fi:[/color][color=#d9d7ce]Group policy profiles (read only)[/color][color=#bae67e]---------------------------------[/color][color=#d9d7ce] [/color][color=#5ccfe6]<[/color][color=#5ccfe6]None[/color][color=#5ccfe6]>[/color][color=#d9d7ce]User profiles[/color][color=#bae67e]-------------[/color][color=#d9d7ce] All User Profile : Starbucks[/color][color=#d9d7ce] All User Profile : Network5000[/color][/font][/color][/quote]Under "User profiles" you'll see the saved connections. Get their information (including the password) by doing:[code]netsh wlan show profile key=clear[/code]It should look something like this[quote][color=#d9d7ce][font=Consolas, 'Courier New', monospace][color=#d9d7ce]C:\Users\XXXX>netsh wlan show profile Network5000 key=clear[/color][color=#d9d7ce]Profile Network5000 on interface Wi-Fi:[/color][color=#bae67e]=======================================================================[/color][color=#d9d7ce]Applied: All User Profile[/color][color=#d9d7ce]Profile information[/color][color=#bae67e]-------------------[/color][color=#d9d7ce] Version : 1[/color][color=#d9d7ce] Type : Wireless LAN[/color][color=#d9d7ce] Name : Network5000[/color][color=#d9d7ce] Control options :[/color][color=#d9d7ce] Connection mode : Connect automatically[/color][color=#d9d7ce] Network broadcast : Connect only if this network is broadcasting[/color][color=#d9d7ce] AutoSwitch : Do not switch to other networks[/color][color=#d9d7ce] MAC Randomization : Disabled[/color][color=#d9d7ce]Connectivity settings[/color][color=#bae67e]---------------------[/color][color=#d9d7ce] Number of SSIDs : 1[/color][color=#d9d7ce] SSID name : "Network5000"[/color][color=#d9d7ce] Network type : Infrastructure[/color][color=#d9d7ce] Radio type : [ Any Radio Type ][/color][color=#d9d7ce] Vendor extension : Not present[/color][color=#d9d7ce]Security settings[/color][color=#bae67e]-----------------[/color][color=#d9d7ce] Authentication : WPA2-Personal[/color][color=#d9d7ce] Cipher : CCMP[/color][color=#d9d7ce] Authentication : WPA2-Personal[/color][color=#d9d7ce] Cipher : GCMP[/color][color=#d9d7ce] Security key : Present[/color][color=#d9d7ce] Key Content : Str0ngP4sswOrd![/color][color=#d9d7ce]Cost settings[/color][color=#bae67e]-------------[/color][color=#d9d7ce] Cost : Unrestricted[/color][color=#d9d7ce] Congested : No[/color][color=#d9d7ce] Approaching Data Limit : No[/color][color=#d9d7ce] Over Data Limit : No[/color][color=#d9d7ce] Roaming : No[/color][color=#d9d7ce] Cost Source : Default[/color][/font][/color][/quote]The password is under [i]Security settings [/i]called [i]Key Content[/i]To automatically do this for all saved connections, simply do[code]netsh wlan show profile * key=clear[/code]
Reply
Thank you for the share
Reply
thanks
Reply
I tried your method but it didn't work. I am trying to retrive my wifi password from a very old wifi, like 2 years ago. Do I need to change anything? Or this code will work anyway?
Reply
You can just do[code]netsh wlan show profile key=clear[/code]And replace with the name of the WiFi, if it has spaces in the name you might want to surround it with double quotes "
Reply
On windows xp this method does not work(
Reply
Very useful! Thanks
Reply
Thanks for this bro.
Reply
Useful command, thanks.
Reply
thanks,It's very useful
Reply


 Users viewing this thread: Windows | Get passwords from saved WiFi: No users currently viewing.