How to find your WiFi password on a laptop in Windows 10

Many users are familiar with the situation of needing to connect a new device to a wireless network but long forgotten the password. It often happens that a laptop or desktop computer is already connected to the router and successfully accesses the internet, but the access code to the access point is lost or written down on a piece of paper. In the operating system Windows 10 A convenient security key saving feature is provided, allowing you to recover a forgotten combination of characters at any time without having to reset the router settings.

There are several ways to restore access to network data, ranging from the graphical settings interface to using the command line for advanced users. Microsoft Provides a high level of data encryption, but the device owner remains able to access it. This guide details all current methods for extracting stored keys, avoiding the complex process of reconfiguring network equipment.

It's worth noting that you'll need administrator privileges to perform most of the actions described below. Without the appropriate privileges, the security system blocks access to critical network settings. If you're working on a corporate computer, ensure that your actions comply with the organization's internal security policy, as viewing network keys may be prohibited by the system administrator.

Viewing the password through the settings graphical interface

The easiest and most accessible way for any user to find a forgotten key is to use the standard network properties window. This method doesn't require any special commands and works reliably across all operating system builds. To get started, open the Start menu and go to Settings by selecting the gear icon, or simply press a key combination. Win + I.

In the window that opens, select the "Network and Internet" category, then find "Status" in the left menu. Scroll down to the "Network and Sharing Center" link and click it. The classic Control Panel window will open, with your active network displayed on the right side next to "Connections."

Click on the name of your wireless network (blue link text). A small status window will open, where you need to click "Wireless Network Properties." Go to the "Security" tab. This is where the "Network Security Key" field is located, hidden by asterisks by default. Check the "Show entered characters" box to reveal the hidden code.

⚠️ Attention: If the Security tab is empty or the button is grayed out, it may mean you are trying to access the properties of a guest network or a restricted network where the security policy prohibits viewing keys.

This method is the most secure, as it doesn't require running scripts or using the command line, which is prone to error. However, it only works for the network the laptop is currently connected to, or for networks previously used on this computer and saved in the profile.

📝 Information: The menu interface may vary slightly depending on your Windows 10 build version (e.g., 21H2 or 22H2) and installed security updates. If the path is different, use the search in Settings.
📊 Which password recovery method do you find more convenient?
Through Windows settings
Via the command line
Via PowerShell
Resetting the router

Using the command line to get the key

For those who prefer the speed of working with the terminal, or in cases where the graphical interface does not work correctly, the ideal solution is to use the built-in utility NetshThis tool allows you to manage network settings directly through text commands. To launch the command prompt with the necessary privileges, right-click the Start menu and select "Windows PowerShell (Administrator)" or search for "cmd," right-click, and select "Run as administrator."

The first step is to find out the exact name of the network profile, if it differs from the SSID. Enter the command netsh wlan show profiles and press Enter. The system will display a list of all saved profiles. Find the desired network in the list and remember its exact name, as it will be used in the next step.

To display the password, enter the following command, replacing "NetworkName" with the name of your profile:

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

In the command output, scroll down to the "Security Settings" section. There you'll find the line "Key Contents," which displays the password you're looking for in cleartext. This method is universal and works even if the graphical interface is frozen or corrupted by system errors.

⚠️ Attention: When entering the network name in quotation marks, be sure to maintain capitalization. If the name contains spaces, the quotation marks are required, otherwise the command will not execute correctly.

Using the command line provides more detailed technical information about the network, including the encryption type and security protocol version. This can be useful for diagnosing connection issues with other devices that are unable to connect to the router.

Alternative method via PowerShell

Wednesday PowerShell PowerShell is a more powerful system management tool than the classic command line, although its functionality is similar for viewing WiFi passwords. PowerShell uses an object-oriented approach, but often uses the same system calls to work with network profiles. Launch PowerShell as an administrator using the Start menu search.

The command for outputting information is similar to that used in cmd, but PowerShell's syntax allows for more flexible filtering of the output. Enter the command:

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

The result will be identical to the command line output. However, PowerShell's advantage lies in its automation capabilities. You can create a script that will automatically find all profiles and output their passwords to a text file, which is convenient for system administrators configuring multiple computers.

