How to Find Your WiFi Password on Windows 10 Pro: A Complete Guide

Connecting a new device to a wireless network but losing or forgetting the password is one of the most common problems in home and office network administration. Fortunately, the operating system Windows 10 Pro It has a built-in mechanism for storing login credentials, making it easy to retrieve the necessary information if the computer has previously connected to this access point. This doesn't require third-party software or complex router manipulation.

In this guide, we'll cover all available methods for recovering your security key, from the standard graphical interface to advanced command line tools. You'll learn how to find network key even if the device is not currently connected to the Internet, but has ever connected to this network. The key requirement for all methods is having administrator rights on the computer.

Before we get into the technical details, it's worth mentioning that the interfaces and some parameters may differ slightly depending on the build version. Windows 10Microsoft periodically updates the menu structure, so the location of some items may vary. If you don't see the options described, try the alternative methods below, as they are less susceptible to visual changes to the interface.

Viewing the password through the network graphical interface

The easiest and safest way to view saved data is to use the standard network properties window. This method doesn't require complex commands and is suitable for most users who need quick access to information. However, it only works for the network to which the computer is currently connected or has previously connected and has a saved profile.

First, you need to open the Run window. This can be done by pressing the key combination Win + R on the keyboard. In the input field that appears, type the command ncpa.cpl and press EnterThis action will instantly open the Network Connections window, which displays all active and inactive adapters on your computer.

Find your wireless adapter (usually called "Wireless Network" or "Wi-Fi"). Right-click it and select "Status." In the window that opens, click "Wireless Network Properties." Go to the "Security" tab. This is where the "Network Security Key" field is located, hidden by asterisks by default.

⚠️ Attention: To display password characters in the "Network Security Key" field, be sure to check the "Show entered characters" box. If this option is grayed out, your account does not have administrator rights.

After removing the mask, you'll see a text key. You can copy it manually or, in some OS versions, simply rewrite it. This method is ideal for quickly checking the current configuration without using console utilities.

📊 How do you usually store Wi-Fi passwords?
I write it down in a notebook
I remember
I save it in a password manager.
Nowhere, I just connect my phone via QR code.

Using the Command Prompt (CMD) to extract the key

For more advanced users and system administrators, the most effective tool is the command line. WindowsIt allows you to not only view the password for the current network, but also display a list of all profiles ever saved, as well as find keys for networks to which the computer is not currently connected.

Launch the Command Prompt as administrator. To do this, type in the Start menu search cmd, right-click "Command Prompt" and select the appropriate option. The first step is to get a list of all saved profiles. Enter the command:

netsh wlan show profiles

The system will return a list of all networks whose profiles are saved on this PC. Find the desired name (SSID) in the list. Next, to find the password for a specific profile, use the following syntax, replacing "Network_Name" with the actual name of your Wi-Fi network:

netsh wlan show profile name="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. This method is especially useful when the graphical interface isn't working correctly or you need to quickly obtain configuration data for other hardware.

  • 📋 Team netsh is a powerful built-in tool for managing networks in Windows.
  • 🔑 Parameter key=clear Forces display of hidden security key.
  • 💻 The method works even without an active internet connection, as long as the profile is saved.

☑️ Check before entering a command

Completed: 0 / 4

PowerShell script to automate the process

An alternative to the classic command line is a more modern tool - PowerShellIt provides similar functionality, but is often faster and has a more flexible syntax for processing data. To extract the password, we also need administrator rights.

Open PowerShell (you can do this via the Start menu search, right-click, and select "Run as administrator"). The logic is similar to CMD, but the commands may look different. First, get a list of profiles:

netsh wlan show profiles

Then, similar to the previous method, we request details for a specific profile. Even though we're in PowerShell, the command netsh works fine here too, since it's a system call. However, the purely PowerShell approach requires creating a request object, which is more difficult for a beginner, so using a binding netsh inside PowerShell is the optimal balance.

If you need to dump all passwords at once to a text file for backup, you can use the output redirection command:

netsh wlan export profile key=clear folder="C:\WifiBackups"

This command will create XML files for each saved profile in the specified folder, where the password will be stored in clear text within the file. This is convenient for migrating settings to a new computer, but requires caution when storing the files.

