How to view your laptop's Wi-Fi password: full instructions

It's common to need to connect a new device to a wireless network but forget the password or write it down in an inaccessible location. Fortunately, modern laptop operating systems often store this information in hidden registry keys or system keystores. This is done for user convenience, eliminating the need to enter a long password each time you reconnect.

However, you won't be able to simply see the saved key in plain text in the standard connection menu. System security hides characters with asterisks. Extracting the information will require specific actions via the command line or advanced interface settings, which we'll cover in detail.

It's important to understand that the methods described only work if your laptop has previously connected to this network and saved the profile. If you're trying to find the password for a neighbor's Wi-Fi network you've never connected to, software methods are useless without access to the router's admin panel.

Finding a password through Windows 10 and 11 settings

The simplest method, which doesn't require entering complex commands, is through the operating system's graphical interface. This method is suitable for most users who don't want to get lost in the terminal. You'll need access to your current connection or a saved network profile.

First, open the Settings menu and go to the Network & Internet section. From there, select Advanced network settings or Network and Sharing Center, depending on your version. WindowsIn the window that opens, find the active wireless connection and click on its name.

In the status dialog box that appears, click "Wireless Network Properties." Switch to the "Security" tab. This is where the "Network Security Key" field is located, with the characters hidden. Check the "Show entered characters" box, and you'll see the code you're looking for.

⚠️ Warning: If the Security tab is empty or the Properties button is grayed out, your account may not have administrator rights or your network profile may be corrupted by a system crash.

On some corporate networks, access to these settings may be blocked by group policies. In this case, the system will not allow you to change the key display, even if you own the device. This is standard practice. IT administration to protect corporate data.

📊 What operating system do you use?
Windows 10
Windows 11
macOS
Linux

Using the command line to extract the key

For more advanced users or when the graphical interface is unresponsive, the command line is the ideal solution. This method allows you to access hidden profiles for all networks the laptop has ever connected to. Tools netsh built into the system and does not require installation of third-party software.

Launch the Command Prompt as administrator. To do this, right-click the Start button and select Command Prompt. First, you need to display a list of all saved profiles. Enter the command:

netsh wlan show profiles

Find the exact name of your network in the list. Pay attention to case and spaces, as the system is sensitive to these parameters. Next, use the command to display the key in plaintext by adding the parameter key=clear:

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

In the security information section, find the "Key Content" line. Your password will be listed there. This method is especially useful when you need to quickly copy data or when the interface is frozen.

  • 🔹 This command only works with superuser rights; running CMD normally won't work.
  • 🔹 You can export a list of all profiles to a text file for analysis on another device.
  • 🔹 The method is universal and works on most versions of Windows, starting with XP.

Viewing saved passwords on macOS

Laptop owners MacBook And iMac Each has its own tools for managing network keys. The macOS operating system stores all passwords in a special secure vault called Keychain. Access to this vault requires authorization, ensuring a high level of data security.

Open the Keychain app using Spotlight search (Cmd+Space) or find it in the Utilities folder. In the list on the left, select the "System" or "iCloud" category, depending on where your data is synced. Enter the name of your Wi-Fi network in the search bar.

Double-click the found item. In the window that opens, check the "Show password" box. The system will ask you to verify your identity: enter your macOS account password or use Touch ID. Once verified, a text version of the key will appear in the field.

What should I do if Keychain Access won't open?

If the Keychain Access app returns an error or fails to launch, try launching it from Terminal with the command /Applications/Utilities/Keychain Access.app/Contents/MacOS/Keychain Access. Resetting permissions in Terminal can sometimes help, but this requires caution.

In new versions of macOS (Ventura and later), the settings interface has changed. You can now view the password directly in the menu: System Preferences → Wi-Fi. Find the desired network in the list of known networks, click the "More details" button (three dots or the information icon), and select "Copy password" or "Show password."

Checking the password through the router's web interface

If your laptop is already connected to the network but you can't view the password using standard tools, you can access the source of the connection—the router. This requires access to its administrative panel. This method is universal and works for all devices: PCs, smartphones, and tablets.

Find out the IP address of the default gateway. This is usually 192.168.0.1 or 192.168.1.1Enter this address in your browser's address bar. The system will ask for your login and password to access the router settings. If you haven't changed them, they're often found on a sticker on the bottom of the device (the default values ​​are admin/admin).

After logging in, find the section related to wireless networking. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Inside, look for the "Security" or "Wireless Network Settings" subsection. The current key will be displayed in the "PSK Password," "WPA Pre-Shared Key," or "Password" field.

Router brand Entrance address Settings section Password field
TP-Link 192.168.0.1 Wireless -> Wireless Security Wireless Password
ASUS 192.168.1.1 Additional settings -> Wireless network Authentication method
D-Link 192.168.0.1 Wi-Fi -> Security Settings PSK encryption key
Keenetic 192.168.1.1 My Networks and Wi-Fi -> Home Network Password

It's important to note that in some firmware versions, the default password is hidden behind asterisks even in the admin panel. In this case, you can't view it, but you can change it to a new one. After saving the changes, all devices will need to be reconnected using the new code.

☑️ Checking access to the router

Completed: 0 / 5

Resetting your router as a last resort

When none of the software methods help, and access to the admin panel is lost (the password is changed and forgotten), there remains a radical but effective method - a complete reset of the settings (Hard Reset). This will reset the device to factory settings, and the Wi-Fi password will be the one on the sticker on the case.

On the back of the router, find the small hole labeled "Reset" or "RST." Use a paperclip or toothpick. With the power on, press the button inside the hole and hold it for about 10-15 seconds. The lights on the front panel should blink or go out, indicating a reset.

⚠️ Please note: After resetting, all provider settings (PPPoE, L2TP, static IP) will be lost. Internet access will only be restored after reconfiguring the router with your provider's information.

This method is best used if you're confident in your abilities and know your ISP connection settings. Otherwise, it's best to contact your internet provider's technical support to avoid being left without service for an extended period.

Using third-party recovery utilities

There is specialized software that automates the process of extracting saved keys. Programs like WirelessKeyView from NirSoft or WiFi Password Revealer scan the system registry and display a list of all networks with passwords in a convenient format.

The main advantage of such programs is their speed and the ability to export data to a text file or HTML. This is convenient for system administrators who configure multiple computers in an office. However, such programs should only be downloaded from the developers' official websites.

Antivirus programs often classify such utilities as potentially unwanted programs (PUPs) because they access sensitive data. Before running them, you may need to temporarily disable protection or add the program to an exception list.

Please remember that using such tools on other people's computers without their permission may violate cybersecurity laws. Use this information only to restore access to your own networks and devices.

Frequently Asked Questions (FAQ)

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

No, this can't be done using software on the laptop itself. The password is stored only in the router's memory or on devices that have previously entered it. The only option is to check the sticker on the router or access its settings via cable.

Why does the command line say "Access Denied"?

This means you launched the CMD console without administrator privileges. Right-click "Command Prompt" and select "Run as administrator." Without elevated privileges, access to system Wi-Fi profiles is blocked.

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

If the sticker is illegible and the default admin/admin passwords don't work, you'll need to perform a factory reset (hard reset). After this, the password will become the default for your router model; you can find it online by searching for your device model.

Is it safe to save passwords in Windows?

Yes, they are stored encrypted. However, if an attacker gains access to your computer with administrator rights, they can extract them using the utilities described above. Use strong Windows account passwords to protect them.