It's quite common to need to connect a new device to a wireless network but lose or forget the password. Fortunately, if you've connected a laptop or desktop PC to this router at least once, the system may have saved the access key in its storage. Data recovery in this case, it does not require complex equipment or special hacking skills.
Modern operating systems such as Windows 10 And Windows 11, store connection profiles for user convenience. This allows for automatic reconnection without re-entering characters. However, to see these hidden characters, you need to know exactly where to look in the system settings.
There are several proven methods for obtaining this information, ranging from a simple graphical interface to console commands. The choice of a specific method depends on the operating system version and the user's comfort level with technical utilities. The key is to have physical access to a device that is already successfully authorized on the network.
Checking saved profiles in Windows 10 and 11
The easiest and most secure way to find out the access key is to use the standard operating system tools. In the interface Control panels All necessary settings for current connections are hidden. This method is ideal for those who don't want to use the command line.
First, open the quick actions menu or go to network settings. Depending on your OS version, the path may differ slightly, but the logic remains the same. Find your active connection and go to its properties.
- 🔌 Right-click the Wi-Fi icon in the tray and select "Network & Internet settings".
- 🔌 In the window that opens, find the link "Network and Sharing Center" (in Windows 10) or "Advanced network settings" (in Windows 11).
- 🔌 Click on the name of your wireless network (blue link next to the access type).
After completing these steps, a small wireless network status window will open. It displays the connection speed and session duration. To view hidden data, you need to go to the wireless network properties menu.
⚠️ Note: If you don't see the "Wireless Network Properties" button, make sure you're connected via a Wi-Fi adapter and not an Ethernet cable. You can't view the Wi-Fi password this way over a wired connection.
Next, switch to the "Security" tab. This is where the "Network Security Key" field is located, hidden by asterisks by default. Simply check the "Show entered characters" box to have the system display the saved password in plain text.
Using the CMD command line to recover the key
For more advanced users or in cases where the graphical interface is not working correctly, the command line is a great tool. netsh Allows you to manage network settings directly, bypassing standard menus. This method is universal and works even on stripped-down versions of the system.
To use this method, you must run the command prompt as administrator. This is a mandatory requirement, as prompting for passwords requires elevated privileges. Without administrator rights, the system will return an access denied error.
First, you need to find out the exact name of the profile under which the network is saved in the system. Enter the command netsh wlan show profilesThe list will display all networks this computer has ever connected to. Find the desired name in the "User Profiles" column.
netsh wlan show profile name="Your_Network_Name" key=clear
After entering the command with your network name, the system will generate a detailed report. In the "Security settings" section, you'll see a line labeled "Key Content." The value next to this line is the password you're looking for.
What to do if the profile is not found?
If the system reports that the profile was not found, try entering the network name without quotation marks or check the spelling, including case. The profile may also have been deleted when clearing the network history.
This method is good because it allows you to copy the result directly from the console if it supports text selection. It also displays other important parameters, such as the encryption type (WPA2-Personal, WPA3) and typeAuthentication.
Viewing a password using PowerShell
An alternative to the classic CMD is a more powerful tool - PowerShellIt's built into all modern versions of Windows and offers more flexible options for scripting and automation. Its functionality is also excellent for one-time password viewing.
It is also recommended to run PowerShell with administrator privileges. The commands here may be longer, but they provide more structured output. The operating principle is similar to working with netsh.
Use the following command to get profile information:
(Get-NetConnectionProfile).Name
Then, knowing the profile name, you can extract the key. However, this is more difficult to do using standard PowerShell tools without third-party modules than using netsh. Therefore, a hybrid method, calling netsh within PowerShell, is more commonly used.
- 🔑 Open PowerShell by searching in the Start menu.
- 🔑 Enter the command
netsh wlan show profile name="NetworkName" key=clear. - 🔑 Find the "Key Content" line in the output.
⚠️ Note: Command line interfaces may differ depending on your system's locale. If commands don't work, try using English parameter names or switching the console language.
Using PowerShell is especially useful for system administrators who need to quickly gather information from multiple machines or write a script for mass configuration. For the average home user, basic commands are sufficient.
Viewing the password through the router settings
If your computer is connected to the router via cable or Wi-Fi (even without knowing the password, as long as the web interface is accessible), you can view the settings directly on the device itself. This will require access to web interface administrator.
You need to enter the router's IP address in the browser's address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address is indicated on a sticker on the bottom of the device. After entering the address, the system will request a username and password to access the settings.
| Router brand | 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 | admin |
| Tenda | 192.168.0.1 | admin | admin |
After successful authorization, you need to find the section responsible for your wireless network. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, look for the "Security" or "Security Settings" subsection.
The current access key (Password, Pre-Shared Key, WPA Key) will be displayed in the "Password" field. You can also change it here if necessary. Be sure to save your changes by clicking "Save" or "Apply."
☑️ Checking access to the router
Third-party password recovery utilities
There are many programs that automate the process of viewing saved networks. Utilities such as WirelessKeyView from NirSoft or WiFi Password Decoder, can quickly extract all saved keys from the Windows registry.
Using third-party software is convenient when you need to recover passwords for dozens of networks at once or when standard methods are blocked for some reason. However, you should exercise extreme caution when downloading such programs.
Antivirus programs often classify such snails as potentially unwanted programs (PUPs) because they access sensitive data. It's recommended to download tools only from the developers' official websites.
⚠️ Warning: Be careful when downloading cracked versions of paid Wi-Fi recovery programs. They often contain real stealer viruses that will steal your banking passwords.
For one-time use, it's best to use built-in Windows tools. They don't require installation, leave no traces in the system, and are guaranteed to be safe, as they're part of the operating system.
What to do if your password is not saved anywhere
Sometimes, a computer has never connected to the desired network, or the profile has been deleted, making resetting the router impossible. In this case, the only options are physical access to the router itself or a device that's already connected (e.g., an Android smartphone).
On smartphones running Android 10 and above, you can view the password or scan a QR code to connect. Go to Wi-Fi settings, tap the gear icon next to your active network, and select "Share" or "QR code."
If you only have a clean computer and a router that has been reset or is inaccessible, the button will help WPS (if present on the case). Pressing this button allows you to connect without entering a password, after which you can view it in the network properties on your PC.
- 📱 Use the QR code on your connected smartphone.
- 📱 Press the WPS button on your router to connect automatically.
- 📱 Reset your router and reconfigure the network with a new password.
The last option—a full reset of the router to factory settings—is drastic. It will erase all customized ISP settings, so only use it if you know your internet settings (PPPoE, L2TP, etc.).
Is it possible to recover a password from the registry manually?
Theoretically, yes, the keys are stored in a registry key, but they are encrypted with the user's system key. Without specialized software, it's impossible to read them directly in plain text.
Frequently Asked Questions (FAQ)
Is it possible to view a Wi-Fi password if the computer is not connected to it?
No, if the computer has never connected to this network and hasn't saved a profile, it's impossible to find the password through its settings. You'll need access to the router or other device where the password is stored.
Are password recovery programs safe to use?
Use only proven utilities from reputable developers (such as NirSoft). Downloading dubious "crackers" from torrents is dangerous, as they may contain malicious code.
Why does the command line say "Access Denied"?
You most likely launched the Command Prompt (CMD) or PowerShell in normal mode, not as an administrator. Running network commands requires elevated privileges.
Where are Wi-Fi passwords stored in Windows?
Passwords are stored in a protected section of the Windows registry and in system configuration files. They are encrypted using the user account, so simply copying the password file to another PC is not possible.
How to view password on Mac (macOS)?
On macOS, you can do this through the Keychain Access app. Find your network name, open its properties, and check the "Show password" box, confirming the action with your fingerprint or account password.