How to Find a WiFi Password on a Laptop: Complete Instructions

Many users are familiar with the situation of needing to connect a new device to a wireless network, but the password is forgotten or lost. Fortunately, the operating system Windows has built-in security mechanisms that store access keys to previously used networks in encrypted form. This allows a legitimate user who already has access to the network from one device to easily restore the necessary data to connect other devices.

There are several proven methods for extracting this information, ranging from simple graphical interfaces to more advanced command-line methods. The choice of a specific method depends on the operating system version, user access rights, and technical proficiency. In most cases, you won't need third-party software, as the system's standard tools are sufficient for this task.

Before you begin, make sure your laptop or desktop computer with a Wi-Fi adapter is currently connected to the desired network or has previously connected to it. If the device has never connected to the router, you won't be able to recover the password programmatically from this computer, and you'll have to find alternatives, such as accessing the router's web interface.

The easiest way is through network settings

The most accessible and secure method for the average user is to use the operating system's graphical interface. This method doesn't require knowledge of complex commands and is available in any version of Windows starting with Windows 7. However, in Windows 10 and 11, the menu interface may differ slightly, although the logic remains the same. You simply need to find the location where the system stores the active connection properties.

To get started, open the menu Parametersby pressing a key combination Win + I, or go through the Start menu. Then select the section Network and Internet, and then find the item Wi-Fi (or State). In the window that opens, find the link Network and Sharing CenterIn the list of active connections that appears, left-click on the name of your wireless network, which is highlighted in blue.

A small status window will open displaying your connection speed and session duration. This is where you'll find the button Wireless network propertiesAfter clicking it, a dialog box with several tabs will appear. Go to the tab SecurityThis is where the field is located. Network security key, which is hidden by asterisks by default. To see the symbols, you need to check the box next to the item. Show entered characters.

  • 🔑 Right-click on the Wi-Fi icon in the system tray (near the clock) and select "Open Network & Internet settings."
  • 🔑 Go to "Network and Sharing Center" through the classic Control Panel.
  • 🔑 In the status window, click "Wireless Network Properties" and go to the "Security" tab.

⚠️ Attention: To display your password through the Security tab, you must have administrator rights on this computer. If your account is restricted, the system may prompt you for confirmation or simply prevent you from changing the display settings.

This method is ideal for those who are afraid of getting lost in the command line. It's visual and transparent. However, if you're not on the network you need to find the password for (for example, you want to remember the password for a guest network you connected to a month ago), this method won't work directly, as it only displays data about current active connection. In this case, you will have to use more powerful system tools.

Using the Command Prompt to View Saved Networks

Command line Windows (CMD) is a powerful tool that allows you to manage virtually all aspects of your operating system, including network connections. Using the utility netsh (Network Shell) allows you to access the database of Wi-Fi profiles stored on the system. This method is especially useful if you need to find the password for a network to which the laptop is not currently connected but has connected in the past.

First, you need to run the command prompt as administrator. Click Win + R, enter cmd and press Ctrl + Shift + Enter, or search for "Command Prompt," right-click, and select the appropriate option. First, you should get a list of all saved profiles. Enter the command netsh wlan show profiles and press Enter. The system will display a list of all networks ever entered on this device.

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

