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

Needing to connect a new device to your home network but having forgotten or lost the WiFi password is one of the most common problems in local network maintenance. Fortunately, the operating system Windows 10 Stores access keys to all networks the computer has ever connected to in encrypted form. This makes it easy to recover lost data without having to reset the router or contact your ISP.

There are several proven methods for extracting this information, ranging from a simple visual inspection in a graphical interface to using advanced console commands. The method you choose depends on whether you're currently connected to the network or simply have physical access to the computer that previously used the Wi-Fi connection. In any case, the process doesn't require installing any third-party software.

In this article, we will examine in detail all the available options, including the use of standard system tools and more in-depth methods through PowerShellYou will learn how to securely manage your credentials and understand where exactly the operating system stores keys. WPA2-PSK or WPA3This knowledge will be useful not only for restoring access, but also for general digital literacy.

Viewing the password through the settings graphical interface

The simplest and most intuitive method for most users is to use the built-in network management menu. This method is ideal if your computer is currently connected to the desired wireless network. You don't need to enter complex commands or remember syntax; just perform a few mouse clicks in the appropriate order.

First, open the Network Control Panel. You can do this by right-clicking the WiFi icon in the system tray (near the clock) and selecting Open Network & Internet SettingsIn the window that opens, find the link Network and Sharing Center, which is usually located on the right side of the window or at the bottom of the Status tab.

Once you're in the Control Center, you'll see an active connection. Click the blue link with the name of your wireless network. A small status window will open, where you'll need to select the button. Wireless network properties. Next, go to the tab Security and check the box next to the item Show entered charactersThe system will ask you to confirm administrator rights, after which the hidden text will become visible.

⚠️ Attention: If the Security tab is empty or the button is grayed out, it may mean that your account does not have administrator rights or that corporate security policies are blocking you from viewing keys.

It's important to understand that this method only displays the password for the currently active network. If you need to find the password for another WiFi network to which your computer has connected in the past but is currently inactive, you'll need to use the other methods described below. The graphical interface doesn't allow you to view the history of all saved profiles at once.

📊 How do you usually restore access?
Through Windows settings
Via the command line
By resetting the router
Call your provider

Using the Command Prompt (CMD) to Retrieval Data

For more advanced users or in situations where the graphical interface does not work correctly, it is ideal Command line (CMD). This tool provides direct access to Windows utility functions, allowing you to display even data hidden in regular menus. This method is universal and works on all versions of Windows 10.

The first step is to launch the console with administrator rights. Click Win + X and select from the menu Windows PowerShell (Administrator) or Command Prompt (Administrator)If you simply open a regular console without administrator rights, the commands may fail or result in an access error. This is a critical preparation step.

Before requesting a specific password, it's helpful to know the exact network profile name, as it may differ from the SSID (especially if you changed the settings manually). Enter the following command to view a list of all saved profiles:

netsh wlan show profiles

Find the name of the desired network in the list. Note that names may contain spaces and special characters. Once the name is identified, use the following syntax to output the security key in cleartext:

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

Find the line in the command output Key content (or Key Content), the value next to it will be the password you're looking for. This method is especially convenient if you need to quickly copy data, as text in the console can be selected and copied via the clipboard.

List of all saved WiFi networks and their passwords

Sometimes a user needs to download information about all networks a laptop has ever connected to. This might be necessary when migrating to a new computer or for a security audit. A standard command line allows you to list profiles, but to retrieve passwords in bulk, you'll need to perform a series of steps or use a script.

First, let's get a complete list of profiles. The command below will display all names stored in the Windows network service's memory:

netsh wlan show profiles

To view passwords for all networks at once, you can use a command-line loop, but a more secure and understandable approach is to query each important network sequentially. However, if you're an advanced user, you can generate a report. Below is a table of the main parameters the system displays when prompted for a profile.

Parameter Description Where is it used?
Profile name Local connection name Identification in the system
Type of ID Verification Method (WPA2-Personal) Security settings
Encryption type Algorithm (AES, TKIP) Data transfer protocol
Key content The password itself (visible only with key=clear) Connecting devices

