It's common to need to connect a new device to a wireless network, but the password is forgotten or written down in an inaccessible place. Fortunately, the operating system Windows 10 Stores data about previously used connections in a secure format, allowing access to them to be restored if necessary. The user doesn't need to be a system administrator to perform this procedure, as the tools for this are built into the OS itself.
There are several methods for extracting a security key, ranging from the standard settings graphical interface to the console and third-party software. Each has its own characteristics and is suitable for different use cases. In this article, we'll detail the steps you can take to quickly resolve network access issues.
It's important to understand that you'll need administrator privileges to perform most operations. This is a basic security requirement. Windows, which prevents unauthorized access to critical system data by unauthorized persons or malware.
Using the settings graphical interface
The simplest and most accessible method, which doesn't require entering complex commands, is hidden deep within the network connections menu. This method is ideal for those who prefer a visual interface and want to avoid coding. The system allows you to view the properties of the active connection, where the desired character combination is hidden.
First, you need to open the Network Connections window. You can do this by right-clicking the network icon in the system tray and selecting the appropriate option, or through the Control Panel. Once the window opens, find your current wireless connection, usually labeled as Wireless network or the name of your router.
Next, right-click the network name and select "Status." In the dialog box that opens, click "Wireless Network Properties." Go to the "Security" tab. This is where the "Network Security Key" field is located. By default, the characters are hidden behind asterisks, but you can simply check "Show entered characters" to see the actual password.
- 🔍 Right-click on the Wi-Fi icon in the tray.
- 🔍 Select "Open Network & Internet Settings".
- 🔍 Go to "Network and Sharing Center".
- 🔍 Click on the name of your Wi-Fi network (blue text).
It's worth noting that this method only works for the network to which the computer is currently connected or was previously connected. If you've changed your router but the network name remains the same, the system may use the saved settings from the old device, so make sure you're checking the settings for the specific device that's distributing the internet.
Viewing saved passwords via the command line
For more advanced users or in situations where the graphical interface is not working correctly, the command line is a great tool. CMDThis method allows you to not only view the password for the current network, but also display a list of all profiles ever saved on this computer.
Run the command prompt as administrator. To do this, click Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". First, you need to know the exact name of the network profile. Enter the command netsh wlan show profiles and press Enter. You will see a list of all networks to which the PC has connected.
netsh wlan show profile name="Network_Name" key=clear
Replace "Network_Name" with the exact name of your profile that you saw in the list. Note the quotation marks: if the network name contains spaces, they are required. After running the command, scroll to the "Security Settings" section in the output. The "Key Contents" line will display the password you were looking for in cleartext.
- 🛠️ Open Command Prompt with administrator rights.
- 🛠️ Enter the command to display all profiles.
- 🛠️ Copy the exact name of the network you need.
- 🛠️ Use the command with the key
key=clearto display the password.
The advantage of the console method is its versatility. It works even on versions Windows 10 with a limited graphical interface or in cases where the drivers are unstable. It's also a quick way to check if the password for a guest network you used a month ago has been saved.
Using PowerShell to retrieve data
An alternative to the classic command line is a more powerful tool - PowerShellIt provides advanced capabilities for managing network configurations and is often used by system administrators to automate tasks. For the average user, the difference will be minimal, but the command syntax may differ.
Open PowerShell as administrator. To get profile information, you can use the same syntax as in CMD, as netsh It works here too. However, PowerShell allows you to create scripts to mass-extract all passwords at once, which can be convenient when migrating to a new computer.
⚠️ Attention: When working with PowerShell, be careful when copying commands from untrusted sources. Scripts may contain executable code that can change your system's security settings.
If the standard commands do not produce results, you can try using the NetSecurity module cmdlets, although for simple password viewing tasks, the basic commands are sufficient. netshThe main thing is to ensure that the window is launched with elevated privileges, otherwise the system will return an access error.
What to do if the command fails?
Make sure you're running the console as an administrator. Check that the WLAN AutoConfig service is enabled in Services Manager (services.msc). If the service is stopped, start it.
Third-party key recovery utilities
When built-in Windows tools are unavailable for some reason or seem too complex, specialized programs come to the rescue. There are many free utilities developed by enthusiasts and companies like NirSoft or LizardSystems, which automate the process of extracting keys.
One of the most popular programs is Wireless Key ViewIt scans the registry and system files, displaying a list of all saved Wi-Fi networks and their passwords in a convenient table format. The program requires no installation (it's portable), allowing you to keep it on a flash drive for emergency use.
Another reliable option is a utility from LizardSystemsIt has a more modern interface and allows not only viewing but also exporting profiles for quick connection on other devices. However, when downloading any software, make sure you use the developer's official website to avoid infecting your computer with viruses.
| Name of the utility | License type | Complexity | Functional |
|---|---|---|---|
| Wireless Key View | For free | Low | View and copy |
| Wi-Fi Password Recovery | Freemium | Average | Recovery and export |
| Magical Jelly Bean | For free | Low | View Windows keys |
Using third-party software makes sense if you need to quickly get a list of all passwords at once, rather than digging through the settings of each network individually. This is especially relevant for IT professionals serving multiple clients.
Finding the password in the router's web interface
If the computer is already connected to the network, but the OS won't display the password for some reason (for example, due to corporate security policies), there's always the "hardware" option: checking the router's settings. This requires access to the device's admin panel.
Open your browser and enter your router's IP address into the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password for accessing the router, are usually written on a sticker on the bottom of the router. Standard combinations are often admin/admin or admin/password.
After logging in, find the section related to wireless network. It may be called Wireless, Wi-Fi, Wireless mode or WLAN. Inside this section, look for the "Security" or "Security Settings" subsection. There, in the field WPA Pre-Shared Key or "Password" will indicate the current access key.
⚠️ Attention: If you have changed the password for entering the router settings and have forgotten it, you will have to reset the device to factory settings using the button
ResetThis will completely reset all internet settings.
This method is great because it shows the current password, which is being used right now, regardless of whether your computer "remembers" it. This is the only way to find out the password if you're connecting a new device and don't have the old one handy.
☑️ Checking access to the router
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if the computer is not connected to it?
No, this can't be done using standard Windows tools. The computer only stores keys that have been successfully used to connect previously. If the network profile has been deleted or you've never connected to this network from this PC, you won't be able to recover the password through the OS.
Why is the "Show characters" field inactive (gray)?
This happens if your account doesn't have administrator rights on this computer. The field may also be unavailable if you're trying to view the properties of a network connected to via a guest profile or a corporate policy that prohibits viewing keys.
Are password recovery programs safe to use?
Using trusted utilities from reputable developers (such as NirSoft) is safe. However, many antivirus programs may flag them as "HackTools" or "RiskWare" because they access sensitive data. Download such programs only from official websites.
What should I do if the password doesn't work, even though the system displays it?
It's possible the password was changed in the router settings after your PC was last connected, but Windows is attempting to use the old saved key. In this case, you should "Forget" the network in the Wi-Fi settings and re-enter the password, or check the current key through the router's web interface.