Many users are familiar with the situation where they've lost access to their wireless network and a new device requires a security key. Owners often forget the complex code they once set for protection. WPA2, or they change their router and can't remember their old login details. Fortunately, operating systems and network equipment often store this information in hidden logs or on physical stickers.
Recovering lost data is a process that doesn't require in-depth programming knowledge, but it does require attention to detail. There are several proven methods that allow hack Your own network legally, using standard Windows, macOS, or router interface features. It's important to understand that this is only about restoring access to your own devices, not about hacking other people's networks.
In this article, we'll detail the steps for various scenarios: from viewing saved keys in the system to resetting your router. You'll learn how to find the information you need even when you don't have a single connected device at hand. The key is to proceed consistently and check every possible data storage source.
Find the password on the router case and in the documentation
The easiest and most often overlooked way to find the factory security key is to inspect the router itself. Network equipment manufacturers such as TP-Link, Asus or MikroTik, a special information sticker is almost always placed on the bottom panel of the device. It contains default settings that remain in effect until the user changes the settings for the first time.
Pay attention to the fields Wireless Key, WPA Key or PasswordThis combination of characters is the key for the initial connection. If you've never changed your router's security settings since purchasing it, this code will allow you to log into the network without any further fuss.
⚠️ Note: If the router was reconfigured by the previous owner or provider, the information on the sticker may not work. In this case, the factory credentials have been changed, and you will need to search the system or reset the device.
It's also worth checking the original box or instructions, if you still have them. Sometimes they contain cards with unique codes or QR codes for quick setup. Scanning such a code with a smartphone camera can instantly grant network access without having to manually enter characters.
How to view your password in Windows 10 and 11
The Windows operating system automatically saves profiles of all networks the computer has ever connected to. This allows devices to automatically reconnect when a signal appears, but also allows the user to view the saved key. This doesn't require third-party programs; standard system tools are sufficient.
The first method involves using the graphical interface. Open "Network & Internet Settings," go to "Network and Sharing Center," and select the wireless network properties. In the window that opens, on the "Security" tab, check the box next to "Show characters as you type." The system will prompt you for administrator privileges, after which the hidden text will become visible.
For more advanced users or in cases where the graphical interface isn't working correctly, there's a command line method. This method allows you to list all saved profiles and display the key for a specific SSID. Use the command netsh wlan show profile name="Network_Name" key=clearIn the "Security Settings" section, the "Key Contents" field will display the code you are looking for.
☑️ Check in Windows
It is worth noting that to execute the command through cmd Administrator privileges are required. If you are running under a Guest or Limited User account, the system may deny access to security data. In this case, you must log in with administrator privileges.
Restoring access on macOS and iOS
In the Apple ecosystem, all Wi-Fi passwords ever entered on an iPhone, iPad, or Mac are synced via iCloud Keychain. This means that if you have at least one Apple device that is already connected to the network or has previously connected, you can access the passcode through Keychain.
On Mac computers with macOS Ventura and later, the process is extremely simple. Open System Preferences, go to Wi-Fi, find the desired network in the list of known networks, and click the information icon (three dots or the "More Details" button). Next to the password field, you'll see a copy or share button that requires confirmation via Touch ID or your Apple ID password.
A similar feature is now available for iOS devices (iPhone, iPad) updated to iOS 16 or later. Go to "Settings" → "Wi-Fi" and tap the blue "i" icon next to the network name. The "Password" field will be hidden behind dots, but when you tap it, the system will prompt you to complete biometric authentication (Face ID or Touch ID), after which the code will be displayed and can be copied.
What to do if iCloud Keychain is disabled?
If key syncing has been disabled, the password may only be stored locally on the device where it was first entered. In this case, try finding the Mac that was connected to the network and using the Keychain Access app via Spotlight search.
Using the Command Prompt and PowerShell
For technical professionals and command line enthusiasts, PowerShell offers even more flexibility in working with network profiles. Unlike the standard CMD command line, PowerShell allows you to export data in XML or JSON format, which is convenient for analyzing or backing up settings.
To get detailed profile information, including the encryption type and key, you can use the following script. It will output all the necessary data in a readable format. This is especially useful if you need to quickly find the password for a guest network or an IoT device network with a long and complex name.
netsh wlan show profile name="Name_of_Network" key=clear
If you don't remember the exact network name, first run the command netsh wlan show profilesto list all saved profiles. Then, use the full name from the list to request a key. Note that case is important if the network name contains special characters or spaces.
Viewing the key through the router's web interface
If no devices are connected to the network, but you have access to the router via cable (LAN), you can log in to its web interface. To do this, you need to know the gateway IP address (usually 192.168.0.1 or 192.168.1.1) and the administrator login/password. This information is also often found on a sticker on the bottom of the device.
After logging into the control panel, you need to find the section responsible for the wireless network. Depending on the model and firmware, it may be called Wireless, Wi-Fi, WLAN or "Wireless Network." Within this section, look for the "Security" or "Wireless Settings" subsection.
The Wireless Password/Key field will display the current key. If the field is hidden by asterisks, many modern firmware versions (e.g., Keenetic or MikroTik) There's a "Show" button (the eye) nearby. On older models, you may need to temporarily change the password to a new one, save the settings, and then, if necessary, restore the old one (if you remember it).
| Router brand | Typical IP address | Menu section | Field name |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Password |
| Asus | 192.168.1.1 | Wireless Network -> General | WPA Pre-Shared Key |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | PSK encryption key |
| Keenetic | 192.168.1.1 | My Networks and Wi-Fi -> Home Network | Network password |
If the network is hidden or requires a key to log in, this method via the web interface without a connection will not work.
Android apps and third-party software
On Android mobile devices, the situation is more complicated due to system security restrictions. Starting with Android 10, third-party apps are unable to access Wi-Fi password files. However, if you have root access, you can use file managers to view the file. wpa_supplicant.conf, where all keys are stored in clear text.
Without root access on Android 10 and above, you can only see the password for the network your device is currently connected to. To do this, go to Wi-Fi settings, tap the gear icon for the active network, and select "Share" or "QR code." The password is often written in plain text under the QR code, or it can be scanned with any QR code scanner from another phone.
⚠️ Warning: Be extremely wary of apps from the Play Market that promise to "hack" any Wi-Fi network. Most of them are either useless or contain malicious code that collects your personal data. A real WPA2 hack is only possible through brute force, which takes years.
There are also PC utilities such as WirelessKeyView from NirSoft. They allow you to export all keys saved in Windows into a single list. This is convenient for system administrators who need to transfer settings to a new computer or back up corporate passwords.
Do hacking apps work?
Apps like WiFi Map operate on the crowdsourcing principle: users download passwords for open networks in cafes or hotels. They don't crack the encryption, but simply display a database created by others. This method is useless for a home network.
Resetting your router as a last resort
If none of the above methods work and neither device remembers the password, there's one last, radical, yet effective option: a full factory reset (hard reset). This will erase all user settings, including the Wi-Fi password, provider settings, and network name.
To perform a reset, find the recessed button on the router body. Reset or DefaultPress it with a thin object (a paperclip or toothpick) and hold it for about 10-15 seconds until the lights flash simultaneously. After rebooting, the router will operate with the factory password indicated on the sticker.
After resetting, you'll need to reconfigure your internet connection (enter your ISP login and password if you're using PPPoE or L2TP). Before performing this operation, make sure you have your ISP contract or login information.
Frequently Asked Questions (FAQ)
Is it possible to find out my neighbor's Wi-Fi password?
No, it's impossible to legally obtain the password for someone else's secure network. All methods described in this article only work with networks to which your device has previously connected or require physical access to the router to reset it. Hacking into other people's networks is prohibited by law.
What should I do if I forgot my router admin password?
If you changed your router settings password (not to be confused with your Wi-Fi password) and forgot it, it can't be recovered. The only solution is to reset the router to factory defaults, which will reset the login and password to the ones on the sticker (usually admin/admin).
Where are Wi-Fi passwords stored on Android without root?
In modern versions of Android (10+), direct access to the password file is blocked without superuser rights. You can only view the password for the currently active network via the "Share" menu (QR code). For older networks to which the phone has previously connected, viewing is impossible without root access.
Why does the netsh command say "Network not found"?
This means there's no saved data for a network with that name in the Windows profile. Check the spelling of the name (case is important) or verify that the computer has successfully connected to this access point.
Is it possible to recover the password if the router is reset?
No. After a reset, all user settings, including the password you set, are permanently deleted. The router returns to its out-of-the-box state, and the only key is the one printed on the factory sticker.