How to View a Wi-Fi Password in Windows 10: Complete Methods

It's a common situation to need to connect a new gadget to the network, but the keyword has long been forgotten. Fortunately, the operating system Windows 10 Stores data about previously used connections in a secure format. This allows you to restore access without having to access the router settings or search for the factory data sheet.

There are several proven methods for extracting this information, from simple graphical interfaces to advanced console commands. The method you choose depends on whether you're currently connected to the network or away from the router, as well as your administrator rights on the system.

In this article, we'll examine each option in detail, assessing their reliability and complexities. You'll learn how to quickly find saved security keys and understand how the network profile storage mechanism works in the environment. Microsoft.

Viewing a password through the Windows graphical interface

The most accessible method for most users is to use the standard network settings window. If your computer or laptop is already connected to the desired access point, the system allows you to access connection properties. To do this, open the menu. Parameters and go to the network management section.

In the window that opens, find the "Network and Sharing Center" link or use the classic Control Panel route. Your active connection will be displayed here, along with its access type and network name. Click on your Wi-Fi network name to open the status window.

In the new dialog box, find the "Wireless Network Properties" button. This section provides access to the connection's technical parameters, including encryption protocols and, most importantly, the security key. Switch to the "Security" tab.

By default, the "Network Security Key" field is hidden behind asterisks. To see the actual password, check the "Show entered characters" box. The system will prompt you to confirm administrator rights, after which the hidden characters will become readable text.

  • 🔍 Open Settings via the Start menu or by pressing Win+I.
  • 📡 Go to Network and Internet → Status → Network and Sharing Center.
  • 🔗 Click on the name of your blue Wi-Fi network.
  • 🔑 Click "Wireless Network Properties" and check the "Show characters" box.
⚠️ Note: If the Security tab is missing or the Properties button is grayed out, your account does not have administrator rights and access to this data is blocked by security policies.

Using the command line to extract the key

For more experienced users or in cases where the graphical interface does not work correctly, the command line is the ideal solution. CMDThis method not only allows you to view the current password but also displays a list of all networks ever saved on this computer. Be sure to run the console as an administrator.

The first step is to get a list of all profiles. Enter the command netsh wlan show profilesThe system will display a list of all networks this PC has ever connected to. Find the required network name (SSID) in the list.

Once the name is found, use the command to display detailed information about a specific profile. The syntax requires the network name to be enclosed in quotation marks if it contains spaces. The command looks like this:

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

In the command output, find the "Security Settings" section. The "Key Contents" line will display the password you're looking for in clear text. This method works even if the network is currently inactive, as long as the profile is saved on the system.

Analyze all saved PowerShell networks

An alternative to the classic command line is a more powerful tool. PowerShellIt allows you to not only retrieve the password for a single network but also generate a complete report on all access points known to the computer. This is especially convenient when migrating to a new router or clearing the connection database.

Run PowerShell as administrator. To get a list of all passwords, you can use a single, comprehensive command that will loop through all profiles and display their names along with their security keys. This saves time if you need to restore access to multiple devices.

The bulk output command looks complicated, but you can simply copy and paste it into the terminal. It uses a loop to iterate through all profiles and extracts the key string from the configuration:

(netsh wlan show profiles) | Select-String"\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim; $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String"Key Content" -B 1

The result will be a list with each network's password listed after its name. Please note that for some corporate networks or networks with special security protocols (such as 802.1x), the password may not be displayed, as it is not stored in cleartext but requested upon each connection.

Why are some passwords not displayed?

If the profile uses the WPA3-Enterprise security protocol or specific Windows domain settings, the encryption key may not be stored locally in plain text for increased security.

Resetting your router as a last resort

If none of the software methods work (for example, the computer has never connected to this network or access rights have been restricted), physical access to the hardware remains. The factory password is often found on a sticker on the bottom or back of the router. However, if the password has been changed and forgotten, only a reset will help.

The reset procedure returns the device to factory settings. To do this, you need to find the small hole marked Reset or RestorePressing the button inside the hole (usually a paperclip) for 10-15 seconds will reboot the router and clear the configuration.

After the reset, the Wi-Fi network will have the factory name and password indicated on the sticker. You will need to connect to it and reconfigure the internet connection through the web interface at an address such as 192.168.0.1 or 192.168.1.1.

Action Consequences Required data
Viewing in Windows Safe, no data loss PC administrator rights
Command line Safe, fast PC administrator rights
Resetting the router Complete loss of internet settings Data from the provider (PPPoE login/password)
⚠️ Warning: Before performing a hard reset, make sure you have a contract with your internet service provider or authorization data (PPPoE, static IP), otherwise you will be left without internet access after rebooting the router.
📊 Which password recovery method helped you?
Through the Windows graphical interface
Command Prompt (CMD)
PowerShell script
Resetting the router using the button

Working with profiles in the registry and system files

Advanced system administrators can search for keys in system configuration files. Windows stores wireless network profiles in encrypted form in the directory C:\ProgramData\Microsoft\Wlansvc\Profiles\InterfacesHowever, simply opening these files with a text editor won't work.

The data in these XML files contains the key in encoded form (hex). Decoding it requires specialized utilities or complex scripts that use system libraries for decryption. This method is only feasible in corporate environments during security audits.

It is easier for the average user to use the built-in tools netsh, described above, as they automatically perform the key decoding procedure if the user has the appropriate rights. Manually digging into the registry or system folders without understanding the structure can lead to damage to network settings.

It's worth remembering that antivirus programs may block access to these system folders or attempts to run scripts that extract passwords, considering them a potential threat of data theft.

☑️ Check access rights

Completed: 0 / 4

Saved Password Security and Recommendations

Storing passwords in the operating system is a balance between convenience and security. On the one hand, you can quickly connect devices. On the other, anyone with physical access to your unlocked computer with administrator rights will be able to obtain the keys to all your networks.

It's recommended to regularly review your list of saved networks and delete those you no longer use. This reduces your potential attack surface. To delete a profile, use the command: netsh wlan delete profile name="Network_Name".

You should also consider changing the default passwords on your routers to more complex combinations and using guest networks for visitors. This will isolate your main network from potentially unsafe guest devices.

Frequently Asked Questions (FAQ)

Is it possible to find out a Wi-Fi password if the computer is not connected to it?

Yes, if this network profile was previously saved on this computer. You can use the command line and the command netsh wlan show profile to view the key, even if the router is currently turned off or out of range.

What should I do if the netsh command returns an "Access Denied" error?

This means the command prompt is running as a standard user. Close the terminal, search for "Command Prompt" or "CMD," right-click, and select "Run as administrator."

Where can I find my password if I'm using a Mac or Linux?

On macOS, passwords are stored in the keychain (Keychain Access). On Linux (Ubuntu, etc.), they are often stored in text configuration files in the folder /etc/NetworkManager/system-connections/, but require superuser rights (sudo) to view.

Why is the "Show entered characters" field grayed out and unavailable?

You're most likely trying to view the properties of a network you're not currently connected to using the graphical interface. This method only works for active connections. For other networks, use the command line.