How to view your Wi-Fi password on a Windows 10 computer

It's quite common to need to connect a new device to a network but have completely forgotten the Wi-Fi password. Windows 10 There's a convenient option to save security keys for automatic connections, but they can't be viewed in plain text by default. This is done for data protection, but for the current connection owner, this information is only partially hidden.

There are several proven methods for finding the saved access key without resetting the router. We'll cover both standard graphical interfaces and more advanced command line tools. It is important to understand, that to perform these actions you will need administrator rights on the computer.

Before you begin any technical manipulations, make sure that the computer on which you are looking for the password is already connected to the desired wireless network or has been connected to it previously. The system stores passwords only for networks to which the device has ever successfully established a connection.If the computer has never connected to this Wi-Fi network, it will not be possible to restore the key locally.

Viewing the password through the network graphical interface

The easiest and safest way to find a forgotten password combination is to use the standard Windows settings windows. This method doesn't require any special commands and is suitable for most users. You'll need to open the current connection status window, where the information you're looking for is located.

To get started, open the Start menu and go to System Settings, selecting "Network and Internet." In the window that opens, find the link "Network and Sharing Center" or simply search for "Network Status." Once you're in the control center, click the name of your active wireless connection.

In the dialog box that opens, find the "Wireless Network Properties" button and click it. In the new window, switch to the "Security" tab. This is where the "Network Security Key" field is located, with the characters hidden by dots. To see them, check the "Show entered characters" box.

  • 🔹 Make sure you are in the properties of the currently active network, and not in the general list of adapters.
  • 🔹 Administrator rights may be required to display symbols; the system will ask for confirmation.
  • 🔹 If the Security tab is missing, you may not have access rights to the network profile.

⚠️ Attention: If your computer isn't currently connected to Wi-Fi, but has connected before, you'll need to find that profile in the list of known networks via the command line, as you won't be able to see old connections through the graphical interface.

📊 How often do you forget your Wi-Fi passwords?
Once a month
Once a year
Never, I use a password manager
I connect only via QR code

Using Command Prompt (CMD) to recover

If the graphical interface is unavailable for some reason or you prefer to work with the console, command line will be a great tool. It allows you to manage wireless network profiles directly through the Netsh system utilities. This method works even when the Windows graphical shell isn't functioning correctly.

First, you need to launch the Command Prompt as an administrator. Right-click the Start menu and select "Windows PowerShell (Administrator)" or search for "cmd," right-click, and select "Run as administrator." Once the window opens, enter the following command to display all saved profiles:

netsh wlan show profiles

Find the exact name of your network in the list. Then, use the command to display the details of a specific profile, revealing the security key. The command syntax requires the network name and key parameter:

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

In the command output, find the "Security Settings" section. The "Key Contents" line will contain the password you're looking for in cleartext. Note that if the network name contains spaces, they must be enclosed in quotation marks, as shown in the example above.

☑️ Check before entering a command

Completed: 0 / 4

Working with profiles via PowerShell

PowerShell is a more powerful alternative to the classic CMD and allows not only viewing but also scripting of network connections. For simple password viewing tasks, its functionality is similar to Netsh, but the syntax can be more flexible for advanced users.

Run PowerShell as administrator. You can use the same utility netsh Within PowerShell, since it's a system command, or use the native cmdlets of the NetSecurity module, although the netsh call is most often used for Wi-Fi profiles. Enter the following construct to obtain an XML profile report:

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

This command will filter the entire output and leave only the line containing the key, which is convenient if you need to quickly copy the password without unnecessary text. If the system returns an error about the profile not being found, check the spelling of the network name with the command netsh wlan show profiles.

  • 🔸 PowerShell is case-sensitive in some commands, although netsh generally ignores the case of names.
  • 🔸 Use Tab key autocompletion to quickly enter long network names.
  • 🔸 Results can be redirected to a text file to save history.