It's worth noting that some corporate profiles may not have explicit "key content" because they use certificates or domain logins/passwords for authorization. In such cases, access recovery is possible via netsh It is impossible because the password is not stored in plain text on the device.

Is it possible to recover the guest network password?

Guest networks often have temporary passwords or use captive portals. In such cases, a permanent WPA2 key may not exist, and restoring it through Windows will be unsuccessful.

Restoring access via PowerShell

PowerShell PowerShell is a more powerful alternative to the classic command line, allowing you to work with system objects at a deeper level. While CMD is sufficient for simple password viewing tasks, PowerShell offers more flexibility, such as automating processes or exporting data to files.

To launch PowerShell, right-click on the Start button and select Windows PowerShell (Administrator)The interface may vary in color (often blue), but the operating principle is similar. The basic command syntax netsh It works here too, since it's a system utility, but native cmdlets can also be used.

However, the most effective way in PowerShell remains to use the same utility netsh, but with the ability to further process the text. For example, you can filter the output, leaving only the line containing the key. This is useful if you're writing a script to collect information.

The command is entered in the same way as CMD:

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

The advantage of PowerShell is that the output can be easily redirected to a text file with the command Out-FileBy backing up all network settings, you can protect yourself from data loss in the event of a system crash or Windows reinstallation.

⚠️ Attention: When saving passwords to a text file, make sure the file is secure. Anyone who gains access to the file will be able to connect to your network.

Reset network settings and re-authorize

If none of these methods work, or the system returns errors when attempting to display the password, the network profile may be corrupted. In this case, a reasonable solution is to delete the old profile and create a new one. This will clear the error cache and allow you to re-enter the correct password.

To delete a profile, use the command in the console with administrator rights:

netsh wlan delete profile name="Network_Name"

After executing the command, the computer will "forget" the network. You'll need to find it again in the list of available connections and enter the password. If you don't know the password, this method won't help you find it, but it will resolve the issue of being unable to connect due to a settings conflict.

Windows 10 also has a "Network Reset" feature that removes all network adapters and restores their default settings. You can find it in Settings → Network & Internet → Status → Network resetThis is a drastic measure that will require reconfiguring all WiFi connections.

☑️ Checklist before resetting the network

Completed: 0 / 4

Common mistakes and how to solve them

When recovering passwords, users often encounter common problems. Understanding the causes of these problems helps avoid wasted time. Below are the most common scenarios and solutions.

  • 🚫 Error: "WLAN AutoConfig service is not running": This means that the system service responsible for wireless networks is disabled. You need to go to services.msc, find the WLAN service and start it.
  • 🚫 Command not found: If the system writes that netsh is not an internal command, check if the console is opened as administrator or if the Windows system files are not damaged.
  • 🚫 Empty password fieldIf the "Key Content" field is empty, the profile uses a smart card or certificate, rather than a passphrase. In this case, you'll need to find the password in the router settings.

Sometimes antivirus software can block access to system security settings. If you're confident in your actions, try temporarily disabling protection or adding an exception. However, only do this if you trust the source of the instructions.

FAQ: Frequently Asked Questions

Is it possible to find out a WiFi password if the computer is not connected to it right now?

Yes, Windows 10 stores profiles of all networks you've previously connected to. You can view the password even if WiFi is currently off or you're out of range of the router using the command line.

Is it safe to use command prompt to view passwords?

Yes, this is a standard operating system function designed for administration. It doesn't require installing third-party programs that could contain viruses, and uses native Windows tools.

What if a command requires administrator rights?

You must run the command prompt or PowerShell as administrator. Running it as a normal user will not provide sufficient privileges to read security keys.

Where are WiFi passwords stored in the Windows registry?

Technically, they are located in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles registry branch, but they are encrypted. Direct reading from there without special decryption keys is impossible, so using netsh is preferable.