Forgot your home Wi-Fi password, or is the sticker on your router worn off or missing? Don't rush to reset your router— Windows 10 There are several ways to retrieve the saved password for a network you've previously connected to. This guide will help even if you don't have physical access to the router or aren't the network administrator.
It is important to understand: the methods work only for networks to which the computer has already connectedIf you've never entered a password on this PC, you'll have to search for it on other devices or reset the router. We'll cover the system's built-in tools (no software installation required) and specialized utilities for advanced users.
All methods have been tested on current builds. Windows 10 (versions 21H2–22H2). If you have Windows 11, most methods will work as well—the differences are minimal. For corporate networks with domain authentication (e.g., in offices), these instructions won't fit - other security protocols are used there.
1. View the password through Network Settings (the easiest way)
This method doesn't require administrator rights and works even on accounts with limited rights. It's suitable for most home networks.
Open the menu Start → Settings (gear) → Network and InternetIn the left column, select Wi-Fi, then in the right window click Managing known networks. This will display a list of all networks this computer has ever connected to.
Find the desired network and click on its name. In the window that opens, click PropertiesScroll down to the section Security parameters - there will be a field there Network security key. By default, the password is hidden with dots, but it can be shown:
- 🔍 Click on the eye (
Show symbols) next to the password field - 📋 Copy or write down the displayed combination
- 🔒 If the field is inactive, it means your account does not have viewing rights (you need the command line method)
⚠️ Attention: In corporate networks (with security type 802.1X) the password field will be empty - certificate authentication is used there, not a static key.
Make sure your computer is connected to the correct network (or has been connected previously)
Make sure you have permission to view network settings.
Close VPN clients (they may block access to settings)
-->
2. Using the command line (universal method)
If the graphical interface does not show the password (for example, due to account restrictions), it will help command lineThis method works 99% of the time and doesn't require any additional software.
Open Command Prompt as Administrator:
Start → type "cmd" → right-click "Command Prompt" → Run as administrator.
Enter two commands one after the other:
netsh wlan show profiles
netsh wlan show profile name="NETWORK_NAME" key=clear
In the first command, you'll see a list of all saved networks. In the second, replace NETWORK_NAME with the name of your Wi-Fi network (case-sensitive!). In the results, look for the line Key content - this is your password.
Example output for the network TP-Link_1234:
...Security parameters
Authentication type: WPA2-Personal
Encryption type: CCMP
Key contents: 12345678QwErTy
...
⚠️ Note: If a blank line is displayed instead of a password, the network is using WPS or enterprise authentication. In this case, the password is stored not on the computer, but on an authentication server (usually in offices).
3. View password via PowerShell (CMD alternative)
PowerShell — a more powerful tool than the standard command line. It allows you to extract passwords with a single command and even export all saved networks to a file.
Launch PowerShell as administrator:
Start → type "powershell" → right-click → Run as administrator.
Enter the command to view the password of a specific network:
(netsh wlan show profile name="NETWORK_NAME" key=clear) | Select-String "Key Contents"
For export all saved passwords in the text file, run:
$profiles = netsh wlan show profiles | Select-String "All user profiles"foreach ($profile in $profiles) {
$name = $profile.ToString().Trim().Split(":")[1].Trim()
netsh wlan show profile name="$name" key=clear | Out-File -Append "C:\WiFi_Passwords.txt"
}
File WiFi_Passwords.txt will appear on the disk C:\ with all networks and passwords. Be careful — do not store such a file in cloud folders (OneDrive, Google Drive) without encryption!
| Method | Admin rights required | Works for all networks | Can be exported |
|---|---|---|---|
| Network parameters | ❌ No | ❌ Current network only | ❌ No |
| Command line | ✅ Yes | ✅ All saved | ❌ No |
| PowerShell | ✅ Yes | ✅ All saved | ✅ Yes (to file) |
| Third-party utilities | ✅ Yes | ✅ All saved | ✅ Yes (different formats) |
4. Third-party password extraction programs
If built-in tools Windows If passwords don't work (for example, due to security policy restrictions), specialized utilities can help. They can extract passwords even from damaged network profiles.
The most popular programs:
- 🛠️ WirelessKeyView (from NirSoft) - free, portable (no installation required), shows all saved passwords in a table with the ability to export to
HTML/CSV - 🔑 WiFi Password Revealer - simple interface, supports Windows 7–11, can copy passwords to the clipboard
- 🖥️ Magical Jelly Bean WiFi Password Revealer - shows besides passwords
SSID, encryption type and signal strength - 🔍 PassFab Wifi Key — a paid utility with advanced features (recovering passwords from damaged profiles)
Example of working with WirelessKeyView:
- Download the program from NirSoft official website (check the file for viruses before running!)
- Unzip the archive and run
WirelessKeyView.exe(admin rights required) - Find the required network in the table - the password will be in the column
Key (Ascii) - To export, click
File → Save All Items
⚠️ Warning: Antivirus programs may block password extraction utilities (false positives for "hacking tools"). Before using, add the program to your antivirus exclusions or temporarily disable protection.
How to distinguish the real WirelessKeyView from a virus?
The official program weighs ~100 KB and has a digital signature. Nir SoferAll files in the archive must be dated within the current year. Download only from nirsoft.net—mirrors often distribute modified versions containing malicious code.
5. Extracting a password from the Windows registry
For advanced users, there is a way to get the password directly from system registry, Where Windows Stores all network profiles. This method is useful if other methods fail due to system file corruption.
Open Registry Editor:
Win + R → enter .regedit → Enter
Follow the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\
There will be folders with long names (these are network adapter IDs). In each folder, find the section Profile, and in it there are subsections with the names of networks (SSID). The password is stored in the parameter KeyMaterial V hexadecimal format.
To convert it into a readable form:
- Copy the value
KeyMaterial - Open PowerShell and enter:
[System.Text.Encoding]::ASCII.GetString((0..31 | ForEach-Object { [byte] (Read-Host "Enter byte $_") }))
- Insert two characters from
KeyMaterial(without spaces), by pressingEnterafter each - After entering all 32 bytes, you will receive the password in plain text.
Example: if KeyMaterial contains 31 32 33 34 35 36 37 38, then the password starts with 12345678.
6. Password recovery via Windows backup
If you have ever created system restore point or backup via Windows Backup, there's a chance you can extract the password from the archive. This method is useful if the current network settings are corrupted.
To do this:
- Connect the disk with the backup copy (or locate the file
wbcatalogin the folderWindowsImageBackup) - Open
Control Panel → Recovery → Open System Restore - Select a restore point to a date when the network was still working.
- After system rollback, check the password through
Network parametersor command line
An alternative method is to manually extract the Wi-Fi profile files from the backup. They are stored in:
C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\
Copy these files to the same folder on the working system, then restart the service WLAN AutoConfig:
net stop wlansvc
net start wlansvc
⚠️ Warning: System Restore may remove recently installed programs and updates. Before restoring, create a new restore point to be on the safe side.
7. What to do if none of the methods worked?
If all the above methods have not yielded results, the reasons may be as follows:
- 🔌 The computer has never connected to this network (check on other devices)
- 🔒 The network uses WPA3-Enterprise or 802.1X (the password is stored on the server, not on the device)
- 🛡️ Corporate security policy blocks access to passwords (usually on office PCs)
- 🗑️ The network profile is corrupted (try deleting the network in
Settings → Wi-Fi → Manage known networksand reconnect)
In such cases, there are three options left:
- View password on another device, which connected to this network (smartphone, tablet, another PC)
- Reset the router to factory settings (button
Reseton the back panel, hold for 10-15 seconds). Attention: After resetting, you will have to configure the router again! - Contact your provider - some operators (for example, Rostelecom, Beeline) link the password to the contract number and can restore it
If the router is rented from a provider (for example, MTS or Megaphone), there is usually a sticker with the factory password on its body (refers to Wi-Fi Password or Network Key). Try connecting with these details.
FAQ: Frequently Asked Questions About Wi-Fi Passwords in Windows 10
Is it possible to find out the password for a Wi-Fi network I've never connected to?
No, Windows Stores only passwords for networks this computer has connected to at least once. If you've never entered a password on this PC, it's impossible to retrieve it. Try viewing it on other devices (phone, tablet) or resetting the router.
Why is there nothing in the command line instead of a password?
This means that the network is using Enterprise authentication (For example, WPA2-Enterprise or 802.1X). In such networks, the password is stored on the server (for example, at your office or university), not on your computer. Check with your network administrator for connection details.
How to protect your passwords from being extracted?
If you administer a computer and want to prevent passwords from being viewed:
- Use accounts without administrator rights - regular users will not be able to run
CMDas administrator - Set up group policy:
gpedit.msc → Computer Configuration → Administrative Templates → Network → Network Connections → Deny access to the properties of the "Wireless Network" component - Encrypt your disk using BitLocker - this will complicate the extraction of data from the registry
Do these methods work on Windows 11?
Yes, all the methods described (via parameters, command line, PowerShell and the registry) work in Windows 11The interface has changed a little (for example, the path to the Wi-Fi settings is now Settings → Network & Internet → Wi-Fi → Manage known networks), but the essence remains the same.
Is it possible to find out the password from your neighbors?
Technically, yes, if their network is poorly secured (for example, using an outdated WEP or weak WPA with a simple password). But:
- 🚫 This is illegally (Article 272 of the Criminal Code of the Russian Federation - unauthorized access to computer information)
- 🔒 Modern routers with
WPA3virtually impossible to hack without physical access - 🛡️ Providers monitor suspicious activity and may block the device's MAC address
It is better to come to an agreement with your neighbors or use legal methods (for example, public networks).