What is an XML profile file?

This is a text file with structured data about network settings. Inside it, in the tag , your password will be stored. You can open it with any notepad, but be careful not to edit any other settings to avoid disrupting the network.

Extracting data via the Windows registry

System registry Windows 10 Pro It stores a huge amount of configuration information, including data about wireless networks. However, it's worth noting that passwords are stored here in encrypted format, not in cleartext. Directly reading the registry won't give you the password right away, but it will allow you to see a list of networks and their priorities.

To access the registry branch responsible for networks, click Win + R and enter regedit. Go to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles

Here you'll see a multitude of folders with names in the form of GUIDs (a set of numbers and letters). By going through them and looking at the parameter ProfileName, you can find the desired network. However, as mentioned earlier, the actual password will not appear here as a string. This method is more of a diagnostic method if the profile is stuck and doesn't appear in the default settings.

⚠️ Attention: Editing the registry without proper knowledge can lead to operating system instability. Do not delete or change parameters whose purpose you do not know. It's best to use CMD or network settings to retrieve the password.

There are third-party utilities that can read and decode encrypted keys from the registry, but using them carries security risks. Using built-in Windows tools, it's impossible to decrypt a password directly from the registry without using system APIs, which are used through netsh.

Comparison of access recovery methods

To help you choose the right method, we've prepared a comparison table. It will help you determine which method will be most effective in your specific situation, whether you're working on your own computer or administering someone else's device.

Method Complexity Admin rights required Works without a network connection
Graphical interface Low Yes No (profile required)
Command Prompt (CMD) Average Yes Yes
PowerShell High Yes Yes
Registry High Yes Yes (name view only)

As can be seen from the table, command line is the most versatile tool. It allows you to work with profiles that aren't actively connected and doesn't require in-depth knowledge of the registry structure. The graphical interface is great for quick, on-the-spot checks.

Common problems and their solutions

When recovering passwords, users may encounter a number of common errors. For example, the system may display an "Access Denied" message when attempting to run a command in the CMD. This almost always means the console is running as a standard user, not an administrator.

Another common issue is the missing profile from the list. If the computer has never connected to this network automatically or the profile was previously deleted, it will be impossible to find the password from this computer. In this case, you will have to find a device that is currently connected to the network or reset the router.

  • 🚫 The error "WLAN AutoConfig service is not running" is resolved through services.msc.
  • 🔍 If the network name contains special characters, be sure to use quotation marks in the command.
  • 💾 When exporting profiles, make sure the destination folder exists.
⚠️ Attention: Operating system interfaces and router firmware are constantly updated. Menu locations and exact command names may change. If the steps described don't match your screen, please refer to the official documentation for your version of Windows or your router manufacturer for the most up-to-date paths.

It's also worth remembering about security. Never transfer files with exported profiles (.xml) to third parties, as they contain your password in cleartext. After using temporary password files, they should be securely deleted.

Is it possible to find out a Wi-Fi password if the computer has never connected to this network?

No, this is technically impossible. The computer only stores the credentials that have been previously entered. If the device doesn't "know" the network, it has no information about the security key. In this case, only access to the router or another device that is already connected will help.

What should I do if the "Show entered characters" field is inactive?

This means you're not a computer administrator. You need to log in with a full-privilege account or ask the administrator to show you the password. Without administrator privileges, the system blocks viewing saved keys for security reasons.

Is it safe to use third-party password recovery programs?

Using unknown programs carries risks. They may contain viruses or miners. It's better to use built-in Windows tools (CMD, PowerShell), which are completely safe and don't require installing additional software.

How do I reset my Wi-Fi password if I forgot it and can't connect?

If no device remembers the password, the only option is to physically reset the router. There's a button on the back panel. ResetPress it with a paperclip for 10-15 seconds. The router will reset to factory settings, and the password will be the one indicated on the sticker on the bottom of the device.

Where are Wi-Fi passwords stored in Windows 10?

They are physically stored in system configuration files and the registry, but in encrypted form. Direct reading of these files will not yield results without using system APIs, which decrypt them on the fly for authorized users using commands like netsh.