The situation when you need to connect a new device to your home network, but you have hopelessly forgotten the password, is familiar to many users. Often network security key It's stored only in the router's memory or on devices that have successfully logged in previously. Restoring access doesn't always require resetting the device to factory settings, which would otherwise require reconfiguring the internet connection.
There are many methods for retrieving saved passwords, depending on the operating system of your computer or smartphone, as well as the router model. In this article, we'll cover in detail how to restore access through built-in Windows tools, mobile device interfaces, and router administrative panels. Understanding these mechanisms will allow you to quickly regain control of your network without calling a specialist.
Windows 10 And Windows 11 These are the most common platforms from which users manage their network connections. By default, the operating system saves profiles of all networks the computer has ever connected to, ensuring automatic connections in the future. However, viewing the password itself in plain text through the standard settings menu is not immediately possible, as the system obscures it with asterisks.
Finding a password through Windows settings
The easiest way to find security key For the currently active network, use the system's graphical interface. This method doesn't require the command line and is suitable even for inexperienced users. Open the Network Connections control panel, where your Wi-Fi adapter's properties are stored.
Right-click the network icon in the system tray and select "Network and Internet settings." Next, find the link "Advanced network settings" or "Network and Sharing Center." In the window that opens, click the name of your wireless network. A status window will appear, where you should select "Wireless network properties."
In the new dialog box, go to the "Security" tab. This is where the "Network Security Key" field is located, hidden by default. To see the characters, check the "Show characters" box. If you don't have administrator rights on this computer, the system may ask you to confirm this action.
⚠️ Attention: If the Security tab is missing or the fields are grayed out, you may be using a Guest account or have an enterprise security policy that prevents viewing saved passwords.
Alternative path through new settings Windows 11 Allows you to copy the password directly. Go to Settings → Network & Internet → Wi-Fi → Manage known networks. Select your network and click View next to the key field. The system may require you to enter your account PIN or use biometrics.
Using the command line to extract the key
For advanced users or in cases where the graphical interface does not work correctly, using the console is the ideal solution. Command line (CMD) provides direct access to the Windows network profile database. This method is universal and works on all versions of the system, starting with Windows 7.
Launch the command prompt as administrator. To do this, find the "cmd" app in the Start menu, right-click, and select the appropriate option. First, you need to find out the exact network profile name, if it differs from the SSID. Enter the command:
netsh wlan show profiles
Find your network name in the list. Then use the command to display full profile information, including keys. The syntax requires the profile name and the key=clear parameter. For example:
netsh wlan show profile name="Your_Network_Name" key=clear
In the command output, find the "Security Settings" section. The "Key Contents" line will contain the password you're looking for in cleartext. This method is especially useful if you need to quickly copy the password to the clipboard or if the interface freezes.
What to do if the command fails?
If the system reports "Access Denied," make sure you're running the console as an administrator. If the error is "Group Not Found," check the exact profile name in the first command without the key=clear parameter, as names are case-sensitive and space-sensitive.
View saved networks on Android and iOS
Mobile devices also store access keys, but mobile OS security policies have long prohibited viewing them. In modern versions Android (10 and above) and iOS 16+ This feature has become available to users.
On smartphones Android with a clear shell or close to it (for example, Xiaomi, Nokia) The process is as follows. Go to "Settings" → "Wi-Fi." Tap the name of the connected network or the gear icon next to it. Select "Share" or "QR code." A text password is often displayed under the graphic code. If there is no text, take a screenshot of the QR code and scan it with Google Lens or any QR code reader—the password will be decrypted.
For device owners Apple We've had even better luck with the release of iOS 16. Now you can view the password for any saved network. Open "Settings" → "Wi-Fi." Tap the blue information icon (the letter "i" in a circle) next to the network name. Tap the "Password" field, which is hidden by dots. The system will prompt you to authenticate with biometrics (Face ID or Touch ID), after which the password will become visible and can be copied.
- 📱 On Android 9 and below, it is impossible to view the saved password using system tools without root access.
- 🍏 On iOS versions below 16, the function for viewing Wi-Fi passwords is not available.
- 🔒 To view the key on an iPhone, you must have Face ID or Touch ID configured.
Login to the router's administrative panel
The most reliable source of truth is the router itself. If you have physical access to the device and the ability to connect your computer to it via cable or Wi-Fi (if you're already connected), you can log in to the web interface. This displays WPA2 security key, currently installed.
To log in, you need to know the gateway IP address. This is usually 192.168.0.1 or 192.168.1.1Enter this address in your browser's address bar. The system will ask for your administrator username and password. If you haven't changed them, they're listed on a sticker on the bottom of the router (often it's admin/admin). If you've changed them and forgot, you'll have to reset the router using the reset button on the case, which will clear all internet settings.
Interfaces vary by manufacturer, but the logic is the same. Look for the "Wireless," "Wireless Mode," "WLAN," or "Wi-Fi" sections. Inside, you'll find a "Security" subsection. The "PSK Password," "Wireless Password," or "WPA Key" field will contain your password.
| Router brand | Typical IP address | Menu section | Path to password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless | Wireless Security -> PSK Password |
| ASUS | 192.168.1.1 | Wireless network | General -> WPA-PSK Key |
| D-Link | 192.168.0.1 | Wi-Fi | Basic Settings -> Encryption Key |
| Xiaomi | 192.168.31.1 | Wi-Fi settings | Password |
⚠️ Attention: Router firmware interfaces are constantly updated. Menu locations may differ from those described. If you can't find the item you need, consult the official manual for your specific model on the manufacturer's website.
☑️ Checking access to the router
Specialized software for recovery
There are programs that automate the process of extracting saved keys from the Windows registry. These are convenient if you need to quickly get a list of all passwords ever used. One of the most popular utilities is WirelessKeyView from NirSoft.
This program requires no installation, works immediately after launch, and displays a list of all networks, their SSIDs, encryption types, and keys in hexadecimal and ASCII formats. However, using this software requires caution. Antivirus programs may detect them as hacking tools (HackTools), as they operate by reading system password storage.
Another option is to use password managers such as KeePass or the built-in manager in the browser Google Chrome, if you've ever synced data there. In Chrome, you can find it under Settings → Autofill → Password Manager. Search for "Wi-Fi" or your network name.
WPS method and physical stickers
If none of the software methods work, it's worth checking the hardware's physical specifications. Most routers have a factory sticker on the bottom. It contains the SSID (network name) and the default PIN or password. If you've never changed your security settings, this key will work.
There is also a technology WPS (Wi-Fi Protected Setup). It allows you to connect devices without entering a password by pressing a button on the router. On Windows, this method works via the connect button on the keyboard or in the network interface if the driver supports WPS. On Android, there are apps (requiring root access for full functionality) that attempt to brute-force the WPS PIN, but on modern routers, this feature is often disabled by default due to vulnerabilities.
It's important to understand the difference between a WPS PIN and a Wi-Fi password. They are different sets of characters. Knowing the WPS PIN (often found on a sticker) can help you connect, but this method won't reveal the network password explicitly; it only authenticates you.
- 🏷️ The factory password is only valid if the router settings have not been changed.
- 🔘 The WPS button on the case allows you to connect in 2 minutes without entering a key.
- 📉 WPS technology is considered outdated and less secure than WPA3.
Frequently Asked Questions (FAQ)
Is it possible to find out someone else's Wi-Fi password without accessing the router?
No, it's impossible to legally find out someone else's closed network password. This violates computer security laws. All the described methods only work for networks to which your device has previously connected, or if you have physical access to the router's settings.
What should I do if the "Show characters" button is grayed out in Windows?
This means your current account doesn't have administrator privileges. You need to log in as an administrator or ask the computer owner for the password. You can also try running the Command Prompt as an administrator.
I reset my router, but I still can't connect to the internet. What should I do?
After a reset, the router loses all settings, including the connection type (PPPoE, L2TP, DHCP) and ISP data. You'll need to reconfigure your internet connection, which will require your ISP contract information (login, password, VLAN ID).
Where is the Wi-Fi password file stored on the system?
In Windows, profiles are stored in a protected system folder. C:\ProgramData\Microsoft\Wlansvc\Profiles\InterfacesHowever, the files there are encrypted and cannot be read with a regular text editor. Access to them is only possible through system APIs or special utilities with administrator rights.
Are password recovery programs safe to use?
Official utilities from reputable developers (like NirSoft) are safe if downloaded from the original website. However, antivirus programs may flag them as potentially unwanted software because they access sensitive data. Use them only on trusted devices.