Skip to content

How to View Saved WiFi Passwords from Command Prompt

WiFi passwords are something that we set up once during the initial installation and then it’s off for good. Agreed, you could still view your password by logging into your router’s dashboard. But the technicalities involved makes the normal users think twice before opting for this method. Although there exists some apps to view WiFi passwords on Android, all of them requires a rooted device. To counter such issues, we bring you another useful guide. Using it, you could now view your saved WiFi passwords right from the Command Prompt. You just need to copy-paste two-three lines of codes and the password will be in front of you. On that note, here are the steps to Connect to WiFi via QR Code in Android Pie or Earlier Devices

View WiFi Password from Command Prompt

For this guide, we will be using the netsh command. Netsh stands for Network Shell. According to Microsoft, netsh is a command-line scripting utility that allows you to display or modify the network configuration of a computer that is currently running. So let’s take the help of this code to view your saved WiFi passwords from Command Prompt. Also, check out the guide to Recover WiFi Password Using Android Devices.

  1. Search for Command Prompt from the Start Menu. Make sure to run it as an Administrator.
    command prompt admin
  2. Enter the following codes in the command window:

    netsh command

  3. Now, you need to get the list of all your saved WiFi networks from Command Prompt. Type in the below code for the same:
    wlan show profile

    show profile

  4. Next, enter the code given below and hit the Enter key. The explanation of this code follows below.
    wlan show profile name=“<WiFi SSID name>” key=clear
  5. WiFi SSID name, in simpler terms. refer to the name of your WiFi network. For example, the name of my network is D-Link_DIR-600M. So the above code, in my case, will correspond to as follows. While entering the Network SSID, keep two things in mind. First, the SSID should be written in double inverted quotes and secondly, they are case sensitive.
    wlan show profile name=“D-Link_DIR-600M” key=clear

    wifi password

  6. Now, head over to the Security Settings section and look out for Key Content. the password in plain text would be written there.

With this, we conclude the guide on how to view saved passwords from the Command Prompt. If you face any issue while carrying out the above steps, do let us know in the comments below. Moreover, as evident from the title, this guide only works for those WiFi networks, whose passwords have been saved on your desktop before.

1 thought on “How to View Saved WiFi Passwords from Command Prompt”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.