How to View a WiFi Password on a Laptop: Complete 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 at least one laptop is already connected to the router, finding the password is easy. Windows and macOS operating systems store data about previously used connections in secure registries, which can be accessed using standard tools.

In this article, we'll cover all the current methods for restoring access: from simply viewing network properties to using the command line for advanced users. You'll find security key in a matter of minutes, without resorting to complex programs or resetting the router settings.

Let's look at the step-by-step procedure for different operating system versions. It's important to understand that to perform these steps, you'll need administrator rights on the device from which you intend to read data.

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

The easiest and safest way to find out WPA2-PSK or WPA3 The key is to use the operating system's built-in tools. This method doesn't require complex commands and is suitable for most users who want to quickly solve a problem.

To get started, open the Start menu and go to Settings by selecting the gear icon. Next, find Network & Internet, which displays all active connections on your device. If you have the latest version installed, Windows 11, the interface may be slightly different, but the logic remains the same.

In the window that opens, select "Status" or "Advanced network settings" to see a list of available adapters. Find the active wireless connection and click on it. In the network properties, look for the "Wireless network properties" button or the "Manage known networks" link.

⚠️ Note: If you're using a corporate laptop, access to network settings may be blocked by your system administrator. In this case, the graphical interface will not allow you to view hidden characters.

After opening the properties for a specific connection, find the "Network Security Key" field. By default, the characters are hidden behind asterisks. To see them, check the "Show entered characters" box. The system may prompt you to confirm administrator rights or enter your account password.

📊 What version of Windows are you using?
Windows 10
Windows 11
Windows 8.1
Windows 7
macOS

This method is the most stable, as it doesn't rely on command line updates. However, if the interface freezes or menu items are grayed out, you should use the alternative method via the Control Panel.

Using the CMD command line in Windows

For those who prefer speed and precision, using the console is the ideal solution. The command line allows you to access saved WiFi profiles and display the password in plaintext in just a few seconds. This is especially convenient if the graphical interface is not working correctly.

Launch the Command Prompt as administrator. To do this, right-click the Start button and select "Windows PowerShell (Administrator)" or "Command Prompt (Administrator)." In the window that opens, enter the following command to view all saved profiles:

netsh wlan show profiles

The system will display a list of all networks the laptop has ever connected to. Find the name of your network in the list. Then use the command to display detailed information by adding the key key=clear, who is responsible for disclosing classified data:

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

In the command output, find the line "Key Content." This is where the password you're looking for will be located. Note that the network name in the command must be enclosed in quotation marks if it contains spaces.

☑️ Check before entering commands

Completed: 0 / 4

Usage netsh provides more detailed information, including encryption type and communication channel. This is a powerful tool that should be in the arsenal of every network professional.

How to find out your password on macOS

Laptop owners MacBook And iMac They can also easily restore network access. The macOS operating system stores all passwords in a secure vault called Keychain Access. This is a centralized database that stores saved logins and passwords for applications and networks.

Open the Keychain app using Spotlight search (press Cmd+Space and start typing). In the left column, select the "System" or "iCloud" category, then find your WiFi network name in the list. Double-click the network name to open its properties.

In the window that opens, check the "Show password" box. The system will prompt you to enter your administrator password or use Touch ID to verify your identity. After successful authentication, your access key text string will appear in the field.

For users of new versions macOS Ventura And Sonoma The process has become even easier. Simply go to "System Preferences" -> "Wi-Fi," find the desired network in the list of known networks, and click the information icon or the three dots next to the name. There you'll find a "Copy Password" button or the option to view it.

This method ensures that you have up-to-date data because macOS syncs your security keys via iCloud Keychain across all your Apple devices.

Comparison of access recovery methods

The method you choose depends on your operating system and your comfort level with technical tools. Below is a table to help you choose the best method for your situation.

Method OS Complexity Rights required
Graphical interface Windows 10/11 Low Administrator
Command Prompt (CMD) Windows (all) Average Administrator
Bunch of keys macOS Low Administrator/TouchID
Router control panel Any High Access to the router

As the table shows, built-in OS tools are the most preferred. They don't require third-party software and operate reliably. However, if none of these methods work, you can always log in to the router's web interface.

Sometimes a laptop won't connect to the network automatically, and it's impossible to view the password through the properties. In such cases, resetting the network stack or deleting the network profile and then re-entering the password helps, if you remember the key.

Restoring access via the router's web interface

If the password isn't saved on your laptop (for example, if you're connected via cable or using a guest network without saving the key), you can check the router's settings. To do this, you'll need the gateway IP address, which is usually found on a sticker on the bottom of the device.

Enter the address (often it is 192.168.0.1 or 192.168.1.1) in the browser's address bar. You'll be asked to enter your username and password to access the admin panel. If you haven't changed them, they'll also be listed on the sticker (the default ones are admin/admin).

After logging in, go to "Wireless" -> "Security." The current password will be displayed in the "Password" or "Pre-Shared Key" field. You can copy it or change it to something more convenient.

⚠️ Attention: Router interfaces TP-Link, ASUS, Keenetic And MikroTik They vary greatly. Look for sections that include the words Wireless, Security, or WLAN.

This method is universal and works even if you have forgotten the password for all your devices, but you have physical access to the router and the ability to connect your computer to it via cable.

Common problems and solutions

When attempting to view a password, users often encounter errors. For example, the system may display "Access Denied" when attempting to use CMD. This can be resolved by running the console as an administrator.

Another common issue is mismatched network names. If the name contains hidden characters or spaces, the console command may not work. In this case, use quotation marks around the profile name.

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

If you've changed your router's password and forgotten it, the only solution is to reset the device to factory settings. To do this, press and hold the Reset button on the router for 10-15 seconds. This will reset the router to the default login and password listed on the sticker, but you'll have to reset your internet settings.

It's also worth keeping in mind that some antivirus programs may block attempts to access system network settings. If all else fails, try temporarily disabling protection or adding an exception.

FAQ: Frequently Asked Questions

Is it possible to find out someone else's WiFi password if I'm not connected to it?

No, this is impossible to do legally. The operating system only stores passwords for networks to which the device has previously connected. Password brute-forcing is illegal and requires specialized equipment.

Where can I find the password if my laptop is connected via cable?

If the laptop is connected via a LAN cable but has previously connected to WiFi, the password is saved in the system. Use the command prompt (CMD) with the command netsh wlan show profileto see a list of all saved wireless profiles and their keys.

Is it safe to use third-party password viewers?

Using unknown programs carries risks. They may contain malicious code. It's better to use built-in Windows or macOS tools, as they don't require additional software and are guaranteed to be safe.

What should I do if the "Security Key" field in the network properties is empty?

This can happen if the network profile is corrupted or if the connection was established using a corporate certificate (WPA2-Enterprise). In this case, the password is not stored in cleartext, and you will need to enter new information or contact the network administrator.

Is it possible to recover a password after reinstalling Windows?

No. Reinstalling the operating system clears the registry and deletes all saved WiFi profiles. If you didn't export the profiles in advance or don't remember the password, you'll have to reset the router or find the device where the password is saved.