Many users are familiar with the situation of needing to connect a new device to a wireless network but hopelessly forgetting the access key. Fortunately, operating systems and routers often store this information in their settings, allowing you to restore access without a complex hardware reset. In this article, we'll discuss proven methods for retrieving forgotten data for various platforms.
There are several basic ways to solve this problem, depending on what device already has access to the network or whether you have physical access to the router itself. The easiest way — Check the sticker on the router body if you've never changed the factory settings. However, if the default key has been changed, you'll need to use the operating system's tools.
Below, we'll cover the steps for Windows computers, Android and iOS smartphones, and router web interfaces in detail. It's important to understand that most software methods require you to be connected to the network or have access to a device that has successfully logged in.
Recovering a password on a Windows computer
Windows 10 and 11 automatically save security keys for all networks the computer has ever connected to. This makes it easy to retrieve forgotten data through a graphical interface or command line. The first method is the most convenient and requires no special skills.
To begin, open the Start menu and go to Network settings. You'll need to find your active connection and open its properties. In modern versions of Windows, this path looks like this:
- 🖥️ Right-click on the WiFi icon in the tray and select "Network and Internet settings".
- 🔗 Select your current connection and find the "Properties" or "Manage known networks" button.
- 👁️ Scroll down to the "Show characters" option in the security key field.
If the graphical interface does not allow you to see hidden symbols, you can use command lineThis method even works for networks the computer is currently connected to, but it doesn't display the input field. Open the console as administrator and enter the command to display saved profiles.
netsh wlan show profiles
After the list of networks is displayed, find the desired name and use the following syntax to obtain the key. Please note that the network name must be spelled exactly, respecting case.
netsh wlan show profile name="Your_Network_Name" key=clear
What to do if the command doesn't work?
If the system displays "Access Denied," make sure you're running the command prompt as an administrator. The command won't work if the network profile was previously deleted from the system.
In the report that opens, look for the line "Key Content." This is where the password you're looking for will be displayed in clear text. This method is standard and doesn't require any third-party software.
How to find out the password on Android and iPhone
Mobile platforms have long hidden saved network data for security reasons, but modern versions of Android and iOS now allow users to access it. On Android smartphones, starting with version 10, this feature is built into the system.
To view the saved key, go to WiFi settings, select the desired network, and tap the gear icon or QR code. The system will prompt you to scan the code to connect another device, but the text password is often displayed below the QR code or in the "Share" menu.
For device owners Apple I got even luckier with the release of iOS 16. Now you can view your password directly in Settings:
- 📱 Open "Settings" and go to the "Wi-Fi" section.
- 🔘 Click on the blue information icon (i) next to your network name.
- 🔑 Tap the "Password" field (hidden by asterisks) and confirm the action using Face ID or Touch ID.
After successful biometric authentication, the password will be displayed in plain text and can be copied. This is the fastest method for Apple ecosystem users.
⚠️ Attention: On non-rooted Android devices, access to the system/wifi/wpa_supplicant.conf file, where all passwords are stored, is blocked. The methods described above only work through the default settings interface.
Viewing the key through the router's web interface
If none of your devices remember the password, but you have access to the router settings (for example, via an Ethernet cable or if you're already connected via WiFi), you can find the key in the router's control panel. This will require knowing the default gateway address.
Enter the router's IP address (often this is 192.168.0.1 or 192.168.1.1). After entering the administrator login and password (indicated on the sticker on the bottom of the device, if you haven't changed them), go to the wireless network section.
| Router brand | Typical address | Menu section | Password field |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Wireless Password |
| ASUS | 192.168.1.1 | Additional settings -> Wireless network | WPA-PSK security method |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | PSK encryption key |
| Keenetic | 192.168.1.1 | My Network -> Wi-Fi Network | Password |
Interfaces from different manufacturers may differ, but the logic remains the same: look for the section related to Wireless or Wireless network, and the Security subsection. This is where the key field is located.
Some router models hide the password field by default. If you can't see the characters, try clicking the "Show" button (the eye) or temporarily disabling character masking if this option is available in the page's HTML code (though modern browsers block such manipulations).
Using third-party software and utilities
There are specialized programs that automate the process of extracting saved WiFi profiles. One of the most popular tools is the utility WirelessKeyView from NirSoft. It scans the Windows registry and displays a list of all saved networks and their keys.
Use such programs with caution. Antivirus programs may detect them as potentially unwanted software (HackTools), as their functionality can be exploited by attackers. Use such utilities only on trusted computers.
- 💻 Download the utility from the developer's official website.
- 🚫 Disable your antivirus during the scan (if it blocks the launch).
- 📋 Launch the program and find your network in the list (Key column).
⚠️ Attention: Downloading such utilities from untrusted sites can lead to infection of the system with real viruses. Always scan files using services like VirusTotal before running them.
An alternative would be password managers such as LastPass Or the built-in password manager in Google Chrome. If you've ever synced your WiFi passwords to the cloud via your browser, you can find them in the browser's security settings under the "Passwords" tab.
Resetting your router as a last resort
If none of the software methods work and you don't have access to the router interface (you've forgotten the administrator password), your last option is to perform a full factory reset. This will reset the WiFi password to the value printed on the sticker on the bottom of the router.
To perform a reset, find the button on the case Reset or WPS/ResetIt's usually recessed into the housing to prevent accidental pressing. You'll need a thin object, like a paperclip, to press it.
☑️ Checklist before resetting your router
Press and hold the reset button for 10-15 seconds until the router's lights flash simultaneously. After rebooting, the device will share the network with the default name and password. You'll need to reconfigure your connection to your ISP.
Security measures and network protection
Once you've regained access, it's time to consider your network's security. Using weak passwords or default factory keys makes your network vulnerable to brute-force attacks or protocol vulnerabilities. WPS.
It's recommended to set a complex password consisting of mixed-case letters, numbers, and special characters. It's also a good idea to disable the WPS feature in your router settings, as it's often a weak point in home network security.
Update your router firmware regularly. Manufacturers release updates that patch security holes. You can check for updates in the "System Tools" or "Administration" sections of the web interface.
Frequently Asked Questions (FAQ)
Is it possible to find out the password for someone else's WiFi network?
No, there's no legal way to find out the password for a network you've never connected to and don't have physical access to. Attempting to hack other people's networks is illegal.
What should I do if there is no password on the router sticker?
If there's no password on the sticker, the device doesn't have a pre-installed key, and the user had to set one manually during initial setup. In this case, a factory reset is the only solution.
Does the command line method work on Windows 7?
Yes, team netsh wlan show profile Works on all versions of Windows starting from Vista, including Windows 7, 8, 10 and 11, provided you have administrator rights.
Where are WiFi passwords stored on Mac?
On macOS, passwords are stored in Keychain Access. You can find them using Spotlight search, typing "Keychain Access," finding the network name, and checking the "Show password" box.