How to find your Wi-Fi password in Windows 10: full instructions

It's quite common to need to connect a new device to a network but have forgotten or lost the Wi-Fi password. Fortunately, the operating system Windows 10 Stores access keys to previously connected wireless networks in its memory. This allows the computer owner to easily recover a forgotten password combination without having to reset the router or search for the ISP contract.

There are several proven methods for extracting this information, from simple graphical interfaces to using console commands. Built-in system tools Provide secure access to data, but require understanding where to find the required file or parameter. In this guide, we'll cover all the current methods, including working with the command line and registry.

Whether you're currently connected to the network or simply have a network history entry, your chances of recovery are high. The key is to have physical access to a device that has previously successfully logged into the network. The encryption key is stored in a secure system storage and can only be displayed by a user with administrator rights.

Viewing the password through the network graphical interface

The simplest and most accessible method, which doesn't require entering complex commands, is accessible through the standard network connection management menu. This method is suitable for most users who want to quickly obtain the necessary information without the risk of making a command syntax error. First, open the current connection status window, which can be done by clicking the Wi-Fi icon in the system tray or through the system settings.

After opening the network status window, you'll need to go to the wireless connection properties. Hidden here is the security tab, which contains the main encryption settings. Note that by default, the key field is hidden behind asterisks to protect it from prying eyes. To see the symbols, you need to check the corresponding box in the display settings.

It's important to note that this method only works if your computer is currently connected to the network you need to find the password for. If you're outside the router's range or connected via cable, this method may not be directly available, and you'll need to use the alternatives described below. Graphical interface Windows 10 provides convenient access to settings, but has limitations in displaying the history of all networks ever connected.

⚠️ Note: If the Security tab is missing or the fields are grayed out, make sure your account has administrator rights on this computer.

  • 📡 Right-click on the network icon and select "Open Network and Internet settings".
  • 🖱️ In the window that opens, find the link "Network and Sharing Center" or "Change adapter settings."
  • 🔐 Double-click on the name of your Wi-Fi network, then go to the "Security" tab.
  • 👁️ Check the "Show entered characters" box to make your password visible.
What to do if the password is not displayed?

In rare cases, an organization's group policies may prevent security keys from being displayed. In this case, the only solution is to reset the network settings or log in with root privileges.

Using the command line to recover the key

For more advanced users and system administrators, the command line is a great tool. CMDIt not only allows you to view the password for the current network but also displays a list of all saved profiles, along with their access keys. This is especially useful if you're not currently connected to Wi-Fi but have previously entered a password on this computer.

To get started, you need to run the console as administrator. Enter the command netsh wlan show profilesto see a list of all saved networks. Find the desired name (SSID) in the list and use it to get detailed information. The command interface provides deeper access to the system than the standard settings windows.

The basic command to get the password looks like this netsh wlan show profile name="Network_Name" key=clearIn the command output, under "Security Settings," there will be a line called "Key Contents," which displays the password being searched for in clear text. This method works reliably on all versions. Windows 10 And Windows 11.

📊 Which method is more convenient for you?
Graphical interface
Command line
Third-party programs
I'm looking at the router

☑️ Check before entering commands

Completed: 0 / 4

Analyzing saved profiles via PowerShell

An alternative to the classic command line is a more powerful tool - PowerShellIt offers advanced capabilities for scripting data processing, but for our purposes, basic commands similar to CMD are sufficient. PowerShell's advantage is the ability to copy output to the clipboard with a single command, making it easier to work with long lists of networks.

Run PowerShell as administrator and enter the command to view profiles. The syntax is almost identical to netsh, but PowerShell handles character encoding better, which is important if the network name or password uses special characters or symbols from other languages. Scripting shells allow you to automate the process if you need to download passwords from multiple computers.

If the standard command doesn't produce a result, try using the NetSecurity module's cmdlets. However, basic functionality is sufficient for simply viewing a password. Remember that working with PowerShell requires care, as syntax errors can lead to unwanted actions on the system.

netsh wlan show profile name="WiFi_Name" key=clear
  • 🖥️ Open PowerShell by searching in the Start menu and clicking "Run as administrator".
  • 📝 Enter the command to display all profiles: netsh wlan show profiles.
  • 🔍 Find the exact name of the network you need in the list.
  • 🔑 Run the command with the key=clear parameter to display the password.

