Forgot your home Wi-Fi password, and the sticker on your router has worn off? Or need to connect a new device but don't have time to access the router's settings? Windows 10 there is at least 4 ways Retrieve the saved password for any wireless network—even if you haven't connected to it in a while. Most methods work. without administrator rights and do not require installation of additional programs.
It is important to understand that the system stores passwords only for those networks to which connected at least onceIf you have never entered a security key for a particular SSID (network name), then it won't be possible to extract it. Also keep in mind that some corporate networks use dynamic passwords (for example, through 802.1X or WPA-Enterprise) - they cannot be recognized by standard methods.
In this article you will find:
- 🔍 The fastest way via graphical interface (3 clicks).
- 💻 Universal method using the command line (
netsh). - 📜 How to export all passwords Wi-Fi to text file in one command.
- 🛠️ Third-party utilities for advanced users (including recovering passwords from other people's networks).
- ⚠️ What to do if the password is not displayed (common mistakes and solutions).
All instructions are tested on Windows 10 versions 1909–22H2 and are relevant for most laptops (HP, Lenovo, Asus, Dell) and PC. On Windows 11 The algorithm is similar, but with minor changes in the interface.
1. View your password through Windows Settings (without commands)
This is the easiest method that doesn't require knowledge of commands or administrator rights. It's suitable if you currently connected to the desired network or have connected to it previously.
Instructions:
- Open
Start → Settings (⚙️) → Network & Internet. - Go to the tab
Wi-Fiand clickManaging known networks. - Find the required network in the list and click on it.
- Select
Properties(orAdditional optionsin older versions of Windows). - Scroll down to the block
Security parametersand check the boxShow entered characters.
Done! The password will be displayed in the field. Network security key. If the buttons Show entered characters No - it means your account does not have sufficient rights (see section on administrator rights).
☑️ What to check if your password isn't displayed
⚠️ Attention: In some builds Windows 10 LTSC or corporate versions, this section may be blocked by security policies. In this case, use command line method.
2. Find out the password via the command line (netsh)
If the graphical interface does not show the password (or you prefer to work through the console), use the utility netshThis method works. for all saved networks, even if you are not connected to them right now.
Open command line (Win + R → cmd → Enter) and perform in order:
netsh wlan show profiles
This command will list all saved SSIDRemember or copy the name of the desired network (case is important!).
netsh wlan show profile name="NAZVANIE_SETI" key=clear
Replace NAZVANIE_SETI to the real network name (for example, netsh wlan show profile name="TP-Link_5G" key=clear).
In the execution results, find the block Security parameters - there will be a line Key contentThis is your password.
Example command output for the "MyWiFi" network
Key content: 12345678
Authentication type: WPA2-Personal
Radio module type: 802.11n
| Team | Description | Example |
|---|---|---|
netsh wlan show profiles |
Shows all saved networks | User profiles: TP-Link_5G, DIRECT-xx-BRAVIA, Starbucks_WiFi |
netsh wlan show profile name="..." key=clear |
Displays network details including password | netsh wlan show profile name="TP-Link_5G" key=clear |
netsh wlan export profile name="..." folder="C:\" |
Exports network settings to a file | netsh wlan export profile name="MyWiFi" folder="C:\WiFi_backup" |
⚠️ Attention: If you see a blank line or message instead of a password The key is missing, this means that the network is using open authentication (without a password) or a dynamic key (for example, in hotels/airports). In this case, it is impossible to extract the password using standard tools.
3. Export all Wi-Fi passwords to a text file
If you need to save all passwords from wireless networks (for example, for backup), run one command:
for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -v -i "BSSID" | findstr -v -i "All user profiles" & for /f "skip=4 tokens=2 delims=:" %k in ('netsh wlan show profile "%j" key^=clear ^| find "Key contents"') do @echo Network: %j ^& echo Password: %k & echo.
This command:
- 🔄 Iterates through all saved networks.
- 🔍 Searches for a string
Key contentin detail of each network. - 📄 Displays the network name (SSID) and her password in the console.
To save the results to a file, add to the end of the command > C:\wi-fi_passwords.txtThe file will appear on the disk. C:.
4. Third-party programs for viewing Wi-Fi passwords
If standard methods fail (for example, due to corporate policy restrictions), you can use specialized utilities. They not only reveal passwords but also allow you to:
- 🔐 Recover keys from other people's networks (if they ever connected to your PC).
- 📊 Export data to
CSV/XML. - 🔄 Manage connection priorities.
Top 3 proven programs:
| Program | Peculiarities | Link (official) |
|---|---|---|
| WirelessKeyView (NirSoft) | Portable, no installation required, shows passwords in in open form | nirsoft.net/utils/wireless_key.html |
| WiFi Password Revealer | Simple interface, export to TXT, works on Windows 7–11 |
magicaljellybean.com/wifi-password-revealer/ |
| NetSpot | In addition to passwords, it analyzes Wi-Fi signal and builds heat maps | netspotapp.com |
Example of working with WirelessKeyView:
- Download the archive from the official website and unzip it.
- Run the file
WirelessKeyView.exe(admin rights are not required). - The program will immediately display all saved networks and their passwords in the column
Key (Ascii). - To copy the password, right-click on the line and select
Copy Key.
⚠️ Attention: Download programs only from official websitesMany "hacked" versions of password viewing utilities contain malware or keyloggersPlease check the file before using it. VirusTotal.
5. What to do if you don’t have administrator rights?
If you see an error when trying to view your password Access denied or the password field is empty, which means:
- 👤 Your account does not have administrator rights.
- 🔒 On PC they work corporate security policies (for example, in office networks).
- 🛡️ Antivirus or Windows Defender blocks access to system files.
Solutions:
- Temporarily obtaining administrator rights:
- Ask your PC administrator to enter the password for your account.
- Use
Run as administrator(right click oncmd→Additionally).
Boot from LiveCD Linux (For example, Ubuntu) or Windows PEIn the temporary OS, you can access the Wi-Fi configuration files at this path:
C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{GUID}
Look for files with the extension .xml — they store SSID and encrypted passwords. To decrypt, use the utility Mimikatz (requires skills).
If none of the methods worked, there remains reset the router settings to the factory settings. To do this:
- Find the button
Reseton the back panel of the router (usually recessed into the case). - Press and hold it
10-15 seconds(until the indicators blink). - Connect to the network with the factory name (indicated on the router sticker) and use the default password (for example,
adminor12345678).
6. Common mistakes and their solutions
If the password is not displayed or the command returns an error, check these points:
| Error | Cause | Solution |
|---|---|---|
Failed to execute netsh command |
Service WLAN AutoConfig disabled | Start the service: sc config Wlansvc start= auto, then net start Wlansvc |
Field Security key empty |
The network uses WPA-Enterprise or 802.1X | The password is stored on the authentication server (check with your network administrator) |
The system cannot find the file specified. |
The network profile is corrupted or deleted. | Remove the network in Settings → Wi-Fi → Manage known networks and reconnect |
Access denied |
Insufficient rights or antivirus blocking access | Launch cmd Run as administrator or temporarily disable your antivirus software. |
If you connected to the network via WPS (button on the router), the password might not have been saved in the system. In this case:
- 🔄 Reconnect to the network by entering the password manually.
- 📋 Check the sticker on your router - sometimes the password is indicated in the field
Wi-Fi KeyorNetwork Key.
⚠️ Attention: IN Windows 10 S Mode (Limited version for schools) Access to the command line and viewing passwords may be restricted. To remove restrictions, go toSettings → Update & Security → Activationand pressSwitch from S mode.
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 10 only stores passwords for networks that you've connected to at least once.If you have never entered a security key for a particular SSID, it is impossible to extract it using standard methods. The exception is the use of specialized utilities such as Aircrack-ng, but they require skills and only work under certain conditions (for example, if the router is vulnerable to attack WPS Pixie Dust).
How to find out the Wi-Fi password on Windows 10 without administrator rights?
Methods without admin rights:
- Use the graphical interface (
Settings → Wi-Fi → Manage known networks). - Launch WirelessKeyView - She often works without elevated rights.
- Export network profiles to
XMLthroughnetsh wlan export profileand look for the line<keyMaterial>in the file.
If nothing helps, try bypass methods (for example, LiveCD).
Where is the Wi-Fi password stored in the Windows registry?
Passwords are stored in encrypted form in the registry branch:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\{GUID}\Profiles
However, it's impossible to extract them from there in readable form without decoding. This requires:
- Encryption keys from
C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys. - Utilities like Mimikatz or scripts on PowerShell.
For most users it is easier to use netsh or WirelessKeyView.
Is it possible to find out the Wi-Fi password through the Device Manager?
No, device Manager (devmgmt.msc) displays only hardware information Network adapters (model, driver, status) are stored, but the service does not store connection or password information. To view security keys, use the methods described in this article.
Why did my Wi-Fi passwords reset after updating Windows 10?
This happens in two cases:
- Major system update (for example, with
1909to22H2) sometimes resets network settings. In this case, passwords are stored in a backup copy at the following path:C:\Windows.old\ProgramData\Microsoft\Wlansvc\ProfilesThey can be restored manually or using WirelessKeyView.
- Network reset in Windows settings (
Settings → Network & Internet → Status → Network reset). This function completely deletes all saved Wi-Fi and VPN profiles.
To avoid losing your passwords, regularly export them to a file (see section on export).
If your question is not covered in the FAQ, check official Microsoft documentation for wireless network management or contact your support Internet provider — sometimes the Wi-Fi password is listed in your personal account on their website.