It's common to need to connect a new device to a wireless network but lose or forget the password. We often change default passwords to complex ones for security reasons, but over time, we forget them. Router owners often look for a way to restore access without the hassle of reinstalling the equipment.
Fortunately, Windows, macOS, and Android operating systems store data about previously connected networks. This makes it easy recover access key, if at least one gadget is already connected to the router. We'll look at all legal methods for extracting this information.
In this article, we'll cover both software and hardware methods. You'll learn where to find saved data in the system and what to do if no device remembers the code. We'll also cover your security settings. router.
Finding a password in Windows settings
The Windows operating system automatically saves profiles of all networks you've ever connected to. This is the easiest method, requiring no additional software. You'll need a device that has previously successfully connected to the desired Wi-Fi network.
Open the Start menu and search for "Control Panel." Go to the section Network and Internet, and then select "Network and Sharing Center." Here you'll see your active connection.
Click on the name of your wireless network (the blue link next to "Connections"). In the status window that opens, select "Wireless Network Properties." Go to the "Security" tab.
⚠️ Note: To view the password, you will need administrator rights on this computer. Without them, the system will not allow you to change display settings.
At the bottom of the tab, you'll see the "Network Security Key" field. It's initially hidden by asterisks. Check the "Show entered characters" box. The character combination will become visible.
This method works on all modern versions, including Windows 10 and 11. If you don't have access to the graphical interface, you can use the command line. Enter cmd in search, run as administrator.
Use the command to list all saved profiles:
netsh wlan show profiles
Then, to see the password for a specific profile, enter:
netsh wlan show profile name="Network_Name" key=clear
In the "Security Settings" section, find the "Key Contents" line. The code you're looking for will be listed there.
Restoring access to macOS and iPhone
Apple device users can access saved codes through iCloud Keychain. This cloud storage service syncs passwords across all your devices logged in with the same Apple ID.
On your Mac, open Keychain Access via Spotlight (Cmd+Space). Select "System" or "iCloud" from the list on the left. Find your Wi-Fi network name in the list of networks.
Double-click the network name. In the window that opens, check the "Show password" box. The system will ask you to enter your macOS account password or use Touch ID. After confirming, you'll see the text in the field.
On an iPhone with iOS 16 or later, the process is even simpler. Go to Settings → Wi-Fi. Tap the blue "i" icon next to your active network or any known network in the list.
Tap the "Password" line, which is hidden by dots. The device will prompt you to complete biometric verification (Face ID or Touch ID). After successful authentication, the password will be displayed and can be copied.
What to do if the password is not displayed?
If the system requires your Apple ID password and you don't remember it, you won't be able to restore access via Keychain. In this case, the only solution is to reset the router or log in to its web interface from a PC where the network is already saved.
Using the router's web interface
If none of your devices are connected to the network, but you have a computer connected to the router via a LAN cable, you can configure the settings directly. To do this, log in to the device's admin panel.
Open your browser and enter your router's IP address into the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address is indicated on the sticker on the bottom of the device.
Enter your username and password to log in. Factory data is also on the sticker. Standard pairs are often admin/admin or admin/passwordIf you changed them earlier and forgot, you will have to reset them.
After logging in, find the "Wireless" or "Wi-Fi" section. In the "Security" or "Security Settings" subsection, you'll see a "Password," "PSK Key," or "WPA/WPA2 Personal" field.
⚠️ Note: Router interfaces from different brands (TP-Link, ASUS, D-Link, Keenetic) vary significantly. Look for tabs with names containing the words "Wireless," "WLAN," or "Security."
Copy the value from the field. Don't forget to save the changes if you decide to change the password by clicking "Save" or "Apply."
Checking via Android mobile devices
Smartphones running Android 10 and above now have the ability to view passwords via QR code. This is a way to share access or simply find out the character combination.
Go to "Settings" → "Wi-Fi." Tap the gear icon next to the connected network. Select "QR code" or "Share."
A code will appear on the screen. The password itself is often written below it in plain text. If there is no text, take a screenshot and scan the code with any app (camera or QR scanner). The scan results will contain a string like this: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;Symbols after P: — this is your password.
On older versions of Android (before 10), you can't view the password using system tools without root access. In this case, the only solution is to access the router's web interface through your phone's browser.
Table of standard addresses and data
Accessing router settings often requires factory settings. Below is a table with the most common values for popular manufacturers.
| Router brand | IP address | Default login | Default password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| D-Link | 192.168.0.1 | admin | (empty) |
| Keenetic | 192.168.1.1 | admin | 1234 |
| Tenda | 192.168.0.1 | admin | admin |
If the default data isn't compatible, it means it was previously modified. In this case, only a hard reset will help.
Hard reset as a last resort
If none of the software methods help, the last option is to perform a full factory reset of the router. This will return the device to its "as-is" condition.
Find the button on the body Reset or WPS/ResetIt may be recessed into the housing. Take a paperclip or needle, press the button, and hold it for 10-15 seconds until the indicators blink simultaneously.
After rebooting, the router will operate with the default network name (SSID) and password indicated on the sticker. You will need to reconfigure your ISP connection (PPPoE, L2TP, or dynamic IP) if it isn't set up automatically.
⚠️ Note: Resetting will erase all your settings, including your network name, Wi-Fi password, and ISP settings. Make sure you know your connection type and ISP login information before resetting.
☑️ Checklist before resetting your router
Wi-Fi Security and Protection
After restoring access, it is recommended to strengthen network security. Using a weak password makes your network vulnerable to brute-force attacks.
Use an encryption protocol WPA2-PSK or WPA3WEP and WPA protocols are outdated and easily cracked. Set a password of at least 12 characters, using mixed-case letters and numbers.
Update your router firmware regularly. Manufacturers patch vulnerabilities in new software versions. You can check for updates in the web interface under "System Tools" or "Administration."
Disable WPS if you're not using it. This technology simplifies connection, but has known security holes that allow attackers to quickly guess the PIN code.
Is it possible to hack someone else's Wi-Fi?
There are security auditing programs (such as Aircrack-ng), but using them to access other people's networks without the owner's permission is illegal and punishable by law.
Frequently Asked Questions (FAQ)
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). If these don't work, the only solution is to reset the router using the button on the case. This will restore the router to the factory settings specified in the model's manual.
Is it possible to find out the password via the command line without administrator rights?
No. Team netsh wlan show profile Requires elevated privileges to display security keys. Without administrator rights, you'll only be able to see the list of networks.
What should I do if I forgot my router admin password?
The web interface password and the Wi-Fi password are different. If you changed the settings password and forgot it, the only solution is to reset the router using the Reset button.
Are password recovery programs safe to use?
Use only built-in OS tools or proven utilities from reputable vendors. Third-party "crackers" often contain viruses or miners. It's better to use the native features of Windows or macOS.