How to find your Wi-Fi password on a laptop: step-by-step instructions

It's quite common to need to connect a new device to a wireless network but have long forgotten or lost the Wi-Fi password. Fortunately, the Windows operating system has built-in mechanisms for storing access keys, allowing you to recover information without having to reset the router or contact your ISP. Saved profiles networks are securely hidden in system registries, but access to them remains possible for an authorized user.

There are several proven methods to find out security key (PSK) for the current or previously used network. The choice of a specific method depends on the operating system version, the user's access level, and personal preferences regarding the use of a graphical interface or console commands. In this article, we will examine in detail the most effective solutions.

Before extracting data, make sure the laptop you're searching for information on has previously successfully connected to the desired access point. If the device has never connected to the router, you won't be able to retrieve the password programmatically from that computer. In this case, you'll need physical access to the router itself or another device where the key is stored.

Viewing a password using standard Windows settings

The simplest and most accessible method, requiring no specialized knowledge or additional software, is found within the operating system's standard interface. This method is ideal for users who want to quickly access information without entering complex commands. However, it's important to note that the menu interface may vary slightly depending on the operating system. Windows 10 or Windows 11.

To begin, open the Start menu and go to the Settings section, which is indicated by the gear icon. Next, select the Network & Internet category, which displays all available network connections. If you are in Windows 11, you will need to select "Advanced network settings" and then go to "Advanced network settings".

In the window that opens, find the "Network and Sharing Center" link (in older versions) or directly select "Properties" for the active connection. In the new settings interface, scroll down to the "Properties" section and find the "View Wi-Fi properties" button or a similar profile management option. This is where the information you're looking for is hidden.

⚠️ Attention: To display your password in the graphical interface, your account must have administrator rights. If you're using a corporate laptop, your system administrator may have blocked access to these settings.

After opening the wireless network properties, a pop-up window with several tabs will appear. The tab you're interested in is "Wireless Security." At the bottom of this window is the "Network Security Key" field, where the characters are hidden behind asterisks or dots. To see the actual code, check the "Show entered characters" box.

📊 Which version of Windows do you use most often?
Windows 10
Windows 11
Windows 7 or later
macOS/Linux

Using the command line to recover the key

For more advanced users or in situations where the graphical interface does not work correctly, the optimal solution is to use the command line. cmdThis method allows you to not only view the password for the current network but also retrieve the keys for all previously saved profiles, which is especially convenient when migrating to a new router or clearing the network list.

Launch the Command Prompt as administrator. To do this, right-click the Start icon and select the appropriate option from the menu. First, enter the command netsh wlan show profilesto see a list of all saved networks. Find the name of your access point in the list and remember its exact spelling.

Next, enter the command to display detailed information about a specific profile. The command syntax is as follows:

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

Replace NETWORK_NAME to the actual name of your Wi-Fi network. In the report that opens, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext.

  • 🔍 This method works even if the network is not currently active, as long as the profile is saved in the system.
  • 💻 The command line allows you to copy the result of a command directly to the clipboard by selecting the text with the mouse.
  • ⚙️ This method is universal and equally effective on both desktop PCs and portable laptops.

☑️ Check before entering a command

Completed: 0 / 3

Finding a password using PowerShell

An alternative to the classic command line is a more powerful system management tool - PowerShellIt provides advanced capabilities for working with network configurations and is often used by system administrators. The process for obtaining a password is similar, but the command syntax can be more flexible.

Open PowerShell as administrator using the Start menu search. You can use the same utility to retrieve the password. netsh, which is built into the system, or use native cmdlet commands. The first option is more reliable, as it doesn't depend on PowerShell module versions.

Enter the following command to output all profiles and their keys in XML format (this may be difficult to read), or use a simplified version of the query. However, for quick results, it's easiest to duplicate the command from the previous section, as it works without modification in PowerShell.

⚠️ Attention: When working in PowerShell, be careful about the case of letters in command names. Although netsh case-insensitive, PowerShell's native commands are case-sensitive.

What should I do if the command returns an access denied error?

