Command to show WiFi password saved on Windows and Ubuntu

Aug 21, 2020 7:57 am

Run Command Prompt as Administrator

run as administrator

Run the following command to show all your wifi profile


netsh wlan show profile

Run the following command to show details about the profile


netsh wlan show profile [PROFILENAME] key=clear

Command to show WiFi profile on Ubuntu

Run the following command to show WiFi profiles

$ ls /etc/NetworkManager/system-connections
...
$ sudo cat [PROFILENAME]