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.

81 thoughts on “How To Find Passwords of All Connected Wi-Fi Networks using CMD”

    • If remember right . Before you open cmd u right click on it and select run as admin… to right click on it have it pinned to the decktop as a icon.

      Reply
  1. Win + R —–> ncpa.cpl —–> wifi device —– > right click —–> status ——-> wireless properties —– > seecurity ——> SHOW PASSWORD.

    Reply
  2. What if you are not connected in their wifi before? Because I tried and of course the only profile that came out is the one that I connected to. Any tips on how to add profile?

    Reply
    • I can use kali linux. And use buteforce with good word list.it take around 3-7days if you are lucky. You can google hydra bruteforce to know more.

      Reply
  3. not that useful bcoz it onlh show those network which are connected with me in past. It doesn’t show current wi fi available around me.

    Reply
  4. not that useful bcoz it onlh show those network which are connected with me in past. It doesn’t show current wi fi available around me.
    so tell me how to get the password which are around me.

    Reply
  5. How can I prevent this? On a work PC having the administrators which is everyone on my team having access to see my personal wifi password isn’t ideal. Can it be stored differently or encrypted?

    I also see the personal wifi passwords of those people that used the laptop before I got it. Yikes.

    Reply
    • I don’t think any other way is available since being an Administrator will have all the privileges.. One way, may be, is don’t store the password and connect manually every time…

      Reply
  6. yes how do you get a wireless network password for a device you have never connect to before, that is not listed under any of your pc profiles?

    Reply
  7. Can we crack password of any wifi network without connecting ? With the help of cmd ? If possible the please tell!!!

    Reply
  8. hey, i am very proud to this ssysten youve released to teache us more about computer science.
    today i am trying whatever you post, but anyway some are found to be not successfully plz helm me to know why?
    question is concern with reseting admininstrative password:i am just tried but when i reached to the step of opening command prompt(wind+r ) nothing dispalyed.that is however i press window nothing i see ,what is the problem?plz help me ia m your best followers

    Reply
  9. second question is wifi password ,when i type netsh wlan show profile, result is teeling that my computer reply me that|”the wireless autoconfig service is not working” what can i do?

    Reply
  10. I can’t do it with the profile has multiple words (they have a space or more in their name). The result is “There is no such wireless interface on the system”. Please show me how to find the password of these kinds of wifi.

    Reply
  11. Oh. It actually work. Thanks for the info. I was able to connect to my neighbor’s wifi. Better than existing wifi crackers like kali.

    Reply
  12. hey, it isn’t work. see. it will be :

    C:\Windows\system32>netsh wlan show profile virus key=clear
    Profile “virus” is not found on the system.

    C:\Windows\system32>

    so how?

    Reply
  13. no tiene nada de inseguro por todo lado queda registro del password del wifi, yo considero que es mas unos comandos para administradores de sistemas en cuestion de facilidad y recursividad.

    Reply
  14. What about…

    Security settings
    —————–
    Authentication : Open
    Cipher : None
    Security key : Absent
    Key Index : 1

    Cost settings
    ————-
    Cost : Unrestricted
    Congested : No
    Approaching Data Limit : No
    Over Data Limit : No
    Roaming : No
    Cost Source : Default

    ???

    Reply
  15. Hey this gig works good. But if someone changes the wifi paasword to which i connected earlier, how can i retreive the new paasword coz the wlan profile shows only the password that was set at that moment when i connected not the updated one.

    Reply
  16. By using this procedure i cannot connect to the network to which i have never connected.Because the command shows only the wifi that i have connected so far……..

    Reply
  17. User profiles
    ————-
    All User Profile : aaay
    All User Profile : Smart Bro_9DF135
    All User Profile : awawaw
    All User Profile : System.dll
    All User Profile : PLDTHOMEDSL
    All User Profile : SHESHE
    All User Profile : potaka
    All User Profile : PLDTMyDSL
    All User Profile : EyvesEyves
    All User Profile : B315_4FCB1
    All User Profile : HAHAHAHAHA
    All User Profile : YUSHA
    All User Profile : GWAPA
    All User Profile : cLabNet
    All User Profile : NDKC GYM
    All User Profile : just for me
    All User Profile : NDKC Lobby 2
    All User Profile : BuyYourOwnWifi
    All User Profile : shooting star
    All User Profile : NDKC iGate
    All User Profile : Smart Bro_5E9EEB
    All User Profile : Smart Bro_9DC3 2
    All User Profile : PLDTHOMEFIBRSSantos
    All User Profile : KMSCI*ns2
    All User Profile : KMSCI*ns4
    All User Profile : shingshang
    All User Profile : Linksys00336
    All User Profile : HUAWEI-E5330-CF2C
    All User Profile : blaaaaa
    All User Profile : CMRE Wifi
    All User Profile : MWifi
    All User Profile : NDKC Lobby
    All User Profile : WFSEP
    All User Profile : lalat
    All User Profile : Hotspot
    All User Profile : PLDTHOMEFIBR_VONCUTE
    All User Profile : CMRE
    All User Profile : MANOK KA BA
    All User Profile : Smart WIFI
    All User Profile : SHAWARMA
    All User Profile : shawarma2
    All User Profile : PLDTMyDSL_VONGWAPO
    All User Profile : BjIr-aGF6ZWxjaHVjaGE
    All User Profile : Smart Bro_9DC3
    All User Profile : ROCK N ROLL
    All User Profile : PLDTFIBR_13f348
    All User Profile : HUAWEI-E5330-7DD1
    All User Profile : PLDTHOMEFIBR_81c0a0
    All User Profile : ky gutzer ni
    All User Profile : NDKC ITLab2
    All User Profile : HUAWEI-E5330-5CF5
    All User Profile : KMSCI*ns3
    All User Profile : Smart Bro_B9E687
    All User Profile : NSTPwifi
    All User Profile : NDKC Library
    All User Profile : NDKCLabWiFi
    All User Profile : SCNHS Student Wifi
    All User Profile : FREE_WIFI
    All User Profile : N5200 AP
    All User Profile : NDKC NetworkLab
    All User Profile : EMCOR CITP

    C:\WINDOWS\system32>netsh wlan show profile virus key=clear
    Profile “virus” is not found on the system.

    sir why is it like this?

    Reply

Leave a Comment

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