It's a common situation to need to connect a new gadget to your home wireless network but have long forgotten the password. Often, the device that could be used to access the router settings is already disconnected or inaccessible. In such cases, laptop becomes a key tool for restoring access, as it most likely already has saved network authorization data.
Modern operating systems such as Windows 10 And Windows 11, and also macOS, store security keys in special protected registries or keychains. This is done for user convenience, to avoid having to enter a long string of characters each time they connect. However, the standard interface hides this data behind asterisks, assuming that physical access to the device already confirms the owner's authorization.
There are several proven methods for extracting this information: through the graphical settings interface, using the command line, or by logging into the router's web interface. The choice of method depends on the operating system version, user access rights, and the hardware model used. In this article, we'll examine each of these options in detail, focusing on the technical nuances.
⚠️ Attention: All methods described below require administrator rights on the device. If the laptop is corporate-owned or managed by a system administrator, attempts to view saved keys may be blocked by organizational security policies.
Finding a password through network settings in Windows 10 and 11
The most obvious and safe way to find out a forgotten character combination is to use the operating system's built-in tools. In the latest versions Windows The settings interface has been significantly redesigned, but the logic remains the same: the system stores connection profiles. First, you need to ensure that the laptop is connected to the target network or has previously connected to it, as data is retrieved from the active or saved profile.
Open the Network Control Panel. To do this, you can right-click the connection icon in the system tray and select the appropriate option, or use the classic path via Control Panel → Network and Internet → Network and Sharing CenterIn the window that opens, find the name of your wireless connection and click on it. A small dialog box will open with the general status, where you need to click the button Wireless network properties.
In the new window, switch to the tab SecurityThis is where the key encryption parameters are located. You'll see the "Network Security Key" field, which is hidden by default. To show password, you must check the box next to "Show entered characters." The system may prompt you to confirm administrator rights via a UAC pop-up.
- 📶 Make sure the Security Type field says WPA2-Personal or WPA3, as these are the standards for home networks.
- 🔑 If the key field is empty or unavailable, the network profile may be corrupted or deleted from the registry.
- 💻 On Windows 11, the path may differ:
Settings → Network & Internet → Wi-Fi → Manage known networks.
Once these steps are successfully completed, the hidden characters will become readable text. It's recommended to immediately write this down or copy it into a text document to prevent a recurrence. This method doesn't require installing third-party software and works on most configurations.
Using the command line to extract the key
For users who prefer console commands or are faced with the limitations of the graphical interface, this utility is ideal netshThis is a powerful network management tool built into Windows. It allows you to not only view but also manage network settings, including Wi-Fi profiles. This method is especially useful if you need to find out the password for a network your laptop has connected to in the past but is not currently connected to.
Run the command prompt as administrator. This is critical, as without elevated privileges the command will not be able to read the saved data. Enter cmd In the search bar, right-click and select "Run as administrator." The first step is to get a list of all saved profiles. Enter the command:
netsh wlan show profiles
In response, the system will return a list of all networks ever configured on this device. Find the desired name (SSID) in the list. Then, use the command to display a specific profile by adding the key key=clear, which forces the system to output the key in clear text:
netsh wlan show profile name="Network_Name" key=clear
In the "Security Settings" information block, find the "Key Contents" line. This is where you'll find the combination you're looking for. This method is universal and works even in cases where the graphical interface may crash or be unavailable.
Viewing the password through the router settings
If none of the methods work on the laptop itself, there's always the "gold standard"—accessing the router settings. Since the laptop is already online (or connected via cable), it has direct access to the device's web interface. This method is good because it allows you to not only find out the current password, but also change upgrade it to a more complex one if the old one seems insufficiently protected to you.
Open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the username and password for accessing the control panel, are usually found on a sticker on the bottom of the device. If you've changed your login information previously and have forgotten it, you may need to reset the router to factory settings.
After logging in, find the section responsible for the wireless network. It may be called Wireless, Wi-Fi, WLAN or Seamless networkWithin this section, look for the "Security" or "Security Settings" subsection. This is where the current combination is displayed in the "Password," "PSK," or "Key" field.
| Router brand | Typical address | Menu section | Standard login |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless → Wireless Security | admin |
| ASUS | 192.168.1.1 | Wireless Network → General | admin |
| D-Link | 192.168.0.1 | Wi-Fi → Security Settings | admin |
| Keenetic | my.keenetic.net | My Networks and Wi-Fi → Home Network | admin |
| Tenda | 192.168.0.1 | Wireless Settings → Wireless Security | admin |
Interfaces may vary between manufacturers, but the logic behind the layout remains the same. If you change the password in this menu, all connected devices will lose connection and require re-authorization with the new key.
☑️ Checking access to the router
How to find the password on a MacBook (macOS)
For laptop owners from Apple it is necessary to act differently, since the file system and security policy macOS differ from Windows. Here, all passwords are stored in a special program called Keychain Access. This is a centralized repository of credentials, protected by the user account password.
To search, open Keychain Access. You can do this using Spotlight search (Cmd+Space) and typing the program's name. In the left menu, select the "System" or "Login" category, then find your Wi-Fi network name in the list. Double-click the network name to open the properties window.
In the window that opens, check the "Show password" box. The system will immediately ask for confirmation: you'll need to enter the password for your macOS account (the one you use to log in when you boot up). After entering and confirming, the security key you're looking for will appear in the text field.
On newer versions of macOS (Ventura and later), the process has become even simpler. Open System Preferences → Wi-FiFind the desired network in the list of known networks and tap the information icon (three dots or the letter "i"). There you'll find a "Show Password" button, which will also require you to enter your user password or use Touch ID.
What should I do if Keychain Access won't open?
If Keychain Access displays an error or won't launch, try resetting its preferences. To do this, open Finder, press Cmd+Shift+G, and enter ~/Library/Keychains/. Delete or rename the files in this folder (be sure to back them up first), but keep in mind that this will delete all saved passwords, not just Wi-Fi ones.
Network reset and access restoration
Sometimes it happens that a laptop "forgets" the correct data or the network configuration gets messed up, and none of the browsing methods work. In such cases, a complete reset of the network settings can help. This is a drastic measure that will delete all saved Wi-Fi profiles, VPN settings, and virtual switches, returning the network stack to its original state.
In Windows 10 and 11, this is done through the settings menu. Go to Start → Settings → Network & InternetAt the bottom of the window, find the "Network reset" link. Clicking it will prompt a warning and a restart in 5 minutes. After turning it on, the laptop will behave as a new device in terms of connections.
After the reset, you'll be prompted to re-enter your password. If you've forgotten it, this method will clear the error but won't restore the forgotten key. However, if the issue was a software driver conflict, a reset often resolves the connection issue.
⚠️ Attention: After resetting your network, you will have to re-enter passwords for all Wi-Fi networks, configure sharing settings, and possibly reinstall some virtual network adapters used by emulators or virtualization programs.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if the laptop is not connected to it?
Yes, this is possible if the laptop has connected to this network before. Profile data is stored in the Windows registry or macOS Keychain. Use the command netsh wlan show profile to view the list of saved networks and retrieve the key, even if there is no connection right now.
What should I do if I forgot my router administrator password?
If the default login and password (often admin/admin) don't work, they were previously changed. In this case, it's impossible to recover a forgotten administrator password. The only solution is to perform a factory reset of the router by holding the button on the device for 10-15 seconds. This will restore the device to the factory settings indicated on the sticker.
Is it safe to use third-party password viewers?
Using specialized software (such as WirelessKeyView) carries certain risks. Such programs are often flagged by antivirus programs as potentially unwanted programs, as they operate similarly to stealer viruses. It's better to use built-in OS tools or the command line to avoid compromising system security.
Where is the password physically located on the router?
Most routers have a sticker with technical information on the bottom. It lists the SSID (network name) and the default PIN or WPA key. However, if the owner has changed the security settings through the web interface, the actual password will differ from the one on the sticker.
Why does Windows hide the password with asterisks?
This is a basic security mechanism called "shoulder surfing protection." It prevents strangers from accidentally viewing your password while they're near your screen.