It's common to need to connect a new device to the network but lose the access key. This could be a guest's smartphone, a new laptop, or a smart speaker that requires authorization. Users often write down complex combinations on a piece of paper that they later lose, or simply forget to change the default code set by the technician during installation.
Fortunately, modern operating systems and network equipment store this information in a hidden form, allowing access to be restored without complex manipulation. Restoring access This is possible even if you've never changed the factory settings and the sticker on the device has worn off or gotten lost. There are several proven methods, ranging from simply viewing the network properties in Windows to logging into the router's administrative panel.
Before resorting to drastic measures like a full reset, it's worth trying to find the saved key using software. In most cases, the Windows or macOS operating system already "remembers" this code, as you've successfully connected to the network before. Knowing where to look for this data will save you time and frustration.
Finding a password through Windows settings
If your computer or laptop is already connected to a Wi-Fi network or has connected to one before, the Windows operating system stores connection data in a secure location. This is the easiest and fastest method, requiring no third-party software. You'll need access to a PC that already has an active connection to the problematic access point.
First, you need to open the Network Control Panel. Right-click the Wi-Fi icon in the system tray (lower-right corner of the screen) and select Open Network & Internet SettingsIn the window that opens, find the link Network and Sharing Center or go to Additional network settings, where you need to choose Configuring adapter settings.
In the Network Connections window, find your wireless adapter. Right-click on it and select StateIn the dialog box that appears, click the button Wireless network properties. Next, go to the tab SecurityThis is where the code you're looking for is hidden.
You will see a field Network security key, where the symbols are hidden by asterisks. To see them, check the box next to the item. Show entered charactersThe system may request administrator rights. Confirm the action, and the hidden code will become visible.
⚠️ Warning: If the "Security" tab is missing or the fields are grayed out, this may mean that your account does not have administrator rights on this computer, or the network profile is corrupted.
Using the CMD command line
For more advanced users or when the graphical interface isn't working correctly, the Windows command line is a great tool. This method allows you to retrieve the saved password for any network the computer has ever connected to, even if the connection is currently inactive.
Launch the command prompt. To do this, press Win + R, enter cmd and press Enter, or search for "Command Prompt" in the Start search and select Run as administratorFirst, you need to find out the exact name of the network profile. Enter the command:
netsh wlan show profiles
Find your network name in the list. Then enter the command to display it, adding the key key=clearThe command syntax looks like this:
netsh wlan show profile name="Your_Network_Name" key=clear
In the command output, scroll down to the section Security settings. Line Key Content will contain the desired password in cleartext. This method is especially useful if the Windows graphical interface is glitchy or hidden by group policies.
What if the network name contains spaces?
In the command line, arguments containing spaces must be enclosed in quotation marks. For example: name="My Home Wi-Fi". If you omit the quotation marks, the system will return a syntax error.
Viewing the key on macOS and mobile devices
Apple device users can also easily restore network access. In macOS, keys are stored in the iCloud Keychain or the local keychain. Open the app Bunch of keys (Keychain Access) via Spotlight or in the Applications folder. Select a category from the list on the left. Passwords and find the name of your Wi-Fi network.
Double-click the network name. In the window that opens, check the box. Show passwordThe system will ask you to enter your Mac user account password or use Touch ID. After confirming, you will see a passcode.
On smartphones with Android (version 10 and above) and iOS 16+, the function of viewing and sharing passwords has also appeared. On iPhone, you need to go to Settings → Wi-Fi, click on the blue icon (i) next to the network name and tap the hidden password field. Face ID or Touch ID will unlock the field, revealing the characters.
On Android, the process may vary depending on the manufacturer's operating system (MIUI, OneUI, ColorOS). Typically, you need to tap the gear icon next to the network and select the option Share or QR codeA text password is often displayed underneath the QR code, or it can be read by another device.
Login to the router's administrative panel
If no devices are connected to the network, the only option left is to check the settings on the router itself. To do this, connect to the device via cable (LAN) or, if the network is open (without a password), via Wi-Fi. The login address is usually written on a sticker on the bottom of the device.
Standard addresses for entering the web interface:
- 🌐
192.168.0.1— D-Link, TP-Link are often used - 🌐
192.168.1.1— standard for Asus, Zyxel, old TP-Link - 🌐
192.168.31.1— typical for Xiaomi - 🌐
my.keenetic.net— domain name for Keenetic routers
Enter the address in your browser. You will be asked to enter your administrator login and password. By default, this is often admin/admin or admin/password, but if you changed them earlier and forgot, you'll have to reset them. After logging in, look for the section Wireless, Wi-Fi or Wireless modeThere will be a field there. Wireless Password or PSK Password.
Interfaces from different manufacturers can vary greatly. Tenda The settings are located in the "Wireless Settings" section, Asus — in the "Wireless Network" menu. The key is to find the field responsible for encryption and the access key.
⚠️ Note: Router interfaces are constantly being updated. The menu layout may differ from that described. If you can't find the item you need, check the official instructions for your model on the manufacturer's website.
Standard Login Data Table
Quick access to settings often requires factory credentials. Below is a table of the most common combinations for popular brands. However, keep in mind that on newer models, the password for accessing the admin panel may be unique and printed on a custom sticker.
| 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) |
| Xiaomi | 192.168.31.1 | (No) | Set during first setup |
| Keenetic | 192.168.1.1 | admin | admin |
If the default settings aren't correct, they were changed during the initial network setup. In this case, unless you remember the administrator password, you won't be able to restore the current settings without a reset.
Resetting the router settings (Hard Reset)
When all other methods have been exhausted and access to the settings has been lost, the final option is a full factory reset. This procedure will return the router to its out-of-the-box state. All changes, including the network name, Wi-Fi password, and administrator password, will be deleted.
On the back or bottom of the device, look for a button or recessed hole with the label Reset or WPS/ResetTo reset you need to:
- 🔌 Make sure the router is connected to the network and working.
- 📌 Press the reset button (or press a paper clip into the hole).
- ⏱ Hold the button for 10-15 seconds until the indicators flash simultaneously.
After rebooting, the device will broadcast the network with the factory name (indicated on the sticker) and without a password (or with the password from the sticker). You will be able to connect and configure new security settings.
⚠️ Note: After resetting, you will need to reconfigure your connection to your ISP (PPPoE, L2TP, or dynamic IP). Make sure you have a contract with your ISP and the necessary internet login information.
☑️ Preparing to reset your router
Prevention and data preservation
To prevent a password loss from happening again, we recommend using modern data storage methods. Writing passwords down on pieces of paper is unreliable; they can get lost or fade. It's better to use password managers built into browsers (Google Chrome, Safari) or specialized apps.
It's also a good idea to create a QR code for guests. Many routers (for example, Keenetic, TP-Link) have a QR code generation feature right in the interface. You can print this code and hang it near the router—guests can connect simply by scanning it with their phone camera, without having to ask you for complex symbols.
If you often forget information, create a text file on your computer or a note in the cloud called "Home Network" where you write down the network name, Wi-Fi password, router administrator login/password, and ISP information. This will save you hours of time in the future.
Frequently Asked Questions (FAQ)
Is it possible to hack a neighbor's Wi-Fi password?
No, this article only covers restoring access to your own networks. Hacking into other people's networks is illegal and violates computer security laws. We do not provide instructions on brute-force attacks or exploiting WPS/WPA2 vulnerabilities.
What to do if the Reset button does not work?
If the mechanical button sticks or doesn't respond, it may require a longer press (up to 30 seconds). If this doesn't help, you'll need to disassemble the case to short the contacts on the board or reflash the device via UART/TTL, which is a complex procedure for specialists.
Where can I find the password if I rented a router from a provider?
If the equipment belongs to a provider (for example, Rostelecom, MGTS), the login details are often found in the subscriber's personal account on the operator's website or in the provider's mobile app in the "Equipment" section.
Is it safe to store passwords in your browser?
Storing passwords in your browser is convenient, but less secure than using dedicated password managers with a master password. If someone gains access to your unlocked computer, they will be able to see your stored data.