It's common to need to connect a new device to a wireless network but lose or forget the password. Often, the user is already connected to Wi-Fi on one of their computers but doesn't know the secret combination of characters needed to authorize the smartphone or tablet. Fortunately, operating systems and network equipment store this data in clear or encrypted form, and it's quite possible to retrieve it using standard tools.
There are several proven ways to restore access to network credentials, ranging from simple Windows graphical interfaces to more advanced command-line methods. The method you choose depends on your operating system version, your administrator privileges, and physical access to the router. In this article, we'll cover each option in detail so you can choose the most appropriate one for your situation.
It's important to understand that password recovery is only possible if your computer has successfully connected to the network. If your device has "forgotten" the network or you're trying to find the password for someone else's Wi-Fi network that you've never connected to, client-side software methods won't help without specialized traffic interception equipment, which is beyond the scope of this guide.
Viewing a saved password in the Windows interface
The easiest and safest way to find a forgotten Wi-Fi password is to use the built-in tools in the Windows operating system. This method works on all current versions, including Windows 10 and Windows 11, and doesn't require installing third-party software or entering complex commands. However, to use this method, your computer must be currently connected to the network or have a saved connection profile.
First, you need to open the classic Network Connections window. In newer versions of Windows 11, the path may be hidden deep within the settings menu, so the easiest way is to use search or the Run command. Find the active wireless connection whose properties you want to examine in the list. This is where the security tab is hidden, containing the information you're looking for.
- 🖱️ Press the key combination
Win + R, enter the commandncpa.cpland press Enter to open the network connections window. - 📡 Find the "Wireless Network" (Wi-Fi) icon, right-click on it and select "Status".
- 🔑 In the window that opens, click the "Wireless Network Properties" button, then go to the "Security" tab.
- 👁️ Check the box next to "Show entered characters" to make the hidden password visible in the text field.
After completing these steps, the required character combination will appear in the "Network Security Key" field. Please note that administrator privileges may be required to complete this operation. If the system prompts you to confirm your account, you will need to enter your administrator password or confirm the action through UAC.
⚠️ Attention: If the Security tab is missing or the fields are grayed out, it may mean that your account does not have sufficient permissions, or your organization's group policies are blocking you from viewing network settings.
In some corporate environments, access to the wireless adapter's properties may be restricted by the network administrator. In this case, the standard graphical interface will not allow you to view the key. It's also worth considering that the settings interface has been significantly redesigned in Windows 11, and the path to the classic properties window may differ from what you're used to in Windows 10.
Using the Command Prompt to Restore Access
For users who prefer a text-based interface or are limited by the graphical interface, the ideal solution is to use the command line (CMD) or PowerShell. This method allows you to retrieve saved passwords even for networks to which the computer is not currently connected, but which were previously saved in the profile.
The method is based on working with the utility netsh, which manages Windows network settings. You'll need to run Terminal as an administrator, as password requests are a security-sensitive operation. First, you need to get a list of all saved Wi-Fi profiles to know the exact name of the network whose password you're looking for.
netsh wlan show profiles
After entering this command, the system will display a list of all networks ever connected to this PC. Find the desired name (SSID) in the list. Next, to view the password for a specific network, use the command followed by the profile name. The command syntax is critical: the network name must be enclosed in quotation marks if it contains spaces.
netsh wlan show profile name="Your_Network_Name" key=clear
In the command output, find the "Security settings" section. There you'll find the "Key Content" line, which displays the password in clear text. This method is especially useful if the graphical interface isn't working correctly or if you need to quickly copy the password without unnecessary mouse clicks.
- 📝 Make sure the command prompt is run with administrator privileges, otherwise the command will return an access denied error.
- 🔍 An exact match of the network name is required: check the case of letters and the presence of spaces in the profile name.
- 💾 The result can be saved to a text file by adding the following structure to the end of the command
> c:\wifi_pass.txt.
Using PowerShell produces similar results, but the command syntax may differ. However, the standard CMD remains the most universal tool, working on all versions of Windows from XP to the latest 2026-2026 builds. If the system reports that the profile is not found, it means the computer never connected to this network automatically.
Checking the settings via the router's web interface
If none of your computers remember the password, or you want to change it for all devices at once, the best option is to access the router's settings. The router's web interface stores the entire wireless network configuration, including the current security key. To access it, you'll need a browser and a cable connection (or an existing Wi-Fi connection).
Open any browser and enter your router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1, however, the address may vary depending on the model and manufacturer. The exact address, as well as the username and password for accessing the admin panel, are usually located on a sticker on the bottom of the device.
After successfully logging in (the login and password are often admin/admin), you need to find the section related to wireless mode. The names may vary: "Wireless," "Wi-Fi," "Wireless Network," or "WLAN." Within this section, look for the "Security" or "Wireless Network Settings" subsection.
| Manufacturer | Standard address | Settings section | Password field |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Wireless Password |
| ASUS | 192.168.1.1 | Wireless Network -> General | Authentication method |
| 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 | Wi-Fi network password |
In this section, you'll see your current password in a field labeled "Password," "Key," "PSK," or similar. It's often hidden behind asterisks, but there's usually a "Show" button (an eye) next to it, or the option to simply copy it if the interface is modern. If you decide to change your password here, be sure to click "Save" or "Apply," otherwise the changes won't take effect.
⚠️ Attention: Changing the password in your router settings will disconnect all connected devices. You'll have to reconnect each smartphone, TV, and laptop with the new password.
Interfaces from different manufacturers may vary significantly, but the logic remains the same: look for the Wireless or Wi-Fi section. If you can't access the router settings, the administrator password may have been changed previously. In this case, you'll need to reset the device to factory settings using the Reset button.
☑️ Checking access to the router
Recovering by resetting the router
When the Wi-Fi password is lost, the router's password is also unknown, and no device can provide the necessary information, the final, radical yet effective method is a hard reset. This will restore the device to its factory settings.
On the back or bottom panel of the router, find the hole marked Reset or RestoreIt's usually recessed into the housing to prevent accidental pressing. To activate the reset function, use a thin object, such as an unbent paperclip or toothpick.
Press and hold the button inside the hole for 10-15 seconds while the router is plugged in. The lights on the front panel should blink or turn off, indicating the reboot process has begun. After this, the device will boot up with factory settings.
- 🔌 Make sure the router is plugged in and the power indicators are on before starting the reset.
- ⏱️ Hold the reset button for at least 10 seconds, preferably up to 15-20, to ensure the memory is cleared.
- 📶 After rebooting, the network will be named as indicated on the sticker (for example, TP-Link_XXXX), and will either have no password or a factory key.
After the reset, you'll be able to connect to Wi-Fi using the information on the factory sticker on the device. Then, be sure to log in to the web interface (the address and username/password will also be on the sticker) and set new, secure security settings for your network. Don't leave the router with the factory settings, as they are publicly known and insecure.
⚠️ Attention: Resetting will delete all customized settings: connection type (PPPoE, L2TP), provider data, IPTV settings, and static IP addresses. You'll have to reconfigure your internet if the router doesn't configure itself automatically.
This method should only be used as a last resort, after all other options have been exhausted. If you have a contract with your ISP that specifies your connection settings, or if you remember them, you shouldn't have any problems. Otherwise, you may need to contact your ISP's technical support for help setting it up.
What should I do if the sticker with the factory password has worn off?
If the sticker is illegible, try the standard combinations: admin/admin, admin/1234, root/root. You can also look up your router model on the manufacturer's website in the support section—standard login credentials are often published there.
Third-party utilities and mobile applications
There are many programs for Windows and Android that claim to "hack" or reveal Wi-Fi passwords. It's important to understand the difference between legitimate profile management utilities and malware. Most of these programs simply provide a graphical interface for the same commands we discussed in the CMD section or read the Windows registry.
One of the popular utilities is WirelessKeyView from NirSoft. It scans the Windows wireless network database and displays all saved keys. The program is portable, requires no installation, and runs quickly. However, downloading such utilities from unverified sites carries a high risk of infecting your computer with viruses or miners.
On mobile devices (Android), viewing saved passwords is only possible on devices with root access. Without root access, the Android security system blocks access to Wi-Fi configuration files. Apps on Google Play that promise to show passwords without root access are often scams or simply display a QR code for connection (on Android 10+), but not the actual text password.
- 🛡️ Download utilities only from official developer websites; avoid dubious builds.
- 📱 On Android without root access, you can't view the password in plain text using standard tools; you can only scan the QR code.
- 💻 Your antivirus may complain about password recovery utilities (like WirelessKeyView), considering them hack tools. This is a false positive, but the risk of real viruses is high.
Using third-party software is justified if standard Windows methods fail due to system errors or corrupted profiles. However, for the average user, built-in OS tools are the safest and most reliable option. Don't trust programs that require you to disable your antivirus software to work.
Security issues and network protection
The ability to easily find your Wi-Fi password if you have physical access to your computer or router underscores the importance of physical device security. If someone gains access to your powered-on laptop with administrator rights, they can find out your network password in a couple of minutes via the command line.
To minimize risks, use complex passwords that are difficult to brute-force, even if an attacker intercepts the hash. It is also recommended to disable WPS (Wi-Fi Protected Setup) in your router settings, as this protocol has known vulnerabilities that allow someone to recover the PIN and gain access to the network.
Regularly changing your password and updating your router firmware are basic rules of hygiene in the digital world. Firmware often contains security patches that close holes through which hackers can access wireless network settings remotely. Don't ignore notifications about the availability of new firmware versions for your router.
Is it possible to find out the Wi-Fi password if I'm not connected to the network?
Directly, no. If the computer has never saved a profile for this network, it doesn't store the password. However, if the profile is saved (even if the network is currently unavailable), the password can be retrieved via the command line. netsh, as described above.
What should I do if the netsh command returns a "Network not found" error?
This means that the profile name in the command does not match the saved one. Enter netsh wlan show profiles without parameters to see the exact profile name, and copy it verbatim, taking into account spaces and case.
Are password recovery programs safe to use?
Using trusted utilities (such as those from NirSoft) is safe if downloaded from an official source. However, many cracks and hacks contain viruses. It's better to use built-in Windows tools.
Will resetting the Wi-Fi password reset the router's internet settings?
No, if you change the password only in the Wireless Security section. ISP settings (PPPoE, DHCP, Static IP) are located in the WAN or Internet section and are not affected when changing the wireless network key.
Where can I find my Wi-Fi password on a Mac?
On macOS, passwords are stored in Keychain Access. Open the app via Spotlight, search for the network name, double-click it, and check "Show password." Confirm the action with Touch ID or your user password.