I'm trying to connect to my friends wireless network, but we don't know the password (ie. network/WEP/WPA key). The WLAN is secured by WPA2.

My friend's laptop with Windows 7 connects automatically to the WLAN. Is there a way to get the password from his laptop?


WirelessKeyView from Nirsoft should do the trick.

However, AVG (antivirus) flags it up as spyware/adware. Not sure if it is or not but just thought you may like to know...

  • It isn't spyware but is likely flagged as such because allowing this program to run on a coporate system can be a security vulnerability. – LawrenceC Aug 1 '11 at 18:22
  • This will work, but @Kaushik's answer doesn't require any extra tools. – Grezzo Jan 26 '15 at 9:43
  • @Grezzo I agree. Unfortunately I can't delete it since it has been accepted. – James T Jan 26 '15 at 13:03

Reference Here Here is some simple steps On your wifi-icon right click -> Open Network and Sharing Center -> from right tab chose Manage Wireless network -> a list of all devises will occur there . To whom you want to know the password right click on that and go to properties window and chose Security Tab and the Check the box of Show Characters. That is your password

  • Better than the accepted answer!! Thanks! – 6005 Aug 8 '14 at 4:44
  • Very good and useful Kaushik! Thanks – Pam Mar 23 '15 at 19:18

If you want to view the security key of a wireless network you've previously been connected to (regardless of whether you're still connected to it), you can try following commands (type into command prompt to execute):

  1. First list all saved profiles

    netsh wlan show profiles

  2. Now you can view the details of a wireless network using its name instead of "ProfileName"

    netsh wlan show profile name="ProfileName" key=clear

Note that you may want to execute the commands inside an elevated command prompt (that is, run cmd.exe with administrator privileges) in order to ensure that you have enough rights to view the networks password.

Read more about managing network profiles here.

This works for Windows 8 (and 10) as well.

  • 1
    +1 for this because I have been hitting my head against a wall until I found this. Clear, concise and spot on! – iWeasel Sep 26 '15 at 11:00
  • This is the actual answer. So much misinformation out there for this issue. – Gabriel Magana Feb 1 '16 at 18:00
  • This should be marked as Answer. – Ajay Sep 27 '16 at 12:15

protected by Community Jul 20 '16 at 11:34

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?