Forgot your home Wi-Fi password, and the data label on your router has long since worn off? Or do you need to connect a new device, but are too lazy to look for the piece of paper with the code? On a computer running Windows 10 All connected networks are stored in the system, along with their passwords. They can be accessed in several ways: through the standard settings, command line or even using third-party programs.
In this article we will look at All current methods for viewing Wi-Fi passwords on a Windows 10 PC, including hidden system features and alternative solutions for complex situations. You'll learn what to do if you don't have administrator rights, how to export all saved passwords at once, and what to do if a network isn't showing up in the connection list. You'll also learn important security nuances that are often overlooked.
Let's be clear: if you're trying to hack someone else's network, it's illegal. All instructions below are for exclusively for use with your own networks, which you already have access to. Now let's get started!
Method 1: View your password through Windows Settings (the easiest way)
This is a basic method that works on all versions. Windows 10 No additional software required. Suitable if you're currently connected to the internet or have previously connected.
Instructions:
- 🖱️ Open the menu
Startand selectParameters(gear icon). - 🌐 Go to the section
Network and Internet→Wi-Fi. - 📋 Scroll down and click
Managing known networks. - 🔍 Find the desired network in the list and click on it, then select
Properties. - 🔑 In the field
Network security keyThe password will be displayed, but it will be hidden by dots. To see it, check the box.Show entered characters.
If the button Properties is inactive or there are no networks in the list, then your computer has never connected to this network using a saved method. In this case, try next method.
⚠️ Note: If you're using a corporate or public network (such as an office or cafe), your password may be updated automatically. In this case, the key displayed may be out of date.
Method 2: Command line - a universal method for all networks
This method is suitable if:
- 🔧 You need to know the password for the network you are connecting to previously connected, but are not connected now.
- 🛡️ You don't have administrator rights (although some commands may require elevated privileges).
- 📡 Do you want to export? all saved passwords straightaway.
Open command line as administrator:
- Click
Win + Xand selectCommand Prompt (Administrator)orWindows PowerShell (Administrator). - Enter the command to view all saved networks:
netsh wlan show profilesOn the list
User profilesFind the name of the network you need. - To see the password, run:
netsh wlan show profile name="NETWORK_NAME" key=clearReplace
NETWORK_NAMEto the real name (for example,netsh wlan show profile name="TP-Link_5G" key=clear). - In the block
Security parametersfind the lineKey content- this is the password.
If you need to save all passwords to a file, use the command:
for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -v -i "echo" | netsh wlan show profile name="%j" key=clear | findstr "Key Contents" >> WiFi_passwords.txt
File WiFi_passwords.txt will appear in the folder from which you launched the command line.
The network name is specified correctly (case-sensitive!)|The command prompt was run as administrator|The network has previously connected to this PC|Antivirus software is not blocking command execution-->
⚠️ Note: In some Windows 10 builds (especially enterprise builds), access to passwords via the command line may be restricted by security policies. If the command returns an error Access denied, try the method with by browsing through the registry.
Method 3: View the password in the Windows registry (for advanced users)
This method is suitable if:
- 🔐 The command line does not show the password (for example, due to policy restrictions).
- 📁 You need to find the password for a network that hasn't been used for a long time but is saved in the system.
- 🛠️ You are ready to work with the registry (be careful - incorrect actions can disrupt the system!).
Instructions:
- Click
Win + R, enterregeditand pressEnter. - Follow the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\There will be folders with long names (these are network interface identifiers).
- Open each folder and look for the parameter
ProfileName- its value is the network name. - When you find the network you need, there will be a parameter in the same folder
Profile(typeREG_BINARY). Double click on it. - In the editing window, find the line
keyMaterial(use search byCtrl+F). The value after it is the password in hexadecimal format. - Copy it (without spaces) and convert it to plain text using online services (for example, Hex to String).
Example: if in keyMaterial indicated 3132333435, then the password is 12345.
| Registry parameter | Meaning | Explanation |
|---|---|---|
ProfileName |
Network_name | The name of the Wi-Fi you connected to |
Profile |
Binary data | Contains encrypted network settings, including the password. |
keyMaterial |
5468697349734150617373 | Password in HEX format (needs decoding) |
ConnectionMode |
auto or manual |
Connection mode (auto or manual) |
What to do if the keyMaterial key is missing in the registry?
If the parameter keyMaterial No, that means the password isn't saved in the system. This could be due to:
- 🔄 Reset network settings via
netsh wlan delete profile name="NETWORK_NAME". - 🛡️ Using an external password manager (for example, KeePass or 1Password).
- 🏢 Corporate domain policies (on office PCs).
In such cases, try to recover your password through router or contact your network administrator.
Method 4: View the password through the router settings (if other methods do not work)
If the password is not saved on the computer (for example, after reinstalling Windows), but you have access to router, you can find out the security key through its web interface.
Steps:
- Find out your router's IP address:
- 🖥️ Click
Win + R, entercmd, then run the command:ipconfig - 🔍 Find the line
Main gateway- this is the IP of the router (usually192.168.0.1or192.168.1.1).
- 🖥️ Click
admin/admin or see the router sticker).Wi-Fi (or Wireless network, Wireless).Password, Security key or PSK. In some routers (TP-Link, ASUS) the password can be hidden behind a button Show.If you can't access your router settings:
- 🔄 Try resetting it to factory settings (button
Reseton the back panel). - 📞 Contact your provider - they may have remote access to your device.
⚠️ Attention: On some routers (Zyxel Keenetic, MikroTik) The Wi-Fi password may be stored encrypted even in the web interface. In this case, it can only be reset using the physical button on the device.
Windows Settings|Command Prompt|Registry|Router Settings|Haven't tried this yet-->
Method 5: Third-party programs for viewing Wi-Fi passwords
If standard methods don't work, you can use specialized utilities. They're handy when you need to:
- 📤 Export all passwords to a file.
- 🔍 Find networks that are not displayed in the standard list.
- 🛡️ Bypass corporate policy restrictions (not always legal!).
Popular programs:
| Program | Possibilities | Link (official) |
|---|---|---|
| WirelessKeyView (NirSoft) | Shows all saved passwords, export to TXT/HTML | Download |
| WiFi Password Revealer | Simple interface, copying password to clipboard | Download |
| NetPass | Shows passwords and other network data (IP, MAC, encryption type) | Download |
How to use (using example) WirelessKeyView):
- Download the program from the official website (avoid third-party sources!).
- Unzip and run
WirelessKeyView.exe(no installation required). - Find the required network in the table - the password will be in the column
Key (Ascii). - To copy all passwords, click
File → Save All Items.
What to do if none of the methods worked?
If you've tried everything but still can't find your password, here's what you can do:
- 🔄 Reset the password on your router:
- Find the button on your router
Reset(usually recessed into the body). - Press and hold it for 10-15 seconds (until the indicators flash).
- Connect to the network with the factory name (indicated on the sticker) and set a new password.
- Find the button on your router
Wi-Fi Key or Password.- On some routers you can connect via WPS (button on the body) without entering a password.
- Click it, then on your device, select WPS connection.
If the router is rented from a provider (for example, Rostelecom, Beeline, MTS), resetting the settings may disrupt internet access. In this case, it's best to call support and ask for help restoring access.
Security: How to Protect Your Wi-Fi from Hacking
Once you know your network password, don't forget to check its security. Here 5 critical settings, which are often missed:
- 🔒 Change the default password: if he still
12345678oradmin, it's easy to pick up. - 🛡️ Use WPA3: In the router settings, select the encryption type
WPA3-Personal(or at leastWPA2-PSK).WEPAndWPAunsafe! - 📛 Disable WPS: This feature is vulnerable to brute-force attacks. Find it in your router settings.
WPSand deactivate it. - 👤 Hide the SSID: In the Wi-Fi settings, disable the option
Broadcast network name (SSID)This will not make the network invulnerable, but it will reduce the number of connection attempts. - 📋 Maintain a list of connected devices: in the router's web interface, check the list of clients (
DHCP ClientsorConnected Devices). Unknown MAC addresses are a sign of hacking.
We also recommend:
- 🔄 Update your router firmware regularly (every 3–6 months).
- 🚫 Disable remote administration (optional)
Remote Management). - 🔐 Use a complex password (example:
k7#pL9!vQ2$mN5— 12+ characters with numbers and special characters).
FAQ: Frequently asked questions about viewing Wi-Fi passwords
❓ Is it possible to find out the password for a Wi-Fi network I've never connected to?
No, if you haven't connected to the network before, the password is not saved in the system. The exception is if you have access to the router (see Method 4). Hacking into other people's networks is illegal and punishable under Article 272 of the Russian Criminal Code ("Unauthorized access to computer information").
❓ Why does the command line say "Key content: missing"?
This means that:
- 🔌 You have never connected to this network from this computer.
- 🗑️ The network profile was deleted (for example, through
netsh wlan delete profile). - 🏢 The network is corporate, and the password is managed by the server (for example, via Radius).
Try connecting to the network again or check your router settings.
❓ How do I view my Wi-Fi password on Windows 10 without administrator rights?
Without administrator rights you can:
- 🔍 View passwords only for networks you've connected to under your account (through
Parametersornetsh wlan show profilewithoutkey=clear). - 📡 Use third-party programs like WirelessKeyView (but they may also require elevated rights).
If you need to obtain a password for a network connected to another user, you will need administrator rights.
❓ Is it possible to recover a password if Windows was reinstalled?
No, reinstalling Windows deletes all saved Wi-Fi passwords. In this case:
- Check the sticker on the router.
- Go to your router settings (see Method 4).
- Reset the router to factory settings (button
Reset).
❓ How do I export all Wi-Fi passwords to a file?
Methods:
- Via the command line (see the block with the command)
for /fhigher). - By using WirelessKeyView (
File → Save All Items). - Via PowerShell:
netsh wlan export profile key=clear folder="C:\WiFi_backup\"Passwords will be saved in files
.xmlin the specified folder.