How to find the WiFi password on a Windows 10 laptop

Many users are familiar with the situation of needing to connect a new device to a wireless network, but the password has been forgotten or lost. Fortunately, the operating system Windows 10 Stores access keys to previously connected access points in memory, allowing you to restore them without accessing the router. This is especially convenient if you're in the office or visiting someone, where physical access to the router is restricted or undesirable.

There are several methods to retrieve saved data, from simple graphical interfaces to using the command line for more advanced users. Microsoft Provides a fairly flexible tool for managing network connections, allowing you to view security keys even without third-party software. It's important to understand that you'll need administrator rights on the current device to successfully perform most operations.

In this article, we'll cover all current methods for recovering network information, including using built-in utilities and third-party programs. We'll also address security issues and discuss what to do if standard methods fail. The password can only be found out from the network to which the laptop was previously connected or is currently connected.

⚠️ Attention: The Windows 10 Settings menu interface may vary slightly depending on your build version (Home, Pro, Enterprise) and installed updates. If you don't see an option, check your network card drivers on the manufacturer's website to make sure they're up-to-date.

Using the Windows graphical interface

The easiest and safest method for regular users is to use the standard wireless network properties window. This method doesn't require complex commands and works reliably on most operating system builds. Find the WiFi icon in the lower-right corner of the screen (in the system tray) and right-click it.

In the menu that opens, select the item Open Network & Internet Settings, and then go to the section Network and Sharing CenterIf you are in the new settings interface, look for the link Network and Sharing Center at the bottom of the window or enter this name in the Start menu search. Next, click the name of your active wireless network (blue text with a signal icon).

A small status window will open where you are interested in the button Wireless network propertiesAfter clicking it, a dialog box will appear with tabs, from which you need to select SecurityThis is where information about the encryption type and access key is stored.

In the field Network security key The symbols are hidden by asterisks. To see them, you need to check the box next to the item. Show entered charactersThe system may request confirmation of administrator rights through the UAC (User Account Control) window, which must be confirmed.

  • 📡 Open the network management menu from the tray.
  • 🔐 Go to the properties of your active wireless network.
  • 👁️ On the "Security" tab, check the box to display symbols.
  • 📝 Copy or write down the password that appears.
📊 What is your preferred way to view network settings?
Through the graphical interface
Via the command line CMD
Via PowerShell
Using third-party programs

Finding a password via the CMD command line

For those who prefer speed or don't have access to a graphical interface (for example, when connecting remotely), the command line is the ideal solution. netsh (Network Shell) allows you to manage network configurations and display saved profiles in text format. You can launch the console from the Start menu by entering cmd, and choosing to run as administrator.

The first step is to find out the exact name of the network profile if you have multiple saved. Enter the command netsh wlan show profilesThe system will display a list of all profiles ever saved on this computer. Find the desired network name in the list.

To display the security key, use the following construction:

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

Instead of Network_Name Please insert the exact name of your WiFi, enclosed in quotation marks if it contains spaces. In the command output, find the section Security parameters (Security settings). Line Key content (Key Content) will contain the desired password in clear text.

☑️ Check before entering a command

Completed: 0 / 4

This method is good because it works even if the network is not currently active, as long as the profile is saved in the system. If the command returns the error "Group Policy does not allow...," it means access to the keys is blocked by the organization's administrative settings.

Using PowerShell to retrieve data

PowerShell is a more powerful system management tool that also allows you to interact with network profiles. While the syntax may seem more complex than CMD, it offers more flexible filtering and output options. Open PowerShell as an administrator by searching in the Start menu.

The command to display information is similar to the one used in CMD, since netsh is a system utility that can be called from any shell. However, PowerShell allows for more complex scripts to automatically collect all passwords at once. A basic query looks like this:

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

This command will not only request the data but also filter the output, leaving only the password string. This is especially useful if you want to quickly copy the result to the clipboard without unnecessary clutter. Please note that the names of commands and parameters may vary depending on your Windows locale (Russian or English interface).

  • 🖥️ Run PowerShell with administrator privileges.
  • 🔍 Use the netsh command inside the PowerShell shell.
  • ✂️ Apply Select-String filters for clean output.
  • 💾 Save the result to a text file if necessary.

⚠️ Attention: When working with PowerShell, pay attention to case and quotation marks. A syntax error can result in unintended actions, although in this particular case, the risk is minimal.

Viewing passwords through router settings

