Forgot your home or office Wi-Fi password, but your computer is connected to the network? Windows 10 There are several ways to retrieve your saved security key—without resetting your router or calling your ISP. These instructions will help you restore network access on new devices if the original password is lost or never written down.
Unlike macOS or Android, where viewing passwords often requires administrator rights or special applications, Windows 10 stores all Wi-Fi keys in encrypted form. — and they can be decrypted using standard tools. We'll cover methods of varying complexity: from the simple "Parameters" interface to the command line and third-party utilities. Important: all actions require administrator rights on the target PC.
If you're looking for a way to snoop on someone else's computer, be warned: this is a security breach. information lawThis article is intended only for restoring access to your own networks.
Method 1: Via Windows Settings (the easiest)
This method doesn't require any commands or software installation. It's suitable if you want to quickly find the password for your current or previously connected network.
⚠️ Note: If your Windows account is not an administrator, the system will not display the password field. In this case, use command line method on behalf of the administrator.
Steps:
- 🖱️ Open the menu
Start → Settings (gear) → 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
Security parametersand check the boxShow entered characters.
The password will be displayed in the field. Network security key. If the button Display characters inactive - you do not have administrator rights.
☑️ What to check before viewing a password
Method 2: via command line (CMD)
If the GUI does not show the password (for example, due to security policy restrictions), use console commandsThis method works for all saved networks, even if you're not currently connected to them.
Instructions:
- 🔍 Click
Win + R, entercmdand run as administrator (right click →Run as administrator). - 📋 Enter the command to view all saved networks:
netsh wlan show profilesRemember the exact name of the network you need (case is important!).
- 🔐 Display the password with the command (replace
NETWORK_NAMEto real):netsh wlan show profile name="NETWORK_NAME" key=clear
The password you are looking for will be in the line Key content section Security parametersIf asterisks (*) - repeat the command with administrator rights.
What to do if the command doesn't work?
If netsh gives the error "Failed to execute command", check:
- Correctness of the network name (note spaces and case).
- Have administrator rights (run CMD through Win + X → Command Prompt (Administrator)).
- Integrity of system files (run sfc /scannow in the same console).
Method 3: using WirelessKeyView (for advanced)
If standard methods don't work, use a free utility WirelessKeyView from NirSoftShe shows all saved Wi-Fi passwords in the system, including hidden networks, and exports them to a file.
Advantages of the utility:
- 🔓 Works without administrator rights (but will show less data).
- 📄 Exports passwords to
TXT/HTML/XML. - 🌐 Supports networks with Cyrillic names.
How to use:
- Download WirelessKeyView from the developer's website (take it
ZIP-version to avoid installing software). - Unzip the archive and run
WirelessKeyView.exe. - Find the desired network in the list - the password will be in the column
Key (Ascii).
⚠️ Warning: Antivirus software may block WirelessKeyView as "potentially unwanted software." This is a false positive—the utility doesn't contain any viruses, but it can be used for unauthorized access. Add it to your antivirus exceptions.
Table: Comparison of Wi-Fi Password Extraction Methods
| Method | Admin rights required | Shows all networks | Complexity | Compatible with Windows 10 Pro/Enterprise |
|---|---|---|---|---|
| Windows Settings | ✅ Yes | ❌ Only current/selected | ⭐ It's very simple | ✅ Yes |
Command line (netsh) |
✅ Yes | ✅ All saved | ⭐⭐ Average | ✅ Yes |
| WirelessKeyView | ❌ No (but will show less data) | ✅ All + hidden | ⭐⭐⭐ Advanced | ✅ Yes (may be blocked by politicians) |
| Registry Editor | ✅ Yes | ✅ All (encrypted) | ⭐⭐⭐⭐ Difficult | ⚠️ Partially (depending on encryption) |
What to do if the password is not displayed?
Sometimes, even with administrator rights, the system won't display the password. Common causes and solutions:
- 🔒 Domain Security Policies: In corporate networks (for example, with Active Directory) Passwords may be hidden by Group Policy. Solution: Contact your system administrator.
- 🛡️ Router-level encryption: If the network uses
WPA3-EnterpriseThe password is stored as a certificate, not a text string. In this case, only a router reset will help. - 🖥️ Corruption of system files: Run the integrity check with the command:
sfc /scannowand restart your PC.
If none of the methods worked, and you still have access to the router, reset it to factory settings (button Reset for 10 seconds) and set up the network again. The default password is located on the device's sticker.
Security: How to protect your passwords from prying eyes
If you're worried someone might be extracting your Wi-Fi passwords from your PC, take action:
- 🔐 Disable automatic connection to public networks: in "Wi-Fi Settings" uncheck the box
Connect automatically. - 👤 Use a standard account for everyday work, not administrative work.
- 🛡️ Encrypt your disk by using BitLocker (available in Windows 10 Pro/Enterprise). This will protect your data even if the hard drive is removed.
- 🚫 Block software installation via Group Policy (
gpedit.msc→User Configuration → Administrative Templates → Windows Components → Windows Installer).
Remember: Wi-Fi passwords in Windows 10 are stored encrypted, but are not protected from users with administrator rights.If your PC is used by multiple people, set up separate accounts with limited rights.
Common mistakes and how to avoid them
When trying to extract a password, users often encounter typical problems:
- Error "Failed to execute command" in
netsh:
Reason: Typo in network name or lack of permissions. Solution: Copy the network name from the output of the first command (netsh wlan show profiles) and paste the second command with quotes. - Empty "Security Key" field in "Settings":
Reason: The network is connected via WPS (button on the router), not by password. Solution: Reconnect, entering the password manually. - WirelessKeyView shows empty cells:
Reason: The utility was run without administrator rights or the network is usingWPA3Solution: Trynetshor check your router settings.
FAQ: Answers to frequently asked questions
Is it possible to find out the Wi-Fi password without administrator rights?
Partially. Utility WirelessKeyView will show some networks, but not all (depending on encryption). Standard methods (netsh, "Settings") require administrator rights. In corporate networks, access to passwords is often blocked by group policy.
Why are there asterisks () instead of a password in the command line?*)?
This means the command was executed without administrator rights. Run CMD as admin: click Win + X → Command Prompt (Administrator) and repeat the command. If the asterisks remain, the network is using non-standard encryption (for example, WPA3-Enterprise).
How to view Wi-Fi password on Windows 11?
IN Windows 11 the process is identical:
- Open
Settings → Network & Internet → Wi-Fi → Manage known networks. - Select a network →
Properties→View security key.
Teams netsh and utility WirelessKeyView They work too.
Is it possible to extract a Wi-Fi password from someone else's computer remotely?
Technically possible, but illegallyThis requires:
- Installation of special software (for example, TeamViewer + WirelessKeyView).
- Administrator rights on the target PC.
- Bypassing antivirus and firewall.
Such actions are classified as unauthorized access (Article 272 of the Criminal Code of the Russian Federation).
Where are Wi-Fi passwords stored in the Windows registry?
Passwords are stored in the branch:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\
But they are encrypted using Windows Data Protection API (DPAPI)To decrypt, specialized tools are needed (for example, Mimikatz), which is not practical for the average user. It's better to use netsh.