It's a common situation to need to connect a new gadget to a network but hopelessly forget the password. Fortunately, modern operating systems like Windows And macOSBy default, passwords for previously used wireless networks are saved. This makes it easy to retrieve a forgotten password if you have physical access to a device that has already been successfully authenticated.
There are several proven methods for recovering lost data, ranging from simply viewing network properties in a graphical interface to using console commands for advanced users. None of the described methods require installing third-party software or resetting the router settings. It is only important to have administrator rights on the computer from which you plan to perform the operation.
In this article, we'll detail the steps for various operating system versions and explore how to obtain data through the router's web interface. You'll learn how to quickly find the information you need using your system's built-in security tools.
Viewing your password through network settings in Windows 10 and 11
The easiest and most accessible method for most users is to use the operating system's standard graphical interface. If your laptop is currently connected to the desired Wi-Fi network, the process will take no more than a minute. You'll need to open the Network and Sharing Center, where your current connection settings are stored.
To start, press the key combination Win + R and enter the command ncpa.cplIn the window that opens, find the active wireless connection, right-click it, and select "Status." Then click "Wireless Network Properties."
⚠️ Note: You must have administrator rights to view the tab containing the security key. If you are working under a guest account, the system will not allow you to view hidden text.
In the new window, go to the "Security" tab. You'll see the "Network Security Key" field, where the characters are hidden behind dots or asterisks. To display the password, simply check the "Show entered characters" box. The combination will then be readable, and you can copy or write it down.
Using the command line to obtain an access key
For those who prefer to work with the console or cannot find the desired menu in the settings, the operating system Windows offers a powerful tool—the command line. This method is universal and allows you to view passwords not only for the current network, but also for all previously saved networks.
Run the command prompt as administrator. To do this, enter cmd In the search box, right-click the result and select the appropriate option. The first step is to display a list of all profiles ever used on this computer. Enter the following command:
netsh wlan show profiles
Find the exact name of the desired network in the list. Then use the command to display a specific profile by adding the parameter key=clearThe syntax looks like this:
netsh wlan show profile name="Network_Name" key=clear
In the results block, find the "Key Content" line. This is where the password you're looking for will be displayed in clear text. This method is especially useful if the graphical interface is malfunctioning or frozen.
☑️ Check before entering commands
How to view your password on a MacBook (macOS)
Laptop owners Apple They can also easily restore network access using the built-in Keychain utility. This system stores all saved passwords, including Wi-Fi keys, in encrypted form, accessible after user authorization.
Open Spotlight search (key combination) Cmd + Space) and enter "Keychain Access." Launch the app. Select "Passwords" from the list on the left, or find your network name in the general list using the search in the upper-right corner of the window.
Double-click the network name. In the properties window that opens, check "Show password." The system will ask you to confirm your identity: enter your macOS account password or use Touch ID. Once successfully authenticated, the key field will become readable.
What should I do if Keychain Access won't open?
If the utility isn't responding, try restarting the Keychain service. Sometimes, restarting the computer helps. In rare cases, resetting the keys is necessary, but this will delete all saved passwords.
Receiving data via the router's web interface
If none of your devices are connected to the network, but you know the router password, you can find the Wi-Fi key through the router's admin panel. This method works from any device connected to the router via cable or wirelessly.
Open your browser and enter your router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address and login information (username and password) are located on the sticker on the bottom of the device. After logging in, find the section related to wireless networking.
Section names may vary depending on the manufacturer (TP-Link, ASUS, D-Link, Keenetic). Look for the "Wireless" or "Wi-Fi" tabs. In the "Security" or "Security Settings" subsection, you'll find a "Password" field that you can view or change.
| Router manufacturer | Typical address | Menu section | Field name |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Password |
| ASUS | 192.168.1.1 | Wireless Network -> WPA Personal | WPA password |
| 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 | Password |
Using this method, you gain complete control over your network settings. You can not only find out the current password but also change it to a more complex one to increase security.
Restoring access on Android and iOS
Mobile operating systems have long hidden passwords from users, but in recent versions Android And iOS It's now possible to share access or view saved keys. This is made possible by integration with cloud services and an improved security policy.
On devices iOS (starting with version 16) Open "Settings" -> "Wi-Fi." Tap the blue information icon (the letter "i" in a circle) next to the name of the network you're connected to. In the "Password" field, tap the hidden dots. The system will perform biometric verification (Face ID or Touch ID), after which the password will be displayed and can be copied.
On Android The process depends on the manufacturer's version of the OS. Typically, you need to go to "Settings" -> "Network & Internet" -> "Wi-Fi." Tap the gear icon next to your active network, then select the "Share" button or the QR code icon. A text password is often displayed under the QR code. If there is no text, you can scan the code with another phone to find the details.
⚠️ Note: On some older smartphone models or in corporate profiles, the password viewing function may be blocked by the device administrator or may not be available in the firmware.
Common mistakes and security issues
When trying to recover a password, users often encounter access issues or confusion about terminology. Understanding the differences between encryption types and access rights will help avoid mistakes. It's also important to keep in mind that software shell interfaces may change.
One common problem is confusion between the WPS PIN and the Wi-Fi password. WPS is a simplified connection technology, and the 8-digit code on the router sticker often doesn't work as a standard password entry. Standard authentication requires a WPA/WPA2 security key.
Furthermore, if you're using a corporate laptop, your organization's security policies may prohibit even the administrator from viewing saved keys. In this case, attempts to circumvent the restrictions could result in your account being locked out.
Is it possible to find out the password if the laptop has never been connected to this network?
No, that's impossible. A computer doesn't store information about networks it's never connected to. The only option is to view the data on another device that's already logged in, or to look at the router's settings.
What should I do if I forgot my router admin panel password?
If you changed your router's password and forgot it, you'll need to reset the device to factory settings. To do this, press and hold the small button on the router for 10-15 seconds. After this, the device will return to the factory username and password (indicated on the sticker), but you'll need to re-enter all internet settings.
Is it safe to use third-party password recovery programs?
Using unknown utilities carries risks. Many programs that promise to "hack" or "reveal" passwords contain viruses or miners. It's better to use built-in operating system tools, which don't require additional software and are guaranteed to be secure.
Why does the command line say "Access Denied"?
"Access Denied" error when running commands netsh This means the console is running as a standard user, not an administrator. Be sure to right-click the command prompt and select "Run as administrator."