What Will We Be Doing?

In this article, I will describe how to display the Wi-Fi password, provided that your computer has previously connected to this network.

Na Windowsie

Skorzystamy z CMD czyli narzędzia do tłumaczenia poleceń w systemie Windows. CMD jest używane do tworzenia osadzonych odwołań. Większość tych poleceń korzysta z dokumentów i plików wsadowych do automatyzacji zadań, wykonywania zadań administracyjnych na wysokim poziomie oraz rozwiązywania problemów związanych z systemem operacyjnym.

Windows Command Processor to oficjalna nazwa wiersza polecenia, znana również jako command shell czy cmd prompt.

Open CMD as Administrator

Then type the command:

netsh wlan show profile name="Network name" key=clear

and press Enter.

The Wi-Fi password will be displayed in a field labeled “Key Content” in the “Security Settings” section.

On Mac OS

In the Mac OS operating system, we can find passwords for saved Wi-Fi networks using the terminal.

Open the Terminal

Then type:

security find-generic-password -wa "Wi-Fi-Network-Name"

and confirm with your password.

This method works only for networks that were previously saved on your device.

On Linux

Open the Terminal

Then type:

sudo cat /etc/NetworkManager/system-connections/* | grep psk

Similar to MacOS and Windows, this will work only if the device was previously connected to the network.

Conclusions

People can be forgetful, but from now on, you don’t have to worry about remembering your Wi-Fi passwords. You’ll be able to recover your Wi-Fi password from any Windows/Mac/Linux operating system.