In the resulting list, find the desired network name. Next, use the command to display detailed profile information, including the security key. The command syntax requires the exact profile name. Note that if the network name contains spaces, the name must be enclosed in quotation marks, as shown in the example above. In the command output, look for the string Key content (or Key Content (in the English version).

  • 📝 Enter netsh wlan show profiles to view a list of all saved networks.
  • 📝 Copy the exact network name to avoid syntax errors when entering the command.
  • 📝 Use an argument key=clearso that the system shows the password in clear text, rather than masking it.

☑️ Check before entering commands

Completed: 0 / 4

The advantage of this method is its versatility. It works identically on Windows 7, 8, 10, and 11. Furthermore, the command line allows you to export information to a text file, which is convenient for system administrators managing network infrastructure. However, be careful when entering commands: a single typo in the profile name will result in a runtime error.

Viewing a password using PowerShell

An alternative to the classic command line is PowerShell — a more modern shell for automation and configuration management. Although for Wi-Fi tasks it often uses the same commands netshThe PowerShell interface is more flexible and allows for scripting for more complex data processing. For the average user, the difference is minimal, but PowerShell still requires administrator privileges.

To open PowerShell, right-click on the Start menu and select Windows PowerShell (Admin) or Windows TerminalThe commands here work similarly to CMD. You can enter netsh wlan show profile name="Name" key=clearHowever, PowerShell allows you to use variables, which makes things easier if you plan to output passwords for multiple networks at once.

There is also a specific cmdlet for working with Wi-Fi, but it is less common in basic configurations without additional modules. Therefore, the standard path is through netsh remains the most reliable. PowerShell's main advantage is the ability to copy text directly from the terminal window by simply selecting it, which in classic CMD sometimes requires additional adjustments to font and clipboard settings.

⚠️ Attention: Command shell interfaces may be updated along with the operating system. If the standard commands don't work, check for Windows updates or use alternative methods to access settings.

If you frequently work with network settings, PowerShell may become your primary tool. It offers more detailed error output and better Unicode support, which is important for networks with Cyrillic or special character names. In the classic CMD, such names can sometimes be displayed incorrectly (as gibberish), making it difficult to enter the command to retrieve the key.

Restoring access via the router's web interface

If the laptop on which the password is stored is inaccessible or damaged, the only way to find out the key is to contact the source of the signal distribution itself, that is, routerTo do this, you need to connect to it by any means (via cable or Wi-Fi, if it's open) and log in to the admin panel. The login address is usually indicated on a sticker on the bottom of the device (often 192.168.0.1 or 192.161.1.1).

By entering the administrator login and password (often by default admin/admin), you'll be taken to the settings menu. You'll need to find the section related to wireless networking. It might be called Wireless, Wi-Fi, Wireless mode or WLAN. Within this section, look for the subsection Security (Security) or Wireless network settingsThere will be a field there. Password (Password, Passphrase, Pre-shared Key).

Router manufacturer Typical entry address Wi-Fi settings section Password field name
TP-Link 192.168.0.1 Wireless -> Wireless Security Wireless Password
ASUS 192.168.1.1 Additional settings -> Wireless network Authentication Method / Pre-Shared Key
D-Link 192.168.0.1 Wi-Fi -> Security Settings PSK encryption key
Keenetic my.keenetic.net My Networks and Wi-Fi -> Home Network Password

It's important to understand that to access your router settings, you may need an administrator password, which is different from your Wi-Fi password. If you've changed it before and forgotten it, you'll need to reset the router to factory settings (press the button). Reset on the case), which will lead to the loss of all provider settings.

This method is great because it doesn't depend on your laptop's operating system. You can use any browser, even on a smartphone or tablet, to access the router and view the password. This makes it ideal for any situation where you don't have your main computer nearby.

Using third-party recovery programs

There are many specialized snails such as WirelessKeyView from NirSoft, Wi-Fi Password Revealer or Magical Jelly Bean Wi-Fi Password RevealerThese programs automatically scan the Windows registry and extract saved keys, displaying them in a convenient table format. This eliminates the need to manually enter commands.

However, using third-party software carries certain risks. Firstly, many antivirus programs may detect such programs as potentially unwanted programs (PUP), as their functionality is often exploited by hackers to steal data. Secondly, downloading software from untrusted sites puts you at risk of infecting your computer with a virus. Therefore, this method should only be used if standard Windows tools are unavailable for some reason.

  • 💻 Download programs only from the developers' official websites.
  • 💻 Be sure to scan downloaded files with an antivirus before launching them.
  • 💻 Use portable versions to avoid cluttering your system registry.

If you still decide to use the software, we recommend WirelessKeyViewIt's free, requires no installation, and displays not only passwords but also other network parameters, such as the SSID and encryption type. The program is easy to use: just launch it and see the list. But remember, it's best to uninstall the program after use.

What to do if your password is nowhere to be found

There are situations when none of the software methods help: there's no access to the computer with the saved profile, you can't log into the router, and you can't remember the password combination. In this case, there's a final, radical, but effective method: resetting the router settingsThere is a small hole on the back of the device with the inscription Reset or Restore.

By pressing this button (usually you need to hold it down with a paperclip for 10-15 seconds while the router is powered on), you'll reset the router to its factory default settings. The Wi-Fi password will be reset to the one on the sticker on the bottom of the device. Afterwards, you'll need to reconfigure your connection to your ISP (enter the login and password from your contract), but you're guaranteed to regain network access.

⚠️ Attention: Resetting your router will erase all user settings, including the network name, password, ISP PPPoE/L2TP settings, and port forwarding. Make sure you have your ISP contract handy before beginning the process.

This is a last resort, but it always works. To avoid such situations in the future, it's recommended to store passwords in a secure location, such as a browser password manager or an encrypted file on a cloud drive. It's also a good idea to take a photo of the router sticker and save it to the cloud immediately after purchasing the equipment.

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

Theoretically, there are methods for brute-forcing passwords or exploiting WPS vulnerabilities, but they require specialized equipment, knowledge, and time. Furthermore, unauthorized access to someone else's network is prohibited by law. This article describes only legal methods for restoring access to YOUR networks.

Finally, it's worth noting that modern security systems make password recovery quite simple for network owners. The key is to have physical access to at least one device that has already been authorized, or to the router itself. Regularly checking security settings and backing up the router configuration will help prevent future problems.

Frequently Asked Questions (FAQ)

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

No, this can't be done using Windows software. The system only stores previously entered keys. If the device hasn't connected, it doesn't have this data. In this case, the only solution is to access the router settings or poll other users.

Why doesn't the "Security" tab show the password, even though the box is checked?

Most likely, your account doesn't have administrator privileges. Try running the Properties window as an administrator or using an elevated command prompt. This can also occur when connecting through corporate networks with special security policies.

Are password recovery programs safe to use?

Using trusted utilities from reputable developers (such as NirSoft) is relatively safe, but antivirus software may react to them. The risk is downloading a fake version of the program containing a virus. It's better to use built-in Windows tools.

What should I do if I forgot my router admin password?

If you haven't changed the default password, try the combinations admin/admin or admin/password (indicated on the sticker). If the password has been changed and lost, the only solution is a full reset of the router using the Reset button, after which you'll have to set up your internet connection again.

Where are Wi-Fi passwords stored in Windows 10/11?

Passwords are stored in a protected section of the Windows registry and in encrypted system files. Direct access to them through File Explorer is impossible without special permissions and decryptors, so it's more convenient to use netsh commands or the network properties graphical interface.

📊 Which method was the most convenient for you?
Through the network properties in Windows
Via the command line
Through the router settings
I just reset the router