How to Find Your Wi-Fi Password on Windows 10: A Complete Guide

It's quite common to need to connect a new gadget to the network but have forgotten the password. Windows 10 Often, a laptop is already connected to the internet, but it's impossible to remember the password for a new device. Fortunately, the operating system stores secure connection information in special protected registries.

There are several proven methods for extracting this information, ranging from standard graphical interfaces to console commands. We'll look at the most effective and secure methods that don't require installing suspicious software. It's important to understand that most methods require administrator privileges.

Restoring access to network data is a standard system function, not a hack. However, be careful when using third-party programs, as they may request excessive permissions. Below are detailed instructions that will help you resolve the issue in just a few minutes.

Using the Network Connections GUI

The simplest and most accessible way, which does not require knowledge of complex commands, is hidden in the standard settings WindowsThis method is ideal for those who are afraid of making mistakes when entering text into the console. You will need a valid connection to the desired network on your current device.

First, you need to open the Network and Sharing Center. To do this, right-click the Wi-Fi icon in the system tray (lower-right corner of the screen) and select Open Network & Internet SettingsIn the window that opens, find the link Network and Sharing Center, which is usually located at the bottom of the menu or under "Advanced Options."

In the Control Center, you'll see your active connection. Click on the name of your wireless network (the blue link next to "Connections"). A small status window will open, where you'll need to click Wireless network propertiesIn the new dialog box, go to the tab Security.

⚠️ Attention: If the Security tab is unavailable or the buttons are grayed out, make sure you are logged in as an administrator and not a guest.

Here you're interested in the "Network Security Key" field. By default, the symbols are hidden by asterisks. To see them, you need to check the box next to the item. Show entered charactersAfter that the password will be displayed in clear text, and it can be copied or recorded.

📊 Which password recovery method did you use most often?
Through the Network and Sharing Center
Via the command line
Using a router
Third-party programs

Obtaining data via the command line (CMD)

For more advanced users or when the graphical interface isn't working correctly, the command line is a great option. This method not only allows you to view the password for the current network but also retrieve information about all previously connected access points stored on your computer.

First, you need to run the command prompt as administrator. Click Win + X and select Windows PowerShell (Administrator) or find cmd In the search box, right-click and select "Run as administrator." Enter the following command to display all saved profiles:

netsh wlan show profiles

Find the name of the desired network in the list. Then enter the command, substituting the name of your profile for Network_name:

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

In the report that opens, look for the "Security Settings" section. Line Key content will contain the desired combination of characters. This method works reliably on all builds. Windows 10 And Windows 11.

☑️ Check before entering a command

Completed: 0 / 4
What to do if the command fails?

If the system reports "Access Denied," it means the console isn't running as an administrator. If there's a syntax error, check the quotation marks around the network name—they're required if the name contains spaces.

View passwords for all saved networks

Sometimes you need access to not just one, but all networks your computer has ever connected to. While standard Windows tools can't bulk export all passwords to a text file, you can quickly view them as a list.

Using the same command line, you can display a brief summary. However, for convenience, it's better to use a specialized script or utility, since manually sorting through dozens of profiles via netsh It may take a long time. However, a basic query will return a list:

netsh wlan show profiles

For each profile from the list you will have to enter a command with a key key=clearThis is the only built-in method without using third-party software. Please note that some corporate profiles may not store passwords in cleartext due to domain security policies.

Parameter Description Where to find
Profile name Wi-Fi network name First line of the report
Network type Personal or corporate Connection Settings section
Authentication Security method (WPA2, WPA3) Security Settings section
Key The password itself Key Contents field

Using PowerShell for Automation

Wednesday PowerShell Offers more flexible options for working with network configurations than the classic CMD. It allows for an object-oriented approach to data retrieval.

Open PowerShell as an administrator. Enter the following command to get the profile name and key in a more readable format (the command may vary depending on your PowerShell version, but the basic syntax is netsh remains operational inside the shell):

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

This command will filter the entire output and leave only the line containing the password. This is especially useful if you're taking a screenshot or copying the result to the clipboard. PowerShell also allows you to create scripts to automatically save this data to a file.

⚠️ Attention: When working with PowerShell, be careful about the case of letters in commands; although the shell itself is often case-insensitive, profile names must match exactly.

Third-party utilities for access recovery

If you don't want to mess around with code, there are specialized programs. One of the most popular and reliable is WirelessKeyView from NirSoft. It requires no installation and immediately displays all saved keys.

The program scans system registries and displays a table with all the data: network name (SSID), security key (in HEX and ASCII format), and authentication type. This significantly speeds up the process, especially if you need to find the password for a network the computer isn't currently connected to but has connected to in the past.

Another option is - WiFi Password DecoderThese tools are useful for system administrators. However, download them only from the developers' official websites to avoid introducing malicious code disguised as a useful utility.

Using such programs often requires temporarily disabling your antivirus software, as they operate on protected areas of the system's memory, which may be considered suspicious activity by security software.

Resetting network settings as a last resort

In situations where the system is unstable, the Wi-Fi module drivers are glitchy, or the profiles are corrupted, a full network reset may be necessary. This will restore the Windows network stack to its factory defaults.

To do this, go to Parameters (via the Start menu) → Network and InternetState. Find the link at the bottom of the page Network resetClick it and confirm the action. The computer will restart in 5 minutes.

After this procedure, all saved passwords will be deleted, and you will have to re-enter them for all devices. Therefore, this method should only be used if the goal is to clean the system of errors, not to recover a forgotten key.

Frequently Asked Questions (FAQ)

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

Yes, if the computer has ever connected to this network before and saved the profile. You can use the command netsh wlan show profile name="Name" key=clear, even if the network is currently unavailable or you are out of coverage area.

Why is the Network Security Key field grayed out and inactive?

This means your current account doesn't have administrator rights. You need to log in as an administrator or ask the PC owner to enter the password to confirm your actions.

Is it safe to use programs like WirelessKeyView?

The utility itself is safe if downloaded from the developer's official website (NirSoft). However, antivirus programs may detect it as a "hacking tool" (HackTool) because it extracts saved passwords from the system.

What should I do if the netsh command returns a "Network not found" error?

Check the profile name. It must match character for character, including spaces and case. You can view a list of all profiles with the command netsh wlan show profiles.