It's quite common to need to connect a new device to a network but have forgotten or lost the Wi-Fi password. Fortunately, if you've previously connected a laptop or PC to the network, the operating system Windows 10 Stores the access key in its database. This eliminates the need to reset the router to factory settings or search for the ISP contract.
There are several proven ways to extract this information, ranging from the settings graphical interface to entering commands into the console. The password is stored in clear text in the profile of the active or previously used connection., making it accessible to a user with administrator rights. In this article, we'll cover all the current methods to help you regain access.
Before proceeding with any technical steps, ensure your laptop is within range of the network or is already connected. This is critical for some methods, as the system must have an up-to-date connection profile. If the device is far from the router, some options may be unavailable.
View your password through Network and Sharing Settings
The easiest and safest way to find a forgotten key is to use the standard operating system interface. This method doesn't require knowledge of complex commands and is suitable for most users who want to quickly resolve the issue. The settings interface in Windows 10 sufficient, but the path to the desired option may be hidden deep in the menu.
To begin, open the Start menu and go to "Settings" by selecting the gear icon. Next, look for the "Network and Internet" category. In the window that opens, look for the "Network and Sharing Center" link, which is usually located at the bottom of the list or in the "Status" section. This is where you'll find the main connection management tools.
In the Network and Sharing Center window that opens, you'll see an active connection. Find the "Connections" line and click the blue link with the name of your Wi-Fi network. A small status window will open, where you should click "Wireless Network Properties." Go to the "Security" tab and check the box next to "Show characters as you type."
⚠️ Note: If the "Security" tab is missing or the fields are grayed out, your account may not have administrator rights or your network profile may be corrupted. In this case, try running Network Settings as an administrator.
After removing the mask, the desired character combination will appear in the "Network Security Key" field. We recommend copying it immediately or writing it down in a safe place. This method works reliably for all standard wireless adapter drivers.
Using the command line to extract the key
For more advanced users or in cases where the graphical interface does not work correctly, it is ideal command lineThis tool provides direct access to the network configuration and allows you to not only view the password but also manage saved profiles. This method is especially useful if you want to find out the password for a network you've previously connected to but are now out of range.
To launch the console, press the key combination Win + R, enter cmd and press Enter, or search for "Command Prompt" in the Start menu and run it as administrator. First, you need to list all saved profiles. Enter the command:
netsh wlan show profiles
Find the name of the desired network in the list. Then use the command to display detailed information by adding the parameter key=clearThe command syntax is as follows:
netsh wlan show profile name="Network_Name" key=clear
Replace "Network_Name" with the exact name of your Wi-Fi network that you saw in the profile list. If the name contains spaces, the quotation marks are required. After running the command, scroll to the "Security settings" section. The "Key Content" line will contain the password you're looking for.
What to do if the command fails?
If the system reports "Access Denied," make sure you're running the console as an administrator. If the error is related to the profile name, check the spelling of the network name, including capitalization and spaces.
Finding a password through the router's web interface
If the laptop isn't connected to the network or the profile has been deleted, the only option is to access the router's settings. This method is universal and doesn't depend on the operating system version. You'll need physical access to the router or a cable connection if Wi-Fi is unavailable.
Open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1, but the exact address is indicated on a sticker on the bottom of the device. To log in, you'll need the administrator username and password. If you haven't changed them, they'll also be listed on the sticker (often admin/admin).
After authorization, the interface may differ depending on the model (TP-Link, Asus, Keenetic, D-Link). You need to find the section related to wireless mode. Look for tabs named "Wireless," "Wi-Fi," or "Wireless Network." Inside, there will be a subsection called "Security" or "Security Settings."
The "Password," "PSK Password," or "WPA Key" field will display the current access key. You can also change it to a more complex one here. Don't forget to save your changes by clicking "Save" or "Apply" if you've made any changes.
| Router brand | Typical IP address | Wi-Fi settings section | Password field |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Password / PSK Password |
| Asus | 192.168.1.1 | Additional settings -> Wireless network | WPA Pre-Shared Key |
| Keenetic | 192.168.1.1 | My Networks and Wi-Fi -> Home Network | Password |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | PSK encryption key |
⚠️ Note: Router firmware interfaces are frequently updated. The menu location may differ from that described. If you cannot find the desired option, consult the official manual for your device model.
☑️ Checking access to the router
Displaying a password via PowerShell
An alternative to the classic command line is a more powerful tool - PowerShellIt's built into the system by default and provides similar functionality, but with a more modern syntax. This method is convenient for those accustomed to working with the PowerShell shell.
Run PowerShell as administrator by right-clicking the Start icon and selecting the appropriate option. To get the password, enter the following command, replacing Network_Name to your profile name:
(netsh wlan show profile name="Network_Name" key=clear) | Select-String"Key Contents"
The system will query the network profile database and display only the key string, eliminating the need to search for it in a large amount of text. If you have an English-language version of Windows, replace "Key Content" with "Key Content."
This method is especially effective if you need to quickly copy a password without unnecessary formatting characters. PowerShell processes queries faster and has more flexible output filtering options.
Third-party password recovery utilities
There are many specialized programs that automate the process of extracting saved passwords. They scan the registry and system files, displaying a list of all known networks and their keys in a convenient format. However, using such software requires caution.
Popular tools such as WirelessKeyView from NirSoft or WiFi Password Decoder, allow you to view all saved keys with one click. They're useful when you need to restore access to multiple networks or when standard Windows tools fail.
- 🔍 WirelessKeyView — a free utility that does not require installation, displays SSID and keys in hexadecimal and ASCII format.
- 🔍 WiFi Password Decoder — supports password recovery for various encryption types (WEP, WPA, WPA2).
- 🔍 Magical Jelly Bean WiFi Password Revealer - simple interface and the ability to export passwords to a text file.
Download programs only from the official websites of the developers.
⚠️ Warning: Be extremely careful when downloading cracked versions of paid password recovery programs. They often contain real stealer viruses that steal saved passwords and send them to attackers.
Possible problems and their solutions
During the password recovery process, you may encounter various errors. These are most often related to access rights or damaged system files. Understanding the causes of these errors will help you quickly troubleshoot the issue.
If the system reports that the profile was not found, even though the network was previously available, the profile may have been deleted during a system cleanup or driver update. In this case, the only solution is to reset the router or access its settings if you have a wired connection.
Another common issue is the inability to save changes to network settings. This may be due to the organization's security policy if the laptop is corporate, or due to antivirus software blocking the change.
- 🛠 Check if the Network Connection Manager (Netman) service is running. It should be in the "Running" state.
- 🛠 Make sure your wireless adapter drivers are updated to the latest version from the manufacturer's website.
- 🛠 Try temporarily disabling your third-party antivirus if it's blocking access to system settings.
In conclusion, recovering a Wi-Fi password on Windows 10 can be accomplished in several ways. Start with the simplest interface methods, and only if those fail, move on to the command line or router settings. Maintaining password security will help protect your network from unauthorized access.
Is it possible to find out the Wi-Fi password if the laptop has never connected to this network?
No, it's impossible to programmatically find a password from a laptop if it's never been entered on that device. In this case, the only solution is to find the sticker on the router (if the password hasn't been changed), the agreement with the provider, or accessing the router settings via a cable.
Where are Wi-Fi passwords stored in Windows 10?
Passwords are stored in a protected section of the registry and system configuration files. They are encrypted and linked to the user account, but can be decoded by the system with administrator rights.
What should I do if I forgot my router admin password?
If the default password (admin/admin) doesn't work and you've changed it but forgotten it, the only solution is to reset the router to factory settings using the Reset button. After that, you'll need to configure the router again.
Are password recovery programs safe to use?
Using trusted utilities from reputable developers (such as NirSoft) is safe. However, downloading unknown programs from dubious websites can lead to computer viruses.