How To Find Passwords of All Connected Wi-Fi Networks using CMD

How To Find Passwords of All Connected Wi-Fi Networks using CMD

Windows command prompt is a great tool for the people who love command interface rather than Graphical UI. There are a lot of features which are still not implemented in Graphical User Interface can be accessed via CMD. In my previous articles, I’ve talked about a lot of CMD commands. In this article, I am going to share how to find out the password of all connected devices using CMD along with suitable screenshots for clear understanding.

Read: 15 Important Run Commands Every Windows User Should Know

Before going further, you should know one thing that whenever you connect to a Wi-Fi network and enter the password,  Windows creates a WLAN profile of that Wi-Fi network. These WLAN profiles are stored in the computer alongside other required details of the Wi-Fi profile.

We can uncover these WLAN profiles later by simply using Windows CMD. You can find out all the connected networks and their passwords by using simple commands. These commands can also uncover the Wi-Fi passwords of the networks which are not connected at the moment but were connected before. So it works even when you are offline or when you are connected to any other networks. The trick just has no limitations and it’s reliable enough.

There are a lot more things you can do with CMD for Wi-Fi networks. For example, you can turn on MAC randomization, change radio type of your Wi-Fi and much more.

How to know Wi-Fi passwords using CMD?

You can open the CMD in Windows 10 by right-clicking on Windows icon.

1. Open command prompt and run it as administrator

Once you open the Command Prompt as Admin, you will have to type this command without quotes “netsh wlan show profile

Find Wi-Fi passwords of all networks using CMD - 1-compressed
This command will return the list of all the Wi-Fi networks that you have ever connected to.

From the following list, Let’s find Wi-Fi password for network “virus”.

2. Type this command without quotes “netsh wlan show profile virus key=clear”

Find Wi-Fi passwords of all networks using CMD - 2-compressed
This command will show you the complete profile of wireless network along with its password

Under security settings, in key content, you can see the Wi-Fi password for that network. I hope you found it useful. If you’ve any problem, you can comment down below.