Forgot your home Wi-Fi password, and it's not written on your router? Or need to connect a new device, but the sticker with the code has long since worn off? There are several ways to retrieve a saved wireless network password in Windows 7—and you don't need to be an IT professional to do it. The main thing is that you must have administrator access to a computer that is already connected to this network.
In this article we will look at 5 proven methods: from standard system tools to third-party utilities. Some methods will work in 30 seconds, while others will take a little longer, but they are guaranteed to work. You'll also learn how to protect your password from prying eyes and what to do if none of the methods work.
⚠️ Important! All the described actions are legal only for your own networksExtracting passwords from other people's access points without the owner's permission may violate the law (in Russia, Article 272 of the Criminal Code of the Russian Federation, "Unauthorized access to computer information").
Method 1: Through the Network and Sharing Center
This is the simplest method, which doesn't require installing any additional software or knowing any commands. It's suitable if your computer already connected to the desired Wi-Fi network.
Instructions:
- Right-click on the network icon in the tray (bottom right, next to the clock) and select
Network and Sharing Center. - In the window that opens, find the section
Managing wireless networks(on the left in the menu). - Find your network in the list, right-click on it and select
Properties. - Go to the tab
Securityand put a check mark next toShow entered characters. The password will be displayed in the field.Network security key.
If the point Managing wireless networks No, then your network is connected via Ethernet (cable), and this method won't work. Try the next method.
Method 2: Command Line (Most Reliable)
Command line (CMD) is a universal Windows tool that works even when the graphical interface crashes. This method is suitable for all versions of Windows 7 and does not require administrator rights if you are already connected to the network.
Step-by-step instructions:
- Open command prompt:
- Click
Win + R, entercmdand pressEnter. - Or find it in the menu
Start → Accessories → Command Prompt.
- Click
netsh wlan show profiles
Remember the exact name of your network (case is important!).
NETWORK_NAME to the real name):
netsh wlan show profile name="NETWORK_NAME" key=clear
Key content - this is your password.If the command returns an error "Failed to execute command", check:
- 🔹 Is the network name spelled correctly (including spaces and case).
- 🔹 Is the command prompt running as administrator (right-click →
Run as administrator). - 🔹 Has the computer been connected to the network at least once before?
Method 3: Via the Windows Registry (for advanced users)
The Windows registry stores All saved Wi-Fi passwords in encrypted form, but they can be extracted using built-in tools. This method is more complex than the previous ones, but it works even if the network is not currently active.
How to do it:
- Click
Win + R, enterregeditand pressEnter. - Follow the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\There will be folders with long names (these are network adapter IDs).
- Open each folder and find the parameter
ProfileName- it will show the network name. - Inside the folder with the required network, find the parameter
PskValue— This is the encrypted password. Copy its value. - Decrypt the password using WirelessKeyView (free utility) or online services (for example, CyberChef).
⚠️ Attention! Editing the registry may cause system failures. Before making changes make a backup copy (V regedit select File → Export).
What to do if there is no Wlansvc folder in the registry?
This means that your computer never saved Wi-Fi settings (for example, if you only connect via cable) or the service WLAN AutoConfig disabled. To enable it, run the following command in CMD:
sc config Wlansvc start= auto
then restart your PC.
Method 4: Third-party password extraction programs
If standard methods fail, specialized utilities can help. They automatically scan the system and display all saved passwords in a convenient format.
Top 3 proven programs:
| Program | Peculiarities | Link | Pros | Cons |
|---|---|---|---|---|
| WirelessKeyView | Portable, no installation required | Official website | 🔹 Shows passwords in one click 🔹 Works without administrator rights |
🔸 Interface in English 🔸 It may be an antivirus (false positive) |
| WiFi Password Revealer | Minimalistic interface | Official website | 🔹 Export passwords to a file 🔹 Windows 7-11 support |
🔸 Requires .NET Framework |
| PassFab Wifi Key | Paid, but with a free trial period | Official website | 🔹 Recovers passwords even after reinstalling Windows 🔹 Russian language |
🔸 Limitations in the free version |
⚠️ Attention! Download programs only from official websitesMany "cracked" versions of password extraction utilities contain viruses or miners.
Download the utility from the official website|Check the file on VirusTotal|Disable your antivirus during installation (if it blocks it)|Run the program as administrator|Check the list of networks for the required one-->
Method 5: Reset your router password (if nothing else helps)
If none of the methods work, the only drastic option left is to reset the router to factory settings. This will remove all user settings, including the Wi-Fi password, but you will be able to set a new one.
How to reset a router:
- Find the button on the back of the router.
Reset(usually recessed into the body). - Take a paper clip or a toothpick and press and hold the button 10-15 secondsuntil the indicators start flashing.
- Connect to the router's network via cable or Wi-Fi (the network name and password will be the default ones, indicated on the sticker).
- Go to the router's web interface (usually at
192.168.1.1or192.168.0.1) and set up a new network.
⚠️ Attention! After the reset, you will have to reconfigure:
- 🔹 Wi-Fi name and password
- 🔹 Encryption type (recommended)
WPA2-PSK) - 🔹 Internet connection (data from provider)
- 🔹 Guest network (if any)
- 🔹 Port forwarding (if used)
How to protect your Wi-Fi from hacking after recovering your password
If you were able to extract the password, it means others could have done the same—especially if someone else had access to your computer. To secure your network:
- 🔹 Change your password to a more complex one (at least 12 characters, with numbers and special characters). An example of a strong password:
K8#pL9!mQ2$vR1. - 🔹 Disable WPS This feature simplifies the connection, but makes the router vulnerable. Find the option in the router settings (section
Wi-Fi → WPS). - 🔹 Enable MAC address filtering (allow only your devices to connect).
- 🔹 Update your router firmware — Manufacturers regularly patch vulnerabilities.
- 🔹 Hide your SSID (network name), if it does not interfere with your devices.
💡 Advice: Make a habit take a photo of the sticker from the router (where the factory password is indicated) and store photos in a secure cloud (for example, Google Drive or iCloud). This way you can always restore access.
Common mistakes and their solutions
Sometimes users encounter problems when trying to retrieve a password. Here are the most common cases and their solutions:
Problem 1: Team netsh wlan show profiles returns an empty list.
Solution:
- Make sure your computer connected at least once to this network.
- Check if the service is enabled Automatic WLAN configuration (enter in
Win + R→services.msc, find the service and start it).
Problem 2: There is no tab in the network properties Security.
Solution:
- Try connecting to the network again (turn Wi-Fi off and on).
- If the network is connected via
Ethernet, this method will not work - use the command line.
Problem 3: Password extraction programs do not show data.
Solution:
- Run the program as administrator.
- Disable your antivirus (it may block access to system files).
- Check if the program supports your version of Windows 7 (for example, WirelessKeyView works on all editions, including Starter And Home Basic).
FAQ: Answers to Frequently Asked Questions
Is it possible to find out the password for a Wi-Fi network that the computer has never connected to?
No, if the computer has never connected to this network, it is impossible to extract the password using standard Windows 7 tools. Options:
- Look at the password on the router sticker.
- Reset the router to factory settings (the password will become default).
- Use specialized hacking programs (illegal!).
Why are asterisks or a blank field displayed in the command line instead of a password?
This means that:
- The network is saved, but the password was not entered (for example, connecting via
WPS). - The password is stored in encrypted form (try the registry method).
- You do not have administrator rights to view.
Solution: Try another method or check your network settings.
Do these methods work on Windows 10/11?
Yes, all the described methods (except the registry path) also work on newer versions of Windows. Windows 10/11 you can also use:
- 🔹
Settings → Network & Internet → Wi-Fi → Manage known networks(click on the network →Properties). - 🔹
PowerShellwith the team(Get-NetAdapter | Where-Object {$_.MediaType -eq "Native 802.11"}).Namefor the list of adapters.
Is it possible to find out the password from an Android phone?
On Android without root rights this is impossible (starting with Android 10 Google has blocked access to Wi-Fi passwords. Options:
- 🔹 Use root-access and application WiFi Password Viewer.
- 🔹 View the password on a router or other device (PC, laptop).
How to protect yourself from programs that steal Wi-Fi passwords?
To prevent password theft:
- 🔹 Do not leave your computer unattended in public places.
- 🔹 Use antivirus with spyware protection (eg Kaspersky Internet Security).
- 🔹 Regularly check the list of connected devices in the router settings.
- 🔹 Set up guest network for friends (with a separate password).