It's common to need to connect a new device or guest to your home network and hopelessly forget the access key. Fortunately, operating systems and routers store this information in special sections accessible to users with administrator rights. Data recovery doesn't require complex hacking tools if you have physical access to the hardware or the previously connected computer.
There are several proven methods for retrieving saved encryption keys, depending on the device you have. You can use the Windows interface, your smartphone's settings, or your router's web control panel. Each method has its own peculiarities, but all of them allow you to resolve the issue without resetting the device to factory settings.
Viewing a saved password in Windows
The Windows operating system automatically saves security keys for all networks the computer has ever connected to. This is done for ease of reconnection, but also allows the owner to view a forgotten combination of keys at any time through a graphical interface. You will need administrator privileges to perform these actions.
The easiest way is to use the classic network connections menu. Press the key combination Win + R, enter the command ncpa.cpl and press Enter. In the window that opens, find your wireless connection icon, right-click it, and select "Status." Next, go to "Wireless Network Properties" and open the "Security" tab.
In the window that opens, you'll see the "Network Security Key" field, where the characters are hidden by dots. To see them, simply check the "Show entered characters" box. The system will then display the required code in text format, which you can copy or rewrite.
⚠️ Warning: If the Security tab is unavailable or grayed out, it may mean your account does not have administrator rights or your network profile is corrupted.
For more advanced users, there's a command-line method that allows you to display data even without opening graphical windows. Open a terminal as administrator and enter the following command to display all profiles: netsh wlan show profilesFind your network name in the list.
Then use the following structure, replacing "Network_Name" with the actual name of your Wi-Fi: netsh wlan show profile name="Network_Name" key=clearIn the "Security Settings" section, the "Key Contents" line will display the password you are looking for.
How to find a password on Android and iOS
Mobile devices also store connection data, but accessing it varies greatly depending on the operating system version. On modern versions of Android (starting with version 10) and iOS (starting with version 16), the process has become significantly simplified and more secure.
On smartphones running Android 10 and above, you can generate a QR code for connection, which often displays a text password. Go to Settings → Wi-Fi, select the desired network, and tap the "Share" button or the QR code icon. The system will ask you to verify your identity with a PIN or fingerprint.
- 🔑 On Xiaomi and Samsung devices, the password can be written in text directly under the QR code.
- 📱 On "pure" Android (Pixel, Motorola), the text may be hidden, in which case you will need a third-party QR code scanner.
- 🔒 Access requires unlocking the screen with the owner's device.
iPhone and iPad users who updated to iOS 16 now have the long-awaited ability to view saved keys. Go to Settings → Wi-Fi, find the desired network in the list, and tap the blue information icon (the letter "i" in a circle). Tap the line with the encrypted passcode, and Face ID or Touch ID will unlock the field for viewing.
What to do if there is no share button on Android?
Some skins (such as older versions of MIUI or EMUI) may hide this feature. In this case, you can install a QR code generator app from your current Wi-Fi settings, but this will require additional permissions.
Restoring access via the router's web interface
If you don't have any connected devices handy, your only option is to access the router's settings. The Wi-Fi password is stored in the router's configuration and can be changed or viewed in the corresponding menu section.
First, you need to connect to the router. This can be done via a LAN cable or Wi-Fi (if the device remembers the network and doesn't require re-entering the key each time you connect). Open a browser and enter the device's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1, however, the exact address is indicated on the sticker on the bottom of the case.
The system will ask for a login and password to access the control panel. By default, this is often admin/admin or admin/password, but if you changed this data earlier and forgot it, you will have to reset the router using the button Reset.
| 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 | 1234 |
After logging in, look for a section called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Inside, find the "Security" or "Security Settings" subsection. This is where the "PSK Password" field is located, which you can view or change.
Using the Command Prompt and PowerShell
For system administrators and experienced users, there's an alternative way to retrieve data via PowerShell, which offers more flexible output filtering options. This method is especially useful if the Windows graphical interface is unstable.
Launch PowerShell as administrator. Enter the following command to generate an XML report of the network profile: netsh wlan export profile name="Network_Name" key=clear folder="C:\Temp"This command will create a file with the settings in the specified folder.
Open the created XML file using any text editor, such as Notepad. Find the tag <keyMaterial>, which will contain your password in cleartext. This method guarantees data retrieval even if the standard menu freezes.
⚠️ Caution: Do not delete or move the created XML file to system folders, as it contains sensitive data in clear text. It is best to destroy the file after use.
If you're using PowerShell with the NetSecurity module, you can use more complex scripts to audit all saved profiles at once. However, for a one-time task, the standard command netsh quite enough.
Password recovery programs
There is specialized software designed to extract saved keys from the Windows registry. Utilities such as WirelessKeyView NirSoft scans system storage and displays a list of all networks with passwords in a convenient format.
Using third-party software carries certain risks. Downloading programs from untrusted sources can introduce viruses. Furthermore, antivirus software often classifies such utilities as potentially unwanted programs (PUPs) because they handle confidential information.
- 🛡️ Download tools only from the developers' official websites.
- 🚫 Your antivirus may block the launch, requiring you to add it to the exceptions.
- 💾 The programs do not require installation (portable), which is convenient for working from a flash drive.
☑️ Security check before installing software
It's recommended to resort to third-party programs only as a last resort, when standard Windows tools fail. In most situations, the operating system's built-in capabilities are sufficient to solve the problem.
What to do if nothing helps
In rare cases, none of the software methods work. This can happen if Windows system files are damaged, access is blocked by group policies, or if the router has non-standard firmware that hides the key.
The only guaranteed solution in this situation is a full reset of the router to factory settings. To do this, look for a small hole with the inscription on the device while it's turned on. Reset or DefaultTake a paper clip, press the button inside the hole and hold for 10-15 seconds until the indicators flash.
After rebooting, the router will return to factory settings. The Wi-Fi password will be the one on the sticker on the bottom of the router. You will need to reconfigure your internet connection (PPPoE, L2TP, or dynamic IP), as all custom settings will be lost.
⚠️ Important: After resetting, the router will broadcast the network with the factory name and password (or without one). Don't delay changing these details to unique ones to prevent neighbors from using your internet.
Frequently Asked Questions (FAQ)
Is it possible to find out someone else's Wi-Fi password while within range?
No, it's impossible to legally obtain someone else's network password without access to the router or a previously connected device with a saved profile. Modern WPA2 and WPA3 encryption protocols reliably protect data transmission.
Where can I find my password if I've never changed it?
If you haven't changed your router settings, the default password is printed on a sticker on the bottom or back of the device. Look for the "WPA Key," "Wireless Password," or "Wi-Fi Password" field.
Why does Windows say "Cannot display the network security key"?
This is standard system behavior for data protection. The key is only displayed after you check the "Show entered characters" box in the security properties, and only if you have administrator rights.
Will resetting the router work if I forgot the password for the admin panel?
Yes, reset button Reset Resets not only the Wi-Fi password but also the username and password for logging into the router's web interface to factory settings. After the reset, use the information on the sticker on the router's case.