It's common to need to connect a new device to a familiar wireless network but forget the access key. Fortunately, the operating system Windows Stores passwords for all networks your laptop has ever connected to in its internal storage. This makes it easy to recover forgotten data without having to reset your router or find your ISP contract.
There are several proven methods for extracting this sensitive information, ranging from a simple graphical interface to command-line utilities. The method you choose depends on your operating system version and the level of access you have to currently active connections. In this article, we'll cover the steps in detail for the latest versions of Windows.
It is important to understand that to complete most of the procedures described below you will need administrator rightsWithout the appropriate privileges, the security system will block access to stored encryption keys, which is a normal response to network perimeter protection.
Viewing your password using standard Windows 10 and 11 settings
The easiest and safest way to find a forgotten key is to use the operating system's built-in graphical interface. This method is ideal for users who don't want to risk entering erroneous commands and prefer visual control. However, it only works if your laptop is currently connected to the network for which the password is needed.
In the operating system Windows 11 The settings interface has undergone significant changes, and the path to the required menu is now slightly deeper than in previous versions. First, open the system settings, then go to the network section and select the active connection properties. This is where the button for displaying symbols is hidden.
- 📡 Open the Start menu and select the gear icon or press the keyboard shortcut
Win + Ito quickly enter the settings. - 🔗 Go to the "Network & Internet" section, then select "Wi-Fi" and click "Manage known networks" or directly on the properties of the current network.
- 👁️ Find the "View Wi-Fi security key" button (or something similar) and click it, after which the system will display the hidden password.
For users Windows 10 The process is a bit more complicated due to the presence of the classic Network and Sharing Center, which Microsoft is gradually phasing out but still leaves accessible. Here, you need to navigate from the network status to wireless properties, where the security tab is located.
⚠️ Attention: If you're using a corporate laptop, access to these settings may be blocked by your system administrator via Group Policy. In this case, standard methods won't work.
Using the command line to extract the key
If the graphical interface isn't responding or you need to find the password for a network your laptop has previously connected to but isn't currently connected to, the command line can help. It's a powerful tool that allows you to interact directly with system services. This method is universal and works the same on all modern versions of Windows.
First, you need to launch the console with administrator rights. This is critical, as requests to the Wi-Fi profile store require elevated privileges. After launching the utility cmd or PowerShell You can begin diagnostics and data output.
netsh wlan show profile name="Network_Name" key=clear
In this command, replace "Network_Name" with the exact name of your Wi-Fi router. If the name contains spaces, quotation marks are required. After entering the command, the system will generate a detailed report in which you should look for the "Key Content" line. This is where the password you need will be displayed in cleartext.
It's often useful to first know the exact names of all saved profiles to avoid making syntax errors. There's a separate query for this purpose, which lists all networks ever used. This helps avoid typos when entering the profile name in the second command.
- 📋 Enter the command
netsh wlan show profilesfor a complete list of saved connections. - 🔍 Carefully copy the name of the desired network, taking into account the letter case and special characters.
- 🔑 Use the command with a parameter
key=clearto see the password instead of asterisks.
What to do if the command fails?
If the system says "Access Denied," make sure you're running the Command Prompt as an administrator. Right-click the CMD icon -> Run as administrator.
Viewing saved profiles using PowerShell
An alternative to the classic command line is a more modern management tool - PowerShellIt provides advanced filtering and data output capabilities, although for our purposes the basic syntax remains similar to netshSome users find PowerShell more convenient because it allows them to copy text with their mouse without being limited by the console window.
The process begins similarly: search for the application via the Start menu, open the context menu, and select "Run as administrator." Without this step, the request to the secure password vault will be rejected by the security system. Windows.
The main advantage of PowerShell in this context is the ability to use more complex scripts to automatically output passwords for all networks at once, but for a one-time action, a standard command is sufficient. netsh, which works here too. The interface simply makes it easier to navigate your command history.
| Parameter | Description | Reset value |
|---|---|---|
| Profile name | Network SSID | Any name |
| Key type | Encryption algorithm | WPA2-Personal |
| Key content | The password itself | Plain text |
| Server radius | Corporate auth | Not used |
It's worth noting that aliases and abbreviations are supported in PowerShell, but beginners are better off using full commands to avoid errors. A single character error can result in a message about the missing parameter, which can be confusing for an inexperienced user.
Third-party password 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 and paid options, such as WirelessKeyView or WiFi Password Revealer, which automate the process of extracting keys. They scan the registry and system files, displaying the results in a convenient table format.
The main advantage of such programs is speed and clarity. You don't need to remember commands or navigate through settings menus. However, using third-party software always carries certain risks. You must be absolutely sure of the source of the program to avoid infecting your computer with malware.
⚠️ Attention: Antivirus programs often flag password recovery tools as potentially unwanted applications (PUPs). This is normal, as these tools can be used by hackers, but they are safe for home use.
When choosing software, look for portable versions that don't require installation. This allows you to launch the program, obtain the password, and immediately uninstall the utility without cluttering your system. Furthermore, portable versions are often less likely to be blocked by antivirus software on first launch.
- 💾 Download programs only from official developer websites, avoiding dubious file-sharing services.
- 🛡️ Before launching, be sure to check the downloaded file using an online scanner or current antivirus databases.
- 🗑️ Uninstall utilities immediately after use, as they provide deep access to system security settings.
Finding a password through the router's web interface
If your laptop is connected to the router via cable or Wi-Fi, but standard Windows methods aren't working, you can try looking inside the device itself. The router's web interface stores all wireless network settings, including encryption keys. To access it, you need the gateway IP address and control panel login information.
Typically the login address looks like this 192.168.0.1 or 192.168.1.1, but may vary depending on the hardware model. This information is often found on a sticker on the bottom of the router. If you've changed the admin password before, use your new credentials; otherwise, try the default ones (often admin/admin).
Once in the interface, find the section related to your wireless network (Wireless, Wi-Fi, WLAN). There you'll find a field labeled "Wireless Password," "Key," or "Passphrase." Unlike the Windows settings, the password is always displayed here, even if the device isn't currently connected to that specific network. The key is physical access to the router.
☑️ Access to the router
Problems and solutions
Despite the simplicity of the methods described, users often encounter technical obstacles. The most common issue is a lack of administrator rights or services being blocked by an antivirus program. Another possible situation is when the network profile is corrupted, preventing the system from reading the correct data from it.
If the console command returns an error, try reconnecting to the network again, entering the password manually (if possible), and then attempting to retrieve it again programmatically. Sometimes simply restarting the Connection Manager service in the Windows Services menu helps.
If none of the software methods help, the only option left is to physically reset the router. This is a last resort, as it will return the device to factory settings, and you'll have to reconfigure the internet connection and network name. There's a reset button on the back of the router. Reset, which needs to be held for about 10-15 seconds.
⚠️ Attention: Resetting your router will erase all user settings, including your ISP's PPPoE login and password. Make sure you have your ISP contract handy before performing this operation.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if the laptop is not connected to it?
Yes, this is possible if the laptop has connected to this network before. Windows stores profiles of all known networks. Use the command netsh wlan show profile name="Name" key=clear, substituting the exact name of the network from the list of saved ones.
Why are there asterisks instead of passwords in the command line?
Asterisks are displayed if you forgot to add a parameter. key=clear at the end of the command. Without this flag, the system displays only the profile name and encryption type, hiding the security key itself.
Are password recovery programs safe to use?
Using trusted utilities (such as those from NirSoft) is safe if they are downloaded from the official website. However, antivirus programs may flag them as risky because they access sensitive system data.
What should I do if I forgot my router admin password?
If the default settings (admin/admin) aren't working, and you've changed them and forgotten, the only solution is to completely reset the router to factory settings using the Reset button. After that, you'll have to reconfigure your internet connection.