It's common to need to connect a new gadget to a network but forget the password. Fortunately, if at least one device already has an active connection to the wireless access point, recovering the access key is easy. Modern operating systems, such as Windows 10 And Android, often store this data in an open form for the user's convenience, allowing it to be quickly shared.
The recovery process depends on the type of device already connected to the network. You can use a laptop with an operating system installed, an Android smartphone, or even the router's web interface. It's important to understand that in some cases, accessing security settings will require administrator rights or physical access to the router.
In this article, we'll cover all available methods in detail, from simply viewing network properties in Windows to using the command line and the router manufacturer's mobile app. None of the methods described require installing third-party malware or breaking encryption. We will use only standard operating system tools.
Viewing a password in Windows using a graphical interface
The easiest way for laptop and PC owners is to use the operating system's standard tools. If your computer is already connected to Wi-Fi or has been connected before, Windows saves the network profile along with the security key. First, you'll need to open the Network Connections control panel, which displays all available adapters.
Right-click the network icon in the system tray or go to network settings. In the window that opens, find your active wireless connection and select its properties. You're looking for the tab or button for the wireless network, which contains the security settings. This is where the access code you're looking for is hidden.
In the wireless network properties window, switch to the "Security" tab. You'll see the "Network Security Key" field, where the characters are hidden behind asterisks or periods. To see the actual password, check the "Show entered characters" box. The system may prompt you to confirm administrator rights, after which the password will become visible.
⚠️ Note: If you are on a corporate network, access to the security tab may be blocked by your system administrator. In this case, the graphical method will not work, and you will need to use the command line or contact your IT department.
Using the Command Prompt in Windows
For more advanced users or in cases where the graphical interface does not work correctly, the command line is an excellent tool. netsh Allows you to manage network settings directly through text commands. This method is universal and works on all versions of Windows starting with XP, making it indispensable for diagnostics.
To begin, launch the command prompt with administrator rights. Enter cmd In the search box, right-click the result and select the appropriate option. The first step is to get a list of all saved Wi-Fi profiles on this device. This will help ensure that the desired profile actually exists in the system memory.
netsh wlan show profiles
Once the list is displayed, find the exact name of your network. Then use the command to display detailed information about a specific profile, including the security key. Note that the network name must be enclosed in quotation marks if it contains spaces.
netsh wlan show profile name="Your_Network_Name" key=clear
In the command output, find the "Security Settings" section. The "Key Content" line will contain the password you're looking for in cleartext. This method is especially useful if you need to quickly copy a password or if the interface freezes.
How to find out the password on an Android smartphone
Android device owners can also easily recover a forgotten password, starting with the operating system version 10. The mechanism works by generating a QR code that contains encrypted network information, including the password. Some manufacturers, such as Xiaomi or Samsung, can display the password in text directly below the QR code.
Go to your phone's settings and select "Wi-Fi" or "Connections." Tap the network you're currently connected to or the gear icon next to it. In the menu that opens, find the "Share" or "QR code" button. The system will ask you to verify your identity with your fingerprint, face, or PIN.
After confirmation, a QR code will appear on the screen. The password itself is often (but not always) written underneath it. If there is no text password, you can scan this code with any other device or a dedicated QR scanner app on the same phone. When scanning, the system will display a string like this: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;, where after P: and the required key will be found.
- 📱 Open Wi-Fi settings on Android.
- 🔒 Click on the active network or gear icon.
- 📲 Select the "Share" or "QR code" option.
- 👁️ Look under the code or scan it with another device.
⚠️ Note: On some custom ROMs (such as older versions of MIUI or ColorOS), the menu location may differ. Look for the "More" or "Advanced Settings" section within the Wi-Fi menu.
Restoring access to iPhone and iPad
Ecosystem users Apple For a long time, it was impossible to view saved passwords, but with the release of iOS 16, this feature became a standard feature. Access keys are now stored in iCloud Keychain and synced across all devices using the same Apple ID. This provides a high level of security and convenience.
To view the password, open "Settings" and go to "Wi-Fi." Find the network you need the key for and tap the blue information icon (the letter "i" in a circle) to the right of the name. In the menu that opens, find the "Password" field. It will initially be hidden by dots.
Tap the password field. The system will require biometric authentication via Face ID or Touch ID, or the device passcode. Once verified, the password will be displayed in text format and can be copied or spoken. You can also tap "Share Password" to transfer it to another nearby Apple device.
What to do if you have iOS version below 16?
If updating the system is not possible, the only standard method is to view the password in the router settings via a browser or use a Mac with macOS Ventura or newer, where the password is also displayed in the keychain.
Viewing the key through the router's web interface
If none of the connected devices can display the password (for example, if Windows is locked or the Android device is old), the only option is to turn to the source of the connection—the router itself. Almost all modern routers have a web interface accessible through a browser. To log in, you'll need the admin panel login credentials, which are often located on a sticker on the bottom of the device.
Connect to your router via cable or Wi-Fi. Open your browser and enter the gateway IP address (usually 192.168.0.1 or 192.168.1.1). Enter your administrator login and password. After logging in, 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 "WLAN Settings" subsection. There you'll find a field labeled "WPA Pre-Shared Key," "Wireless Network Password," or "PSK Password." This is where the current key is stored. You can simply copy it or change it to a new one, and then be sure to save the settings by clicking "Save" or "Apply."
| Router brand | Default address | 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 |
| Tenda | 192.168.0.1 | Wireless Settings -> Wireless Security |
☑️ Check before logging into the router
Specifics of macOS and Linux systems
Users of Apple Mac computers and Linux operating systems also have access to saved passwords, although the path is less obvious. In macOS, keys are stored in Keychain Access, a centralized password repository that requires authorization to view sensitive data.
Open Keychain Access using Spotlight search (Cmd+Space). Select "Passwords" from the list on the left. Find the desired Wi-Fi network in the list. Double-click it, check "Show password," and enter your Mac account password. The system will display the code you're looking for.
In Linux distributions with a graphical user interface (such as Ubuntu with GNOME), the process is similar to Windows. Go to network settings, select Wi-Fi, click the gear icon, and enable password display in the security tab. For terminals, you can use the command sudo grep psk /etc/NetworkManager/system-connections/*.nmconnection, but it requires superuser rights.
⚠️ Warning: On Linux, when editing network configuration files manually (e.g. in /etc/network/interfaces) Be careful: a syntax error may result in loss of network connection after reboot.
Frequently asked questions and access issues
Even following the instructions, users may encounter issues. For example, if the router was reconfigured by the ISP, the default login credentials for the web interface may not work. There are also cases where the network profile in Windows is corrupted and does not open the security tab. In such situations, deleting the profile and reconnecting helps, but this still requires a password.
If you change the password in the router interface, all connected devices will lose connection and require re-authorization. This is a good way to "kick out" uninvited guests, but it requires reconfiguring all devices in the house. Always write down the new, complex password in a safe place immediately after changing it.
Some antivirus and firewall software may block access to system network settings, considering attempts to view passwords suspicious activity. If commands fail or fields are grayed out, try temporarily pausing your security software.
Is it possible to find out the password if I am not connected to the network right now?
No, to view the password through Windows or Android settings, the device must be connected to the network or have a saved profile with a known key. If the profile is deleted and the password is forgotten, the only solution is to log in to the router (if available via cable) or reset the router to factory settings using the Reset button. After that, you can log in using the credentials from the sticker.
What should I do if my router doesn't accept the default admin/admin password?
Most likely, the password was changed during initial setup. Try to remember if you changed it. If the password is lost, the only option is to hard reset the router. To do this, press and hold the Reset button (usually recessed into the router's case) for 10-15 seconds while the router is powered on. The router will return to factory settings, and the password will be the same as on the sticker.
Is it safe to use third-party password recovery programs?
Using third-party software (such as WirelessKeyView) carries risks. While many are useful, downloading utilities from untrusted sites can lead to computer infection. Built-in Windows (CMD) and Android tools are safer and don't require additional software.
Where can I find the PIN code for WPS connection?
The WPS PIN is usually located on the same sticker as the Wi-Fi password, on the bottom of the router. It consists of 8 digits. However, using WPS is considered a less secure method, as this protocol is vulnerable to brute-force attacks. It's better to use the standard password entry.