Needing to access a previously saved network or recover a forgotten security key is a common occurrence. Users often forget complex character combinations they once successfully entered on their devices. This raises the question of how to unlock a WiFi password if the device is already connected or if there is physical access to the router. Modern operating systems and routers store this information, but access to it is restricted for security reasons.
There are several legal ways to regain access to your own network data. Administrative panel The router allows you to not only change the key but also view the current one. You can also use built-in Windows or Android features that can display saved credentials. It's important to understand that hacking other people's networks is illegal, so all the methods described apply only to your equipment.
In this article, we'll cover the technical aspects of restoring access in detail. We'll cover working with the router's web interface, the command line, and specialized utilities. WPA2 And WPA3 These are modern encryption standards that reliably protect traffic, but knowing the administrator password allows you to manage these settings. If you've forgotten your Wi-Fi password, don't rush to reset your router, as this will require you to reconfigure your internet connection.
Before you begin, make sure you have physical access to the device or administrator rights on the computer. Without administrator rights or physical contact with the router, password recovery is impossible due to encryption protocols. This is a fundamental rule of information security that protects users from unauthorized access.
Password recovery via the router's web interface
The most reliable and universal way to find out or change your password is to log into your router's settings. To do this, you need to connect your computer or smartphone to the router, preferably via a cable, although you can also use your current Wi-Fi connection if one is established. The login address is usually found on a sticker on the bottom of the device and often looks like this: 192.168.0.1 or 192.168.1.1.
After entering the IP address in the browser, the system will ask for a login and password to access the control panel. By default, this is often a pair admin/admin or admin/password, if you haven't changed this information previously. If the default combinations don't work, the information may have been changed, in which case you'll need to reset your device to factory settings.
⚠️ Note: Resetting the router using the Reset button will delete all user settings, including the PPPoE or L2TP connection type and ISP data. Make sure you have your ISP contract handy.
Once in the menu, 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 modeThis is where the security settings are located, displaying the current encryption key in a text field or as asterisks that can be made visible.
Interfaces from different manufacturers vary significantly. For example, TP-Link The settings are often located in the Wireless Security section, and Asus — in the Wireless menu. The table below shows the settings paths for popular brands:
| Router brand | Path to the menu | Field name |
|---|---|---|
| TP-Link | Wireless -> Wireless Security | Wireless Password |
| D-Link | Wi-Fi -> Security Settings | PSK encryption key |
| Asus | Wireless Network -> General | Authentication method |
| Keenetic | My Networks and Wi-Fi -> Home Network | Wi-Fi network password |
Using the Command Prompt in Windows
The Windows operating system stores profiles of all networks to which the computer has ever connected. If you've forgotten the password, but the computer has previously successfully connected to this network, you can retrieve it using the command line. This method doesn't require third-party software and works on all modern OS versions, including Windows 10 and 11.
First, you need to launch the command prompt with administrator rights. This can be done by finding cmd In the Start menu, right-click and select the appropriate option. The first step will be to display a list of all saved Wi-Fi network profiles.
netsh wlan show profiles
In the list that appears, find the exact name of your network. Next, you need to request the security key for a specific profile. The command must include the network name in quotation marks if it contains spaces.
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the line Key Content (or "Key Contents" in the Russian version). The value next to it is your password. If you see dots or asterisks instead of text, it means access rights are limited or the profile is corrupted.
Viewing a saved password on Android
On Android mobile devices, the process of viewing a password varies depending on the operating system version. Starting with Android 10, the QR code and password viewing feature is built into the default settings without requiring root access. This significantly simplifies the process for modern smartphone owners.
To see the password, go to Settings -> Wi-Fi (or "Connections"). Tap the name of the network you're connected to, or select the gear icon next to it. In the menu that appears, select "Share" or "QR code."
After verifying your identity (using a fingerprint scanner or PIN), a QR code will appear on the screen for connecting other devices. A text password is often displayed underneath this code. If the text is hidden, you can take a screenshot and open it in the Google Lens app, which recognizes text from the image.
⚠️ Note: On devices with MIUI (Xiaomi), OneUI (Samsung), or ColorOS (Oppo), the layout of the controls may differ. Look for "Details," "Advanced," or the eye icon.
For devices running Android 9 and below, as well as some custom firmware versions, it's impossible to view the password using standard tools. In such cases, apps that require root access are required, which poses its own security risks. An alternative is to access the router's web interface through a mobile browser.
What to do if the QR code does not show the password?
Some manufacturers even hide the password in the QR code. In this case, take a screenshot, open Google Photos, tap "Lens" or "Search by image," and the system will attempt to recognize the text beneath the code.
Resetting your router as a last resort
If none of the software methods work, or you don't remember the password for the router's admin panel, your last option is a hard reset. This procedure returns the device to its factory settings, erasing all user changes, including the Wi-Fi password and provider settings.
There is a small hole on the back of the router that says Reset or WPS/ResetTo reset, press the button with a thin object (a paperclip or toothpick) for 10-15 seconds until the indicators flash simultaneously. The router will then reboot.
After rebooting, the Wi-Fi network will operate with the factory name and password, which are located on the sticker on the bottom of the device. You will need to connect to this network and go through the internet setup process again, entering your provider's information.
☑️ Checklist before resetting your router
It's important to understand the difference between a reboot (power cycle) and a reset. A reboot doesn't delete any settings, while a reset completely clears the configuration memory. Use this feature only when all other options have been exhausted.
Specialized recovery utilities
There are a number of PC programs that automate the process of retrieving saved passwords. One of the most well-known is WirelessKeyView from NirSoft. It scans the Windows registry and displays a list of all networks and their keys in a convenient format.
Using such snails requires caution. Antivirus programs may detect them as potentially unwanted software (HackTools), as they use the same methods as hackers. Such tools should only be downloaded from the developers' official websites.
An alternative is PowerShell scripts, which perform the same actions as netsh commands but in a more automated manner. However, for the average user, manually entering commands in CMD is often safer and more intuitive than running third-party executable files of unknown origin.
⚠️ Warning: Antivirus programs often block password recovery programs. Before running, make sure the file is downloaded from an official source and, if necessary, add it to the exclusions list.
Network Prevention and Security
Once you've unlocked access or recovered your password, it's recommended to consider your network security. Weak passwords are easily cracked using brute-force attacks. Use a combination of mixed-case letters, numbers, and special characters, at least 12 characters long.
Update your router firmware regularly. Manufacturers release updates that patch vulnerabilities in security protocols. It's also a good idea to disable the WPS feature, as it's often a weak point in home network security, allowing complex authentication to be bypassed.
Don't share your Wi-Fi password with strangers unless necessary. It's best to set up a guest network for guests, which has limited access to local resources and a separate password. This will isolate your devices from potentially infected devices.
Is it possible to unblock WiFi without access to the router?
Without physical access to the configured device (smartphone or PC) that already knows the password, recovering it is virtually impossible. WPA2/WPA3 encryption protocols have no backdoors. The only option is to reset the router if you have physical access.
Why does my computer say "Can't connect to this network"?
This could be due to several reasons: an incorrect password, an IP address conflict, outdated Wi-Fi adapter drivers, or changes to the router's security settings. Try "Forget the network" and reconnect.
Is it safe to use password cracking software?
Using such programs to access other people's networks is illegal. To recover your password, use only trusted utilities (such as those from NirSoft) and only on your own devices. Antivirus programs may flag them as a threat due to their functionality.
What should I do if I forgot my router admin password?
If the default admin/admin passwords don't work, a full reset using the Reset button will help. This will restore the factory password found on the sticker, but will require re-configuring the internet.