How to find 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. We often use automatic login on our laptops and simply forget the password we entered once. Fortunately, operating systems store this data in encrypted form, making it easy to retrieve if you have physical access to the device.

Restoring the access key is possible using standard tools without using third-party software, which guarantees the security of your data. The process varies slightly depending on the operating system version, whether it's Windows or macOSIn this article, we'll cover all the current methods, from the graphical interface to using the console.

Viewing your password through Windows 10 and 11 settings

The easiest way to find out security key — Use the standard operating system interface. If your laptop is currently connected to a network or has previously connected, Windows stores this setting in its connection profile. First, open the network settings, which displays all active connections.

In newer versions of Microsoft's operating system, the interface may differ slightly, but the logic remains the same. You need to find the section responsible for managing known networks. There, you can not only forget a network but also view its properties, including the hidden key.

⚠️ Note: To perform these steps, you must have administrator rights on the account you are logged in with.

Next, you need to go to the classic Control Panel or the new Settings, depending on your OS version. In Windows 11, the path may look like this: Settings → Network & Internet → Wi-Fi → Manage known networksOnce you select the desired network, you will see a "View" button next to the security key field.

Using the Command Prompt to Restore Access

For more advanced users or in cases where the graphical interface does not work correctly, it is perfect command lineThis method is universal and works even on limited versions of Windows. It allows you to display saved profiles and their passwords in plain text.

First, you need to launch the console as an administrator. This can be done through the search by entering cmd, and selecting the appropriate menu item. After the black window opens, enter the command to display all saved Wi-Fi profiles.

netsh wlan show profiles

Once the list is displayed, find your network name. To see the password for this specific profile, use the command followed by the network name. The keyword here is key=clear, which tells the system to show the key in clear text.

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

In the command output, find the line "Key Content." The code you're looking for will be there. This method is especially useful if you need to quickly copy data or save it to a log file.

☑️ Check before entering commands

Completed: 0 / 4

How to view your password on a MacBook (macOS)

In the ecosystem Apple All saved passwords, including Wi-Fi ones, are stored in iCloud Keychain or a local keychain. They are accessed through the system Keychain utility. This is a centralized password repository, protected by biometrics or your account password.

To get started, open the app using Spotlight search or find it in the Applications → Utilities folder. In the list on the left, select the "Passwords" or "System" category. In the central list, find the name of your wireless network.

Double-click the network name. A properties window will open, where you should check the "Show password" box. The system will ask you to confirm the action by entering your macOS account password or using Touch ID. Once confirmed, the required character combination will appear in the field.

⚠️ Note: On newer versions of macOS (Ventura and later), passwords can be viewed directly in the "Passwords" section of System Preferences, authenticated via FaceID or your device passcode.

If you're using an older version of macOS, the interface may be called "Keychain Access." The process is similar: search by network name and double-click to edit properties. Remember to hide the window after viewing to prevent others from seeing your data.

Viewing via the router's web interface

If your laptop is connected to the router via cable or Wi-Fi, but the password isn't displayed anywhere, you can look in the router's settings. To do this, you'll need to know Gateway IP address and login details for the admin panel. The address is usually located 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. After entering your login and password (often admin/admin), go to the wireless network section. It may be called Wireless, WLAN or "Wireless Mode".

What should I do if my router password has been changed?

If the default password doesn't work and you haven't changed it, your provider may have changed it. Try using the details in your contract or call technical support.

Inside the section, look for the subsection "Security". There in the field WPA/WPA2-Personal The current password will be displayed. You will be able to not only view it but also change it to a more complex one if you suspect unauthorized access.

Router brand Standard IP Path to the menu
TP-Link 192.168.0.1 Wireless → Wireless Security
Asus 192.168.1.1 Wireless Network → General
D-Link 192.168.0.1 Wi-Fi → Security Settings
Keenetic 192.168.1.1 My Networks and Wi-Fi → Home Network
📊 What kind of router do you have at home?
TP-Link
Asus
D-Link
Keenetic
Another

Resetting the router to factory settings

If none of these methods work, or you don't remember the password for the router's admin panel, the last resort is a hard reset. This will return the device to its original state, as it was on the day you bought it. All settings, including the network name and password, will be restored to factory defaults.

There is a small hole on the back of the router that says Reset or RestoreTo activate the function, press it with a paperclip and hold it for about 10-15 seconds until the indicators blink. After rebooting, the network will be named as indicated on the sticker, and the password will be the default.

⚠️ Note: After resetting, your internet may stop working if your ISP uses MAC address binding or requires specific PPPoE/L2TP settings. Be prepared to reconfigure your internet connection.

This method guarantees access, as you gain full control over the device. However, it requires time to reconfigure all provider settings and wireless network security.

Security measures and network protection

Understanding how easy it is to discover a saved password should motivate you to strengthen your network's security. Using a simple security key makes your network vulnerable to brute-force attacks. It's recommended to use complex combinations of letters and numbers.

It's also a good idea to regularly update your router's firmware. Manufacturers patch vulnerabilities that allow hackers to access settings and steal your data. Enable encryption. WPA2 or WPA3, abandoning the outdated WEP.

Avoid connecting to open public networks unless necessary. If you must, use a VPN to encrypt your traffic. Remember that in public places, your data can be intercepted by hackers.

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

No, this cannot be done using standard Windows or macOS tools. The operating system only stores passwords that have been successfully entered and used to connect. Accessing someone else's network without their knowledge requires special tools, which may be illegal.

Why does the command line say "Access Denied"?

This means the console is running as a standard user, not an administrator. Close the window and run cmd again, selecting the "Run as administrator" option.

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

If you haven't changed the factory data, try the standard combinations: login admin and password admin (or 1234). If they don't fit and you don't remember them, only a reset using the Reset button will help.

Are password recovery programs safe to use?

Using third-party software (such as WirelessKeyView) carries risks. Antivirus programs often flag such utilities as dangerous, as they are essentially data-stealing tools. It's better to use built-in OS tools.