Forgot your home Wi-Fi password, and your laptop or PC is no longer connected to the network? This situation is familiar to many: the router was set up a long time ago, the password sticker has worn off, and your new gadget requires you to enter the security key. Luckily, Windows 10 stores all saved Wi-Fi passwords in the system—even if you're currently offline. The main thing is to know where and how to retrieve them.
In this article you will find 5 proven methods, including methods through command line, network parameters, registry and third-party utilities. We'll walk you through each option step by step, taking into account any nuances (for example, if you don't have administrator rights or your password is encrypted). You'll also learn how to protect your data from prying eyes and what to do if none of the methods work.
Important: All instructions are valid for Windows 10 (including the latest builds 22H2). On Windows 11 The algorithm is similar, but the location of some menu items may differ. If you're using a corporate network with domain authentication (for example, in an office), these methods won't fit — passwords for such networks are stored on the server, not locally.
1. View the password through Network Settings (the easiest way)
If your computer has connected to the desired Wi-Fi network at least once, the password is saved in the system. To view it, you don't need to install any additional software—standard tools are sufficient. Windows 10.
Step-by-step instructions:
- Open the menu
Startand selectParameters(gear icon). - Go to the section
Network and Internet→Wi-Fi. - Scroll down and click
Managing known networks. - Find the required network in the list and click on it.
- Select
Properties(orAdditional optionsin some versions). - In the field
Network security keyThe password will be displayed, but it will be hidden by dots. To see it, check the box.Show entered characters.
⚠️ Attention: if the button Managing known networks is inactive or the network is not listed, then Windows did not save the password (for example, you connected via WPS (or guest access). In this case, try other methods from the article.
This method only works for networks you have connected to. from the current deviceIf you move your hard drive to another PC, your passwords won't be saved—they're tied to your user profile and hardware ID.
Has your PC connected to this Wi-Fi network before? | You have administrator rights | The network is not a corporate network (no domain authentication) | You are not using a VPN or proxy that could change your network settings.
2. How to find out the Wi-Fi password via the command line (CMD)
If the graphical interface does not show the password (for example, due to a system failure), help will come command lineThis method is universal and works even on damaged Windows builds.
Instructions:
- Launch
Command lineas an administrator. To do this, clickWin + Xand selectCommand Prompt (Administrator)orWindows PowerShell (Administrator). - Enter the command to view all saved networks:
netsh wlan show profilesFind the name of the desired network (SSID) in the list.
- Run the command to extract the password (replace
NETWORK_NAMEto the real name):netsh wlan show profile name="NETWORK_NAME" key=clear - Find the line in the results
Key content- this is the password.
🔹 Example output: if the network is called MyWiFi_5G, the command will be like this:
netsh wlan show profile name="MyWiFi_5G" key=clear
Look for the block in the answer Security parameters → Key content.
⚠️ Attention: if instead of a password you see a message Missing key (Group Policy), this means that the network uses enterprise authentication (for example, WPA2-Enterprise). In this case, the password is stored on the radius server and cannot be retrieved locally.
for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles ^| find "All user profiles"') do @echo %j | findstr -v -i "Name" & netsh wlan show profile name="%j" key=clear | findstr "Key contents" >> WiFi_passwords.txt
File WiFi_passwords.txt will appear in the user folder.-->
3. Extracting the password through the Windows registry
All Wi-Fi settings, including passwords, are stored in Windows registry in encrypted form. Decrypting them will require a little more effort than the previous methods, but this method works even if other tools are blocked by antivirus software.
How to find a password in the registry:
- Click
Win + R, enterregeditand confirm the launch. - Follow the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\There will be folders with long names (these are network interface identifiers).
- Open each folder and find the parameter
ProfileName— its value corresponds to the network name (SSID). - In the same folder there will be a parameter
Profile- Double-click on it. In the fieldMeaningYou will see the encrypted password in the format HEX. - Copy this HEX-code and use an online decoder (for example, CodeBeautify) or command
PowerShellfor decoding:[System.Text.Encoding]::Unicode.GetString((0..(($hexString.Length/2)-1)|%{[Convert]::ToByte($hexString.Substring($_*2,2),16)}))Where
$hexString- your copied HEX-code.
🔹 Example: If you see the line in the registry 48656C6C6F576F726C64, after decoding you will get a password HelloWorld.
⚠️ Attention: Editing the registry may cause system failures. Do not change or delete any parameters. — just browse them. If you're unsure of what to do, use the alternative methods in this article.
Why is the password in the registry encrypted?
Windows stores passwords in encrypted form to protect them from viruses and malware that could steal them. The encryption algorithm depends on the OS version and security policy. Home and Pro editions of Windows use weaker encryption than Enterprise editions, which additionally protect passwords using BitLocker or Credential Guard.
4. Using third-party programs to view passwords
If you are not comfortable working with the command line or registry, you can use specialized utilitiesThey automatically scan the system and display all saved Wi-Fi passwords in a convenient format.
Top 3 Wi-Fi Password Viewers:
- 🔹 WirelessKeyView (from NirSoft) is a free portable utility that requires no installation. It displays all networks your PC has ever connected to, including hidden ones.hidden SSID). Download from the official website.
- 🔹 WiFi Password Revealer — a simple program with a minimalist interface. Supports password export to
.txtor.csv. - 🔹 Magical Jelly Bean WiFi Password Revealer — displays passwords in a table with additional information (encryption type, first connection date).
How to use WirelessKeyView (step by step):
- Download the archive with the program and unzip it.
- Run the file
WirelessKeyView.exe(administrator rights are not required). - In the main window you will see a list of all networks (
Network Name) and corresponding passwords (Key (Ascii)). - To copy a password, right-click on it and select
Copy Key.
⚠️ Please note: some antivirus programs (eg. Avast or Kaspersky) can block utilities like WirelessKeyView, considering them potentially dangerous. This is a false positive—the program doesn't contain viruses, but it can indeed be used by attackers to steal passwords. If you downloaded it from the official website, feel free to add it to your antivirus exceptions.
5. How to recover your password if none of the methods worked
If you've tried all the methods but still can't find the password, don't despair. Here's alternative solutions:
- 🔄 Resetting the router: press the button
Reseton the back of the router (hold for 10-15 seconds). After resetting, use the default password (usually found on the device's sticker). Minus: all router settings will be reset, including IP bindings And port forwarding. - 📱 View your password on another device: if a smartphone is connected to this network (Android or iPhone), phone or tablet, you can extract the password from there. Android will be required root rights or a file manager with access to
/data/misc/wifi/WifiConfigStore.xml. - 🖥️ Connection via cable: if you have access to the router through Ethernet, log in to the web interface (usually at
192.168.0.1or192.168.1.1) and look at the password in the sectionWirelessorWi-Fi. - 📞 Contacting your provider: if the router was issued by the Internet provider (for example, Rostelecom or Beeline), call support - they can restore the standard password using the contract number.
🔹 Advice: If you often forget passwords, create a text file WiFi_passwords.txt and save it in the cloud (for example, Google Drive or OneDrive). Update it every time you change your password.
⚠️ Attention: If you are renting accommodation or using public Wi-Fi (for example, in a cafe or hotel), an attempt to hack the password may be considered illegal access to computer information (Article 272 of the Criminal Code of the Russian Federation). In such cases, it is best to confirm the password with the establishment's administrator.
Comparison of methods: which one to choose?
To make your decision easier, we've compiled the main pros and cons of each method in a table:
| Method | Complexity | Admin rights required | Works without connection | Cons |
|---|---|---|---|---|
| Network parameters | ⭐ (simple) | ❌ No | ✅ Yes | Doesn't show passwords for corporate networks |
| Command line | ⭐⭐ (average) | ✅ Yes | ✅ Yes | Requires precise command entry |
| Windows Registry | ⭐⭐⭐ (difficult) | ✅ Yes | ✅ Yes | The password is encrypted and needs to be decoded. |
| Third-party programs | ⭐ (simple) | ❌ No | ✅ Yes | Risk of false antivirus alarms |
| Resetting the router | ⭐ (simple) | ❌ No | ✅ Yes | All router settings are reset. |
🔹 Recommendation: If you are a beginner, start with the method Network Settings or Command LineSuitable for experienced users registry or third-party utilities.
FAQ: Frequently asked questions about viewing Wi-Fi passwords
Is it possible to find out the password for a Wi-Fi network I've never connected to?
No. Windows only stores passwords for networks your PC has connected to at least once. If the network isn't listed Managing known networks, it's impossible to extract its password locally. In this case, the only option is to reset the router or contact the network administrator.
Why does the command line show a blank line instead of a password?
This means that:
- You have entered an incorrect network name (check case and characters).
- The network uses WPS or guest access without a password.
- The password was changed on the router after the last connection.
- Your user profile is corrupted (try creating a new user in Windows).
Is it possible to find out the Wi-Fi password from an Android phone without rooting?
On most modern smartphones (Android 10+) view Wi-Fi passwords without root rights It's impossible. However, there are workarounds:
- If your phone is connected to a router, log in to the router's web interface through a browser (the address is usually
192.168.0.1). - Use apps like WiFi Password Viewer (requires ADB or root).
- On some firmware (for example, MIUI on Xiaomi) the password is displayed in the Wi-Fi settings next to the QR code.
What should I do if my antivirus is blocking WirelessKeyView?
Do the following:
- Add a file
WirelessKeyView.exein antivirus exceptions. - Download the program from the official website NirSoft (do not use third party sources).
- Check the file on VirusTotal.
- If the antivirus continues to block, use alternative methods (command line or registry).
How to protect your Wi-Fi passwords from being stolen?
To prevent password leaks:
- Use complex passwords (at least 12 characters with numbers and special characters).
- Turn it off WPS on the router - this protocol is vulnerable to hacking.
- Update your router firmware regularly.
- Do not store passwords in clear text on your PC (for example, in a notepad).
- Use a guest network for temporary devices.
You can also enable WPA3 encryption in the router settings (if supported).