Open In App

How to Find the Wi-Fi Password Using CMD in Windows 11/10 ?

Last Updated : 09 Jan, 2024
Like Article

Remembering the Wi-Fi password is not feasible all the time, especially when you update your passwords regularly for security. Either we forget our password or we want to check the password to enter Wi-Fi passwords in another device.

It is painful as well as time-saving to reset our Wi-Fi password as all our home devices and systems are connected to the same network and we have to save the new password again for all our devices.

But we can save ourselves from resetting our Wi-Fi password if we ever connect our Windows 11/10 PC to that Wi-Fi network. Windows keeps a record of all our networks and their password so we don’t have to type the password again to connect to the same network. In this article, we will learn how to find the Wi-Fi password using cmd in Windows 11/10.

How to Find Wi-Fi Password Using CMD in Windows 11/10?

There are mainly two methods to view wifi passwords. These methods work in both Windows versions i.e. Windows 10 and Windows 11. Follow the steps and save yourself from resetting your Wi-Fi password!

Method 1: Check the Wi-Fi password via Network & Internet settings

Step 1: Connect to the Wi-Fi that you want to know the password, then right-click the [Network] ᯤ icon ① on the taskbar and select [Network and Internet settings] ②.


Step 2: Select [Advanced network settings] ③.


Step 3: Under Related settings, select [More network adapter options] ④.


Step 4: Choose the connected Wi-Fi network , then select [View status of this connection] .


Step 5: Select [Wireless Properties] .


Step 6: On the [Security] tab of Wireless Network Properties , check the box [Show characters] ⑨, you will see the Wi-Fi password in the Network security key field. 


Method 2: Check the Wi-Fi password via Command Prompt

We can see your forgotten Wi-Fi password by running a couple of quick ‘netsh’ commands using Windows Command Prompt.

Step1: Press start and type CMD, right-click on the Command Prompt option shown as a search result and click on Run as administrator.  

Step 2: Type the following command and press Enter to show a list of network names that we connect to.

netsh wlan show profile 

This command list of all wireless network profiles saved on the computer, including their names and settings as shown below. Select the Wi-Fi you want to know its password. Lets suppose we want to see password for Wi-Fi Name “Gravity”.


Step 3: Now, type the following command and again press enter

netsh wlan show profile name= "Wi-Fi name" key=clear

This command displays detailed information of that Wi-Fi, including the Profile information, Connectivity settings, Security settings and Cost settings for the specified Wi-Fi network profile.


Step 4: Scroll through the results until we find an entry named Key Content & our Wi-Fi password will be listed next to it.  


As now we got our Wi-Fi password, you can connect our device to the network to complete our work. 


Hence knowing how to view your Wi-Fi password in Windows 11/10 can save you from the headache of resetting it. Whether through Network & Internet settings or Command Prompt’s ‘netsh’ commands, these methods eyou to easily retrieve your Wi-Fi password, ensuring connectivity across all your devices without the need for resets.

Also Read

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads