Forgot your home Wi-Fi password and the sticker on your router has worn off? Or do you need to connect a new device but forgot to save the password? On a laptop with Windows 10 Pro All connected networks store their passwords in the system—they can be retrieved without resetting the router or calling the provider. In this article, we'll look at three working methods: via a graphical interface, command line, and specialized utilities. Each method is suitable for different situations, from simple recovery to bypassing guest account restrictions.
Important: Passwords are stored only for those networks to which the laptop is connected. I've already connected at least onceIf the network is new or has never been used, these methods will not work. Also, keep in mind that some corporate networks (for example, those with authentication) 802.1X) may not display the password explicitly.
Most users don't even realize that Windows 10 Pro saves all Wi-Fi passwords in encrypted form—and they can be read without additional software. The main requirement is that you must have access to the laptop with permissions. local user (not necessarily an administrator). If you log in through an account Microsoft, some methods will also work, but additional confirmation may be required.
Before proceeding with the instructions, please check two things:
- The laptop must be connected to the network, the password for which you want to know (or at least connected to previously).
- If the network is hidden (does not broadcast
SSID), its name will still be in the list of connections.
If you're trying to recover a password for someone else's network (for example, at a cafe or office), remember: this may violate the network's terms of use. In such cases, it's best to request the password from the administrator.
Method 1: Via Windows Settings (without the command line)
The easiest method is to use the built-in menu ParametersIt's suitable if you have a license. local user (not necessarily an administrator) and the laptop has connected to the required network at least once.
Instructions:
- Open the menu
Startand selectParameters(gear icon) or clickWin + I. - 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.
- Click the button
Properties(orAdditional optionsin some versions). - Scroll to the block
Security parametersand check the boxShow entered characters— the password will become visible.
⚠️ Attention: If the button Properties If the link is inactive or missing, your account doesn't have sufficient rights. Try the command line method or log in as an administrator.
This method works for all types of networks, including hidden ones (SSID (The network isn't broadcast.) If the network isn't listed, but you've definitely connected to it before, try refreshing the list or using alternative methods.
The laptop has been connected to the network before|You have local user rights|The network is not corporate (no 802.1X)|The network name appears in known connections-->
Method 2: Via the command line (universal method)
If the graphical interface does not show the password (for example, due to rights restrictions), it will help command lineThis method even works on guest accounts, if you have access to CMD.
Step-by-step instructions:
- Open Command Prompt as Administrator: Press
Win + Xand selectCommand Prompt (Administrator)orWindows PowerShell (Administrator). - Enter the command to view all saved networks:
netsh wlan show profilesIn the list, find the name of the desired network (for example,
MyWiFi_5G). - Enter 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:
SSID Name: MyWiFi_5G...
Security parameters
Authentication type: WPA2-Personal
Encryption type: CCMP
Key contents: 12345678Qw!
⚠️ Attention: If a blank space or message is displayed instead of a password The key is missing, Means:
- 🔄 The network uses a different type of authentication (eg. WPA3-Enterprise), which does not save the password locally.
- 🔒 Your account does not have permission to view (try running
CMDfrom the administrator). - 📡 The laptop was connected to the network via WPS or another protocol without entering a password.
Method 3: Using third-party utilities (for advanced users)
If the built-in tools don't work, you can use specialized programs. They are convenient when you need export all passwords at once or work with networks protected WPA3.
Top 3 proven utilities:
- 🔧 WirelessKeyView (from NirSoft) is a free, portable program that displays all saved passwords in a table. It works without installation.
- 🛡️ WiFi Password Revealer - simple interface, export to
.txt. Supports Windows 10/11. - 📊 Magical Jelly Bean WiFi Password Revealer — displays passwords with the option to copy them to the clipboard.
🔹 How to use WirelessKeyView:
- Download the program from NirSoft official website (check the file for viruses).
- Unzip the archive and run
WirelessKeyView.exe(administrator rights are not required). - Find the required network in the table - the password will be in the column
Key (Ascii). - To copy all passwords, click
File → Save All Items.
⚠️ Attention: Some antivirus programs may block password extraction utilities (false positives for "hacking tools"). If you downloaded the program from an official source, add it to your antivirus's exclusions.
Why do antivirus programs complain about such utilities?
Wi-Fi password extraction programs work with system files where secure data is stored. Antivirus programs often classify them as "potentially dangerous" because similar tools are used by attackers to steal data. However, utilities from trusted developers (such as NirSoft) are safe if downloaded from the official website.
What to do if the password is not displayed?
Sometimes, even after all these steps, the password remains hidden. Let's look at some common causes and solutions:
🔹 Reason 1: Network with authentication 802.1X (corporate)
- Such networks (for example, in offices or universities) use an authentication server, and the password is not stored locally.
- Solution: Request connection details from your IT department or refer to the instructions on your organization's portal.
🔹 Reason 2: The laptop was connected via WPS or Wi-Fi Direct
- If the connection was made via a button
WPSOn the router, the password might not be saved. - Solution: Reconnect to the network by entering the password or find it on the router sticker.
🔹 Reason 3: Group Policy limitations (in Windows 10 Pro)
- In enterprise versions of Windows, an administrator can block access to passwords through Group Policy.
- Solution: Contact your system administrator or try running the command prompt as
SYSTEM(through PsExec).
🔹 Reason 4: The password has been reset on the router
- If the password was changed on the router itself (for example, via the web interface), and the laptop was not connected after that, the old password will remain in the system.
- Solution: Reconnect to the network or reset the password on the router (button
Reset).
1) Has the laptop been connected to the network since the last password change?
2) Are there any restrictions at the group policy level (relevant for work PCs)?
3) Is a non-standard encryption type being used (e.g. WPA3-Enterprise)?-->
How can you protect your Wi-Fi from this type of hack?
If you're worried that someone might be able to find out your network password in the same way, here's 5 tips for protection:
🔒 Use WPA3 instead of WPA2
- New standard WPA3 makes it difficult to extract passwords even with physical access to the device.
- How to enable: go to the router settings (usually
192.168.1.1) and selectWPA3-Personalin the security section.
🔄 Change your password regularly
- Even if someone finds out the password, it will become irrelevant in a month or two.
- Use password generators (for example, in Bitwarden or KeePass) to create complex combinations.
📵 Turn it off WPS
- Protocol WPS It's vulnerable to brute-force attacks. It's best to disable it in your router settings.
👤 Set up a guest network
- For friends and temporary devices, create a separate network with limited access to local resources.
🛡️ Enable filtering by MAC-addresses
- Allow connections only for known devices (although this is not a panacea -
MACcan be faked).
⚠️ Attention: No method provides 100% protection. If an attacker has physical access to your router or a device connected to the network, they can extract the password. The main defense is do not leave devices unattended and use complex passwords.
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 | Pros | Cons | When to use |
|---|---|---|---|
| Windows Settings | ✅ Simple, no commands ✅ No admin rights required |
❌ Doesn't work for corporate networks ❌ May not show password if rights are restricted |
For home networks, if you are an administrator |
| Command line | ✅ Works on guest accounts ✅ Shows passwords for hidden networks |
❌ Requires precise command input ❌ Doesn't work with WPA3-Enterprise |
If the graphical interface does not work |
| Third-party utilities | ✅ Shows all passwords at once ✅ Export to file ✅ Works with WPA3 |
❌ Antiviruses can block ❌ Risk of downloading malware |
For advanced users or bulk password extraction |
💡 Advice: If you often forget your passwords, keep a text file with them in an encrypted storage (for example, KeePass or 1Password). This way, you can quickly find the password you need without having to dig through your system settings.
FAQ: Answers to frequently asked questions
Is it possible to find out the password for a Wi-Fi network that the laptop has never connected to?
No. Windows only saves passwords for networks you've connected to at least once.If the network is new, you will have to:
- Find out the password from the network owner.
- Look at the sticker on the router (if this is a home network and the password has not been changed).
- Connect via WPS (if the function is enabled on the router).
Do these methods work on Windows 11?
Yes, all the methods described (via Parameters, command line and utilities) work in Windows 11The interface may be slightly different, but the logic is the same. For example, in Windows 11 the path to the password will be:
Settings → Network & Internet → Wi-Fi → Manage known networks.
Is it possible to find out the password from an Android phone?
On Android Retrieving the password is more difficult because the system doesn't provide direct access to stored keys. However, there are workarounds:
- If you have root rights, use the utility WiFi Password Viewer.
- On some firmware (for example, MIUI or EMUI) The password can be viewed in the router settings via the app Wi-Fi Analyzer.
- Connect your phone to PC and use ADB to extract the file
wpa_supplicant.conf(technical skills required).
⚠️ On iPhone It is impossible to find out the password without jailbreak.
What should I do if my password is displayed as dots or asterisks?
If in the window Network properties the password is hidden by symbols (••••••••), but the field is active:
- Right-click on the password field.
- Select
Explore the element(in some versions of Windows). - In the window that opens, find the attribute
type="password"and replace it withtype="text". - The password will become visible (until you close the window).
If this method doesn't work, use command line or third-party utilities.
Is it possible to find out the Wi-Fi password in a public place (cafe, airport)?
Technically, yes, if your laptop has connected to this network before. However:
- 🚫 This may be disruptive rules for using the network (in some countries - law).
- 🔒 Public networks are often used portal authentication (entering login/password in the browser), and the Wi-Fi password may be useless.
- ⚠️ The network administrator can track your
MAC-address and block the device.
It is better to ask the staff for the password or use official connection methods (QR codes, SMS confirmation).