Many users are familiar with the situation of needing to connect a new device to a wireless network but hopelessly forgetting its password. Fortunately, the operating system Windows 10 By default, it saves the security keys of all networks it has ever successfully connected to. This means that if your laptop or computer is currently connected to a network or has previously connected to one, restoring access to your data will be easy.
There are several methods for retrieving the saved key, ranging from the standard graphical interface to the command line for advanced users. The method you choose depends on whether your device is currently connected to Wi-Fi and how deeply you're willing to delve into system settings. In this article, we'll cover all the current options that will help you quickly resolve the issue.
Viewing a password through the Windows graphical interface
The easiest and safest way to find the stored key is to use the standard operating system settings. This method doesn't require knowledge of complex commands and is suitable for most users who need quick access to data. However, it's worth remembering that this option only works if your device actively connected to the desired network right now.
First, you need to open the system "Settings" by pressing the key combination Win + I, or find the corresponding item in the Start menu. Next, go to the "Network and Internet" section and select the "Wi-Fi" tab. Here, find and click the "Change adapter settings" link, which is usually located at the bottom of the window or in the "Related settings" section.
After the Network Connections window opens, locate your wireless connection icon, right-click it, and select "Status." In the dialog box that opens, click "Wireless Network Properties."
⚠️ Note: Accessing the security tab may require administrator privileges. If prompted, be sure to accept the changes.
In the new window, switch to the "Security" tab. This is where the main information about the encryption protocol and access key is stored. To see the password hidden in characters, check the "Show entered characters" box. The system will instantly decrypt the asterisks, and you can copy or write down the combination.
Using the command line to extract the key
For those who prefer to work with the console or do not have access to the graphical interface, Command Prompt offers powerful tools. The command line allows you to not only reset the current network password but also get a list of all previously saved profiles, which is especially convenient when working with multiple connections.
The first step is to launch the command prompt as administrator. To do this, enter cmd In the taskbar search, right-click the result and select the appropriate option. First, enter the command to display all saved profiles:
netsh wlan show profiles
Find the name of the desired network in the list. If you want to find the password for the specific network you're currently connected to, you can skip to the data output. However, if you need to restore access to an old network, use the following syntax, replacing "Network_Name" with the exact profile name:
netsh wlan show profile name="Network_Name" key=clear
What if the network name contains spaces?
If your network name consists of multiple words, be sure to enclose it in quotation marks, as shown in the example above. Otherwise, the system will treat each word as a separate argument and return a syntax error.
After running the command, scroll down to the "Security Settings" section. The "Key Content" line will contain the password you're looking for in cleartext. This method is universal and works even if the network adapter is temporarily disabled but the profile is saved on the system.
Managing profiles via PowerShell
An alternative to the classic command line in Windows 10 A more modern tool is PowerShell. It offers similar functionality, but sometimes performs more reliably with newer operating system versions and has a more flexible syntax for text processing.
Launch PowerShell as administrator from the Start button context menu. To obtain the password for the currently active network, you can use the following command:
(Get-NetConnectionProfile).Name
However, for direct key extraction, it is best to use the built-in capabilities netsh Directly from PowerShell, as native Wi-Fi cmdlets may require additional modules. Enter the familiar command:
netsh wlan show profile name="Name" key=clear
The advantage of PowerShell is that it can copy output directly to the clipboard. You can add the following to the command: | clip, so that the execution result immediately appears in the buffer, from where it can be pasted into a text editor.
Viewing the password through the router settings
If none of the software methods work, or you don't have access to a computer that was previously connected to the network, the only option is to access the router's settings. This method requires a physical connection to the router via a LAN cable or a working Wi-Fi connection.
Open any browser and enter the gateway IP address in the address bar. By default, this is most often 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password for entry, are usually indicated on a sticker on the bottom of the device.
After logging into the web interface, find the section responsible for your wireless network. It may be labeled "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Under the "Security" or "Wireless Settings" subsections, you'll see a field labeled "PSK Password," "WPA Key," or "Wireless Network Password."
| Manufacturer | Standard IP | Default login | Default password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| D-Link | 192.168.0.1 | admin | (empty) |
| Keenetic | 192.168.1.1 | admin | 1234 |
Here you can not only view your current password but also change it to a more complex one. After changing the settings, be sure to click "Save" or "Apply" for the changes to take effect. All connected devices will require re-authorization with the new key.
Third-party password recovery utilities
There is specialized software that automates the process of extracting saved keys. One of the most popular and time-tested programs is WirelessKeyView from NirSoft. It requires no installation and allows you to instantly view all profiles and their passwords stored in the system.
- 🔍 The program scans the Windows registry and configuration files.
- 🔑 Displays keys in HEX and ASCII formats.
- 💾 Allows you to export data to TXT, HTML or XML.
⚠️ Warning: Antivirus programs may detect password recovery utilities as potentially unwanted software (PUP). This is a false alarm caused by the program's functionality, but we recommend adding it to your exclusions before running it.
Another option is to use password managers such as WiFi Password RevealerThey operate on a similar principle, but often feature a more user-friendly interface with "Copy" buttons and color-coded highlighting of active networks. Using third-party software is advisable if the standard Windows tools are unavailable or damaged for some reason.
☑️ Check before resetting your router
Restoring access after a factory reset
As a last resort, if the password is lost and cannot be retrieved using standard methods, you can reset the router to factory settings. This is a radical method that will return the device to its "out of the box" state, including the default password found on the sticker.
To do this, find the button on the router body. Reset (It's often recessed into the case.) Press it with a paperclip and hold for 10-15 seconds until the lights flash simultaneously. After rebooting, connect to the network using the default information on the label and set up your internet again.
After the reset, it is recommended to immediately change the default administrator password and Wi-Fi key to unique ones to protect your network from unauthorized access by neighbors.
Frequently Asked Questions (FAQ)
Is it possible to find out a Wi-Fi password if the computer has never connected to this network?
No, the Windows operating system doesn't store passwords for networks the device hasn't connected to. In this case, the only solution is to access the router settings (if you have physical access or a cable connection) or contact the network owner.
Is it safe to save passwords in Windows?
Yes, Windows encrypts stored profiles. However, if an attacker with administrative rights gains access to your computer, they can extract these keys using the command prompt or special utilities.
Why does the netsh command give a "Network not found" error?
This means there's no profile with that name saved on the system. Check the exact network name (case is important) or make sure you're running the command in an elevated command prompt.
Is it possible to recover the password on an Android phone?
On modern versions of Android (10 and above), you can view your password with root access or via the "Share" feature (QR code). Without root access, viewing the saved password in plain text is often impossible using standard tools.