Forgot your home Wi-Fi password, and the sticker on your router has worn off? Or need to connect a new device but forgot to save the password? This situation is familiar to many people—especially if the network was set up a long time ago or someone else set it up for you. Luckily, All versions of Windows store passwords for connected Wi-Fi networks., and they can be extracted without special programs. In this article, we'll look at all current methods For Windows XP, Vista, 7, 8/8.1 and 10 — from standard system tools to third-party utilities.
Important: The methods only work for networks to which the computer is connected. I've already connected beforeIf you've never entered a password on this PC, you'll need to reset it on your router or ask your network administrator. Also, remember that Extracting passwords from someone else's computer without the owner's consent may violate information and data protection laws..
We've structured the instructions by Windows version so you don't have to search for the section you need. If you don't know your OS version, click Win + R, enter winver and look at the data in the window that opens.
1. Universal method via the Network and Sharing Center (Windows 7, 8, 10, Vista)
This method works on all modern versions of Windows except XPIt does not require administrator rights if your account has already connected to the desired network.
Instructions:
- 🖱️ Right-click on the Wi-Fi icon in the system tray (bottom right next to the clock) and select
Open Network and Internet settings(Windows 10) orNetwork and Sharing Center(Windows 7/8). - 📋 In the window that opens, click on the name of your Wi-Fi network (under the inscription
View active networks). - 🔗 In the new window, select
Wireless network properties→ go to the tabSecurity. - 👁️ Check the box
Show entered characters— the password will be displayed in the fieldNetwork security key.
If the button Wireless network properties is inactive, then your account doesn't have permission to view passwords. In this case, try the command line or third-party utilities (sections 3 and 4).
2. How to find the Wi-Fi password in Windows XP (via the registry)
Windows XP There's no graphical interface for viewing saved passwords, but they can be retrieved via the registry or command line. Let's look at both options.
Method 1: Via Registry Editor
- 🔧 Click
Win + R, enterregeditand confirm the launch. - 🗺️ Follow the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{GUID}Where
{GUID}— a unique identifier for your Wi-Fi adapter (there may be several folders, look for the one with the parameterStatic#0000orStatic#0002). - 🔍 In the right part of the window, find the parameter
Static#0000(orStatic#0002) - its value in the formatHEXcontains a password. Copy it. - 📝 Use Online HEX to text converterto decrypt the password (remove the first 8 characters - this is service information).
Method 2: Via the command line
Open Command line (Win + R → cmd) and enter:
netsh wlan show hostednetwork setting=security
The password will be displayed in the line User keyIf the command doesn't work, try:
netsh wlan show profiles name="NETWORK_NAME" key=clear
Replace NETWORK_NAME the name of your Wi-Fi network (with quotes!).
Why is the registry password encrypted in Windows XP?
In older versions of Windows, passwords were stored in cleartext, which created security risks. Starting with XP SP2, Microsoft began encrypting them using an algorithm. WZC (Wireless Zero Configuration), and encryption keys were linked to the computer's hardware identifier.
3. Command Prompt - A Quick Method for Windows 7, 8, 10
This method works on all current versions of Windows and doesn't require any additional software. It works even if the graphical interface is locked.
Steps:
- Launch
Command lineas administrator (Win + X→Command Prompt (Administrator)orWindows Terminalin Windows 10). - Enter the command to view all saved networks:
netsh wlan show profiles - Find the name of the desired network in the list and copy it exactly (case sensitive!).
- Enter the command to display the password:
netsh wlan show profile name="NETWORK_NAME" key=clearThe password will be in the section
Security parameters, lineKey content.
If the command returns an error Failed to execute command, check:
- 🔹 Is the network name spelled correctly (with quotation marks!).
- 🔹 Is the command prompt running as administrator?
- 🔹 Has this computer connected to this network before?
Run as administrator|Correct network name (with quotes)|The computer has connected to the network before|Wi-Fi adapter is enabled-->
4. Third-party password extraction programs
If standard methods don't work, you can use specialized utilities. They're handy when you need to save all passwords to a file or work with multiple networks.
Top 3 proven programs:
| Program | Windows support | Peculiarities | Link (official) |
|---|---|---|---|
| WirelessKeyView | XP, Vista, 7, 8, 10 | Shows all saved passwords, exports to TXT/HTML, no installation required | nirsoft.net |
| WiFi Password Revealer | 7, 8, 10 | Simple interface, copying password to clipboard | magicaljellybean.com |
| PassFab WiFi Key | 7, 8, 10 | Recover passwords even after reinstalling Windows (if the disk was not formatted) | passfab.com |
⚠️ Attention: Download programs only from official websites! Many "Wi-Fi hackers" listed in search engines contain viruses or spyware. WirelessKeyView from NirSoft is one of the most secure solutions (its code is verified by the community).
Instructions for WirelessKeyView:
- 📥 Download the archive with the program and unzip it.
- 🚀 Run the file
WirelessKeyView.exe(no installation required). - 🔍 The program window will display all saved networks and their passwords in a column
Key (Ascii). - 💾 To save the list, click
File → Save All Items.
5. How to Find Someone Else's Wi-Fi Password (Ethically and Legally)
If you need to connect to a network, but only the owner of the computer knows the password (for example, when visiting or at work), try these legal methods:
Option 1: Ask the owner
- 🗣️ Politely explain the situation and ask to temporarily show the password.
- 📱 Ask to take a photo of the QR code from the router sticker (if there is one).
- 🔄 Suggest connecting via WPS (button on the router) - this does not require knowing the password.
Option 2: Use the Share Network feature (Windows 10/11)
If the computer owner agrees, they can temporarily share Wi-Fi through your PC:
- Open
Settings → Network & Internet → Mobile Hotspot. - Enable the option
Allow use of my internet connection. - Click
Changenext to the network name and set a new password. - Connect to the created access point.
6. What to do if none of the methods worked?
If you've tried all the methods and still can't find the password, there are some drastic measures left:
Resetting the router settings
- 🔄 Press and hold the button
Reseton the router (usually 10-15 seconds). - 🔧 After the reset, connect to the network with the router name (for example,
TP-Link_1234) - the default password is indicated on the device sticker. - ⚠️ Attention: This will disconnect all users from the network and reset all settings (including port forwarding, parental controls, etc.).
Connection via cable
If you have access to a router, connect your computer to it via Ethernet cable (LAN port). This will allow:
- 🌐 Log into the router's web interface (usually at
192.168.0.1or192.168.1.1). - 🔑 View the password in the section
Wireless → Security(the name may differ). - 📝 The login and password for entering the router are usually indicated on its sticker (for example,
admin/admin).
Contact your provider
If the router was issued by the provider (for example, Rostelecom, Beeline, MTS), call support and ask:
- 📞 Provide your Wi-Fi password (you will need to confirm your personal information).
- 🔄 Reset your router settings remotely (if supported by your plan).
How to find out the IP address of a router?
Open command prompt and type ipconfig. Look for the line Main gateway - this is the IP of your router (usually 192.168.0.1 or 192.168.1.1).
FAQ: Frequently Asked Questions About Wi-Fi Passwords in Windows
Is it possible to find out the password for a Wi-Fi connection that another user connected to on the same PC?
Yes, if your account has administrator rights. Use Command line (section 3) or programs like WirelessKeyView (Section 4). Without administrator rights, you will only see networks you've personally connected to.
Why is there no Security tab in network properties in Windows 10?
This can happen for three reasons:
- You are not currently connected to the network (please connect and try again).
- Your account does not have permission to view passwords (you need administrator rights).
- The network was saved, but the password was not saved (for example, if the connection was through WPS).
How to save all Wi-Fi passwords to a file for backup?
Use the program WirelessKeyView:
- Run the utility.
- Click
File → Save All Items. - Select format
Text File (*.txt)orHTML Report.
The file will contain network names, passwords and additional data (encryption type, MAC addresses, etc.).
Is it possible to find out the Wi-Fi password on a Mac or Linux?
Yes, but the methods are different from Windows:
- MacOS: Open
Terminaland enter:security find-generic-password -wa "NETWORK_NAME" - Linux: Use the command:
sudo cat /etc/NetworkManager/system-connections/"NETWORK_NAME" | grep psk=
What should I do if my password is displayed as dots or asterisks?
This means the password field is hidden. In the Windows GUI, click Show entered charactersIn the command line or programs, the password is displayed in clear text by default. If you are using a third-party utility, check the display settings (for example, in WirelessKeyView column Key (Ascii) shows the password in text).