⚠️ Note: When copying commands from this article, pay attention to the quotation marks. In Russian, "fir-tree" characters can be used, but in code, only straight "quotation marks" are required.

View passwords for all networks at once

Often, you need to find the password not for a specific network, but to retrieve a list of all saved connections. The standard Windows interface doesn't allow you to export all passwords at once in a convenient format, but the command line handles this task. This is useful when migrating to a new computer or setting up a network for guests.

Using a loop in the command line or PowerShell, you can generate a full report. However, even a simple sequence of commands will quickly cover the main access points. System utilities store this data in encrypted form, but it is readable by an authorized user.

For mass viewing, you can use a script that sequentially calls the show profile command for each name in the list. This saves time if you have a large number of networks. Be careful with the resulting data: the file containing all passwords requires reliable protection, as it provides access to all your local networks.

Parameter Description Where to find
Profile name Wi-Fi network name (SSID) List of profiles
Security type Encryption protocol (WPA2, WPA3) Security tab
Security key The network password itself Key Contents field
State Connected or disconnected Network and Sharing Center

Working with the Windows Registry for Advanced Users

The Windows registry is a hierarchical database that stores operating system and application settings. Wi-Fi passwords are also stored here, but in encrypted form and using specific binary keys. Directly reading a password from the registry without the use of specialized utilities or decryption scripts is virtually impossible for the average user.

However, knowing the path to the registry keys is useful for understanding the data storage structure. The path typically looks like this: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesThis is where profile settings are stored, but not the encryption keys themselves in clear text. Registry — This is a sensitive area, and incorrect changes to the parameters may lead to unstable operation of the system.

To extract a password from the registry, third-party utilities are typically used. They read binary data and decrypt it using the current user's privileges. Manually manipulating this data is not recommended, as encryption algorithms depend on the OS version and security updates.

Is it possible to recover a password after reinstalling Windows?

Unfortunately, no. A clean installation of the operating system deletes all registry data and saved network profiles. The password can only be found if it's saved on another device or stored in your router.

Third-party Wi-Fi password management utilities

If the built-in tools seem too complicated or inconvenient for you, there are specialized programs such as WirelessKeyView from NirSoft or Wifi Password DecryptorThese utilities automatically scan the system, find saved profiles, and display passwords in a clear table format. They significantly simplify the process, especially when you need to quickly copy a key.

Using third-party software carries certain risks. Such programs should only be downloaded from the developers' official websites to avoid infecting your computer with malware. Antivirus programs may flag such utilities as potentially unwanted programs (HackTools) because they are designed to extract confidential information.

The advantage of such programs is the ability to export a password list to a text file, HTML, or XML. This is convenient for backing up network settings. However, for a one-time password recovery procedure, standard Windows tools are quite sufficient and don't require any additional software.

  • 💾 Download utilities only from official developer resources.
  • 🛡️ Check files with an antivirus before launching.
  • 🚫 Do not use questionable programs from unverified sources.
  • 🗑️ Delete utilities immediately after use for security purposes.

⚠️ Note: Program and operating system interfaces are subject to update. The location of menu items or command names may differ slightly in new versions of Windows 10 or Windows 11. Always consult the latest Microsoft documentation if the standard paths don't work.

Frequently Asked Questions (FAQ)

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

No, this is impossible. Windows only stores passwords that were successfully entered and used to connect. If the device didn't know the password, it couldn't store it.

What should I do if the netsh command returns an "Element not found" error?

You most likely entered the network name (SSID) incorrectly. Check the profile list for the exact name, including case and spaces. The name should be enclosed in quotation marks if it contains spaces.

Is it safe to save passwords in Windows?

Yes, the system stores them in encrypted form. Only a user with administrator rights on that specific computer can access them. However, if attackers gain physical access to your PC, they can extract this data.

Will the password disappear from memory if I disconnect the computer from the network?

No, network profiles are saved in the system's persistent storage. They won't be lost after a reboot or power cycle unless you delete the network profile or reinstall Windows.