Many users are familiar with the situation of needing to connect a new device to a wireless network but have lost or never written down the password. Operating systems often request a "network security key," which sounds like a complex technical term to the average user, but is actually just your Wi-Fi password. Security key — is an alphanumeric combination that protects your local network from unauthorized access by outsiders.
Don't panic if you've forgotten this data, as there are several proven ways to recover it without resetting your device to factory settings. In this article, we'll cover the physical location of this information on the device, how to view saved passwords on already connected devices, and how to access the router's web interface to view or change encryption settings.
Understanding where your WPA2-PSK or WPA3 A key will help you quickly restore internet access on your laptop, tablet, or TV. We'll cover methods for various operating systems, including Windows, Android, and iOS, and also focus on the specifics of various network equipment manufacturers, such as TP-Link, ASUS, Keenetic, and D-Link.
Finding the factory password on the router case
The easiest and fastest way to find the security key is to inspect the device itself. Almost all modern router manufacturers place factory settings on a special sticker located on the bottom or back panel of the device. This label contains all the necessary information for initial setup, including SSID (network name) and default password.
The sticker typically says "Wireless Key," "WPA Key," "PIN," or simply "Password." If you've never changed your router's settings since purchasing it, the information on it will be accurate. However, if the device was previously configured by a provider technician or you've changed the settings yourself, this method may not work, as the factory password may have been replaced with a custom one.
⚠️ Attention: If the router's sticker is worn or damaged, try gently wiping the surface with a soft, dry cloth. Avoid using harsh chemical solvents, as they may permanently damage the sticker's backing.
It's important to understand the difference between a PIN code and a security key. In some devices, especially older versions, the PIN code is used for quick connection via WPS, but is not a direct Wi-Fi password. A WPA/WPA2 security key is typically longer (8-63 characters) and more complex than a short numeric PIN.
Viewing a saved password on a Windows computer
If you already have a laptop or desktop computer running Windows connected to your wireless network, you can easily find the security key through the system settings. The operating system stores passwords for all networks you've ever connected to in encrypted form, but allows the user to view them.
To do this, go to the Network and Sharing Control Panel. Right-click the WiFi icon in the system tray (near the clock) and select "Network and Internet Settings." Next, find the "Network and Sharing Center" link or simply click the name of your active network. In the wireless network properties window that opens, go to the "Security" tab.
In this section, you'll see the "Network Security Key" field, where the characters are hidden behind asterisks. To see them, check the "Show entered characters" box. The system may require administrator privileges to perform this action. This is the most reliable way to find out. WPA2 password, if the device is already authorized on the network.
☑️ Checking your password in Windows
For users who prefer the command line, there is an alternative method. Open the Command Prompt (CMD) as administrator and enter the following command: netsh wlan show profile name="Your_Network_Name" key=clearIn the "Security Settings" section, the "Key Contents" line will display the password you're looking for. This method is especially useful if the graphical interface isn't working correctly.
How to find the security key on Android and iPhone
Mobile device owners can also find saved passwords, although the procedure varies slightly depending on the operating system version. On modern Android smartphones (version 10 and above) and iOS 16+, this feature is built into the default settings, making life much easier for users.
On Android, go to "Settings" and select "Wi-Fi" or "Connections." Find the network you're connected to or select a previously saved network from the list. Tapping the gear icon or the network name often displays a QR code for quickly connecting other devices. The password may be displayed in text below this code, or sometimes directly in the interface. If there's no text, take a screenshot of the QR code and scan it with any scanner app—the password will be decoded.
iPhone users with the updated iOS 16 can view passwords as follows: open "Settings" and go to "Wi-Fi." Tap the blue "i" icon next to the network name. In the "Password" field, tap repeatedly until the option to copy or reveal hidden characters appears. The system will require confirmation via Face ID, Touch ID, or your screen unlock passcode.
⚠️ Attention: On devices with older versions of iOS (below 16) or Android (below 10), viewing saved passwords without rooting or jailbreaking isn't possible using standard tools. In such cases, you'll need to use the router login method.
Login to the router's web interface to change the password
If none of the previous methods work, the most universal method remains: logging into the router's control panel. To do this, any device connected to the network (via cable or WiFi) should open a browser and enter the gateway's IP address. Most often, this 192.168.0.1 or 192.168.1.1, but the exact address can be found in the documentation for the device or on the same sticker on the back.
After entering the address, the system will ask for a username and password to access the settings. The factory settings are also indicated on the sticker (often admin/admin). Once in the menu, find the section related to wireless mode. It may be called "Wireless," "Wi-Fi," "Wireless Network," or "WLAN." Within this section, look for the "Security" or "Security Settings" subsection.
This is where the current security key is displayed in the "Password," "Wireless Password," or "Pre-Shared Key" field. You can also change it to something more complex and memorable in this window. After saving the settings, the router will reboot the wireless module, and all devices will be required to reconnect with the new password.
Below is a table with typical addresses and login credentials for popular router models:
| Manufacturer | Login IP address | Default login | Default password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| Keenetic | 192.168.1.1 | admin | 1234 |
| D-Link | 192.168.0.1 | admin | (empty) |
What should I do if my admin password has been changed?
If the default login/password pair doesn't work, someone has changed the access settings. In this case, the only solution is a full reset of the router to factory settings (press the Reset button), but this will require setting up the internet again from scratch.
Using the command line and third-party utilities
For advanced Windows users, there's the option to export all saved WiFi profiles to a text file. This is handy if you need to restore access to multiple networks at once. The command netsh wlan export profile key=clear folder="C:\WiFi" will create XML files for each network, where the security key will be specified in clear text in the line keyMaterial.
There are also specialized utilities, such as WirelessKeyView from NirSoft, that automatically scan the Windows registry and display a list of all networks and passwords in a convenient format. However, using third-party software requires caution: download such programs only from the official websites of the developers to avoid infecting your system with viruses.
On macOS, users can find their saved password using the Keychain Access app. Enter your network name in the app's search, double-click the item, and check the "Show password" box. The system will prompt you for your Mac account password, after which the security key will be displayed in the text field.
Problems with encoding and encryption type
Sometimes users encounter a situation where a device sees the network but doesn't accept the password. This may not be due to an input error, but rather to incompatible encryption types. Older devices may not support modern standards. WPA3 or mixed mode WPA2/WPA3In such cases, it is recommended to temporarily set the encryption type in the router settings to WPA2-PSK (AES).
Another common issue is the keyboard layout and case sensitivity. The security key is case-sensitive: the letters "A" and "a" are treated as different characters. Make sure CapsLock is disabled on the device you're using to enter your password, and the correct language layout (English) is selected.
⚠️ Attention: Router and operating system interfaces are constantly updated. Menu locations and item names may differ from those described depending on your device's firmware version. Always consult the manufacturer's official documentation for your specific model.
If you use a complex password with special characters, some older devices (such as previous generation gaming consoles or low-end IoT devices) may not correctly process characters like #, & or spaces. In such cases, it is recommended to use combinations of letters and numbers only.
Frequently Asked Questions (FAQ)
Is it possible to hack a neighbor's WiFi security key?
No, this article does not provide information about hacking other people's networks. Guessing passwords to other people's WiFi networks without their permission is illegal. We only discuss ways to restore access to your own networks.
What should I do if the password sticker comes off?
If you haven't changed the password and the sticker is missing, the only solution is to reset the router to factory settings using the Reset button. After that, it will work with the factory password, which can be found online for your router model, or you'll have to set up the network again via cable.
Is PIN and security key the same thing?
Not always. A PIN code (8 digits) is often used with WPS technology for quick connection without entering a long password. A WPA2 security key is a longer, more secure phrase. These are different fields in the router settings.
How to make a security key more secure?
Use a combination of at least 12 characters, including uppercase and lowercase letters, numbers, and special characters. Do not use simple sequences (12345678) or personal information (dates of birth, names).