How to find the Wi-Fi password on a Windows 11 laptop

The need to connect a new device to the network or share an access code with guests arises unexpectedly often. In the operating system Windows 11 Microsoft has reorganized many settings, moving them to the new Settings menu, making familiar navigation paths unusable. Users accustomed to the Windows 10 interface often get lost trying to find hidden security key fields in the updated design.

Fortunately, the system stores connection history, and the necessary information can be extracted using several methods: from the graphical interface to advanced console utilities. Saved profiles Contain all the necessary authorization data, including the encryption type and the key itself. In this article, we'll discuss current access recovery methods that are guaranteed to work in the latest operating system builds.

It is important to understand that you will need permissions to perform most of the actions described. administratorWithout the appropriate privileges, the security system will block access to sensitive network data. We'll cover both standard methods for a currently active connection and ways to view passwords for networks the laptop has connected to in the past.

View your password using the new Windows 11 Settings

In the latest operating system updates, Microsoft engineers finally implemented the long-awaited feature for copying the security key directly into the graphical interface. Previously, this process required going to the Control Panel, but now it's more accessible. To use this method, press a key combination. Win + I or open the Start menu and select Settings.

In the window that opens, go to the section Network and Internet, and then select the item Wi-FiHere you'll see a list of available networks and adapter management. Look for a link or button labeled "Manage known networks," or simply click on the current connection's properties to expand the details.

⚠️ Note: The password display feature in the graphical interface is only available in the 22H2 update or later. If you have an earlier build, this method may not work, and you'll have to use the command line.

In the active network properties section, scroll down to the "Wi-Fi Settings" section. There you'll find a "Show Security Key" field or a button with an eye icon. Once clicked, the system will ask you to confirm the action. PIN code or biometrics, after which the hidden symbols will turn into readable text.

This method is the safest and most convenient for casual users who don't want to interact with code. It eliminates the risk of entering an erroneous command that could change the adapter settings. However, if you need to find out the password for a network you're not currently connected to, this method won't work.

Using the Command Prompt (CMD) to restore access

The classic method, which remains relevant in all versions of Windows, is to use the built-in utility netshThis method is universal and allows you to retrieve passwords not only for the current connection but also for any other networks previously saved in the user profile. First, launch the command prompt as administrator.

You can do this through the search: enter cmd, right-click "Command Prompt" and select "Run as administrator." In the black window that opens, enter the following command to display a list of all saved profiles:

netsh wlan show profiles

The system will display a list of all networks the laptop has ever connected to. Find the desired name (profile) in the list. Then, use the command to display details for a specific profile by adding the keyword key=clear, which forces the system to show the password in clear text:

netsh wlan show profile name="Network_Name" key=clear

In the command output, look for the line "Key Content." This is where the code you're looking for will be located. This method is especially useful when the graphical interface isn't working correctly or when you need to copy the password for a network that's currently unavailable.

What if the network name contains spaces?

If your profile name contains spaces, be sure to enclose it in quotation marks, as shown in the example above. Without quotation marks, the system will only interpret the first word as the profile name and return an error.

Retrieving a security key via PowerShell

For users who prefer more modern management tools, PowerShell Offers advanced capabilities for working with network interfaces. This method is similar to using CMD, but uses a different syntax and may be more convenient for automating processes. Open PowerShell as an administrator by right-clicking the Start button.

Enter the following command to list all saved Wi-Fi profiles. It will display the network names, allowing you to confirm that the desired profile is present in the system database:

Get-NetConnectionProfile

However, to directly extract the password in PowerShell, it's better to use the built-in netsh utility, as native PowerShell cmdlets for Wi-Fi often require additional modules. Enter the command:

netsh wlan show profile name="Network_Name" key=clear | Select-String "Key Contents"

Using the filter operator Select-String Allows you to immediately filter out unnecessary information and see only the password line. This is especially convenient if you need to quickly copy data without scrolling through a long log of technical specifications.

Analyzing and managing saved profiles

The operating system stores connection information in a special profile registry. Sometimes it's necessary not only to view the password but also to delete old or unnecessary entries to clear the list. This also helps resolve issues when a laptop attempts to connect to the wrong network with the same name.

To delete a profile, use the command in the command line (as administrator):

netsh wlan delete profile name="Network_Name"

Once deleted, the profile will disappear from the list, and the system will prompt you for the password again the next time you try to connect. This is a useful feature for resetting connection settings if authentication errors occur or router settings change.

Below is a table of the basic profile management commands in Windows 11 to help you navigate your network:

Team Description of action Necessary rights
show profiles Displays a list of all saved networks. User
show profile name="X" key=clear Shows network details and password Administrator
delete profile name="X" Deletes a network profile from memory. Administrator
export profile name="X" folder="C:\path" Saves the profile to an XML file. Administrator

Exporting a profile to an XML file allows you to transfer network settings to another computer without having to manually enter the password. The file will contain the security key in either cleartext or encrypted format, depending on the export settings.

Solving common access errors

When trying to find a password, users often encounter the message "Access Denied" or "Unable to retrieve profile information." This means the current account doesn't have sufficient privileges. Even if you own the laptop, some system commands require explicit permission.

The second common issue is an incorrect profile name. In the command line, names are case-sensitive and space-sensitive. If the network is called "My Home Wi-Fi," entering "my home wi-fi" or "MyHomeWi-Fi" will result in an error. Always check the spelling using the profile list command.

⚠️ Warning: Antivirus software or corporate security policies may block access to network settings. If the commands don't work, check your antivirus settings or contact your system administrator.

It's also worth considering that some corporate networks use security certificates instead of passwords. In this case, the profile won't have a "Key Contents" field, as authentication occurs through a digital certificate installed on the device.

📊 What type of error did you encounter most often?
Access denied
Invalid network name
Command not found
Network not found

Security and storage of access keys

Knowing how to retrieve a password comes with the responsibility of keeping it secure. WPA2/WPA3 keys, stored on the system, are accessible to anyone with physical access to your unlocked laptop and administrator privileges. This creates a potential vulnerability, especially in an office environment or when using shared computers.

It's recommended to change your Wi-Fi passwords periodically, especially if you've had many guests or devices you no longer trust connect to the network. After changing your router password, be sure to delete the old profile on your laptop to avoid connection conflicts.

Use complex character combinations that are difficult to brute-force. Windows 11 does a great job of storing long and complex passwords, so there's no need to simplify them for the sake of memorization.

☑️ Wi-Fi Security Check

Completed: 0 / 5

Remember that saving passwords in Microsoft cloud accounts allows them to sync across your devices. This is convenient, but it requires reliable protection of your Microsoft account itself, as a compromised account would give an attacker access to all saved networks.

Is it possible to find out the Wi-Fi password if I'm not connected to the network right now?

Yes, you can. If your laptop has previously connected to this network and saved the profile, you can view the password through the command line using the command netsh wlan show profile, even if the router is turned off or out of range.

Where are Wi-Fi passwords stored in the Windows 11 registry?

Physically, profiles are stored in a protected system folder. C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces, but they are encrypted. Directly editing the registry or XML files in this folder without special decryption keys will not allow you to read the password in cleartext.

Why is the "Show symbols" field in the settings grayed out and not clickable?

This happens if your account doesn't have administrator rights, or if the network profile was created for "all users" and you're trying to edit it from a local account with limited rights. This can also happen on corporate networks with strict security policies.

How do I reset all network settings if nothing helps?

In Windows 11, go to Settings → Network & Internet → Advanced network settings → Network resetThis action will delete all saved Wi-Fi profiles and reset your network adapters to factory settings, requiring a reboot.