How to find your laptop's WiFi password: step-by-step instructions

It's quite common to need to connect a new device to a wireless network but lose or forget the access key. Fortunately, if your laptop is already connected to this router or has ever connected to it, the password is saved in the system by default. This allows you to easily restore access to your data without having to reset your router to factory settings.

There are several proven methods for extracting this information, ranging from standard operating system menus to using the command line. The specific method you choose depends on your version. Windows and your comfort level when working with system utilities. In this article, we'll examine each option in detail so you can choose the most convenient one for you.

It is important to understand that to perform these actions you will need administrator rightsWithout the appropriate privileges, the operating system will not allow you to view saved security keys to protect your data from unauthorized access by other users.

Viewing your password through the Windows 10 and 11 graphical interface

The easiest and safest way to find the saved key is to use the operating system's built-in tools. In modern versions Windows 10 And Windows 11 The settings interface has become more user-friendly, but the classic control panel approach remains functional. You won't need to install any third-party software.

To get started, open the Start menu and go to Settings by selecting the gear icon. Next, find Network & Internet and select your active connection. Wi-FiDepending on the OS version, the interface may differ slightly, but the logic remains the same: we need to access the properties of the current connection.

  • 🔍 Click the "Network and Sharing Center" link (in Windows 10) or "Advanced network settings" (in Windows 11).
  • 📡 In the window that opens, click on the name of your wireless network, which is highlighted in blue.
  • 🔓 In the dialog box that appears, select the "Security" tab and check the "Show entered characters" box.

After checking the "Network Security Key" box, the required character set will appear. You can copy or rewrite it. If the system asks for administrator rights at this point, be sure to agree, otherwise display password will be blocked.

⚠️ Attention: If the Security tab is missing or the button is grayed out, it may mean that your account does not have administrator rights or the network profile is corrupted.

Sometimes users encounter a situation where the list of available networks displays not one, but several connections with similar names. In this case, make sure you select the currently active profile to avoid viewing data from a neighbor's router or guest network.

📊 What version of Windows do you have?
Windows 10
Windows 11
Windows 7
Windows 8/8.1
Other

Using the Command Prompt to Restore Access

For more advanced users or in situations where the graphical interface isn't working correctly, using the command line is a great solution. This method is universal and works on almost all versions. Windows, allowing you to quickly display all saved keys on the screen.

To launch the command prompt with the required rights, press the key combination Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". You can also find cmd through search and run as administrator.

The first step is to find out the exact network profile name if it is different from the SSID name. Enter the command netsh wlan show profiles and press Enter. In the "User Profiles" list, find the desired name. Then use the command to display the key:

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

In the command output, find the "Security settings" section. The "Key Content" line will contain your password in cleartext. This method is especially useful if you need to quickly copy data or if the settings interface freezes.

What to do if the command fails?

If the system reports "Access Denied," make sure you're running the console as an administrator. If the error is related to the profile name, check the exact spelling of the network name in quotation marks, including spaces.

Advantage of using netsh The advantage is that you can see passwords even for networks the laptop isn't currently connected to, but which are stored in memory. This makes this method an indispensable tool for system administrators.

Data recovery in Windows 7 and 8

Owners of older laptops with operating systems Windows 7 or Windows 8 They can also restore access, although the interface looks different. The algorithm is based on the classic control panel, which is gradually being hidden in newer OS versions.

Right-click the wireless network icon in the system tray (near the clock) and select "Network and Sharing Center." Next, click the name of your connection (Wireless Network). In the status window that opens, click "Wireless Network Properties."

Go to the "Security" tab and check the "Show entered characters" checkbox. If the system asks for account confirmation (UAC), enter your administrator password. Hidden characters will then appear in the "Network security key" field.

OS Path to settings Tab Action
Windows 10/11 Settings -> Network Security Show signs
Windows 7 Network and Sharing Center Wireless network properties Display characters
Windows 8 Network properties Security Display characters
All versions (CMD) Command line netsh wlan key=clear

