It's common to urgently need to connect a new device to your home network but hopelessly forget the access key. This can happen after purchasing a new smartphone or tablet, or when guests arrive and need internet access. Fortunately, modern gadget operating systems and router interfaces often store this information in a hidden format, allowing it to be recovered without any complicated steps.
There are several proven extraction methods security keys, which depend on your device type and operating system. In some cases, accessing the settings of an already connected laptop is sufficient; in others, physical access to the router itself is required. We'll look at the most effective methods to help you avoid resetting your equipment to factory settings and then reconfiguring your ISP.
It is important to understand that all the steps described below are intended solely to restore access to your personal network or a network you administer. Attempting to hack someone else's wireless network is illegal. Before beginning the process, ensure you have permission to manage the equipment in question or at least one device that is already successfully connected to the access point.
Viewing a saved password in Windows 10 and 11
The Windows operating system has a built-in mechanism for storing network settings, including encryption keys. If your laptop or computer is already connected to the network or has connected to one before, the system may have saved this data in its profile. To access this information, you will need administrator privileges, as this is highly sensitive information.
The easiest way is to use the Control Panel graphical interface. Open the Start menu and search for "View network connections" or go to Settings → Network & Internet → Advanced network settingsIn the window that opens, find your active wireless connection, right-click on it, and select "Status."
In the dialog box that appears, click "Wireless Network Properties." Go to the "Security" tab. You'll see the "Network Security Key" field, where the characters are hidden behind asterisks. Check the "Show characters" box. password will become visible as plain text.
⚠️ Attention: If the "Security" tab is missing or the Properties button is grayed out, this may indicate that the current user does not have administrative access rights or the network profile is corrupted. In corporate networks, access to these settings is often blocked by security policies.
An alternative method for experienced users is to use the command line. This method is universal and works even when the graphical interface is unstable. Open the command line as administrator and enter the following command to list all saved profiles:
netsh wlan show profiles
Find your network name in the list. Then use the command to display details for a specific profile by adding "key=clear" to the end of the line:
netsh wlan show profile name="Your_Network_Name" key=clear
In the security information section, find the "Key Content" line. This is where the character set you're looking for will be listed. This method is especially useful if you need to quickly copy data without unnecessary mouse clicks.
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 10) and iOS (starting with 16), the process is significantly simplified thanks to data exchange features via QR codes or iCloud Keychain.
On smartphones Android With a current user interface (Samsung OneUI, MIUI, stock Android), simply go to Wi-Fi settings. Tap the name of the network you're connected to or select the "Share" button (often represented by a QR code icon). After verifying your identity with a fingerprint scanner or Face ID, the password text may appear under the QR code. If the text is hidden, you can take a screenshot and read the code using Google Lens or any other QR reader.
- 📱 iOS 16 and later: Go to "Settings" → "Wi-Fi," tap the blue "i" next to the network name. Tap the hidden "Password" field and confirm with Face ID or Touch ID.
- 🤖 Android 10+: Settings → Wi-Fi → Tap the network gear → Share button or QR code.
- 🔑 iCloud Keychain: On older iPhones, the password can be found in Keychain via iCloud settings if syncing was enabled.
Apple device owners should be aware of the Keychain feature. If you've ever saved a password on a Mac or iPad and enabled syncing, it will automatically appear on your iPhone. To view it, go to "Settings" → "Passwords" (or "Passwords & Accounts"). Find your router's address in the list (often 192.168.1.1 or the network name) and tap it. The system will ask for biometric verification, after which it will display your saved data.
⚠️ Attention: On non-rooted Android devices, viewing saved passwords in plaintext in system files is not possible for regular apps for security reasons. Use only the standard QR code method.
Login to the router's web interface
The most reliable source of truth is the router itself. All settings, including encryption keys, are stored in its memory. To access them, you need to log into the device's web interface through a browser. This method works whether you're connected via cable or Wi-Fi, as long as you have network access.
First, you need to find out the gateway's IP address. On Windows, you can do this via the command line by entering ipconfig, and find the line "Default gateway". On macOS or Linux, use the command ip route | grep defaultMost often the address looks like this 192.168.0.1, 192.168.1.1 or 192.168.31.1.
Enter this address in your browser's address bar. The authorization page will open. Here's an important detail: you need the password for the router's administrative panel, not the Wi-Fi network. By default, it's often listed on a sticker on the bottom of the device (admin/admin or a unique code), but it may have been changed during initial setup.
After successful login, the interface may look different depending on the manufacturer (TP-Link, ASUS, D-Link, Keenetic). You need to find the section related to wireless networking. Look for the "Wireless," "Wi-Fi," and "Wireless Mode" tabs. Inside, there will be a subsection called "Wireless Security" or "Security." The combination you're looking for will be found in the "PSK Password," "WPA Pre-Shared Key," or "Password" fields.
Below is a table of typical addresses and default login/passwords for popular models to help you get started:
| Manufacturer | Entrance address | Login (default) | Password (default) |
|---|---|---|---|
| TP-Link | 192.168.0.1 / tplinkwifi.net | admin | admin |
| ASUS | 192.168.1.1 / router.asus.com | admin | admin |
| D-Link | 192.168.0.1 | admin | (empty) |
| Keenetic | 192.168.1.1 / my.keenetic.net | admin | 1234 |
What should I do if my admin password has been changed and forgotten?
If you changed your router password and forgot it, restoring access without a factory reset is virtually impossible. A factory reset will restore your settings, but it will also delete your provider settings (PPPoE, L2TP), which you'll have to re-enter.
Using the Command Prompt and PowerShell
For users who prefer a text-based interface or don't have access to a graphical shell (for example, when connecting remotely), PowerShell is a powerful tool. This method not only allows you to reset passwords but also export profiles.
Run PowerShell as administrator. The command to display all saved Wi-Fi profiles looks like this:
netsh wlan show profiles
To retrieve the password for a specific profile immediately, use the following syntax. Note that the network name must be enclosed in quotation marks if it contains spaces:
netsh wlan show profile name="Home_WiFi" key=clear
In the output, find the "Security settings" section. The "Key Content" line will contain the key you're looking for. access keyThis method is good because it doesn't require opening multiple windows and works quickly even on slower machines.
- 🖥️ Versatility: Works on all versions of Windows from 7 to 11.
- 📝 Copying: Text can be easily selected and copied to the clipboard.
- ⚡ Speed: Instant results without loading heavy settings menus.
If you're using Linux, connection information is stored in NetworkManager configuration files. These are typically located in the /etc/NetworkManager/system-connections/To view the contents of the file (the file name usually matches the network name), you will need root privileges:
sudo cat /etc/NetworkManager/system-connections/NetworkName.nmconnection
Inside the file, look for the line psk=, followed by your password. On macOS, you can use the keychain via Terminal, with the command security find-generic-password -wa"Network_Name", which will request permission to access the key.
☑️ Check before logging into the router
Recovery via sticker and factory reset
If none of the software methods work, there's still a physical option. Most routers have an information sticker on the bottom or back. It often contains factory data: the SSID (network name) and PIN/Password (the password for the initial connection).
This method will only work in one case: if you never changed the default password when you initially set up your router. Many users neglect to change the factory settings, and in that case, the sticker becomes a lifesaver. Look for the "Wireless Password," "WPA Key," or simply "Password" fields.
In extreme cases, if the password is lost, changed, or access to the admin panel is lost, drastic measures are required: a hard reset. To do this, locate the small hole labeled "Reset" or "RST" on the router while it's turned on.
Take a paperclip or toothpick, press the button inside the hole, and hold it for about 10-15 seconds until the lights on the router blink simultaneously. After this, the router will reboot, and the password will be the same as on the sticker.
⚠️ Attention: A full reset will erase all your settings, including your ISP connection type (PPPoE, L2TP, Static IP), network name, and IPTV settings. You'll have to reconfigure your internet connection, so make sure you have your ISP contract handy.
Common errors and problems during recovery
The access recovery process isn't always smooth. Users often encounter common problems that are easily resolved once they're understood. One of the most common is misunderstanding the exact password required.
Many people confuse their Wi-Fi password (WPA/WPA2 key) with the password for their router's web interface. These are two different things. The former is needed to connect your phone to the network, while the latter is used to access the device's settings (192.168.xx). If you enter the Wi-Fi password into the router's login window, the system will return an access error.
Another common issue is keyboard layout and case sensitivity. Passwords are case-sensitive. The character "A" and the character "a" are different characters. Users also often fail to notice that Caps Lock is enabled or try to enter Cyrillic instead of Latin characters if the password contains letters.
- ⌨️ Layout: Make sure you are entering characters using the English keyboard layout.
- 🔡 Register: Check your upper and lower case letters, they matter.
- 👁️ Hidden symbols: When entering the password into the router settings, it is often hidden by dots, so be careful.
It's also worth mentioning the issue of "saved but incorrect" networks. If you've ever entered the password incorrectly and checked "Connect automatically," the device will attempt to connect with the incorrect information. In this case, select the network on the device and tap "Forget Network," then re-enter the correct password.
Why doesn't the router accept the correct password?
Sometimes the router may not accept the correct password due to the encryption type. If the device is older and only supports WEP, but the router is configured for WPA2/WPA3, the connection will fail. Check the compatibility of security standards.
Questions and Answers (FAQ)
Is it possible to find out a neighbor's Wi-Fi password using special programs?
No, there are no legal ways to hack someone else's secure network using "magic" apps. Programs that promise this are most often viruses or scams. The only legal way is to gain access via WPS, if it's enabled on your neighbor's router and you have physical access to the button. However, modern routers block such attempts.
What should I do if the sticker on my router has worn off?
If the sticker is illegible and you don't remember the password, you'll need to perform a reset using the button on the router. This will restore the router to its factory settings, which can be found in the model manual or on the manufacturer's website by entering the exact model number (e.g., TP-Link Archer C6).
Where can I find my password on a Mac if I'm not connected to the internet right now?
Open Keychain Access via Spotlight (Cmd+Space). Enter your network name in the search. Double-click the item found, check the "Show password" box, and enter your macOS account password (the username and password you use to sign in).
Does the Wi-Fi password change after resetting the router?
Yes, if you changed it manually, after the reset it will return to the one it had when you purchased it (indicated on the sticker). If you never changed the factory password, then after the reset it will remain the same—the one on the sticker.
Is it safe to store a password in a text file on my computer?
Storing passwords in plain text (txt, doc) on your desktop is unsafe, especially if your computer is shared with others or has unprotected internet access. It's better to use built-in password managers in your browser or specialized encrypted storage programs.