How to Find Wifi Password in Windows 10 Using Command Line

0

There are times when we forget the Wifi password of our network but it is still saved in our computers. In this article, we will show you how to find Wifi password in Windows 10.

We can access the Wifi password using Network Connections but the command line way would be a quick way to get the specifi Wifi password.

The visual way only works when you are connected to that specific network while the command line method will work on online as well as offline networks.

Find active Wifi password through Network Connections

Let’s first go through the steps to find Wifi password visually.

  1. Finding Wifi passwords of a connected network
  2. Go to Run –> control (This will open Control Panel)
  3. Open¬†Network and Internet –> Network and Sharing Center
  4. Click on the connected Wifi network to open its status window.
  5. Click on Wireless Properties button
  6. Under Security tab, check the checkbox “Show characters”

This will show the Wifi password.

Find Wifi password using command line tools

Getting all saved Wifi passwords in Windows 10

If you want to get all the passwords saved in the computer, open PowerShell in administrative mode and run the following command:

(netsh wlan show profiles) | Select-String “\:(.+)$” | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name=”$name” key=clear)} | Select-String “Key Content\W+\:(.+)$” | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Format-Table -AutoSize

Show Wifi passwords of all saved networks using PowerShell

Show Wifi passwords of all saved networks using PowerShell

Get Wifi password of a specific network

If you want to find Wifi password of a specific network only, follow the instructions below:

Open Command Prompt in administrative mode

  1. Run the following command:
    netsh wlan show profiles
    This command will list all the saved Wifi profiles in the computer. Copy the network profile name which you want the password for.
  2. Run the following command:
    netsh wlan show profile name=”network-profile-name” key=clear
    Replace network-profile-name with your copied network name.

This will show the Wifi password in clear text.

Find Wifi passwords using third party tools

If you are not comfortable with Windows tools or you want some type of automation, you can use third party tools like NirSoft’s WirelessKeyView.

WirelessKeyView

WirelessKeyView

Download WirelessKeyView

WirelessKeyView can also be used to get Wifi passwords of remote computers. This is very useful if you are a network administrator and want to diagnose certain wireless network issues.

Please note that although we are testing and writing about these methods of finding the Wifi password using Windows 10 only, these methods can also be used for earlier versions of Windows like Windows 7 and Windows 8.1.

Which method do you prefer for your specific needs? Share your experiences with us in the comments below.

Must Read Articles:

Leave A Reply