Many users are familiar with the situation of needing to connect to a wireless network but losing or forgetting the password. This can happen after purchasing a new smartphone, reinstalling the operating system on a laptop, or simply forgetting when granting access to guests. Fortunately, operating systems and routers store access keys in protected sections of memory, which can be easily extracted.
There are several proven methods for recovering lost data. The method you choose depends on the device you have available: a Windows computer, an Android smartphone, or an iPhone, as well as whether you have physical access to the router itself. It is important to understand, that most of these methods require the device to have previously been connected to that network or have current access to it.
In this article, we'll take a detailed look at the technical aspects of encryption key recovery. We'll cover standard operating system tools, mobile platform capabilities, and network equipment administration. The fastest way is to view the saved password in the settings of an already connected Windows or Android device.
Using the Command Prompt in Windows to Recover the Key
The Windows operating system has powerful built-in tools for managing network connections. If your computer or laptop is already connected to the desired Wi-Fi network or has connected to it before, the password is saved in the connection profile. The most secure way to retrieve it is using the command prompt with administrator rights.
First, you need to open the console. Right-click the "Start" button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". In the window that opens, enter the following command to display all saved Wi-Fi profiles:
netsh wlan show profiles
Find your network name in the list. Then, use the command to display detailed profile information, including the security key. The command syntax is as follows:
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the line "Key Content." This is where the password you're looking for will be displayed in clear text. This method works on all modern versions of Windows, including 10 and 11.
⚠️ Attention: Commands are case-sensitive and quotation mark-sensitive. If the network name contains spaces, be sure to enclose it in quotation marks, as shown in the example above, otherwise the system will return a syntax error.
Why might the command not work?
The command will fail if you haven't started the console as an administrator. The profile may also be deleted if you previously selected the "Forget this network" option.
Using the command line is a versatile method that doesn't require installing any third-party software. It allows you to quickly access network settings without a graphical interface. However, the syntax may seem complex for beginners, so it's important to copy the commands carefully.
Viewing a password through the Windows graphical interface
If you have difficulty working with the code, you can use the standard Windows graphical interface. This method is more visual and understandable for most users. It's suitable for situations where you're directly within range of the network and want to know the current access key.
Right-click the Wi-Fi icon in the system tray (near the clock) and select "Network & Internet settings." In the window that opens, find the link "Network and Sharing Center" (in Windows 10) or go to "Advanced network settings" (in Windows 11). Next:
- 📡 Click on the name of your wireless connection (blue text).
- 🔒 In the status window that opens, select the "Wireless Network Properties" button.
- 👁️ Go to the "Security" tab.
- ✅ Check the box next to "Show entered characters".
Once you check the box, the "Network Security Key" field will change from a series of dots or asterisks to readable text. This is your password. Please note that performing these actions may require administrator privileges, and the system may prompt you for confirmation via UAC.
This method is ideal for quick viewing. However, it has a limitation: you can only see the password for the network you're currently connected to. To view the history of other networks, you'll still need to use the command line or third-party software.
How to find out the password on Android without root access
Android smartphone owners often need to share Wi-Fi with friends. In modern versions of Android (starting with version 10), Google has implemented a convenient QR code generation feature that allows you to not only connect other devices but also view password in text form.
The process for recovering the key on Android is as follows. Go to "Settings" -> "Wi-Fi" (or "Connections"). Find the network you're connected to and tap the gear icon next to it. In the network properties menu, select "QR code" or "Share."
After verifying your identity (via fingerprint or PIN), a QR code will appear on the screen. Below it, the password itself is usually written in small print. If the text isn't clearly visible, you can take a screenshot and open it in Google Lens or any other QR code scanner. The app will recognize the code and display the password in text format.
⚠️ Attention: On some devices (such as older versions of MIUI or EMUI), the interface may differ. Look for the "Share" button or QR code icon in the properties of a specific access point.
For devices with Root (superuser) rights, there are file managers that allow you to look into the system file wpa_supplicant.conf, where all the keys are stored. However, for the average user, gaining root access just for the password is impractical, as it voids the warranty and reduces the device's security.
Recovering access on iPhone and iPad (iOS)
The Apple ecosystem has traditionally been known for its high level of data security, so it was impossible to simply view your Wi-Fi password in Settings on older versions of iOS. However, starting with iOS 16, Apple added the long-awaited feature to view and copy security keys directly from the Settings menu.
To find out the password on an iPhone or iPad with the latest OS version:
- 📱 Open "Settings" and go to the "Wi-Fi" section.
- 🔵 Find the network with a blue checkmark next to it (or any other saved network).
- ℹ️ Click the blue information icon (the letter "i" in a circle) to the right of the network name.
- 👆 Tap the "Password" line where the characters are hidden by dots.
Use biometric authentication (Face ID or Touch ID) or enter your device unlock password. Once verified, the password field will become editable, allowing you to copy or change it. This is the simplest and most secure method for Apple device users.
If you have an older version of iOS (15 or earlier), you can't view the password using standard tools. The only legal way is to view it on a Mac device if it's synced with iCloud Keychain. On a Mac, this is done through the Keychain Access app, where you need to find the network name and check the "Show password" box.
What to do if iOS 16 is not installed?
You can try using the "Share Password" feature by bringing another iPhone (already connected) close to yours. However, this only works for connecting, not for viewing the password text.
Checking the password through the router's web interface
If none of your devices remember the password (you're not connected on either your phone or PC), the last reliable option is to access the router's settings. To do this, the device (computer or phone) must be connected to the router, even if it doesn't have internet access (locally).
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, login, and password for logging in are written on a sticker on the bottom of the device. Standard credentials are often admin/admin or admin/password.
After logging in to the Control Panel, find the section responsible for wireless networking. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, look for the "Security" or "Wireless Network Settings" subsection.
Your key will be displayed in the "Wireless Password / PSK Key" field. You can also change it to a more complex one if you suspect your neighbors are using your internet. Be sure to save your changes by clicking "Save" or "Apply."
| Router brand | Standard IP | Password path (approximate) |
|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security |
| ASUS | 192.168.1.1 | Wireless Network -> General |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings |
| Keenetic | 192.168.1.1 | My Networks and Wi-Fi -> Home Network |
Access to the web interface gives you complete control over your network. Not only will you know the password, but you can also set up a guest network, limit the speed for individual devices, or change the channel to avoid interference. This is a powerful tool for administration home network.
☑️ What do you need to log into your router?
Use of third-party programs and security measures
There are many password recovery programs available, such as WirelessKeyView, WiFi Password Decoder, and similar tools. These utilities scan the Windows registry or system files and list all saved networks. Using such software is advisable if standard methods fail for some reason or the system interface is damaged.
However, extreme caution is advised. Downloading such programs from untrusted websites can lead to computer infection with viruses or Trojans. Many antivirus programs label such utilities as "RiskWare" or "HackTool" because they use legitimate OS functions to extract sensitive data.
⚠️ Attention: Never use programs to "hack" other people's networks (such as Aircrack-ng) without the owner's permission. This is illegal and violates criminal code provisions on unauthorized access to computer information.
If you've forgotten your router's password and the default password on the sticker doesn't work (someone changed it), a full reset will help. To do this, press the Reset button on the router with a thin object and hold it for 10-15 seconds. After the reset, the device will return to factory settings, and you can set up Wi-Fi again with a new password.
Remember that the security of your network depends on the strength of your password. Use a combination of uppercase and lowercase letters, numbers, and special characters, at least 12 characters long. Regularly changing your access keys and updating your router firmware are the best ways to protect your data from prying eyes.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if I have never connected to this network?
No, it's technically impossible to find out the password for a network you don't have access to that uses modern encryption (WPA2/WPA3). The only legal way is to ask the owner or look at the router's sticker if you have physical access to the device.
Where can I find the password if the sticker on my router has worn off?
If the sticker is illegible, try the standard combinations: admin/admin, admin/1234, admin/password. If these don't work, you'll have to reset the router and set it up again, creating a new password.
Is it safe to save passwords in iCloud or Google Account?
Yes, it's safe and convenient. Data is encrypted and stored in a secure cloud. This makes it easy to restore Wi-Fi access when changing devices or after a phone reset.
What should I do if Windows says "Unable to save network settings"?
This often happens when trying to change the settings of an active network. Try deleting the network profile (Forget network) first, and then reconnecting using the correct password. To delete, use the command netsh wlan delete profile name="Name".