A forgotten Wi-Fi password can be a hurdle when connecting a new device, but the Windows operating system on an already connected laptop stores saved access keys in its settings, allowing you to instantly find the forgotten combination without resetting the router.
In this article, we will take a detailed look at the standard tools of the Windows and macOS operating systems that allow view saved security keysWe won't use third-party software, as standard tools provide sufficient functionality for this task. You'll learn how to find the necessary parameters using the graphical interface and the command line.
It is important to understand that in order to perform these actions you will need administrator rights on the device. Without the appropriate permissions, the system will not allow access to critical network security data. If you are working on a corporate laptop, these methods may be blocked by your organization's security policies.
Finding a password through network settings in Windows 10 and 11
The easiest way to find out security key — Use the operating system's graphical interface. This method works equally well on both Windows 10 and the more recent Windows 11, although the menu paths may differ slightly depending on the build version.
First, you need to open the Network and Sharing Center. To do this, right-click the connection icon in the system tray or search for "Network Status" in the system search bar. In the window that opens, find your active wireless connection and click on it to see its current status.
In the status window, click the "Wireless Network Properties" button, or simply "Properties." Go to the "Security" tab. This is where the main encryption settings are stored. You'll see the "Network Security Key" field, but the symbols in it will be hidden by dots or asterisks.
To see real password, check the box next to "Show entered characters." The system may ask you to confirm administrator rights. After this, hidden characters will be converted to readable text that can be copied or written.
⚠️ Attention: If the Security tab is missing or the Properties button is grayed out, you may be trying to access the guest network properties or the connection is restricted by domain policies.
Using the Command Prompt to Restore Access
For more advanced users or in cases where the graphical interface does not work correctly, it is perfect command lineThis method allows you to display a list of all saved networks and their passwords in text form, which is sometimes more convenient for analysis.
Launch the Command Prompt as administrator. You can do this by searching for "cmd," then right-clicking and selecting the appropriate option. Enter the following command to display a list of all Wi-Fi profiles ever used on this computer:
netsh wlan show profiles
Once the list appears, find the name of the desired network. Then, use the command with the key parameter to force the system to display the password in cleartext. Replace "Network_Name" with the exact name of your connection:
netsh wlan show profile name="Network_Name" key=clear
In the command output, scroll down to the "Security Settings" section. There will be a line called "Key Contents," which displays the key you're looking for. passwordThis method is especially useful if you need to quickly copy data without switching between multiple windows.
Viewing saved keys on macOS
For laptop owners MacBook And MacBook Pro Built-in tools for viewing passwords are also available. On macOS, this information is stored in the iCloud Keychain or local keychain, providing a high level of data security.
To find your password, open the Keychain Access app. You can find it using Spotlight (search in the command line) or in the Applications -> Utilities folder. In the list on the left, select the "Passwords" category to filter the entries.
Find your Wi-Fi network name in the list. Double-click it to open its properties. In the window that opens, check the "Show password" box. The system will prompt you to enter your Mac user account password or use Touch ID to verify your identity.
After successful authentication, the field next to the check mark will display password textThis is the most reliable method for Apple ecosystem users, as it doesn't require complex commands and works reliably on all current versions of macOS.
☑️ Check Wi-Fi access
Analysis of security parameters and encryption types
Understanding the encryption type helps you assess the security of your network. Connection properties always indicate security typeThe most common protocols are WPA2-Personal and the newer WPA3.
Older protocols, such as WEP, are considered obsolete and insecure, easily cracked even by a novice. If your router still uses WEP, we recommend immediately changing the encryption settings in the router control panel to WPA2/WPA3.
The table below compares the main security types you might find in your laptop's connection properties:
| Security type | Level of protection | Compatibility | Recommendation |
|---|---|---|---|
| WEP | Short | High (old devices) | Do not use |
| WPA2-Personal | High | Very high | Recommended |
| WPA3-Personal | Maximum | Medium (new devices) | Optimal for new routers |
| Open (No) | Absent | All devices | Dangerous for personal data |
When changing your router password, make sure all your devices support the selected encryption standard. For example, some older IoT devices (light bulbs, power outlets) may not support WPA3.
Working with PowerShell and Advanced Methods
For system administrators and users who prefer modern Microsoft tools, there is PowerShellThis tool provides more flexible options for managing network interfaces compared to the classic command line.
To obtain information about wireless profiles, you can use the NetSecurity module. However, for simply viewing passwords, it's often sufficient to emulate the netsh command within PowerShell. Open PowerShell as administrator and enter:
netsh wlan show profile name="WiFi_Name" key=clear | Select-String"Key"
This command will only output the string containing the key, which is convenient for quick copying. Note that in English-language versions of Windows, the keyword in the Select-String command should be replaced with "Key Content."
⚠️ Attention: Command line interfaces may differ depending on the system locale (Russian/English). If commands don't work, try using the English parameter names.
What to do if the password is not displayed?
If the system displays "Access Denied" even when running as administrator, the network profile may be corrupted. Try forgetting the network (Forget Network) and reconnecting, entering the password manually.
Reset and restore network settings
If none of the methods helped, or you changed the password on the router, and the laptop is trying to connect with the old data, you need to reset network settingsThis will clear all saved Wi-Fi profiles.
In Windows 10 and 11, you can do this via "Settings" -> "Network & Internet" -> "Advanced network settings" -> "Network reset." Click "Reset now." The computer will restart, and you'll need to re-enter passwords for all known networks.
On macOS, deleting a profile is done through the same Keychain Access app. Find the network name, right-click, and select "Delete." After that, the system will prompt you for a new password when you try to connect.
Please remember that after resetting your settings, you will lose not only your Wi-Fi passwords, but also your VPN settings, static IP addresses, and other network configurations. Write down any important settings you use beforehand.
Is it possible to find out the Wi-Fi password if the laptop is not connected to it?
No, the operating system only stores passwords for networks to which the device has connected at least once and saved the profile. If the laptop doesn't know the network, the password is physically not stored in its memory.
Where can I find the router password if my laptop isn't helping?
The password can be found on a sticker on the bottom of the router (if it's factory-installed) or in the router's web interface (usually at 192.168.0.1 or 192.168.1.1) if you can connect to it via a LAN cable.
Is it safe to use third-party password recovery programs?
Using third-party software (such as WirelessKeyView) carries risks. Such programs are often blocked by antivirus software as "hacker tools." It's better to use the built-in OS tools described above.
Why is the "Network Security Key" field grayed out and unavailable?
This means your current account doesn't have administrator privileges. You need to log in as an administrator or ask them to enter the password.