Forgot your home Wi-Fi password, and the sticker on your router has worn off? Or need to connect a new gadget but can't be bothered to find the piece of paper with the code? There are at least 5 ways to view a saved wireless network password on Windows 10. — and most of them don't require administrator rights. In this article, we'll cover all the methods: from standard system tools to third-party utilities that will help even if you don't own a PC.
It is important to understand: Windows 10 stores passwords for all previously connected networks. in encrypted form. But they can be retrieved—the main thing is to know where to look. If you've ever connected to this network from your current computer, its data remains in the system. But if the network isn't listed as connected, you'll have to look for the password on your router or from your ISP.
We've deliberately arranged the methods from easiest to most complex. Start with the first section—you might not even need the command line or any additional software. But if you're an office network administrator and need to export passwords in bulk, check out the last section for specialized utilities.
Method 1: Via Windows Settings (without the command line)
This is the most obvious and safe method that works on all versions. Windows 10 (including 22H2). This is suitable if you have administrator rights or are the only user on the PC. The main advantage is that you don't need to remember commands or download programs.
Instructions:
- Open the menu
Startand selectParameters(gear icon). - Go to the section
Network and Internet. - In the left menu, click on
Wi-Fi, then click on the rightManaging known networks. - Find the required network in the list and click on it.
- Click the button
Properties. - Scroll down to the block
Network parametersand click onShow password.
Done! The password will be displayed in the field. Network security key. If the button Show password Inactive means your account doesn't have administrator rights. In this case, proceed to the next method.
Make sure your PC is connected to the correct Wi-Fi network|Check your administrator rights (if the button is grayed out)|Update your Wi-Fi adapter drivers (if the network is not listed)
-->
Method 2: Command line (works without admin rights)
If the first method didn't work, try extracting the password via CMDThis method is universal - it will reveal passwords all saved networks, even those you haven't connected to in a while. Suitable for Windows 10 any assembly, including LTSC.
Open command prompt:
- Click
Win + R, entercmdand pressEnter. - Enter the command to view all saved networks:
netsh wlan show profiles - Find the desired network in the list and copy its name (for example,
TP-Link_5G). - Enter the command to extract the password (replace
NETWORK_NAMEto the real name):netsh wlan show profile name="NETWORK_NAME" key=clear
In the command results, find the line Key content — this is your password. If you see asterisks or a blank field instead of a password, the network is saved without a key (for example, it's an open access point).
What to do if the command doesn't work?
If you see the error "Failed to execute command" after entering the command, check:
1. The network name is correct (case is important!).
2. If there are spaces in the name, they must be enclosed in quotation marks.
3. Connect to the network at least once in the past (if the network is not in the profiles, the password cannot be extracted).
⚠️ Warning: This method reveals passwords only for networks to which the current user has connectedIf the network was configured by another account on this PC, its profile may not appear in your list.
Method 3: PowerShell (an alternative to CMD for advanced users)
PowerShell — a more powerful tool than the standard command line. It not only lets you view passwords but also export all saved networks to a file. This method is useful for system administrators or those managing multiple devices.
To find out the password through PowerShell:
- Click
Win + Xand selectWindows PowerShell (Administrator). - Enter the command to display all Wi-Fi profiles:
netsh wlan show profiles | Select-String "Name of all user profiles" - Copy the name of the required network and run:
(netsh wlan show profile name="NETWORK_NAME" key=clear) | Select-String "Key Contents"
The output will be similar to the command line, but with more convenient formatting. For bulk password export, use this script:
$profiles = netsh wlan show profiles | Select-String "Name of all user profiles"$results = @()
foreach ($profile in $profiles) {
$name = $profile.ToString().Trim().Split(":")[1].Trim()
$password = (netsh wlan show profile name="$name" key=clear) | Select-String "Key content"
$results += "Network: $name | Password: $($password.ToString().Split(":")[1].Trim())"
}
$results | Out-File -FilePath "C:\WiFi_Passwords.txt"
After executing the script, the passwords will be saved to a file. WiFi_Passwords.txt on disk C:.
Command Prompt (CMD)|PowerShell|Windows Graphical Interface|Third-party programs
-->
Method 4: Third-party programs (for bulk password extraction)
If you need save passwords from all networks or work with them regularly (for example, in the office), it's more convenient to use specialized utilities. They not only display passwords, but also allow you to export them to CSV/TXT, print or copy to clipboard.
Top 3 proven programs:
- 🔹 WirelessKeyView (from NirSoft) is free, portable (no installation required), and displays passwords in a table with the ability to sort by connection date.
- 🔹 WiFi Password Revealer - simple interface, supports export to
HTML, works on Windows 7-11. - 🔹 Magical Jelly Bean WiFi Password Revealer - shows besides passwords
SSID, encryption type and date of first connection.
How to use WirelessKeyView:
- Download the program from NirSoft official website (checked for viruses).
- Unzip and run the file
WirelessKeyView.exe(admin rights are not required). - In the main window, you will see a list of all saved networks with speakers:
Network Name (SSID),Key (Ascii)(this is the password),Key Type. - To copy the password, right-click on the line and select
Copy Key.
⚠️ Attention: Antivirus programs may block utilities from NirSoft as "potentially dangerous." This is a false positive—the programs don't contain viruses, but they access system data. Add them to your antivirus exclusions before using them.
WirelessKeyView.exe /stext C:\WiFi_Passwords.txt
-->
Method 5: Via the Windows Registry (for advanced users)
All Wi-Fi network passwords are stored in the registry Windows in encrypted form. They can be extracted manually, but this method requires administrator rights and be careful - incorrect actions in the registry can disrupt the system's operation.
Instructions:
- Click
Win + R, enterregeditand confirm the launch. - Follow the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\ - In the folder
Interfacesfind subfolders with long names (this isGUIDadapters). Open them one by one. - In each folder, look for the parameter
Profile- It contains network data in binary format. - Right click on
Profile→Exportand save the file to your desktop. - Open the exported file in Notepad and find the line
keyMaterial- after it there will be an encrypted password.
To decrypt the password, use online services like CyberChef (mode From Hex) or scripts on PythonHowever, this method is more complicated than the previous ones and is only justified in rare cases—for example, if other methods fail due to damaged system files.
| Method | Do you need admin rights? | Shows all networks? | Complexity |
|---|---|---|---|
| Windows Settings | Yes | Current network only | ⭐ |
| Command line | No | All saved | ⭐⭐ |
| PowerShell | No (but needed for export) | All saved | ⭐⭐⭐ |
| Third-party programs | No | All saved | ⭐ |
| Windows Registry | Yes | All saved | ⭐⭐⭐⭐ |
What to do if none of the methods work?
If you've tried all the methods but still can't find your password, there may be a few possible reasons:
- 🔌 The network has never connected to this PC. — Windows does not save passwords for networks to which there have been no connections.
- 🔒 The network profile is corrupted. - this happens after resetting network settings or updating Windows.
- 👤 The password is saved under another user. — If the network was configured by another account on this computer, its profile may be unavailable.
- 🛡️ Antivirus is blocking access - some programs (for example, Kaspersky) encrypt network settings.
Solutions:
- Check your router: Usually the password is indicated on the sticker on the back of the device (field
Wi-Fi PasswordorKey). - Reset your router settings: press the button
Resetfor 10 seconds - the network will return to factory settings (the password will be the same as on the sticker). - Connect to the router via cable and go to the web interface (usually at
192.168.0.1or192.168.1.1). You can find the Wi-Fi password in the sectionWirelessorWi-Fi Settings.
⚠️ Warning: If you reset your router, all connected devices will be disconnected from the network, and you'll have to reconfigure your internet connection (enter your ISP details). This method should only be used as a last resort.
FAQ: Answers to frequently asked questions
Is it possible to find out the password for a Wi-Fi network I haven't connected to?
No. Windows only saves passwords for networks that the current user has connected to at least once. If the network isn't on the list netsh wlan show profiles, it's impossible to extract its password from this PC. Try finding the password on another device that has connected to this network, or look it up on the router.
Why are there asterisks or an empty field instead of a password in the command line?
This means the network is saved without a password (an open access point) or the password is stored in encrypted form, inaccessible to the current user. Try running the command prompt as administrator. If that doesn't help, use third-party utilities like WirelessKeyView.
Is it possible to find out the Wi-Fi password on someone else's computer without administrator rights?
Yes, but only if you know the login/password of the account that connected to this network. Use command line (method 2) or WirelessKeyView - they do not require administrator rights to view already saved passwordsHowever, exporting or changing network settings without administrator rights will not be possible.
How can you protect your Wi-Fi passwords so they can't be easily extracted?
If you are concerned about security:
- Use WPA3 instead of WPA2 (configure in the router).
- Disable the feature
WPSon the router - it is vulnerable to brute force attacks. - Change your Wi-Fi password regularly (every 3-6 months).
- Set up
MAC filteringin the router so that only authorized devices can connect.
However, even these measures won't protect the password from being retrieved on a device that has already connected to the network. Only physical control of the devices will ensure complete security.
Do these methods work on Windows 11?
Yes, all the described methods (except the registry path) work on Windows 11The network settings interface has changed slightly, but the essence remains the same:
- Open
Settings → Network and Internet → Wi-Fi. - Click
Managing known networksand select the desired one. - Click
View network propertiesand pressShownext to the password field.
Teams netsh And PowerShell work without changes.