It's worth noting that in older OS versions, the profile may be protected by stricter security policies if the laptop is part of a corporate domain. In such cases, standard methods may not work without the intervention of a system administrator.

Viewing saved keys via PowerShell

An alternative to the classic command line is to use a shell PowerShellThis tool provides more flexible options for working with network configurations and is often used by information security specialists.

Run PowerShell as administrator. To get a list of all saved profiles and their passwords in a human-readable format, you can use the following script. It will automatically display the network names and their corresponding keys.

netsh wlan show profiles | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key Content\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); [PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Format-Table -AutoSize

This method allows you to instantly obtain a list of all networks you've ever used. However, be careful: displaying passwords in plaintext in the presence of strangers can compromise your network's security.

⚠️ Attention: When working with PowerShell, make sure you copy the entire command, without extra spaces at the beginning of the line, otherwise the script will not run correctly.

Using PowerShell is especially effective when transferring settings to a new computer or auditing home network security. You can save the command output to a text file for later analysis.

Using third-party recovery utilities

If Windows' built-in tools don't work for some reason or the interface is damaged, you can resort to specialized software. There are many free programs available, such as WirelessKeyView from NirSoft, which can extract saved keys from the registry.

These utilities don't require installation (portable versions) and run immediately after downloading. They scan system files and display a list of all networks and their passwords in a table. This is convenient, but requires caution when downloading the software.

  • 🛡️ Download programs only from the official websites of developers to avoid viruses.
  • 🚫 Antivirus software may react to such snails as a threat (HackTool), since they access sensitive data.
  • 💾 Be sure to check downloaded files through VirusTotal before launching.

The main risk of using third-party software is the possibility of infecting the system with malware disguised as a useful utility. Therefore Using built-in Windows tools (cmd or settings) is always a priority and safer, than downloading unknown programs.

☑️ Check the utility's security

Completed: 0 / 4

What to do if none of the methods helped

There are situations when the operating system doesn't store the password in cleartext (for example, when using corporate certificates) or the network profile is corrupted. In this case, recovering the key using software from the current laptop won't be possible.

The only reliable solution is physical access to the router. If you can connect to it via cable or Wi-Fi (even without internet), you can access the device's web interface. To do this, enter the router's IP address (often 192.168.0.1 or 192.168.1.1).

Log in to the control panel (login and password are often indicated on a sticker on the bottom of the device) and go to the wireless network section (Wireless or WLAN). There you can not only view your current password, but also set a new one if the old one is completely lost.

⚠️ Attention: The interfaces of routers from different manufacturers (TP-Link, ASUS, D-Link, Keenetic) vary. If you can't find the setting you need, check the official documentation for your model, as the menu layout may change with new firmware updates.

If you can't access your router (you've forgotten the administrator password), you'll have to perform a factory reset. This will restore the default password from the sticker, but it will also erase all your personal provider settings, which you'll have to re-enter.

Frequently Asked Questions (FAQ)

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

No, it's impossible to view the password for a network the device has never connected to or that has been "forgotten" (removed from the list of saved networks) using standard Windows tools. The key is stored only in profiles of active or previously successful connections.

Are password recovery programs safe to use?

Using trusted utilities from reputable developers (such as NirSoft) is relatively safe, but antivirus programs often flag them as dangerous. The risk lies in the possibility of downloading a fake version containing a virus. Built-in Windows tools (cmd) are completely safe.

Why does the command line say "Access Denied"?

This error occurs if you haven't run Command Prompt or PowerShell as an administrator. The operating system blocks access to stored security keys for standard users.

Where can I find the password if the sticker on my router has worn off?

If the sticker has worn off and you changed the password during initial setup and don't remember it, you'll need to reset the router using the Reset button. After that, you'll be able to log in using the default credentials, which can be found online for your device model.

Is it possible to hack someone else's Wi-Fi using these methods?

No, the methods described only work with profiles already saved on YOUR computer. These methods are useless and illegal for connecting to someone else's network without the owner's permission.