Forgot your home Wi-Fi password, and the sticker on your router has worn off? Or need to connect a new device, but the password isn't saved on your phone? Windows 10 There are several ways to extract a saved wireless network password—both through standard system tools and third-party utilities. The main requirement is that your computer must be already connected to this network (or was connected to it earlier).
In this article we will look at all the current methods - from viewing the password in Windows settings before use command line and specialized programs. We will also explain why some methods may not work (for example, if the network was configured via WPS or the password is encrypted according to the standard WPA3-EnterpriseFor your convenience, we've compiled a comparison table of methods by complexity and reliability—it will help you choose the best option.
⚠️ Important: Extracting passwords from other people's devices without the owner's consent is illegal (Article 272 of the Russian Criminal Code on unauthorized access to computer information). All instructions below are intended only to restore access to your network.
1. The easiest way: via Windows Settings
If your computer is connected to Wi-Fi right now, the fastest method is to use the graphical interface Windows 10This method does not require administrator rights and works even on accounts with limited rights.
Instructions:
- 🖱️ Open
Start → Settings (gear icon) → Network and Internet. - 📡 Go to the tab
Wi-Fiand pressManaging known networks. - 🔍 Select the desired network from the list and click
Properties. - 🔑 Scroll down to the section
Network password— there will be a hidden line. ClickShow(you will be asked to enter your Windows account password).
⚠️ Attention: If the button Show is inactive, then your account does not have permission to view passwords. Try logging in as an administrator or use alternative methods.
☑️ What to do if the "Show" button doesn't work
2. Universal method: Command line (CMD)
The command line allows you to extract the password from any saved network, even if the computer is not currently connected to it. The method works on all versions Windows 10 (including 22H2) and does not require installation of additional software.
Step-by-step instructions:
- Launch
Command lineas administrator (clickWin + Xand select the appropriate item). - Enter the command to view all saved networks:
netsh wlan show profilesIn the list, find the name of the desired network (for example,
TP-Link_1234). - Print the network data by replacing
[NETWORK_NAME]to the real name:netsh wlan show profile name="[NETWORK_NAME]" key=clear - Find the line in the results
Key content- this is the password.
If the command results do not contain the line "Key Contents", then the password is not saved in the system (for example, the connection was via WPS or guest access).
What to do if the command prompt returns an "Access Denied" error
Run CMD as administrator (required!). To do this, right-click the Start icon → Command Prompt (Administrator).
3. CMD Alternative: PowerShell
PowerShell — a more powerful tool than the classic command line. It allows you to extract a password with a single command, without intermediate steps. This method is useful if you need to quickly copy a password to the clipboard.
Instructions:
- 🔧 Launch
PowerShellas administrator (Win + X → Windows PowerShell (Administrator)). - 📋 Insert the command (replace
[NETWORK_NAME]):(netsh wlan show profile name="[NETWORK_NAME]" key=clear) | Select-String "Key Contents" - 📝 The password will be displayed in the line
Key Content.
💡 PowerShell Advantage: The command can be inserted into a script to automatically extract passwords from all networks. For example:
$profiles = netsh wlan show profiles | Select-String "All user profiles"foreach ($profile in $profiles) {
$name = $profile -replace ":.*", "").Trim()
netsh wlan show profile name="$name" key=clear | Select-String "Key Contents"
}
4. View the password through the Network and Sharing Center (old method)
IN Windows 10 before version 1809 there was an alternative way through Control PanelIt still works, but requires more work. It's suitable if new methods are unavailable for some reason.
How to do it:
- Open
Control Panel → Network and Internet → Network and Sharing Center. - Click on the name of your network (next to
Connections). - In the new window, click
Wireless Network Properties → Security. - Check the box
Show entered characters— the password will become visible.
⚠️ Attention: In the latest builds Windows 10 (starting from 20H2) this path may redirect to ParametersIf it doesn't work, use command line.
5. Third-party password extraction programs
If standard methods fail (for example, due to damaged system files), you can use specialized utilities. These are useful for saving passwords for all networks to a file or transferring them to another computer.
Top 3 proven programs:
| Program | Pros | Cons | Link (official) |
|---|---|---|---|
| WirelessKeyView (NirSoft) | Portable, no installation required, shows all saved passwords | The interface is in English, which may trigger antivirus software (false positive). | nirsoft.net |
| WiFi Password Revealer | Simple interface, export passwords to TXT/CSV | Paid version for advanced features | magicaljellybean.com |
| NetPass | Shows passwords for Wi-Fi, VPN, email, and browsers | Complex interface, possible conflicts with antivirus software | nirsoft.net |
🔐 Safety: Download programs only from official developer websites! Many "cracked" versions of utilities contain malicious code. After using them, we recommend scanning your system with an antivirus (e.g., Kaspersky Virus Removal Tool).
6. If nothing works: reset the router settings
In rare cases, the password may not be saved in the system (for example, if the connection was configured via WPS or the network uses 802.1X-authentication). Then the only solution is to reset the router to factory settings.
How to do it:
- 🔄 Find the button on your router
Reset(usually recessed into the body). - 📍 Hold it for 10-15 seconds (until the indicators blink).
- 🔑 After the reset, the network name and password will become default (indicated on the router sticker).
⚠️ Attention: Reset will delete all settings router, including:
- 🌐 Settings PPPoE (login/password from the provider)
- 📡 Customized guest networks And parental control
- 🔄 Rules port forwarding (for cameras, torrents, etc.)
Before reset Be sure to save the router configuration to a file (via the web interface, section System Tools → Backup & Restore).
Comparison of methods: which one to choose?
To make it easier for you to navigate, we've compiled a table with the pros and cons of each method:
| Method | Complexity | Admin rights required | Works without a network connection | Suitable for all networks |
|---|---|---|---|---|
| Windows Settings | ⭐ (simple) | ❌ No | ❌ No | ✅ Yes |
| Command Prompt (CMD) | ⭐⭐ (average) | ✅ Yes | ✅ Yes | ✅ Yes |
| PowerShell | ⭐⭐ (average) | ✅ Yes | ✅ Yes | ✅ Yes |
| Network and Sharing Center | ⭐ (simple) | ❌ No | ❌ No | ❌ No (obsolete method) |
| Third-party programs | ⭐⭐⭐ (difficult) | ✅ Yes | ✅ Yes | ✅ Yes |
| Resetting the router | ⭐⭐⭐⭐ (very difficult) | ❌ No | ✅ Yes | ✅ Yes (but all settings will be reset) |
🔍 Recommendation: Start with the simplest method (Windows Settings). If it doesn't work, move on to command line or PowerShellUse third-party programs only as a last resort.
FAQ: Frequently Asked Questions
❓ Is it possible to find out the password for a Wi-Fi network the computer has never connected to?
No. Windows 10 Stores passwords only for networks it has connected to at least once. If the computer has never connected to the network, it's impossible to retrieve the password using standard tools. In this case, the following remains:
- 🔍 Look at the password on the router sticker (if it hasn't been changed).
- 📱 Try to extract the password from another device (phone, tablet).
- 🔄 Reset the router to factory settings (the password will become default).
❓ Why isn't the "Key Contents" line displayed in the command line?
This happens in three cases:
- 🔐 The password is not saved in the system (for example, the connection was made through WPS or guest access).
- 🛡️ The network uses WPA3-Enterprise or 802.1X (corporate authentication).
- 🐛 System files are damaged (try running
sfc /scannowin CMD).
❓ How do I save all Wi-Fi passwords to a file?
By using PowerShell You can export passwords to a text file. Run PowerShell as administrator and run:
$profiles = netsh wlan show profiles | Select-String "All user profiles"$output = @()
foreach ($profile in $profiles) {
$name = ($profile -replace ":.*", "").Trim()
$password = (netsh wlan show profile name="$name" key=clear | Select-String "Key content").Line.Split(":")[1].Trim()
$output += "$name : $password"
}
$output | Out-File -FilePath "C:\WiFi_Passwords.txt" -Encoding UTF8
File WiFi_Passwords.txt will appear on the disk C:.
❓ 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=
❓ Is it legal to use password extraction programs?
Yes, if:
- ✅ You restore access to his own networks.
- ✅ The program was downloaded from official website developer.
- ✅ You do not distribute extracted passwords to third parties.
No, if:
- ❌ You are trying to access stranger networks without permission.
- ❌ You use "cracked" versions of programs (risk of viruses!).