Forgot your home or office Wi-Fi password, but your computer is connected? Don't rush to reset your router or call your provider. In operating systems Windows 10 and 11 Saved wireless network passwords are encrypted, but they can be easily retrieved without special software. This guide will help you find your password in 1-2 minutes—even if you've never used the command line or the registry.
We'll cover all the relevant methods: from standard Windows tools to third-party utilities for advanced users. Important: These methods only work for networks to which the computer is connected. I've already connected beforeIf your PC has never been connected to this Wi-Fi network, you'll have to find the password on your router or from your network administrator.
Please be aware that some methods require administrator privileges. If you are using a work computer with limited privileges, please contact your IT department; attempting this on your own may violate your corporate security policy.
1. View your password through Windows Settings (the easiest way)
This method doesn't require the command line or third-party programs—everything is done through a graphical interface. Suitable for Windows 10 and 11, if you have administrator rights.
Instructions:
- 🖱️ Open
Start → Settings → Network & Internet. - 📶 Go to the section
Wi-Fiand pressManaging known networks. - 🔍 Find the desired network in the list and click on its name.
- 🔑 Choose
Properties, then scroll down to the fieldNetwork password. - 👁️ Click the button
Show(you will be asked to enter your Windows account password).
If the buttons Show no or the password field is empty, then the network is connected via company profile (often happens in offices). In this case, try other methods from this article.
2. How to find out the password via the command line (CMD)
A method for those who prefer console commands. Works on all versions of Windows, including Windows 7 (if it's still in use). The main advantage is that you don't need to install additional software.
Follow these steps:
- 🔎 Click
Win + R, entercmdand run the command line 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!).
- 🔐 To see your password, follow these steps:
netsh wlan show profile name="NETWORK_NAME" key=clearReplace
NETWORK_NAMEto the real name (for example,TP-Link_1234). - 🔍 Find the line in the results
Key content- this is the password.
If the command returns an error Failed to execute command, check:
- 🔄 The network name is correct (including spaces and symbols).
- 🛡️ Is the command prompt running as administrator?
- 🖥️ Has the computer been connected to this network at least once?
What to do if the command does not show the password?
If there is no line in the command output Key content, this means that:
1) The password is not saved in the system (for example, connecting via WPS).
2) The network uses authentication 802.1X (corporate networks).
3) The network profile is damaged.
In such cases, try the PowerShell export method or check the settings on your router.
3. Exporting passwords via PowerShell (for advanced users)
PowerShell — a more powerful tool than the command line. It not only lets you view passwords but also export all saved networks to a file. This is convenient if you need to transfer data to another computer.
How to do it:
- 🛡️ Launch PowerShell from the administrator (click
Win + X→Windows PowerShell (Administrator)). - 📜 Enter the command to export all passwords to a text file:
(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key contents\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); [PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Format-Table -AutoSize | Out-File "$env:USERPROFILE\Desktop\WiFi-Passwords.txt" - 📄 File
WiFi-Passwords.txtwill appear on your desktop. Open it and find the desired network.
This method is especially useful for IT specialists who set up multiple computers — it’s enough to export passwords once and use them on other devices.
🔹 Make sure PowerShell is running as an administrator
🔹 Make sure you have enough space on your desktop for the file
🔹 Remember the path to the file: C:\Users\[Your_Name]\Desktop\WiFi-Passwords.txt
🔹 After use, delete the file if it contains sensitive data-->
4. View passwords in the Network and Sharing Center (alternative method)
If the previous methods didn't work, try the classic interface. Network Operations CenterIt is available on all versions of Windows, including Windows 8.1.
Step-by-step instructions:
- 🌐 Right-click on the Wi-Fi icon in the tray (bottom right) and select
Open Network and Internet settings. - 🔗 Scroll down and click
Network and Sharing Center. - 📡 Click on the name of your network (next to
Connections). - 🔐 In the window that opens, click
Wireless network properties→ tabSecurity. - 👁️ Check the box
Show entered charactersto see the password.
⚠️ Note: In some corporate networks, the tab Security may be blocked by group policy. In this case, the password can only be retrieved through the registry or third-party utilities.
5. Using third-party programs (for advanced users)
If standard methods fail, specialized utilities can help. They not only reveal passwords but also allow you to manage network profiles, export data, and even restore deleted networks.
Top 3 proven programs:
| Program | Possibilities | Download link | Security |
|---|---|---|---|
| WirelessKeyView (NirSoft) | Shows all saved passwords, export to HTML/CSV | NirSoft official website | ✅ Portable, no installation required |
| WiFi Password Revealer | Simple interface, copying password to clipboard | Magical Jelly Bean | ✅ Lightweight, without excess water |
| NetPass | Shows passwords for Wi-Fi, VPN, email, and browsers | Official website | ⚠️ Requires antivirus scanning |
How to use WirelessKeyView (for example):
- 📥 Download the program from the official website (only from
https://www.nirsoft.net!). - 📂 Unzip the archive and run
WirelessKeyView.exe(admin rights are not required). - 🔍 The program will automatically display all saved networks and passwords in the column
Key (Ascii). - 📋 To save the list, click
File → Save All Items.
⚠️ Warning: Download programs only from official websites! Counterfeit versions of popular utilities often contain viruses or spyware. Check the file before using it. VirusTotal.
6. Extracting a password from the Windows registry (for experts)
This method is suitable for system administrators or users who are familiar with Windows registryPasswords are stored in encrypted form, but they can be decrypted.
Instructions:
- 🔧 Click
Win + R, enterregeditand confirm the launch. - 🗺️ Follow the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\Here you will find folders with network GUIDs.
- 🔍 Find the parameter in each folder
ProfileName- it contains the network name. - 🔐 View the meaning
Profile(double click) - the password is encrypted in this data block. - 🛠️ Use the utility to decrypt Mimikatz or online services (not recommended due to the risk of data leakage).
This method is more difficult than the others, but it works even if:
- 🔄 The network has been removed from the list of known networks, but the profile remains in the registry.
- 🛡️ Standard Windows commands are blocked by group policy.
- 🖥️ You need to recover the password after reinstalling the system (if the registry is saved).
Common mistakes and how to avoid them
When attempting to extract a password, users often encounter typical problems. Here are the most common ones and how to solve them:
- 🚫 Access Denied Error:
→ Launch Command Prompt or PowerShell from administrator.
→ Check that your account has admin rights. - 🔍 The network is not displayed in the list.:
→ Make sure your computer has connected to this network at least once.
→ Check if the network is hidden (the SSID may be disabled in the router settings). - 🔐 The password is displayed as dots:
→ In the graphical interface, enable the optionShow symbols.
→ In the command line, use the parameterkey=clear. - 📡 No access to the router:
→ If none of the methods worked, reset the router using the buttonReset(hold for 10-15 seconds).
→ Reconfigure the network using the information from the sticker on the router.
If you work on a corporate network, remember: retrieving a password may violate internal security rules. Offices often use dynamic passwords (via RADIUS), which change every hour - in this case, standard methods will not help.
FAQ: Answers to Frequently Asked Questions
Is it possible to find out the password for a Wi-Fi network that the computer has never connected to?
No, if the computer hasn't connected to the network before, the password isn't saved in the system. In this case:
- Look at the password on the router sticker (usually on the back).
- Log in to the router's web interface (
192.168.1.1or192.168.0.1) and check your wireless network settings. - Reset the router to factory settings (button
Reset).
Why doesn't the command prompt show the password for some networks?
This happens in three cases:
- The network uses enterprise authentication method (802.1X, WPA-Enterprise). The password is not saved locally.
- The network profile is damaged or deleted.
- You connected via WPS (button on the router), rather than entering the password manually.
Solution: Check the settings on your router or contact your network administrator.
Is it safe to use third-party password extraction programs?
Yes, if you download them from official websites developers. Risks:
- 🕵️ Fake versions of programs may contain keyloggers or spyware.
- 📤 Some utilities send data to remote servers (check the privacy policy).
Recommendations:
- Use WirelessKeyView from NirSoft - it does not require installation and is open source.
- Please check the file before using it. VirusTotal.
- After extracting the password, uninstall the program.
Is it possible to view a Wi-Fi password on a Mac or Linux?
Yes, but the methods are different:
- 🍎 MacOS:
OpenTerminaland enter:security find-generic-password -wa "NETWORK_NAME"Instead of
NETWORK_NAMESpecify the SSID. - 🐧 Linux:
Passwords are stored in/etc/NetworkManager/system-connections/.Open the network file and find the line
psk=.
How to protect your passwords from being extracted?
If you are concerned about security:
- 🔒 Use WPA3 instead of WPA2 (configured in the router).
- 🔄 Change your Wi-Fi password regularly (every 3–6 months).
- 🛡️ Turn it off WPS in the router settings - this is a vulnerable protocol.
- 👥 Create guest network for temporary users.
- 📱 Set up MAC filtering (Allow only trusted devices to connect).
Remember: if an attacker connects to your network, they can extract the password using the same methods described in this article.