If none of the computer's software methods work (for example, the network profile was deleted), the only option left is to check the router's settings. To do this, the laptop must be connected to the router, even if it doesn't have internet access. You'll need the default gateway IP address.

You can find out the gateway address using the command ipconfig in the command line. Find the line Main gateway (Default Gateway), usually an address like 192.168.0.1 or 192.168.1.1. Enter this address in your browser's address bar. You'll be prompted for the router administrator login and password (often admin/admin by default, unless you've changed them).

Once you've logged into the web interface (control panel), look for the section related to wireless networking. It may be called Wireless, WiFi, Wireless network or WLANLook for the subsection inside Security (Security) or WiFi settingsThere will be a field with the WPA/WPA2 key.

Router brand Typical IP address Menu section Password field
TP-Link 192.168.0.1 Wireless -> Wireless Security Wireless Password
ASUS 192.168.1.1 Advanced Settings -> Wireless Network Authentication Method / Pre-Shared Key
D-Link 192.168.0.1 Wi-Fi -> Security Settings PSK encryption key
Keenetic 192.168.1.1 Home network -> Wi-Fi network Password

Interfaces from different manufacturers can vary greatly, but the logic remains the same: look for the section related to wireless connection and security. If you've changed the router's administrator password and forgot it, you'll need to reset the device to factory settings (press the Reset button).

What to do if the router's IP address is not accessible?

If the browser doesn't load the settings page, check that the correct network adapter is selected. It's also possible that the router's IP address was previously changed. Try resetting the network settings with the command netsh int ip reset in the command prompt with administrator privileges and restarting the computer.

Third-party key recovery programs

When built-in Windows tools seem too complex or inaccessible, specialized snails come to the rescue. There are many free and paid programs that automatically read profiles and display passwords in a convenient format. One of the most popular and time-tested is WirelessKeyView from NirSoft.

This program requires no installation (it's portable), making it ideal for use from a flash drive. It scans the registry and system files, extracting all stored keys. The program interface features a table displaying the network name (SSID), the key in HEX and ASCII format, and the encryption type.

Other popular analogues include WiFi Password Decoder And Free WiFi Password KeyThey operate on a similar principle: they access the system's credential storage. However, such programs should only be downloaded from the developers' official websites, as pirated builds often contain viruses and miners.

  • 📥 Download utilities only from official developer resources.
  • 🛡️ Check files with an antivirus before launching.
  • ⚙️ Run programs as administrator to access the database.
  • 💻 Use portable versions to avoid cluttering your system.

⚠️ Attention: Antivirus programs may detect password recovery utilities as "HackTools" or potentially unwanted software. This false positive is due to the programs' functionality, but you should only add them to your exclusions if you are certain of the file's source.

Possible problems and their solutions

Despite the simplicity of the methods described, users may encounter errors. The most common issue is a lack of administrator rights. Without them, the system will not allow you to view security keys, as this is critical information. Make sure you are logged in using an account with full privileges.

Another common situation is a corrupted network profile. If Windows can't read the configuration correctly, the password won't display. In this case, deleting the profile and reconnecting helps. To delete it, use the command:

netsh wlan delete profile name="Network_Name"

Problems can also arise due to network card drivers. If the driver outdated or is not working properly, WiFi control functionality may be limited. Update your drivers through Device Manager or download the latest version from the laptop manufacturer's website.

In rare cases, an organization's security policies (Group Policy) may prevent keys from being displayed even to administrators. This is common in corporate networks, where the IT department limits user access to protect data.

FAQ: Frequently Asked Questions

Is it possible to find out the WiFi password if the laptop has never connected to this network?

No, this is technically impossible without access to the router. Windows only stores keys that have been successfully used to connect. If the device has never connected to the access point, the system simply has no information about the key.

Are password recovery programs safe to use?

Using trusted utilities (such as those from NirSoft) is safe if they are downloaded from the official website. However, antivirus programs may flag them as dangerous due to their functionality. Risks arise only when downloading questionable software from unverified sources.

What should I do if the "Network Security Key" field is grayed out and unavailable?

This means you don't have administrator rights on this computer, or the network profile is corrupted. Try running the command prompt as an administrator and using the method with netsh.

Where are WiFi passwords physically stored in Windows 10?

Data about wireless networks is stored in the Windows registry and in system configuration files located in hidden system folders (for example, in C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces). Accessing these files directly is difficult and requires special rights.