How to View Your Laptop's Wi-Fi Password: A Complete Guide

It's common to need to connect a new device to a wireless network but forget the password or write it down on a piece of paper that gets lost. Fortunately, modern laptop operating systems automatically save credentials after the first successful connection. This eliminates the need to re-enter the password each time, but also allows the device owner to retrieve the forgotten information if needed.

There are several proven ways to view a laptop's Wi-Fi password, and they don't require installing third-party software. Built-in Windows and macOS tools provide ample tools for managing network profiles. It's important to have administrator rights on the device, as wireless security is a priority, and access to encryption keys is restricted by default.

In this article, we'll detail the steps for various operating system versions. We'll cover the graphical settings interface, command line capabilities, and specific nuances of working with network profiles. Following instructions precisely will allow you to quickly restore access to the necessary data without the risk of disrupting the system.

📊 What operating system is installed on your laptop?
Windows 10
Windows 11
macOS
Linux
Other

Viewing your password through the graphical interface in Windows 10 and 11

The simplest and most accessible method for most users is to use the standard operating system settings windows. In recent versions of Windows, the interface has become more unified, but the basic principle remains the same. You'll need to open the network status window to access the wireless connection properties.

First, you need to go to the Network Control Panel. You can do this by right-clicking the Wi-Fi icon in the system tray (near the clock) and selecting Network and Internet settingsIn the window that opens, you should find the link Network and Sharing Center or go straight to Additional network parameters, where you can choose Configuring adapter settingsThis path may seem long, but it guarantees access to the classic connection management interface.

Once you are in the network connections window, find the active icon Wireless network (Wi-Fi). Double-clicking this icon will open the status dialog box. The button you're interested in here is Wireless network propertiesClicking on it will take you to the security and connection settings management tabs.

⚠️ Attention: Viewing the password in the properties window requires administrator privileges. If you're working under a Guest or Limited user account, the system won't allow you to uncheck the "Hide Characters" option.

In the window that opens, go to the tab SecurityThis is where the network security key is stored. You will see a field Network security key, in which the characters are hidden by asterisks or dots. To make them visible, you need to check the box next to the text Show entered characters. Right after that the hidden password will become visible in clear text, and you can copy or record it.

☑️ Check your password before viewing it

Completed: 0 / 4

Using the command line to get the network key

For more advanced users or in cases where the graphical interface isn't working correctly, using the command line (CMD) or PowerShell is ideal. This method not only allows you to view the password for the current network but also retrieve keys for all previously saved profiles to which the laptop has connected in the past.

To launch the command prompt with administrator rights, click Win + X and select Windows PowerShell (Administrator) or Command Prompt (Administrator)The first step is to find out the exact name of the network profile for which you want to get the password. Enter the command netsh wlan show profiles and press Enter. The system will display a list of all saved profiles under the heading "User Profiles."

Once you have identified the name of the network you want (e.g., "HomeWiFi"), use the following command to display it, including the key:

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

In the command output, find the section Security parameters (Security settings). In the line Key content (Key Content) will display the password you're looking for in plaintext. This method is especially useful if you need to quickly copy a password without navigating through multiple windows.

What to do if the command returns an error?

The "Network adapter not found" or "Access denied" error usually means the command prompt is running without administrator privileges. Close the window and restart it as an administrator. Also, make sure the profile name is entered accurately, including spaces and capitalization.

If you need to retrieve passwords for all saved networks at once, you can use a batch script, but for one-time tasks, manually entering the command for each profile is safer and more straightforward. Please note that in corporate networks, the method key=clear may not work if your organization's security policy prohibits storing keys in cleartext or requires the use of certificates.

How to find the password on a macOS laptop

Apple device users may also need to recover a forgotten password. In macOS, this information is stored in iCloud Keychain Access, a centralized password repository protected by system security mechanisms.

To access the data, open the program Bunch of keys (Keychain Access). You can find it using Spotlight search (Cmd + Space) by typing the program's name. Select a category from the list on the left. Passwords (Passwords). Find the name of your wireless network in the central list. If the list is large, use the search in the upper-right corner of the window.

Double-click on the network name. A properties window will open, where you need to check the box. Show passwordFor security purposes, macOS will ask you to verify your identity. You'll need to enter your Mac administrator account password or use Touch ID or Face ID if your laptop is equipped with the appropriate biometric modules.

  • 🍏 Open Finder and go to Programs → Utilities.
  • 🔑 Launch the app Bunch of keys.
  • 📡 Find the name of your Wi-Fi router in the list.
  • 👁️ Click "Show password" and log in.

