Forgot your home Wi-Fi password, or is the sticker on your router worn off or lost? On your computer with Windows 7 You can easily recover your network code, even if you're not a system administrator. This article covers all the working methods, from standard OS tools to specialized utilities that will reveal saved passwords in seconds.
The main advantage of Windows 7 in this matter is saving all connected networks in the system, including their passwords. Even if you haven't used a particular access point in a while, its data remains in the registry or configuration files. We'll cover methods for both the current connection and previously used networks, and explain why some methods may not work for guest accounts.
All instructions are tested on Windows 7 Ultimate/Professional/Home Premium (32/64-bit) and compatible with routers of all brands: TP-Link, Asus, D-Link, Zyxel, MikroTik and others. If your computer has never connected to the network you're looking for, these methods won't help—you'll have to reset your router or use alternative devices.
1. View the password through the Network and Sharing Center (the easiest way)
This method works if your computer currently connected To connect to a Wi-Fi network whose password you've forgotten. The Windows 7 interface lets you view the network code in just three clicks—no command line or third-party software required.
Open Start → Control Panel → Network and Sharing Center. In the section View active networks Find the name of your Wi-Fi and click on the blue link Wireless network connection (or Local Area Network Connection, if you are using an Ethernet adapter).
In the window that opens, click the button Wireless network properties, then go to the tab SecurityHere you will see a field Network security key — check the box Show entered characters, and the password will be displayed in a readable form. If the Properties button is grayed out, you don't have administrator rights and this method won't work.
- ✅ Works for current connection without additional programs.
- ⚠️ Requires rights administrator or account password.
- 🔄 Doesn't show passwords from previous networks (only active).
Make sure your computer is connected to the correct Wi-Fi network | Open Control Panel (view: "Large icons") | Find the "Network and Sharing Center" section | Click on the active wireless connection -->
2. How to find out the password via the command line (for all saved networks)
Command line (cmd) is a universal tool that will reveal passwords all networks, to which the computer has ever connected. This method works even if Wi-Fi is currently disabled, but requires running as an administrator.
Open the command prompt: press Start, enter in the search bar cmd, then right-click on the found file and select Run as administrator. Enter the command:
netsh wlan show profiles
You will see a list of all saved networks. Remember the name of the one you want (case is important!) and enter the following command, replacing NETWORK_NAME to its real name:
netsh wlan show profile name="NETWORK_NAME" key=clear
Find the section in the results Security parameters - line Key content contains the password you're looking for. If asterisks or an empty field appear instead of a password, the network is saved without a key (for example, a guest network without encryption).
⚠️ Attention: On some Windows 7 builds (especially pirated ones), the command netsh may be disabled or modified. If you see an "Invalid syntax" error, try an alternative method or scan your system for viruses.
| Team | Description | Output example |
|---|---|---|
netsh wlan show profiles |
Shows a list of all saved Wi-Fi networks. | User profiles: WiFi_Home, Office_Net, Cafe_Free |
netsh wlan show profile name="WiFi_Home" key=clear |
Displays details of a specific network, including the password. | Key content: qwerty12345 |
netsh wlan export profile name="WiFi_Home" folder="C:\" |
Exports network settings to an XML file (password will be encrypted) | File WiFi_Home.xml on drive C: |
3. Using WirelessKeyView (for inexperienced users)
If the command line seems complicated, use a free utility WirelessKeyView from NirSoft. It automatically scans Windows 7 system files and displays all saved Wi-Fi passwords in a convenient table format.
Download the program from NirSoft official website (checked for viruses), unzip the archive and run the file WirelessKeyView.exeIn the main window you will see:
- 📝 Network Name (SSID) — network name;
- 🔑 Key (Ascii) — password in readable form;
- 🔢 Key Index — encryption type (WPA, WEP, etc.).
The program does not require installation and runs without administrator rights, but may be blocked by antivirus software (false positive due to access to system files). If WirelessKeyView It doesn't show passwords, try running it as administrator.
Why is my antivirus blocking WirelessKeyView?
Programs like WirelessKeyView read data from the system registry and Windows configuration files, which resembles malware. This is a false positive—NirSoft is known as a reliable developer of diagnostic tools. To avoid being blocked, temporarily disable your antivirus or add WirelessKeyView to your exceptions.
⚠️ Attention: Do not download WirelessKeyView From third-party websites—they often replace the original file with an infected one. Always use the official source (nirsoft.net) and check the file hash (SHA-1: 1A2B3C4D5E6F7G8H9I0J — check the current hash on the developer's website).
4. Password recovery via the Windows registry (for advanced users)
All Wi-Fi passwords in Windows 7 are stored encrypted in the registry. They can be extracted manually, but the process requires care—incorrect registry changes can disrupt the system.
Open Registry Editor: Click Win + R, enter regedit and confirm the launch. Go to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\
Here you'll see folders with long names (GUIDs)—each one corresponds to a network interface. Open them one by one and find the section ProfilesInside there will be subfolders with network names. Click on the one you need, then open the parameter ProfileXML — it stores an encrypted password. To decrypt it, copy the value into Notepad and find the line between the tags <keyMaterial> And </keyMaterial>.
For automatic decryption, use a PowerShell script (save as .ps1 and run as administrator):
$key = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Wlansvc\Interfaces\\Profiles\" -Name "ProfileXML").ProfileXML$key -match 'keyMaterial>(.*)<\/keyMaterial' | Out-Null
$password = $matches[1]
Write-Host "Password: $password"
5. Alternative methods: if nothing works
If none of the methods worked, the reasons may be as follows:
- 🔒 Guest account — She doesn't have access to system settings. Try logging in as administrator.
- 🛡️ Security policies — on corporate PCs, access to passwords may be blocked.
- 🗑️ Reset network settings - If the computer has not been connected to Wi-Fi for a long time, the data may have been deleted.
- 🔄 Another type of encryption — networks with
WEPor802.1Xrequire special utilities.
In such cases, try:
- Connect another device (smartphone, tablet) that previously used this network, and view the password through its settings.
- Reset the router button
Reset(hold for 10 seconds) - this will return the factory password (indicated on the sticker). - Use WPS - if the router supports the technology Wi-Fi Protected Setup, you can connect without a password (button
WPSon the body).
⚠️ Attention: Resetting the router to factory settings will delete all personal data, including the network name, passwords, linked devices, and firewall rules. After resetting, you'll need to reconfigure your internet connection (connection details are usually included in your contract with your provider).
6. How to protect your Wi-Fi from hacking after recovering your password
If you were able to recover your password, that's a good reason strengthen network security. Old or simple passwords (eg. 12345678 or qwerty) can be hacked in minutes using special programs.
Recommendations for protection:
- 🔐 Change your password complex (at least 12 characters, with letters, numbers, and special characters). Example:
kT7#pL9@mN2!vB5. - 🔄 Update your router firmware - outdated versions are vulnerable to attacks.
- 📡 Disable WPS - this technology has critical vulnerabilities (even if it is convenient).
- 👥 Enable MAC address filtering — allow connection only to your devices.
- 🌐 Change the network name (SSID) - do not use personal information (eg.
Ivanov_kv56).
To change your password, log in to your router's control panel (usually at 192.168.1.1 or 192.168.0.1), using the data from the sticker. In the section Wireless → Security (or similar) select the encryption type WPA2-PSK and set a new key.
FAQ: Frequently asked questions about Wi-Fi password recovery
Is it possible to find out the password for a Wi-Fi network that the computer has never connected to?
No. All the methods in this article only work for networks the computer has connected to before. If the network isn't listed netsh wlan show profiles or in WirelessKeyView, it's impossible to recover the password through Windows 7. In this case, the only option is to reset the router or use another device that was connected to this network.
Why are asterisks or a blank field displayed in the command line instead of a password?
This means that:
- The network is saved without a password (e.g. guest hotspot).
- The password is stored in an encrypted form that Windows 7 cannot decrypt (rare, usually on corporate PCs).
- You are using a guest account without permission to view network settings.
Try running command prompt as administrator or use WirelessKeyView.
How do I find my Wi-Fi password on Windows 7 if I forgot my administrator password?
Without administrator rights, you won't be able to use the command prompt or registry to view passwords. Options:
- Recover administrator password via
Safe mode(hold while loadingF8, select an accountAdministrator). - Use Live CD (For example, Offline NT Password & Registry Editor) to reset your password.
- Connect another computer/smartphone that knows the password for this network.
Do these methods work on Windows 10 or 11?
Yes, all the described methods (except the registry path) also work on newer versions of Windows. Windows 10/11 you can also use:
- Chapter
Settings → Network & Internet → Wi-Fi → Manage known networks(click on the network and selectProperties). - Team
netsh- the syntax is identical to Windows 7.
Program WirelessKeyView also compatible with new OS.
Is it possible to hack someone else's Wi-Fi using these methods?
No. All methods in the article work. only for networks to which your computer has already connectedHacking into other people's networks without permission:
- Violates Article 272 of the Criminal Code of the Russian Federation ("Unauthorized access to computer information").
- May lead to MAC address blocking your device in the router.
- Modern routers use protection against brute-force attacks (for example, temporary blocking after 5 unsuccessful password attempts).
If you need access to someone else's network, ask the owner for the password.