The situation where you need to connect a new gadget to your home network but have forgotten the password is quite common. Lenovo laptop, like any other Windows device, stores access keys for all networks it has ever connected to. This is a built-in operating system feature designed to simplify the user's life by eliminating the need to enter long character combinations each time they connect.
Fortunately, extracting this information is easy if you have physical access to a connected laptop. There are several ways to do this, from simply viewing the network properties in the Windows interface to using the command line for a more in-depth analysis. In this article, we'll cover all the current methods guaranteed to help you recover lost data.
It's important to understand that to successfully complete most of the steps below, you'll need administrator rights on your device. Without the appropriate access rights, the operating system Windows 10 or Windows 11 will not allow you to view critical network security settings. Make sure your Lenovo laptop is currently connected to the desired Wi-Fi network or has previously connected to one.
Using the Windows 10 and 11 GUI
The easiest and most secure way to save a password is to use standard operating system tools. Recent versions of Windows have made the interface more user-friendly, hiding complex settings while still providing basic functionality. This method is ideal for those who don't want to risk entering erroneous commands.
First, open the Network and Sharing Control Panel. Right-click the Wi-Fi icon in the system tray (lower-right corner of the screen) and select "Network and Internet Settings." In the window that opens, find the "Network and Sharing Center" link, or simply "Properties" for your current network. In the dialog box that opens, click the name of your wireless network (the blue text).
A new "Status" window will appear, where you need to click the "Wireless Network Properties" button. Go to the "Security" tab. This is where the field you're looking for is located. You'll see the "Network Security Key" line, where the characters are hidden by dots. To see them, check the "Show entered characters" box.
- 🔑 Right-click on the Wi-Fi icon in the tray.
- 🔑 Select "Properties" or go to network settings.
- 🔑 Open the "Security" tab in the wireless network properties.
- 🔑 Check the box "Show entered characters".
Please note that on some corporate networks or when using specific encryption protocols other than WPA2-Personal, this method may be unavailable or may not display the key in cleartext. Also, if your Lenovo laptop is connected to the network but does not have administrator rights, the system may prompt you to confirm the action via UAC (User Account Control).
Viewing a password via the command line (CMD)
If the graphical interface isn't working for some reason, or you need to find out the password for a network your laptop has connected to in the past but isn't currently connected to, the command line can help. This powerful tool allows you to manage network profiles directly. This method requires careful command entry.
Run the command prompt as administrator. To do this, click Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". The first step is to get a list of all saved Wi-Fi profiles on the device. Enter the command netsh wlan show profiles and press Enter. You'll see a list of all networks your Lenovo has ever connected to.
Find the name of the desired network in the list. Then, use the command to display the details of a specific profile, including the security key. The command syntax is as follows:
netsh wlan show profile name="NETWORK_NAME" key=clear
Instead of NETWORK_NAME Enter the exact name of your Wi-Fi network from the list. Note the quotation marks—if the network name contains spaces, they are required. In the command results, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext.
⚠️ Important: When entering the network name in the command line, case-sensitivity and spaces are important. If the command returns the error "Group parameter not found," check the spelling of the profile name using the show all profiles command.
☑️ Check before entering commands
Using PowerShell for Advanced Users
An alternative to the classic CMD is the shell PowerShell, which provides more flexible options for working with network objects in Windows. This method may seem more complex due to the syntax, but it is often more informative, especially if standard methods fail or produce unreadable results.
Run PowerShell as administrator. To get the password, you can use one long but effective command that will automatically find the profile and return the key. Enter the following code:
(netsh wlan show profile name="NETWORK_NAME" key=clear) | Select-String"Key Contents"
This command executes the same query through netsh, but filters the output, leaving only the line containing the key. If your system is in English, replace "Key Content" with "Key Content." This is especially useful if you're using a Lenovo laptop with an English-language Windows installation.
In some cases, especially on newer Windows 11 builds, direct requests may be blocked by security policies. In this case, you can try exporting the profile configuration to an XML file, where the password can be stored in cleartext (if the security policy allows it). However, the method key=clear remains the most reliable and fastest solution for most scenarios.
- 🚀 PowerShell provides more powerful filtering syntax.
- 🚀 Commands can be combined to get only the desired line.
- 🚀 Suitable for scripted process automation.
What to do if PowerShell prevents scripts from running?
If you see an error about the script execution policy when running commands, enter the command: Set-ExecutionPolicy RemoteSigned. This will allow local scripts and commands to run, which is necessary for some network utilities. Be careful and confirm this action only if you trust the source of the commands.
Viewing the password through the router's web interface
If your Lenovo laptop is connected to the network, but the operating system refuses to provide a password for some reason (for example, due to registry errors or group policies), the "gold standard" solution is always the router's own settings. Since the laptop is already connected to the network, you have full access to the device's administrative panel.
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.1The exact address, as well as the login and password, are often found on a sticker on the bottom of the router. If you've changed this information previously, use it. Once logged in, find the "Wireless" or "Wi-Fi" section.
Within this section, look for the "Security" or "WLAN Settings" subsection. There you'll find a "Password," "Passphrase," or "WPA Key" field. Unlike in Windows, the password is often displayed immediately or hidden by asterisks, which can be removed by clicking the eye icon. This is the most secure method, as it displays the current password.
| Router brand | Typical IP address | Settings section | Typical login |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | admin |
| ASUS | 192.168.1.1 | Wireless Network -> WPS | admin |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | admin |
| Keenetic | 192.168.1.1 | My Networks and Wi-Fi -> Home Network | admin |
Keep in mind that router interfaces are constantly being updated. What worked last year may have a different name or be moved to a different menu in the new firmware. If you can't find the tab you need, use the settings search within the router interface by entering "password" or "key."
⚠️ Note: Router interfaces and menu item names may vary depending on the model and firmware version. If you can't find an exact match, look for sections labeled "Wireless," "Security," or "WLAN." Always check the manufacturer's official manual for your equipment.
Third-party password recovery utilities
For those who prefer automated solutions, there are a number of specialized programs. Wireless Key View from NirSoft is one of the most well-known and lightweight utilities. It requires no installation, is portable, and instantly displays all keys saved in Windows. The program reads data from the registry and system files.
Another popular option is WiFi Password Decoder Or restore functions in antivirus packages (for example, Kaspersky or ESET often have Wi-Fi protection modules that can reveal saved networks). However, using third-party software always carries certain risks. You should be sure of the source of the program you download to avoid infecting your Lenovo laptop with malware.
When using such utilities, your antivirus may detect suspicious activity when they launch, as they access protected memory areas. This is normal, but you should only add the program to the exceptions list if you downloaded it from the developer's official website. For a one-time password recovery, it's better to use the built-in Windows tools described above.
- 💻 Wireless Key View is a lightweight utility that requires no installation.
- 💻 WiFi Password Revealer - simple interface for beginners.
- 💻 Antivirus programs often have built-in Wi-Fi password managers.
Possible problems and their solutions
Even following the instructions, users may encounter difficulties. For example, the "Show characters as you type" field may be grayed out. This often occurs if the laptop is connected to a corporate network with specific security policies or if logged in through a restricted domain account.
Another common issue is the "Failed to complete your request" error when using the command prompt. This almost always means that CMD is not running as an administrator. It's also worth checking the WLAN AutoConfig service. If it's stopped, managing Wi-Fi profiles will be impossible.
If your Lenovo laptop is connected but the password isn't displayed anywhere, it's likely using the Enterprise protocol (802.1x), which doesn't store the password in plaintext but uses a certificate or username/password. In this case, it's technically impossible to find the network key; you'll need to remember the credentials provided by the network administrator.
Is it possible to find out the password if the laptop is not connected to the network right now?
Yes, you can. Windows stores profiles of all the networks you've connected to previously. Use the command prompt and the command netsh wlan show profilesto see the list, and then request the key for the name you want, even if the network is currently out of range.
Where can I find the password on my router if I've never changed it?
If you haven't changed your router's settings, the Wi-Fi password (if factory-set) is printed on a sticker on the bottom of the device. Look for the line "Wireless Password," "WPA Key," or "PIN."
Why does the command prompt give an error when I enter a command?
Most often, this error occurs due to incorrect syntax. Check that the equal sign is blank (name="SSID"), that quotation marks are used if the network name contains spaces, and that the console is running as administrator.
Is it safe to save a password in Windows?
Yes, it's secure, as the keys are encrypted and stored in a secure area of the system. They can only be accessed by administrators on that specific computer. However, if attackers with administrator rights gain physical access to your laptop, they can extract this data.