⚠️ Attention: Antivirus software or corporate security policies may block the execution of PowerShell scripts or netsh commands. In a corporate environment, contact your system administrator.

View passwords for other networks (not active)

You often need to know the password not for the current network, but for one to which the computer has connected in the past but is currently out of range. Windows 10 stores a history of all successful connections in the registry and special configuration files.

Using the already familiar command netsh wlan show profiles, you can see a list of all saved profiles. Select the desired name from the list and apply the command with the key key=clear, as described in the CMD section. This will allow you to retrieve the password even if the router is turned off or located far away.

If standard methods don't work, you can use third-party utilities such as WirelessKeyView from NirSoft. This program scans the Windows database and displays all saved keys in a convenient table. However, using third-party software always carries risks, so download such tools only from the developers' official websites.

Method Complexity Requires admin rights Works offline
Graphical interface Low Yes (for viewing) No (profile required)
Command Prompt (CMD) Average Yes Yes
PowerShell High Yes Yes
Third-party software Low Yes Yes
What should I do if the command returns "Network not found"?

If the system reports that the profile is not found, check the exact network name. You may have connected to a guest network with a similar name, or the profile was deleted when you cleared your network history. Windows 10 also has a "Forget" network feature that clears the password from memory.

Common mistakes and how to solve them

When attempting to retrieve saved data, users often encounter error messages. The most common one is "Access Denied." This occurs when the console is run as a standard user, not an administrator. Access rights are critical here, as passwords are sensitive information.

Another common issue is an incorrect profile name. Windows may store the network name with extra characters or in a different case, especially for public hotspots. Always copy the network name from the profile list or carefully check the spelling. Errors can also occur when trying to view the password for a network connected via WPS without manually entering the password—in this case, the actual password may not be in the profile.

If you're using a corporate laptop, access to wireless network settings may be blocked by group policies. In this case, the fields will be grayed out, and console commands will return an access error. The only solution is to contact your company's IT department.

  • 🛑 Error 5: "Access Denied" - Run Terminal as administrator.
  • 🛑 "Profile not found" error: Check the network name with the show profiles command.
  • 🛑 Empty key field: certificate or web portal authentication may be used.

⚠️ Attention: Operating system interfaces and driver versions are subject to update. The location of menu items or the exact text of errors may vary slightly between different Windows 10 builds (Home, Pro, Enterprise) or after major functionality updates.

Security precautions when working with Wi-Fi keys

Knowing how to view your saved password is helpful, but it's also important to understand the risks. If an attacker gains physical access to your unlocked computer with administrator rights, they can easily extract all your saved Wi-Fi keys in seconds. physical access security to the device is primary.

It's recommended to regularly audit your saved profiles. Remove networks you no longer use, especially open or public access points that could be used for "Evil Twin" attacks. To remove a profile, use the command:

netsh wlan delete profile name="Network_Name"

It's also a good practice to use a guest network for visitors. This isolates your primary devices and files from the potentially unsafe devices of your guests. You can change the guest network password more frequently without affecting your main router settings.

Frequently Asked Questions (FAQ)

Is it possible to view a Wi-Fi password on Windows 10 without administrator rights?

No, this is not possible using standard system tools. The operating system encrypts and hides security keys, granting access only to users with elevated privileges to protect data.

What should I do if there is no Security tab in the network properties?

This may mean you've opened the properties of the wrong connection (for example, Ethernet instead of Wi-Fi) or you don't have permission to view the properties of this specific profile. Try running the properties window as an administrator.

Is the password saved if I connected via QR code?

Yes, when connecting via QR code, Windows 10 creates a default network profile, and the password is saved in the system just as if you entered it manually. It can be retrieved via the command line.

Where are Wi-Fi passwords physically stored in Windows 10?

Passwords are stored in a protected section of the registry and special system configuration files in the ProgramData folder. Direct access to these files is difficult, so using netsh commands is the standard method for obtaining them.