It's a common situation to need to connect a new device to a wireless network, but the password has long been forgotten or lost among notes. We often connect successfully automatically, without thinking about the password combination, until we need to manually enter it on a guest's device or a new laptop. Fortunately, operating systems and network equipment store this data in secure registries that can be accessed legally.
There are several proven methods for restoring access to lost data, ranging from viewing the active connection properties in Windows to resetting the router to factory settings. The specific method you choose depends on which device is already connected to the network and whether you have physical access to the router. It's important to understand that this is strictly about restoring your own data, not hacking into other people's networks.
In this article, we'll cover the steps for various platforms, including mobile OS and desktop versions, and explain how to find the factory key on your device. You'll learn how to use the command line to obtain technical information and understand where connection profiles are stored in the system. This knowledge will allow you to quickly resolve connection issues in the future without calling a specialist.
Viewing your password through Windows settings
The Windows operating system automatically saves profiles of all networks your computer has ever connected to. If your laptop or PC is currently connected to the desired Wi-Fi network or has previously connected to it, you can easily find the hidden password combination through the graphical interface. This requires administrator privileges, as changes to network settings are considered system security settings.
Right-click on the network icon in the tray (usually it's a screen with tick marks or a globe icon) and select Network and Internet settingsIn the window that opens, find the section Network and Sharing Center or simply click on the name of your active connection. In the wireless network status window that appears, click the button Wireless network properties.
Go to the tab SecurityThis is where the key encryption parameters are located. You will see a field Network security key, where the symbols are hidden by dots. To see them, you need to check the box next to the item. Show entered charactersThe system may ask you to confirm administrator rights, after which the hidden text will become visible.
It's worth noting that the interface may differ slightly in Windows 10 and 11, but the logic remains the same: find the active adapter and go to security properties. This method is the simplest and doesn't require third-party software or complex commands.
Using Command Prompt to Recover Data
For more advanced users or in cases where the graphical interface isn't working correctly, using the command line is ideal. This method allows you to retrieve the saved password for any network the computer has connected to in the past, even if it's not currently active. Windows provides a powerful utility. netsh, which manages network configurations.
Run the command prompt as administrator. To do this, enter cmd In the Start menu search, right-click the result and select the appropriate option. First, you need to find out the exact name of the network profile, which may differ from the Wi-Fi name if you changed it manually. Enter the command:
netsh wlan show profiles
Find the name of the desired network in the list. Then use the command to display profile details by adding the key key=clear, which forces the security key to be output in cleartext. The command syntax is as follows:
netsh wlan show profile name="NETWORK_NAME" key=clear
In the information block, find the line Key content (Key Content). This is where the password you're looking for will be located. This method is especially useful if you need to quickly copy data or if the settings interface freezes.
⚠️ Note: When entering the network name in quotation marks, be sure to maintain capitalization. If the name contains spaces, the quotation marks are required, otherwise the command will return an error.
View saved networks on Android and iOS
Mobile devices have their own security limitations, but modern versions of Android and iOS allow you to share access or view saved data. On smartphones running Android 10 and above, the password viewer feature is built into the system. Go to Settings, select a section Wi-Fi and click on the name of the connected network or on the gear icon next to it.
Find the button Share or QR codeWhen pressed, the system may require unlocking the screen with a PIN or fingerprint. A QR code for quickly logging in guests will appear on the screen, with the password itself often written in small print underneath. If the text is not visible, take a screenshot and open it with the Google Lens app—it will recognize the text in the image.
On Apple devices, the situation is more complicated due to the closed ecosystem. iOS 16 and later introduced the long-awaited ability to view passwords. Go to Settings → Wi-FiClick on the blue information icon (i) to the right of the network name. Tap the line Password, hidden by dots. After successful biometric authentication (Face ID or Touch ID), the password will become visible and can be copied.
- 📱 On Android, use the built-in QR code generator in Wi-Fi settings.
- 🍏 On iOS 16+, the password is hidden in the details menu of a specific network.
- 🔒 For older versions of Android (below 10), root access or a system backup will be required.
- 🔄 On an iPhone without iOS 16, it is impossible to see the password using standard tools.
What to do if there is no share button on Android?
Some manufacturers (such as Xiaomi or Samsung) may hide this feature deeper. Look for "Manage Networks" or try long-pressing the network name in the list of available connections.
Finding the factory password on the router case
If you've never changed your router's default settings, your Wi-Fi password is likely the same as the factory default. This information is always found on a sticker located on the bottom or back of the device. Look for the sticker with the manufacturer's logo and barcodes.
On the sticker you are interested in the fields Wireless Password, WPA Key, Key or simply PasswordA single key is often used for accessing the web interface and Wi-Fi, but this isn't always the case. The SSID—the default network name—is also listed there, which you may not have changed.
Please note that on older router models, the password may be printed on a separate card included in the package, rather than on the router itself. In this case, if the card is lost, you will need to use other recovery methods, such as a factory reset. The sticker may fade over time, so it is recommended to photograph it immediately after purchasing the equipment.
| Manufacturer | Designation on the sticker | Standard format |
|---|---|---|
| TP-Link | Wireless Password / PIN | 8 digits or 10 characters |
| ASUS | WPA Pre-Shared Key | A random set of letters and numbers |
| D-Link | WIFI Key / Password | 8-12 characters |
| Xiaomi | Password | A short string of characters |
Login to the router's web interface
The most secure way to find out or change the password is to log into the router's admin panel. To do this, connect the device to the router via cable or Wi-Fi (if available). Open a browser and enter the device's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address is also indicated on the sticker on the bottom of the case.
The system will ask for your username and password to log in. If you haven't changed them, use the default ones: usually login admin and password admin (or leave the field blank). After logging in, find the section Wireless, Wireless mode or Wi-Fi Settings. In the subsection Wireless Security the current value of the key will be indicated.
Here you can also change your password to something more complex and easier to remember. Don't forget to save your changes by clicking the Save button. Save or ApplyAfter this, all connected devices will be disconnected and will need to be reconnected with a new key.
☑️ Check before logging into the router
⚠️ Please note: Router interfaces are constantly being updated. If you can't find the item you need, check the official manual for your model, as the menu layout varies significantly across different firmware versions (Keenetic, MikroTik, TP-Link).
Resetting the router to factory settings
If none of the above methods help, and you don't remember the Wi-Fi password or the router settings, the final, radical option is a hard reset. This will return the device to its out-of-the-box state, erasing all user settings, including the provider name and logins.
On the switched-on router, find a small indentation with the inscription Reset or RestoreTake a paperclip or needle, press the button inside the hole, and hold it for about 10-15 seconds until the lights on the router blink simultaneously. After rebooting, the router will broadcast the network with the factory name and password indicated on the sticker.
Please note that after a reset, your internet may stop working if your ISP requires manual PPPoE or VLAN configuration. Use this method only as a last resort, after all other options have been exhausted.
Frequently Asked Questions (FAQ)
Is it possible to find out a Wi-Fi password if the computer is not connected to it?
Yes, if the computer has connected to this network before. In Windows, this can be done via the command line by entering the command netsh wlan show profile name="Name" key=clearIf the device never saved this profile, it is impossible to find the password remotely without access to the router.
Where can I find the password if the sticker on my router has worn off?
Try standard combinations: login admin and password admin (or 1234). If they don't work, you'll have to reset the settings using the Reset button, after which the password will be reset to the factory default (you can find it online for your router model).
Is it safe to use password cracking software?
Using third-party password-guessing software (brute-force attacks) may be illegal if the network isn't yours. Furthermore, such programs often contain viruses. To recover your password, use only native OS tools or access to your router.
What should I do if my router requires a password to access its settings, but I don't remember it?
This is the administrator password you may have set during initial setup. If the default admin/admin They don't work, the only solution is to reset the device to factory settings using the Reset button.