After successful authorization, a password string will appear in the field next to the checkmark. This method works on all current versions of macOS, from Mojave to Sonoma, although the layout of interface elements may vary slightly depending on the OS version.

Viewing saved profiles in PowerShell

PowerShell is a more powerful tool than the classic CMD, and it allows you to manipulate network objects using an object-oriented approach. Although the command netsh It also works in PowerShell, and native cmdlets provide more flexibility, especially when scripting data.

However, for a simple task of viewing a password, it is enough to use the same syntax netsh, as it is system-wide and shell-independent. However, PowerShell allows you to filter the output. For example, you can display only the profile name and key, ignoring unnecessary information about encryption types.

Launch PowerShell as administrator. Enter the following command to retrieve the profile:

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

This construction will automatically filter the output and leave only the password line, which is very convenient when working with multiple networks. Replace NAME to your real profile name. If the network name contains spaces, be sure to use quotation marks.

⚠️ Attention: Command-line interfaces may vary depending on your system's locale. If you're using a Russian Windows operating system, look for the "Key Content" string; if you're using an English Windows operating system, look for the "Key Content" string. PowerShell is case-sensitive in some contexts, but searching with Select-String is generally case-insensitive.

Password Extraction Methods Comparison Table

To help you choose the best access recovery method, we've compiled a comparison table. It will help you determine which method is best for your specific situation, taking into account your OS version and your level of experience.

Method Complexity Requires admin rights Suitable for macOS
Graphical Interface (Properties) Low Yes No (Keychain is used)
Command line (netsh) Average Yes No
Keychain Access (macOS) Low Yes (user password) Yes
PowerShell scripts High Yes No

As the table shows, for the average Windows user, the graphical method via the adapter properties remains the most convenient. It doesn't require memorizing commands and provides visual control over the process. However, knowledge of the command line is an invaluable skill for system administrators.

Common problems and solutions

Despite the simplicity of the procedures, users may encounter difficulties. One common issue is the "Show entered characters" button being missing or inactive. This often occurs if the laptop is connected to a corporate network with strict security policies or if a third-party Wi-Fi driver with its own connection manager is used.

If you use third-party software (such as Intel, Realtek, or your laptop manufacturer) to manage your Wi-Fi, the standard Windows Properties window may be overridden or blocked. In this case, you'll need to look for settings within the manager app itself. There's usually a security or profiles tab, where you can also find saved keys.

Another issue is the error "Windows could not save the network settings" when trying to reconnect after changing the router password. If you've changed the router password, but your laptop is still trying to connect with the old key, you need to "Forget" the network. You can do this in the Wi-Fi settings by selecting the network and clicking the "Forget" button. Forget, then enter the new password again.

  • 🔒 Drivers: Make sure your network adapter drivers are up to date. Outdated software may not display security properties correctly.
  • 🏢 Corporate networks: In offices, access to passwords may be blocked by group policies (GPOs).
  • 🔄 Profile conflict: If the network does not connect, delete the old profile via netsh wlan delete profile name="Name".

It's also worth keeping in mind that in some rare cases, especially on older versions of Windows or when using specific encryption protocols (such as WEP, which is now rarely used due to its poor security), the system may not display the password in cleartext even to the administrator. In such cases, the only solution is to reset the router or log in to its web interface.

Questions and Answers (FAQ)

Is it possible to view the Wi-Fi password if the laptop is not currently connected to the network?

Yes, this is possible. The operating system stores profiles of all networks you've previously connected to. You can use the command line with the command netsh wlan show profile name="Name" key=clear, even if Wi-Fi is currently off or you're out of range. The main thing is that the profile is saved in the system.

Is it safe to save passwords in Windows?

Generally yes, but with some caveats. Passwords are stored in a protected section of the registry and are only accessible to users with administrator privileges. However, if your laptop is stolen or an attacker with administrator privileges gains access, they can retrieve all stored passwords. For maximum security, use complex passwords and don't give anyone access to your administrator account.

What should I do if the "Network Security Key" field is empty or hidden?

If the field is empty or unavailable, check if you're running the router as an administrator. In some cases, switching the encryption type in the router settings (for example, from WPA3 to WPA2) can help, although this is a temporary solution. Also, make sure you're viewing the properties of the network that's active or selected in the list.

Is it possible to recover a password using third-party programs?

There are many utilities (such as WirelessKeyView) that retrieve saved keys. However, using such software carries risks: antivirus programs often flag them as potentially dangerous (HackTools), and downloading them from untrusted sources can lead to malware infection. Standard Windows and macOS tools are safer and more reliable.