It's common to need to connect a new device to a wireless network but have long forgotten the password. Fortunately, the operating system Windows 10 Stores access keys to previously used networks in a dedicated vault. This allows users to avoid having to remember complex character combinations and quickly retrieve the necessary information when needed.
There are several proven methods for recovering lost data, and they don't require installing third-party software. Built-in operating system tools provide full access to network connection configuration. We'll cover both the graphical interface and methods for advanced users.
It's important to understand that you'll need administrator privileges to perform most of the steps described. Without the appropriate permissions, the system won't allow you to view saved encryption keys for security reasons. Make sure you're working under an account with full access rights.
Viewing the password through the network graphical interface
The simplest and most accessible method for most users is to use the standard wireless network properties window. This method is ideal if your device is currently connected to the router whose password you want to find out. The process is intuitive and doesn't require memorizing complex commands.
To get started, open the Settings menu or right-click the network icon in the system tray. You'll need to navigate to the Manage Network Connections section. In the window that opens, find the link Network and Sharing Center, which is the gateway to detailed configuration.
In the window that opens, find the active connection and click on the name of yours Wi-Fi networksA small dialog box will appear with the general status. Select the "Wireless Network Properties" button. Next, go to the "Security" tab.
On the Security tab, you'll see the "Network Security Key" field, where the characters are hidden behind asterisks. To display the password, simply check the "Show characters" box. The system may prompt you to confirm administrator privileges via a UAC pop-up.
⚠️ Attention: If the "Security" tab is missing or the options are grayed out, check that you are connected to a wireless adapter and not an Ethernet cable. Access may also be restricted by group policies on corporate networks.
This method works reliably in all current operating system builds. The interface may vary slightly depending on the Windows 10 version, but the navigation logic remains the same. This is the safest path for the average user.
Using the Command Line to Extract Keys
For more experienced users who prefer speed and precision, using the command line is a great solution. CMDThis method not only allows you to view the password for the current network but also displays a list of all profiles ever saved on your computer. This is especially useful if you're outside the router's range.
Run the command prompt as administrator. To do this, enter cmd In the search box, right-click on the result and select the appropriate option. The first step is to get a list of all profiles. Enter the command netsh wlan show profiles and press Enter.
Find the name of the desired network in the list. To view the password for a specific network, use the command with a key parameter. The syntax is as follows:
netsh wlan show profile name="Network_Name" key=clear
Replace "Network_Name" with your exact profile name. In the command output, find the "Security Settings" section. The "Key Contents" line will contain the password you're looking for in cleartext. This method is universal and works even without a graphical interface.
☑️ Check before entering a command
Using the console gives you flexibility in managing network settings. You can not only view but also delete old profiles, which is useful for cleaning up your system. However, be careful when entering commands, as syntax errors will result in an error message.
Analyzing all saved profiles via PowerShell
An alternative to the classic command line is a more powerful tool - PowerShellIt offers advanced capabilities for scripting data processing, although basic commands similar to CMD are sufficient for our purposes. PowerShell's advantage is its ability to output results in a more readable format or export them.
Run PowerShell as administrator. A command to view all profiles and their passwords at once can be created as a script. However, for a one-time use, it's easier to use a sequential query. First, get the list:
netsh wlan show profiles
Then, similar to the previous section, we request details for a specific profile. PowerShell has the ability to process objects, but the command netsh remains the most compatible for working with the WLAN service. If you plan on automation, you can write a script that parses the command output.
It's important to note that PowerShell is sensitive to character encoding. If the network name contains Russian characters, make sure the console interprets them correctly. Otherwise, you may receive a "Profile not found" error even if it exists.
Why might commands not work?
Netsh commands may not work if the WLAN AutoConfig service is stopped. Check its status in services.msc.
Using PowerShell makes sense in scenarios where you need to collect information from multiple computers or integrate a scan into a monitoring system. For home use, the differences from CMD are minimal, but knowledge of this tool expands your capabilities.
Working with the registry and hidden settings
Passwords in Windows 10 are stored in the system registry, but they are not directly encrypted. They are accessed through the operating system API. Nevertheless, knowing the registry paths is useful for diagnosing profile issues.
The registry keys responsible for network profiles are located at:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
Profile settings are stored here, but not the passwords themselves in clear text. Passwords are protected by system encryption mechanisms and are linked to the user account. Attempting to copy this key to another computer will prevent internet access without knowledge of the original key.
| Parameter | Description | Meaning |
|---|---|---|
| ProfileName | Network profile name | String |
| Description | Connection Description | String |
| Managed | Managed profile | DWORD (0/1) |
| ProfileType | Profile type | DWORD |
Editing the registry requires extreme caution. Incorrectly changing the settings can lead to unstable operation of network components. It is recommended to use the registry only for viewing information, not for editing it.
⚠️ Attention: Registry interfaces and paths may change with Windows updates. Don't rely on hard-coded registry addresses when writing scripts.
For most password recovery tasks, working with the registry is redundant. GUI or command-line methods are preferable and safer. The registry should be considered a backup source of configuration information.
Third-party password recovery utilities
If built-in Windows tools are unavailable for some reason or you need to export passwords in bulk, you can use specialized software. There are many utilities available, such as WirelessKeyView or WiFi Password Decoder, which automate the process of extracting keys.
These programs scan the system password storage and display a list of all networks with access keys. They're convenient because they allow you to copy the password with one click or save the list to a text file. This saves time when setting up a large number of devices.
However, using third-party software carries risks. Download utilities only from the developers' official websites. Antivirus programs may flag such programs as potentially unwanted programs, as they access sensitive system data.
For one-time use, it's best to use Windows 10's built-in methods. They don't require installation, leave no traces in the system, and are guaranteed to be compatible with your OS version. Third-party software is a tool for system administrators.
Reset network settings and create a new profile
In situations where the network profile is corrupted or the password has been changed on the router, and Windows 10 is attempting to connect with the old password, a reset may be necessary. This won't help you find the old password, but it will allow you to enter the new one correctly.
To delete a profile, use the command line. The command netsh wlan delete profile name="Network_Name" This will completely clear all saved connection data. After this, the system will prompt you for the password again when you try to connect.
You can also use the "Forget" feature in the graphical interface. Go to Wi-Fi settings, select "Manage known networks," click the desired network, and press "Forget." This will permanently delete the key from memory.
If you've forgotten your password and can't recover it using any of the methods, your only option is to reset your router to factory settings. There's a button on the back of the device. ResetPress and hold it for 10-15 seconds. After this, the router will operate with the factory password indicated on the sticker.
What should I do if the "Show entered characters" field is inactive?
This can happen if you're connected via Ethernet or using a corporate-level guest network. With Ethernet, the Wi-Fi password isn't stored in the wired connection profile. Try disconnecting the cable and connecting wirelessly.
Is it possible to find out the password for a network the computer has never connected to?
No, Windows doesn't store passwords for networks the device has never connected to. Connecting requires either physical access to the router or knowledge of the owner's password. Hacking into other people's networks is illegal.
Where are passwords stored in Windows 11?
The storage principle in Windows 11 is similar to Windows 10. You can also use the command netsh or network properties. The settings interface in Windows 11 has been slightly modified, but the functionality remains the same.
Is it safe to save a password in Windows?
Yes, passwords are stored encrypted and linked to the user account. Only a user with administrator rights on that specific computer can access them. However, if others use the computer, it's best not to save passwords or use guest mode.