If you receive an access denied message when running the command, make sure the console is running with administrator privileges. Antivirus software may also be blocking attempts to read system keys—try temporarily disabling protection.

Comparison of access recovery methods

Each of the methods discussed has its advantages and disadvantages depending on the specific situation. A graphical interface is more intuitive for beginners, while console commands provide speed and the ability to automate. Understanding the differences will help you choose the optimal approach.

Method Complexity Speed Requirements
Windows Settings Low Average User rights
Command line Average High Administrator rights
PowerShell High High Administrator rights

When choosing a method, consider your PC skills. If you're unsure of how to enter commands correctly, it's best to use the graphical interface to avoid accidentally changing system settings. However, mastering console commands significantly expands your network diagnostic capabilities.

Restoring via the router's web interface

If none of the methods on the laptop itself work (for example, the password has been deleted from saved profiles), the only option is to turn to the source of the signal—the router. To do this, the laptop must be connected to the router via an Ethernet cable or via Wi-Fi (if the password is saved somewhere, such as on a phone).

Open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the username and password for accessing the control panel, are usually located on a sticker on the bottom of the device. After logging in, go to the Wireless or Wi-Fi Settings section.

In the wireless security settings (Wireless Security) you'll find a field with the current password. Here you can not only view it but also change it to a more complex one. Don't forget to save your changes by clicking "Save" or "Apply." The router may then reboot.

Common errors and access problems

When recovering a password, users often encounter various technical obstacles. One common issue is the absence of the "Security" tab in the network properties. This can occur if the wireless adapter drivers are installed incorrectly or are out of date.

Another common situation is the inability to run the command prompt as an administrator due to organizational security policies. While such restrictions are rare at home, they are standard practice for protecting corporate data in office environments.

  • 🚫 The "Parameter is specified incorrectly" error when entering a command most often indicates a typo in the network name.
  • 🔒 Access to router settings may be blocked if the previous owner changed the default password.
  • 💾 The absence of a saved profile means that the laptop has “forgotten” the network, and the password will have to be found on another device.

⚠️ Attention: Router interfaces from different manufacturers (Asus, TP-Link, D-Link, Keenetic) vary significantly. Menu locations may vary depending on the firmware version, so look for sections labeled "Wireless," "Security," or "WLAN."

Security measures and access key protection

Once you've regained network access, it's time to consider the security of your connection. Using weak passwords or transmitting a security key over open communication channels can lead to compromise of your home network and the leaking of personal data.

It's recommended to update your Wi-Fi password regularly, especially if you have guests connecting to your network. Use complex character combinations, including mixed-case letters, numbers, and special characters. This will significantly complicate the task of attackers attempting to brute-force the key.

It's also worth checking the encryption type in your router settings. Make sure the standard is selected. WPA2-Personal or more modern WPA3Outdated encryption protocols such as WEP can be cracked in minutes and do not provide the required level of security.

Is it possible to see a password on someone else's computer?

Without physical access to the device and administrator rights, it's impossible to find the saved password on someone else's computer. Attempting remote access without the owner's permission is illegal.

What should I do if the Security tab is empty or unavailable?

If the tab is missing, try updating your wireless adapter drivers through Device Manager. Also, check to see if your antivirus software or Group Security Policy is blocking access. In rare cases, deleting the network profile and reconnecting with the password (if known from another device) can help.

Is it possible to find out my neighbor's Wi-Fi password?

There are no legal ways. You can only see the network name (SSID) unless it's hidden. Guessing the password without the owner's consent is illegal. The only legal way is to ask the owner directly for the password.

Where are Wi-Fi passwords stored in the Windows registry?

Wireless network data is stored in a protected section of the registry and system configuration files. Directly editing the registry to extract passwords is highly discouraged due to the high risk of damaging the system. Use the built-in commands. netsh, which access this data securely.

Will reinstalling Windows reset my Wi-Fi password?

Yes, completely reinstalling the operating system or formatting the system drive will delete all saved network profiles and passwords. Before reinstalling, we recommend writing down the key or exporting the profiles, if possible.