Find Wi-Fi passwords of all networks using CMD - 3-compressed
SecurityTricks and Tutorials

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.

Vicky Singh Rao
I am an entrepreneur at heart who has made his hobby turned passion, his profession now. I love writing about coding, hacking, open-source and cutting-edge technologies.


  1. Please tell me how to run it as an administrator ??

    1. 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.

  2. Please tell me how to run cmd as an administrator?

    1. Right click on Command Prompt > Run as Administrator

  3. Comment: it tells me no profile… what do i do?

    1. In command it write virus. you will write the name of wifi name in your network.

  4. Very good is working normal

  5. but these are the passwords of wifi u already connected to cant we know a pass of an unknow wifi ?

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

    1. The command is just to see the wifi password ever connected on the computer, lol

  7. 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?

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

  8. can we do in other windows admin ?

  9. not all the codes works on every windows os

  10. When i run the second command, the error mention ” profile virus is not found on the system” . How to solve it?

    1. Use any profile displayed on ur prompt. Virus was an example used by the Author

    2. replace virus with your SSID

    3. Idiot virus is a wifi name in his computer u have to type any wifi near u

  11. 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.

  12. 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.

  13. 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.

    1. 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…

  14. i can’t connect 🙁

  15. What about a Wi-Fi you have never been connected to?

  16. 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?

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

  18. How about profiles that has space on them ? Like “my network”

    1. @johnny

      Cover it inside quotes like this:
      “my network”

  19. It is useful. I get to connect to my neighbors Wi-Fi now. Lol

  20. Its not working

  21. its not working

  22. 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

  23. 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?

  24. How do I know the password for one I haven’t connected to before??

  25. What about the user name with a space character like “Ali Ahsan”.

  26. 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.

  27. Can’t we know the password of unknown WiFi networks ?

  28. Missing parameters
    Show profiles [[name=]] [interface=] [key=]

  29. It works for single word passwords only, what if there are multiple words passwords with spaces?

    1. use it in Quotes for Multiple Words like profile=”VIBE K4 NOTE” instead of VIBE K4 NOTE

  30. Awesome, Thanks for the info!

  31. how can I use it using a mac book airport

  32. how can I use a mac book with the same cmd or is there another cmd fr mac books

  33. Is “key content” the password?

  34. i dont see the password
    security key present
    nothing show anything.

  35. please tell me how i change cmd languiche from frensh to english

  36. On testing mode

  37. 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.

  38. how to know the password of a protected WiFi ??

  39. mine says “There is no such wireless interface on the system

  40. Comment: what is the cmd for linux sir ?

  41. 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.


    so how?

  42. the wireless AutoConfig Service (wlansvc) is not running.

  43. it will be better if you can come up with a way to connect to a wifi you haven’t been connected to before

  44. zac,replace the virus with the name of the WIFI you want to use.

  45. Wat of dat you have never connected too

  46. 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.

  47. 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


  48. This is just for saved passwords….

  49. It say “There is no such wireless interface on the system”
    How to fix that ?

    1. Make sure you have not disabled your WiFi system on your machine

  50. 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.

  51. 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……..

  52. i can’t wiew my any password

  53. in window 7 its show only security key not key content

  54. hellow sir password kaisy show hota hai?

  55. 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 : 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?

  56. What about a Wi-Fi you have never been connected to?

  57. if i run as an administrator…..then can i come back

  58. Sir, Key content is not there…only 5 option are presnt in Security setting

  59. please how do I get the window command prompt or window cmd on my pc

  60. and what about WiFi you have never connected to how to change WiFi IP address when you have been blocked

  61. How to know connected clients’ IP Address?

    Some persons frequently hacks my WiFi password.

  62. Dude I try with Administration nd without administration. It shows me User Profile

  63. Oh Hi Its working But is showing my old password not current password

  64. how to do from a mac?

  65. It didn’t show the key content why ?

  66. eyerything had done but password is not showing its only show key index not key content.
    now what can i do to get password

  67. What can I do if password is “space”.

  68. What is command for Ubuntu?

  69. virus not found

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.