How to Find WiFi Passwords in Windows & MacOS

when your computer is connected to a Wi-Fi network but you do not remember the password, maybe you forgot the password or maybe the network administrator entered it directly without revealing the actual password to you.

now you like to connect your mobile and other devices on this same wifi network, but how do you find out the password? either you can send password request to wifi owner or open command prompt and retrieve the saved password in one easy step. these tricks work on both windows and mac os.


Open the command prompt as administrator mode. and then type “cmd” in the run box, right-click the command prompt icon and choose run as administrator, now enter the following command and hit enter to see the WiFi password.

netsh wlan show profile name=ASUS key=clear

Remember to replace ASUS with the name of your Wireless SSID(this is the name of the Wi-Fi network that you connect your computer too). The password will show up in the Security Setting section (see screenshot).

If you would only like to see the password and not the other information, use the findstr command:

netsh wlan show profile name=ASUS key=clear | findstr Key

IMG 20180407 104608


Your Mac OS X uses Keychain to store the configuration details of the WiFi network and we can use the BSD command “security” to query anything stored inside Keychain, including the Wi-Fi password. Here’s how:

Open Spotlight (Cmd+Space) and type terminal to open the Terminal window. At the command line, enter the following command (replace ASUS with your WiFi name)

security find-generic-password -wa ASUS

then enter your Mac username and password to access the OS X keychain and the Wi-FI network password would be displayed on the screen in plain text.


If you are using this technique to retrieve the WiFi password on a Windows computer but getting an error that says – “The Wireless AutoConfig Service (wlansvc) is not running” – here’s a simple fix:

Click the Windows Start button and type “services.msc” in the Run box to access Windows Services. Here go to the WLAN Autoconfig service and make sure that the status is Running. Else right-click the WLAN AutoConfig service, select Properties and go to Dependencies. Check all the dependencies to make sure they are all running.

Harshit Amreliya
Hello Readers, I am Harshit Amreliya, founder of Here I am writing about Blogging, internet tricks, and trips stay updated by following me on social media.
%d bloggers like this: