Needing to connect a new device to a home network but having forgotten or lost the Wi-Fi password is one of the most common problems in digital life. Fortunately, modern laptop operating systems automatically save access keys to all networks they've connected to, making it easy to recover lost information without complex manipulation. In this article, we'll detail proven methods for retrieving saved data across various platforms.
Restoring network access is possible using standard system tools, without the need to install third-party software or reset the router settings. The viewing process Protected from accidental actions, but requires minimal administrator privileges or physical access to an already authorized device. We'll cover the steps for Windows and macOS, as well as address security issues related to encryption key storage.
Password recovery in Windows 10 and 11 via the graphical interface
The easiest and most accessible way to find the access key is to use the standard Windows operating system settings. This method is ideal for users who prefer a visual interface and don't want to work with the command line. First, make sure the laptop is connected to the correct network, or at least has previously connected to it and saved a profile.
Open the Start menu and go to Settings, selecting "Network & Internet." Depending on your operating system version, the interface may differ slightly, but the logic remains the same: find the currently active connection and go to its properties. In Windows 11, this path looks like this: Settings → Network & Internet → Wi-Fi → Manage known networks, where you need to select the desired network and click “Properties”.
In the properties window that opens, scroll down to the "Network Security Key" section. By default, characters are hidden behind asterisks or periods. To see them, check the "Show characters" or "Show symbols" box. The system may prompt you to confirm administrator rights or enter your account PIN to complete the action.
⚠️ Attention: If you're not a device administrator or don't know the password for your Windows account, this method won't work. The system blocks viewing saved keys for security reasons.
It is important to understand that Windows stores passwords in encrypted form, and they can only be displayed to authorized users. If your laptop isn't currently connected to the network, but has been connected before, the process may be different: in Windows 10, you need to go to Network and Sharing Center, click on the name of the wireless network, select “Wireless Network Properties”, then the “Security” tab and check the “Show entered characters” box.
Using the Command Prompt to View Saved Profiles
For more advanced users or in cases where the graphical interface is not working correctly, the Windows command line is an excellent tool. netsh Allows you to manage network settings and display saved configurations, including encryption keys. This method is especially useful if you need to quickly copy a password or if the settings interface is overloaded.
Launch the Command Prompt as administrator. To do this, right-click the Start button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)." The first step is to get a list of all saved Wi-Fi profiles on this device. Enter the command:
netsh wlan show profiles
The system will return a list of all networks the laptop has ever connected to. Find the desired network name (SSID) in the list. Next, to view the password for a specific network, use the command with the profile name. The command syntax requires an exact match of the network name:
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext. This method is universal and works on all modern versions of Windows, starting with Windows 7.
What to do if the command returns an error?
If you see the error message "Group Policy cannot find the profile," this means the profile has been deleted from the system or is corrupted. Try reconnecting to the network manually, if possible, or use other recovery methods.
How to view the password on a macOS laptop
Users of technology Apple You may also need to recover a forgotten access key. In macOS, all passwords, including Wi-Fi, are stored in the iCloud Keychain or local keychain. Access is protected by Touch ID biometrics or the user's account password.
To start, open Keychain Access. The easiest way to do this is through Spotlight (search for Command Prompt). Cmd + Space), entering the program's name. In the list on the left, select the "System" or "iCloud" category, then find the name of your wireless network in the list on the right. Double-clicking the network name will open the properties window.
In the window that opens, check the "Show password" box. macOS will ask you to verify your identity by entering your administrator password or placing your finger on the fingerprint scanner. After successful authentication, your text password will appear in the field next to the checkbox.
On newer versions of macOS (Ventura, Sonoma, and later), the process has become even simpler and is similar to iOS mobile devices. Simply go to System Preferences → Wi-Fi, find a familiar network in the list, and tap the "More details" button or the information icon. You'll also have the option to copy or view the password after confirming with Face ID or Touch ID.
⚠️ Attention: If your MacBook syncs passwords via iCloud, changing or deleting a key on one device may affect other devices linked to the same Apple ID. Use caution when editing keychain entries.
Alternative methods via router settings
If neither laptop remembers the password, or you're using a device that's never connected to the network, the only reliable option is to configure the router itself. To do this, the laptop must be connected to the router via a LAN cable or Wi-Fi (if internet access isn't required yet, but only interface access).
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.1, but the exact address is indicated on a sticker on the bottom of the device. After entering the administrator login and password (often also found on the sticker if you haven't changed them), go to the wireless network section.
Interfaces of routers of different brands (TP-Link, ASUS, D-Link, Keenetic) are different, but the logic is the same. Look for the "Wireless," "Wireless Mode," or "Wi-Fi Network" tabs. In the "Security" or "Protection" subsections, you'll see a "Password," "PSK," or "WPA/WPA2 Personal" field. This is where the current access key is stored.
The table below shows the standard addresses and login details for popular router models, which may be useful during setup:
| 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) |
| Keenetic | 192.168.1.1 | admin | 1234 |
| Xiaomi | 192.168.31.1 | (No) | admin |
Specifics of working with guest networks and corporate profiles
In corporate environments or public spaces, guest networks or networks with web portal authentication are often used. In such cases, a standard password may not be required. Access may be granted based on a timer, the device's MAC address, or a code received via SMS. Saving such profiles In Windows and macOS, it happens differently, and it is not possible to extract the “password” in the classic way.
If the laptop is connected to the corporate network via a certificate or domain login, the access key is not a text string, but a cryptographic certificate. Trying to find the "password" through the command line in this case will return an error or an empty value. To connect a new device in this situation, it's best to use guest access or contact your system administrator.
It's also worth considering that some providers use WPS technology for simplified connection. Pressing a button on the router allows the device to connect without entering a password. However, from a security standpoint, using WPS is currently not recommended, as this protocol has vulnerabilities. If you need to connect a guest, it's better to create a temporary guest network in the router settings with a separate password.
⚠️ Attention: Router and operating system interfaces are regularly updated. Menu locations and item names may change. If you can't find the setting you need, consult the official documentation from your equipment manufacturer or search for up-to-date screenshots for your model.
☑️ Check before resetting your router
Wi-Fi network security and protection
Understanding how easily a saved password can be discovered highlights the importance of your laptop's physical security. If an attacker gains access to an unlocked computer, they can instantly obtain keys to all networks. Therefore, using login password and locking your screen when away are critical security measures.
It's also recommended to change your Wi-Fi password periodically, especially if you suspect it may have been compromised. A complex password containing mixed-case letters, numbers, and special characters significantly complicates brute-force attacks, even if a hacker intercepts the hash.
Use modern encryption standards. The current standard is WPA3, which replaced WPA2. If your router and laptops support this standard, be sure to enable it in your wireless network settings. This will provide more reliable protection for data transmitted over the air.
Is it possible to find out the password remotely?
Without pre-installing special software (Trojans, RATs) or having access to a cloud-based password backup (for example, iCloud or a Microsoft account with key synchronization enabled), it is impossible to find out a password remotely.
What to do if none of the methods helped
In rare cases where the operating system is damaged, the network profile is deleted, and access to the router is impossible (the router administrator password is forgotten), the last resort is a full reset of the router to factory settings. There is a button on the device body. Reset, which must be held for 10-15 seconds when the power is on.
After resetting, the router will return to the factory settings indicated on the sticker. You'll be able to connect using the default password, access the settings, and set a new one you'll definitely remember. However, please note that this will require you to reconfigure your internet connection, as all your custom configurations will be erased.
Sometimes the problem isn't a forgotten password, but rather a problem with the wireless adapter drivers. If your laptop "sees" the network but fails to connect, displaying an "Incorrect Password" error, try uninstalling the device in Device Manager and restarting the laptop. The system will reinstall the driver, which may resolve the issue with incorrect key caching.
Is it possible to find out the password if the laptop is not connected to the network right now?
Yes, if the laptop has ever connected to this network and saved the profile. In Windows, this can be done via the command line, even if the network is out of range, since the password is stored locally in the registry.
Where are Wi-Fi passwords stored in Windows?
Passwords are stored in a secure section of the Windows registry and are accessible through WLAN AutoConfig services. They are encrypted and linked to the user account, preventing them from being stolen by simple, non-administrator methods.
Are password recovery programs safe to use?
Using third-party software (such as WirelessKeyView) carries risks. Such programs are often flagged by antivirus software as hacking tools (RiskWare). It's better to use built-in OS tools, which are safe and don't require installing questionable software.
What should I do if the "Show characters" field is inactive?
This means you don't have administrator rights on this computer. You need to log in as an administrator or ask the device owner for the password.
Can a virus steal saved Wi-Fi passwords?
Theoretically, yes, if the virus has gained administrator privileges. It can run the netsh command or read data from the registry. Therefore, it's important to have an antivirus installed and not run suspicious files.