Sometimes we forget our Wi-Fi password, and when we do, it’s a hassle to change it since all of the gadgets and systems in our homes use the same network.

We may avoid resetting the Wi-Fi password if we have already connected our Windows 10 computer to that network. Windows remembers the networks we’ve connected to and their passwords so that we don’t have to enter them again when we reconnect to the same network.

We may reset our lost Wi-Fi password using the Windows Command Prompt by inputting a few ‘netsh’ instructions.

know wifi password using cmd

Whenever someone starts a wifi connection and enters a password, the PC automatically saves that password.

How can I see the network’s security key when a wireless network is connected?


Select your computer’s Wi-Fi adapter in the list, then select Status > Wireless Properties by right-clicking on the device’s name. You’ll find the password field marked with dots in the Security section; to see the password in plain text, use the Show Characters checkbox.

Now, by following the simple steps below, you can easily find the password of all Wi-Fi connections on your list.

Must See:

Know WiFi Network Password on Windows

STEP 1: Open Command Prompt and run this as administrator. Right-click on the command prompt and tap Run as administrator.

STEP 2: Your PC may be connected to many wireless networks. To see all the types, type the below command and press enter.

netsh wlan show profiles
all wifi network

Here you will see all the wireless connections that have recently been connected to your PC. You must note the user profile name whose password you want to know.

STEP 3: Once you note the network name, type the command below and then enter. Replace “iPhone” in the below command with your network name.

netsh wlan show profile name=iPhone key=clear
wifi password

Here you will see the key content, which is your password for that network.

See WiFi Network Password on Mac OS X

STEP 1: From a Spotlight search (cmd+space) or Applications folder, open a new terminal window (type terminal).

STEP 2: Enter the below command. Replace “SSID” in the below command with your network name whose password you want to know.

security find-generic-password -ga SSID | grep password

STEP 3: You may ask for your admin login details. Once you enter the login credentials, you can see the WiFi password of the network you listed.

You may also be interested in

I hope you like this tutorial to get your wifi connection password on Windows, and Mac OS X. Stay in touch with us for more technical stuff and updates on social media  Facebook and Twitter.

Similar Posts

2 Comments

Comments are closed.