Users often find themselves in situations where they urgently need to find a saved access key for a wireless network. Perhaps you bought a new gadget and conveniently forgot the old password, or friends are visiting and are eager to connect to the internet. Windows 11 Microsoft has made some changes to the interface, moving many settings around, which can be confusing for those used to the classic Control Panel.
Fortunately, the operating system stores encryption keys in a secure registry, and they can be accessed legally using several methods. This doesn't require installing third-party software or root privileges if you're already connected to the network or have previously connected. We'll explore both the new Settings graphical interface and more advanced tools for system administrators.
It's important to understand that you can only access networks your computer has previously connected to. If you've never logged into a particular network from this device, you won't be able to recover the key using standard tools. However, for most everyday scenarios, built-in tools are available. Windows will be quite sufficient to solve the problem.
View your password using the new Windows 11 Settings
The latest operating system updates introduced a long-awaited feature that allows you to view hidden symbols directly in the settings menu. Previously, this required diving into the adapter's deep properties menu, but now the process is more intuitive. First, open the Settings app by pressing a key combination. Win + I or by selecting the appropriate item in the Start menu.
In the left column, select the "Network & Internet" section, then go to the "Wi-Fi" subsection. Here you'll see a list of available networks and a button to manage known networks. Click "Manage known networks" to see a full list of connection profiles saved on your device.
Find the desired network in the list and click on it. In the properties window that opens, you'll see a "View" button next to the "Security Key" field. After clicking, the system will ask you to confirm the action. PIN code, fingerprint or face recognition, if configured Windows HelloThis is a security measure to prevent accidental viewing of data by unauthorized persons.
⚠️ Note: The "View" button may be disabled if you are using a local account without a password or if your organization's network policies block the display of keys. In corporate networks, access rights are often restricted by the administrator.
Using the command line to recover the key
For users who prefer classic tools or work with remote systems, the command line is the ideal solution. netsh is a powerful network management tool built into WindowsTo launch the console, press Win + R, enter cmd and press Enter, or search for "Command Prompt" using the search function.
First, you need to know the exact name of the network profile, as it may differ from the SSID name. Enter the command netsh wlan show profiles and press Enter. In the "User Profiles" list, find the name of your network. Then use the command to display the key, substituting the profile name.
netsh wlan show profile name="Network_Name" key=clear
In the report that opens, scroll down to the "Security Settings" section. Find the "Key Contents" line—the value next to it is your password. This method works even if you're not currently connected to the network, as long as the profile is saved in the system.
☑️ Check before entering a command
Retrieving data via PowerShell
An alternative to the classic command line is a more modern tool - PowerShell. It offers the same capabilities, but with a more flexible syntax. To launch, right-click the Start button and select "Terminal (Administrator)" or "Windows PowerShell (Administrator)."
The command for extracting information is similar to that used in CMD, but can be run within the current session with elevated privileges. Enter the following query, replacing the network name with your own:
netsh wlan show profile name="Network_Name" key=clear
If you want to list all saved profiles at once, use the command netsh wlan show profilesThis is useful if you've forgotten the exact profile name under which the network is registered in the system. Note that quotation marks are required if the name contains spaces.
What should I do if it says "Access Denied"?
If you receive an access error when running the command, ensure that the terminal is running as administrator. Without elevated privileges, the system will not allow the security key to be disclosed. Also, check that the WLAN AutoConfig service is not blocked.
Viewing your password through the classic Control Panel
Despite the active implementation of the new "Settings" feature, the classic "Control Panel" remains a reliable tool. This method is especially useful if you need to view the password for the network you're currently connected to. Click Win + R and enter the command ncpa.cplto open the network connections window.
Find your wireless network adapter, right-click it, and select "Status." In the window that opens, click "Wireless Network Properties." Go to the "Security" tab.
Here you'll see the "Network Security Key" field, where the characters are hidden by dots. Check "Show entered characters" to make the password visible. This method works reliably in all versions. Windows, starting with the "seven", and does not require memorizing commands.
| Method | Admin rights required | Works without connection | Complexity |
|---|---|---|---|
| Windows 11 Settings | Yes (biometrics/pin) | Yes | Low |
| Command line | Yes | Yes | Average |
| Control Panel | No | No (active only) | Low |
| PowerShell | Yes | Yes | Average |
Remotely view passwords of other networks
Sometimes you need to know the password for a network your computer isn't currently connected to, but has connected to in the past. Fortunately, profiles are stored in the system's memory until you explicitly delete them. Using the command line, you can retrieve the key for any saved profile, even if the router is turned off or out of range.
To do this, you only need to know the exact profile name. If you don't remember it, first list all saved networks with the command netsh wlan show profiles. Then apply the command with the key key=clear to the desired name. This allows you to restore network access on a new device using the data from your old laptop.
However, it's worth remembering that if you used the "Password Sharing" feature through the Microsoft ecosystem, your password may have synced across your other devices under the same account. In this case, it's easier to view it on a synced smartphone or tablet.
Common problems and solutions
Despite the simplicity of these methods, users may encounter errors. Often, the problem lies in access rights: if you haven't launched the console as an administrator, the system will refuse access. There are also cases where the network profile is corrupted or removed by an antivirus program as suspicious.
If the command returns an error about the group not being found, check the spelling of the profile name. Letter case may be important, and special characters require quotation marks. In rare cases, restarting the "WLAN AutoConfig" service from the services menu may help (services.msc).
⚠️ Note: Operating system interfaces and driver versions are subject to update. Menu item locations and command syntax may vary slightly between Windows 11 builds. Always consult the latest Microsoft documentation if you encounter any unusual errors.
Can I view the password if I am not the computer administrator?
In the default Windows security configuration, viewing saved passwords requires administrator privileges. This is designed to protect data. Without elevated privileges, you'll only be able to see the network name, not the encryption key. Bypassing these restrictions without the system owner's knowledge is a violation of security policies.
Where are Wi-Fi passwords physically stored in the system?
Wireless network data is stored in a protected part of the Windows registry and in configuration files inside the ProgramData\Microsoft\Wlansvc\Profiles\InterfacesHowever, these files are encrypted and are not intended to be read directly by the user without the use of system APIs or special utilities.
What should I do if I forgot my router password to access the settings?
If this is the password for accessing the router's web interface (admin panel), and not the Wi-Fi key, then standard Windows tools won't be able to find it. In this case, the sticker on the bottom of the device (standard admin/admin) will help, or resetting the router to factory settings using the Reset button will help, after which you'll have to set up the internet again.