Many users are familiar with the situation of needing to connect a new device to the network but completely forgetting the Wi-Fi password. Fortunately, the operating system Windows 10 It has a built-in access key storage mechanism, making it easy to recover lost information. You don't need third-party software or advanced programming knowledge to solve this problem in just a couple of minutes.
In this article, we will take a detailed look at several proven methods that allow display saved key Security. Whether it's a graphical settings interface or advanced command line tools, every user will find a solution that suits their needs.
It's worth noting that most of the steps described require administrator rights on your device. This is a standard security requirement designed to protect sensitive data from unauthorized access by third parties.
Viewing the password through the settings graphical interface
The simplest and most straightforward method for beginners is to use the standard system settings menu. This method doesn't require complex commands and is accessible to anyone who knows how to use a mouse. However, it's important to note that this method only works if your laptop is currently connected to the desired wireless network.
To get started, open the Start menu and go to "Settings," which is indicated by a gear icon. Next, select "Network and Internet" and find "Status" in the left column. From there, click the "Network and Sharing Center" link, which will open the classic connection management window.
In the window that opens, find the active connection to your wireless network (usually it is signed as Wi-Fi (Network Name)) and left-click on it. A status dialog box will appear, where you should click "Wireless Network Properties." This is where the main security settings for your connection are hidden.
☑️ Check before viewing
Go to the "Security" tab in the properties window that opens. You'll notice the "Network Security Key" field, where the characters are hidden behind asterisks. To see them, simply check the "Show entered characters" box. Then the password will be shown in clear text, and you can copy or write it.
⚠️ Note: If the "Security" tab is missing or the buttons are grayed out, your account may not have sufficient privileges or the network adapter driver may be malfunctioning. In this case, try running the properties window as an administrator.
Using the command line to recover the key
For more experienced users or in cases where the graphical interface is malfunctioning, the ideal solution is to use a command-line utility. cmdThis method allows you to access the history of all saved networks, even those you are not currently connected to.
First, you need to launch the Command Prompt with administrator privileges. Right-click the Start button and select "Windows PowerShell (Administrator)" or "Command Prompt (Administrator)." In the black window that opens, enter the following command to display a list of all saved profiles:
netsh wlan show profiles
The system will display a list of all networks your laptop has ever connected to. Find the required name (SSID) in the list. Then, use the following command, substituting your network name for the placeholders:
netsh wlan show profile name="Network_Name" key=clear
After running the command, scroll down to the "Security Settings" section. In the "Key Contents" line (Key Content) will display the password you're looking for in plain text. This method is especially useful when you need to quickly find data from a network that's currently out of range.
What to do if the command doesn't work?
If the system writes "WLAN AutoConfig service is not running", open services.msc, find the WLAN AutoConfig service, set the startup type to "Automatic" and click "Start".
Using console commands allows you to not only view the password but also diagnose other connection parameters, such as the encryption type or authentication_type. This makes this method a versatile tool in the system administrator's arsenal.
Retrieving data via PowerShell
An alternative to the classic command line is a more powerful tool - PowerShellIt offers flexible options for scripting data processing, but simple manual input will suffice for our purposes. This method is often faster, as PowerShell is better integrated with modern Windows 10 components.
Launch PowerShell as administrator using the search bar or the Start context menu. To list all saved profiles, enter the following command:
Get-NetConnectionProfile
However, to directly extract the password, it is more convenient to use the same syntax netsh, which also works fine in PowerShell. Enter the command:
netsh wlan show profile name="Your_Network_Name" key=clear
The result will be identical to running the command line: you'll see a detailed report with the password in the "Key Contents" field. The advantage of PowerShell is the ability to combine commands to automatically collect information from all devices on the network.
| Parameter | Description | Where to find |
|---|---|---|
| Profile name | Wi-Fi network name (SSID) | In the first line of the command output |
| Security type | Encryption protocol (WPA2, WPA3) | Security Settings section |
| Security key | The network password itself | Key Contents line |
| Connection mode | Automatic or manual | Connection Settings section |
It's important to specify the profile name correctly. If the network name contains spaces, it must be enclosed in quotation marks, otherwise the command will be executed incorrectly and the system will return an error.
Viewing a password through the Windows registry
Registry Windows It is a centralized configuration database that also stores network connection settings. This method is considered more complex and is not recommended for beginners, as careless modifications to other registry branches can lead to system instability.
To access the data, press the key combination Win + R, enter regedit and press Enter. You need to follow this path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
Here you'll see a multitude of folders with unique identifiers (GUIDs). To find the network you need, you'll have to navigate through the folders and look at the parameter ProfileName in the right part of the window. However, the password itself isn't stored explicitly here; it's encrypted. Decrypting it through the registry would require additional complex manipulations of access rights and binary data, so this section is more of a demonstration. where is the configuration stored, which helps to quickly find out the password.
⚠️ Caution: Editing the registry without a clear understanding of what you're doing may cause operating system malfunctions. Create a restore point before making any changes.
A more effective registry method (if the previous steps fail) is to search for saved keys in the security branch. However, in Windows 10, Microsoft has significantly complicated direct access to this data to protect users. Therefore, using the command line remains the preferred option.
Using third-party software
If built-in Windows tools are unavailable for some reason or you prefer visualized reports, you can use specialized utilities. One popular tool is WirelessKeyView from NirSoft, which scans the system and displays all saved keys in a convenient format.
There are also comprehensive packages for network diagnostics, such as WiFi Password Decoder or features in antivirus suites. These programs often can not only display passwords but also generate QR codes for quick connection on mobile devices.
Be extremely careful when downloading such software. Many password "hacks" are actually malware. Download utilities only from the developers' official websites and scan the files with an antivirus before running them.
The main advantage of third-party software is the ability to export a list of all networks to a file or print it directly. This is convenient for system administrators managing corporate connections.
Restoring access via a router
If none of the computer methods work (for example, after reinstalling the system), you can find the password by accessing the router's settings. To do this, your laptop must be connected to the router via Wi-Fi or a LAN cable.
Open your browser and enter your 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 for accessing the admin panel, are usually indicated on a sticker on the bottom of the device.
After logging in (the default credentials are often admin/admin), you need to find the section related to the wireless network. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, in the "Security" subsection (Security), there will be a field with a password (PSK Password), which can be changed or simply viewed.
⚠️ Note: The interfaces of routers from different manufacturers (TP-Link, ASUS, D-Link, Keenetic) vary. If you can't find the item you need, check the official manual for your model, as the menu layout may change depending on the firmware version.
This method is the most reliable, as it reveals the current password set on the hardware, regardless of what your laptop "remembers" or does not remember.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if I'm not currently connected to that network?
Yes, this is possible if you have previously connected to this network from this laptop and have not deleted the profile. Use the command line (netsh wlan show profile...) to see the key even for networks that are currently unavailable.
What should I do if there is no Security tab in the network properties?
The missing tab may mean you're trying to view the guest network properties or you don't have administrator rights. This can also happen if you're using some corporate security policies that block key viewing.
Is it safe to store passwords in Windows?
Windows encrypts saved passwords, and they are tied to the user account. However, if an attacker has physical access to your laptop while it's running and has administrator privileges, they can obtain them. For maximum security, use complex passwords and don't allow unauthorized access to your PC.
Why does the netsh command give the error "Service not running"?
This means that the WLAN Auto Configuration service is disabled. Click Win+R, enter services.msc, find “WLAN AutoConfig” in the list, double-click it, select the “Automatic” startup type and click the “Start” button.