If the network name contains non-Latin characters, display issues may occur. In this case, it's best to use the English keyboard layout when entering the profile name or copy it from the profile list.

Summary table of recovery methods

To help you choose the optimal solution, let's look at a comparison table of methods. Each has its own advantages depending on the specific situation and the user's skill level.

Method Necessary rights Complexity Works without connection
Windows settings User Low No (profile required)
Command line Administrator Average Yes (if the profile is saved)
PowerShell Administrator Average Yes (if the profile is saved)
Resetting the router Physical access High Yes (always)

As the table shows, the interface and console methods require the network profile to be already saved on the device. If the computer has never connected to this network, it's impossible to find the password through the OS. In this case, the only options are physical access to the router or interrogating other users.

The choice of method depends on your preference. For a one-time action, it's easier to use a graphical interface. For frequent work or remote administration, console commands, which can be quickly copied and pasted, are more convenient.

What to do if the password is not displayed

Sometimes users encounter a situation where the "Network Security Key" field remains blank or hidden, even after checking the "Display" box. This can occur for several reasons, including access rights or issues with the wireless adapter drivers. First, check whether the process is running as an administrator.

Another common reason is the use of enterprise security certificates (WPA2-Enterprise). In such networks, the password is not stored as a simple string, but access is achieved through digital certificates or domain logins and passwords. In this case, standard Windows tools will not be able to extract the key in plain text.

The issue could also be caused by outdated Wi-Fi adapter drivers. Go to Device Manager, find your network adapter, and try updating the driver or, conversely, rolling it back to a previous version. This sometimes resolves compatibility issues with Windows 10 security features.

⚠️ Attention: Using third-party programs to "hack" or view passwords can be dangerous. Many such utilities contain viruses or Trojans that steal data. Use only built-in OS tools.

If none of the software methods help, the last option is to reset the router to factory settings. There's a button on the device. Reset, which you need to hold down for 10-15 seconds. After this, the router will return to factory settings, and the password will be listed on a sticker on the bottom of the device.

Managing saved network profiles

Windows 10 automatically saves profiles for every network you've ever connected to. Over time, this list can become very large, creating potential security risks and confusion. It's recommended to periodically clean this list by deleting old and unnecessary profiles.

To delete a profile, use the command line. The command looks like this:

netsh wlan delete profile name="Name of the unwanted network"

After running this command, the system will forget the network and its password. If you want to connect again, you'll need to re-enter the security key. This is a useful procedure for cleaning the registry and improving privacy, especially if you were using public Wi-Fi.

Deleting profiles can also help if you're having trouble connecting to a known network. Deleting an old profile and creating a new one often resolves issues with IP address conflicts or incorrect encryption settings.

☑️ WiFi Security Check

Completed: 0 / 4
Is it possible to find out the WiFi password on Windows 10 without administrator rights?

Unfortunately, no. Operating system Windows intentionally hides security keys and requires elevated privileges to display them. This is done to protect user data from intruders who might gain physical access to the laptop. Without administrator rights, you will only be able to see a list of available networks, but not their security settings.

Where is the password physically located if I don’t remember it anywhere?

If the password isn't saved anywhere, you can find it on a sticker on the bottom or back of the router itself. It's usually listed there. SSID (network name) and Wireless Key or WPA KeyIf you changed the password during initial setup and didn't write it down, the only solution is to reset the router to factory settings using the Reset button. After that, the password will be the same as the one on the sticker.

Is it safe to use third-party password viewers?

Using third-party software carries risks. While there are legitimate utilities (such as WirelessKeyView by NirSoft), downloading such programs from untrusted sites can lead to computer infection. Windows 10's built-in tools are completely safe and sufficient for the task, so there's usually no need for third-party software.

What should I do if the name I need is not in the list of networks?

If in the list of profiles (output by the command show profiles) If the desired network doesn't exist, it means your laptop has never successfully connected to it, or the profile has been deleted. In this case, it's impossible to find the password through your computer. You'll need to search for the information on other devices (phone, tablet) connected to this network, or use the sticker on the router.

Can a Windows update delete saved passwords?

In rare cases, major feature updates may reset some network settings, but WiFi profiles are usually preserved. However, if you reinstalled the system or performed a full reset (Reset this PC) that deleted all files, all saved passwords will be permanently lost.