It's quite common to need to connect a new device to a wireless network but lose the access key. Fortunately, the operating system Windows 10 Stores data about previously used connections in a secure registry. This makes it easy to find a forgotten password without having to reset the router or contact your ISP.
There are several proven methods for retrieving saved data, ranging from the GUI to using the console. Microsoft The program provides standard tools that don't require installing third-party software. The main requirement is physical access to a computer that is already connected to the desired network or has previously connected to it.
In this article, we'll cover all available methods in detail, from the simplest for beginners to advanced techniques for system administrators. The key requirement for most methods is that you have administrator rights on your computer. Please follow the instructions carefully to avoid errors when entering commands.
Finding a password through the Windows graphical interface
The easiest and safest way to find your security key is to use the standard network properties window. This method doesn't require complex commands and is suitable for any user level. If your laptop or PC is currently connected to Wi-Fi, follow these steps.
Open the Start menu and select the gear icon to get to ParametersNext, go to the "Network and Internet" section and select the "Status" tab. On the right side of the window, find the "Network and Sharing Center" link and click it. In the window that opens, click the name of your active wireless connection.
A small window will appear with the general status. Click "Wireless Network Properties." Go to the "Security" tab. You'll see the "Network Security Key" field, the contents of which are hidden by dots. Check the "Show characters" box, and the system will display the password you're looking for.
⚠️ Note: If the "Security" tab is empty or the buttons are disabled, make sure you are logged in as an administrator. Standard users may not have access to these settings.
This method works stably in all builds. Windows 10 And Windows 11However, it only allows the password for the network to which the device is currently connected or has previously connected and saved the profile.
Using Command Prompt to Recover Data
For more experienced users who find the graphical interface slow, the command line is a great choice. CMD (Command Prompt) allows you to access hidden profiles and display information in plain text. This method is especially useful if the graphical interface is not working correctly.
Run the command prompt as administrator. To do this, enter cmd In the taskbar search, right-click "Command Prompt" and select the appropriate option. First, you need to find out the exact name of the network profile saved in the system.
netsh wlan show profiles
Find your network name in the list. Then enter the command to display it, adding the key key=clearThis is a critical parameter that forces the system to display the password in clear text.
netsh wlan show profile name="Your_Network_Name" key=clear
In the report that opens, find the "Security Settings" section. Your password will be listed in the "Key Contents" line. Note that the network name in the command must be enclosed in quotation marks if it contains spaces.
What to do if the command fails?
If the system displays "Access Denied," run the console as administrator. If the error is related to encoding, try switching the console language with the chcp 866 command before entering the main language.
Viewing saved profiles using PowerShell
An alternative to the classic command line is a more powerful tool. PowerShellIt provides advanced management capabilities for network interfaces and is often used by system administrators for diagnostics.
Launch PowerShell as administrator. Enter the command to retrieve all Wi-Fi profiles. The syntax is slightly different from CMD, but the results are the same. Use the following script to output the information:
netsh wlan show profile name="ProfileName" key=clear
Although the syntax is similar to CMD, PowerShell allows you to automate the process by saving the output to a file. This is convenient if you need to recover passwords for multiple networks at once. Simply add > wifi_passwords.txt to the end of the command.
PowerShell has the advantage of better handling of Unicode characters, which is important if your network name contains Cyrillic characters or special characters. Such names may not display correctly in the standard command line.
Checking the router's web interface
If none of the computer methods work, you can always turn to the source of the signal—the router. To do this, log in to its web interface. This method is universal and doesn't depend on the operating system of the device you're logging in from.
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, username, and password are usually located on a sticker on the bottom of the device. If you've changed them previously, use your current information.
After logging in, find the section responsible for your wireless network. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." The current encryption key will be displayed in the "Security" subsection.
| Router brand | Typical IP address | 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 |
| Tenda | 192.168.0.1 | admin | admin |
Interfaces may vary from manufacturer to manufacturer, but the logical layout of settings remains the same. Look for tabs labeled "Security."
Resetting your router as a last resort
If you don't remember your Wi-Fi password and it's not saved on any devices, and you've lost access to the router's web interface, your only option is a full reset. This will restore your device to its factory settings.
Find the recessed button on the router body Reset or WPS/ResetPress it with a thin object (like a paperclip) and hold it for about 10-15 seconds until the lights flash. After rebooting, the network will be named as indicated on the sticker, and there will be no password (or it will be the default one).
⚠️ Please note: After resetting, the router will lose all provider settings (PPPoE, L2TP, static IP). You will need to reconfigure your internet connection using your provider contract.
This method is radical, but effective when other options have failed. Make sure you have internet access via cable or mobile data to reset your router.
☑️ Checklist before resetting your router
Using third-party recovery utilities
There is specialized software designed to manage wireless connections. Programs like WirelessKeyView from NirSoft can read saved keys from the Windows registry and display them in a convenient list.
These utilities are often used by IT professionals to quickly migrate settings to a new computer. They require no installation (portable versions) and run instantly. However, they should only be downloaded from the developers' official websites.
Antivirus programs may detect such utilities as a potential threat because they access protected system data. This is a normal reaction, and if you trust the source, the program can be added to the exceptions list.
Frequently Asked Questions (FAQ)
Is it possible to recover a Wi-Fi password if the computer has never connected to this network?
No, the operating system doesn't store data about networks the device hasn't connected to. In this case, the only solutions are stickers on the router, asking the network owner, or resetting the router.
Where can I find my password if I'm using macOS?
On Apple computers, keys are stored in Keychain Access. Find your network name there, open properties, and check "Show password," confirming the action with biometrics or your account password.
Why does Windows say "Unable to save network settings"?
This could be due to corrupted system files, a conflict with Wi-Fi adapter drivers, or a lack of administrator rights. Try updating your network card drivers or running a system file checker with the command sfc /scannow.
Are password recovery programs safe to use?
Using trusted utilities from reputable developers is safe. However, programs from untrusted sources may contain malicious code. Always scan files with an antivirus before running them.