It's common to need to connect a new gadget to your home network but lose or forget the password. Fortunately, the operating system Windows 10 By default, it saves access keys for all networks your computer has ever connected to. This means you don't have to search for a sticker on your router or remember complex combinations of keys if you have a PC that already remembers the necessary data.
In this guide, we'll explore several proven methods for recovering forgotten security keys. We'll cover both standard system graphical interfaces and more advanced command-line methods, which are often more effective during system crashes. We'll also discuss using third-party software if built-in tools are unavailable for some reason.
Please understand that all the actions described below are legal only if you are the owner of the device or have permission from the network administrator. Security The security of your local network directly depends on how well you store this data, so after regaining access, it is recommended to write it down in a safe place.
Viewing a password through the Windows graphical interface
The easiest and most secure way to find your access key is to use the standard operating system settings. This method doesn't require complex commands and is suitable for most users who need to quickly resolve a problem. However, it only works if your computer is currently connected to the desired network, or has previously connected to one and saved a profile.
First, you need to open the Network and Sharing Center. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Open Network and Internet settings." In the window that opens, find the link "Change adapter settings" or go to "Network and Sharing Center" from the Control Panel. Here you'll see a list of active connections.
Find your wireless network icon (usually labeled as Wireless network (or the name of your router). Left-click on it. A small status window will open, displaying your connection speed and uptime. This is where the button that leads to the information you're looking for is located.
In the status window, click the "Wireless Network Properties" button. A dialog box with several tabs will open. You'll need the "Security" tab. This is where the encryption settings and the key are stored. By default, the "Network Security Key" field is hidden with asterisks to protect it from prying eyes.
To see the symbols, check the box next to "Show entered characters." The system may require administrator privileges to perform this action. If you have the necessary privileges, the asterisks will turn into readable text. Copy or rewrite this text to use on other devices.
⚠️ Attention: If the "Show characters as you type" option is grayed out or the system refuses to display your password, this may mean your account doesn't have administrator rights or your network profile is corrupted. In this case, try logging in with an administrator account.
This method is universal for most versions of Windows, but the interface may vary slightly depending on the OS build. The key is to access the properties of a specific wireless connection. If you can't find the desired option, make sure you've selected the correct connection and not an Ethernet cable.
Using the command line to recover the key
If the GUI doesn't work or you prefer to work with the terminal, the command line (cmd) will become a powerful tool. It allows you to interact directly with Windows system services, including the Wireless Network Manager. This method often saves you when the graphical interface freezes.
First, you need to run the command prompt as administrator. Click Win + X and select "Windows PowerShell (Administrator)" or search for "Command Prompt," right-click, and select "Run as administrator." Without administrator privileges, the system will not allow you to view saved security keys.
The first step is to find out the exact name of the network profile saved in the system. Enter the following command and press Enter:
netsh wlan show profiles
The list will show all the networks the computer has ever connected to. Find the desired name in the "User Profiles" column. Note that the name must match exactly, including spaces and case.
Now, knowing the network name (for example, MyHomeWiFi), enter the command to display the key:
netsh wlan show profile name="MyHomeWiFi" key=clear
In the report that opens, find the "Security Settings" section. The "Key Contents" line will display your password in clear text. This method is especially useful when you need to quickly copy a password without navigating through multiple windows.
What if the network name contains spaces?
If your network name contains spaces or special characters, be sure to enclose it in quotation marks in the command. For example: netsh wlan show profile name="My Home Wi-Fi" key=clear . Without quotation marks, the system will only interpret the first word as the profile name and return an error.
Using the console gives more detailed information about the encryption type (eg. WPA2-Personal or WPA3), which can be useful when setting up older devices that do not support new security standards.
Checking Saved Networks in PowerShell
A more modern alternative to the classic command line is PowerShell. It offers advanced capabilities and is often faster when handling network requests. Its functionality is similar to CMD, but the syntax can be more flexible for experienced users.
Run PowerShell as administrator. To list all saved profiles, use the following command:
netsh wlan show profiles
While the basic command is the same, PowerShell makes it easier to filter the output. However, for simply retrieving a password, it's more convenient to use the same construct as in CMD, as it's standardized for the Windows networking stack.
If you need to dump information about all networks at once into a text file for analysis, you can use output redirection:
netsh wlan show profiles name="Network_Name" key=clear > C:\wifi_pass.txt
This file will be saved to the C drive and will contain all technical information about the profile, including the security key. This is convenient if you need to transfer data to a specialist or save a settings archive.
If the network name or password contains Cyrillic characters, they may appear incorrectly (as gibberish) when output to a file. In this case, it's best to copy the information directly from the terminal window.
Third-party utilities for viewing passwords
When built-in Windows tools fail for some reason, specialized programs come to the rescue. They automatically scan the registry and system files, displaying a list of all known networks and their passwords in a convenient table format. This eliminates the need to manually enter commands.
One of the most popular and proven utilities is WirelessKeyView from NirSoft. This free, portable program requires no installation. It displays the SSID, security type, key in HEX and ASCII formats, and the profile creation date.
Another powerful tool is WiFi Password DecoderIt can recover forgotten passwords and even displays a QR code for quickly connecting mobile devices. This is especially convenient if you need to connect your phone but don't want to enter a long password manually.
- 🔍 WirelessKeyView — a lightweight utility, ideal for quickly viewing all saved keys without unnecessary functionality.
- 📱 WiFi Password Decoder — convenient for generating QR codes and working with multiple profiles simultaneously.
- 🛡️ Network Password Recovery — a paid but powerful tool with the ability to restore deleted profiles (in some cases).
When using third-party software, always download programs only from the developers' official websites. Fake versions of such utilities often contain viruses or miners that can steal your real passwords.
⚠️ Attention: Antivirus programs may flag password recovery utilities (such as WirelessKeyView) as potentially unwanted programs (PUPs) because they access sensitive data. This is normal, but only add the program to the exceptions list if you are sure of the download source.
Using such programs is justified when you need to quickly download a list of passwords from all computers in the office or if the Windows graphical interface is damaged. For a one-time use, the system's built-in tools are quite sufficient.
Restoring via router settings
If none of the computer methods work (for example, the network profile was deleted and the password wasn't saved), the last option is to view the key in the router's settings. To do this, the device must be connected to the router via cable or Wi-Fi (if the password for the current device is known).
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 is indicated on the sticker on the bottom of the device. You will need to enter your login and password to access the admin panel (by default, it is often admin/admin).
After logging in, find the section related to wireless networking. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, look for a subsection called "Security" or "Wireless Network Settings."
The "Password, Passphrase, Pre-Shared Key" field will display your current access key. You can also change it here if the old one seems too complex or too simple.
Interfaces of routers from different manufacturers (Routers (TP-Link, ASUS, D-Link, Keenetic) vary greatly, but the menu layout is consistent. If you reset your router to factory settings, the password will revert to the one on the sticker, but all other internet service provider settings will be lost.
Table: Comparison of recovery methods
To help you choose the best method, let's compare the methods discussed using key parameters. This will help you quickly determine which tool to use in a given situation.
| Method | Complexity | Admin rights required | Do you need internet? |
|---|---|---|---|
| Graphical interface | Low | Yes (for viewing) | No |
| Command Prompt (CMD) | Average | Yes | No |
| Third-party utilities | Low | Yes | No (for downloading) |
| Router settings | Average | No | No (locally) |
As you can see from the table, most methods don't require an active internet connection, which is logical since we're trying to access the internet. Local methods (via Windows) are faster and more reliable if the profile is saved.
☑️ Checklist before you start
Frequently Asked Questions (FAQ)
In this section, we'll answer the most common questions users have when trying to restore Wi-Fi access. If your question isn't listed, the answer is likely found in one of the previous sections of this article.
Is it possible to find out a Wi-Fi password if the computer has never connected to this network?
No, that's impossible. Windows only stores previously entered passwords. If the device hasn't been connected, the key simply won't be stored. In this case, the only solution is to use the sticker on the router, a contract with the provider, or resetting the router to factory settings.
Why is the "Show characters" field grayed out and not clickable?
This happens if your account doesn't have administrator rights. You need to log in as an administrator or ask the computer owner for the password. Without these rights, the system hides the key for security reasons.
Is it safe to save passwords in Windows?
Yes, they are stored encrypted and linked to a specific user. However, if an attacker with administrator rights gains physical access to your computer, they can retrieve them. The level of protection is sufficient for home use.
What to do if none of the methods helped?
If the network profile is deleted and the computer is not connected, the only option left is to reset the router using the button ResetAfter this, the device will return to the factory password (indicated on the sticker), but you will have to reconfigure the Internet (provider login/password).
Is it possible to recover a password using a phone?
On rooted Android devices or jailbroken iPhones, this is possible through system files. On non-rooted devices, viewing the saved password in plain text using standard tools is not possible, but you can generate a QR code to connect to another device if the phone is already connected.
In conclusion, it's worth noting that password recovery is possible if you have access to at least one device that has previously connected to the network. Use the described methods responsibly and remember to change your access keys periodically to improve the security of your home network.
⚠️ Attention: Windows and router settings interfaces may be updated. If you don't see the options described, check the help for your OS version or your router documentation for the latest information.