How to Find the Wi-Fi Code on a Laptop: A Complete Guide

It's quite common to need to connect a new device to a wireless network but have forgotten or lost the password. Fortunately, Windows and macOS operating systems automatically save access keys to previously used access points. This allows you to recover forgotten data without having to reset your router or search for documentation from your provider.

There are several proven methods for extracting this information, from standard interface tools to the command line. The method you choose depends on your operating system version and your current access rights. It's important to understand that most operations require administrator privileges.

In this article, we'll take a detailed look at all current password recovery methods for laptops running various operating systems. We'll cover built-in Windows 10 and 11 tools, macOS capabilities, and specialized software. Accuracy of execution of instructions guarantees successful receipt of the required data within a few minutes.

Finding a password using standard Windows 10 and 11 settings

The easiest and most secure way to find the stored code is to use the operating system's graphical interface. In Windows 10 and 11, this process is slightly different visually, but the logic remains the same. The system stores connection profiles in a secure vault accessible to authorized users.

First, you need to open the Network and Sharing Center. Right-click the connection icon in the system tray and select Network and Internet settingsIn the window that opens, find the link to Advanced Settings or Network and Sharing Center. This is where the main settings are located. network adapters.

Next, go to the wireless connection properties. In the list of active connections, select your Wi-Fi network and click the button. Wireless network propertiesIn the new window, go to the tab SecurityHere you will see a field hidden by asterisks that contains the key you are looking for.

To see the symbols, you need to check the box next to the item Show entered charactersAfter this, the hidden text will become readable, and you can copy or write it down. This method doesn't require installing additional software and works reliably on most configurations.

⚠️ Note: If the "Security" tab is missing or the options are grayed out, make sure you are logged in with administrator rights. Standard users may not have access to edit security profiles.

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

Using the command line to recover the key

For more advanced users or in cases where the graphical interface does not work correctly, the command line is ideal. The utility netsh Allows you to manage network settings directly, bypassing graphical interfaces. This method is especially useful if you need to find the password for a network to which your laptop is not currently connected but the profile is saved.

Run the command prompt as administrator. To do this, enter cmd In the search box, right-click the result and select the appropriate option. First, you need to get a list of all saved profiles. Enter the command:

netsh wlan show profiles

Find the name of the desired network in the list. Then use the command to display detailed information about a specific profile by adding the parameter key=clearThe syntax is as follows:

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

In the command output, find the line Key content (or Key Content). This is where the password will be displayed in clear text. This method is universal and works even on limited versions of Windows, where graphical settings may be limited.

How to view your Wi-Fi password on a MacBook (macOS)

Users of technology Apple You may also need to recover forgotten data. In macOS, all passwords are stored in the iCloud Keychain or local keychain. Access to them is protected, but for the account owner, viewing them is fairly simple.

Open the program Bunch of keys (Keychain Access). You can find it through Spotlight (search for it with Command + Space) or in the Applications → Utilities folder. Select a category from the list on the left. PasswordsFind the name of your wireless network in the list and double-click it.

In the properties window that opens, check the box Show passwordThe system will ask you to confirm your identity: enter your macOS user account password or use Touch ID. Once successfully authenticated, the code will appear in the field.

In newer versions of macOS, such as Ventura and Sonoma, the process has become even simpler. Simply go to System Preferences, select a section Wi-Fi, find the desired network in the list of known networks, and tap the information icon or the three dots. There will be a button to copy the password after confirming with Face ID or Touch ID.

Checking the data on the router case and in the documentation

If none of the software methods work, it's worth turning to the physical hardware. The router's factory settings often contain a default password, which was only changed if you or the technician made any changes during installation. If the settings haven't been changed, this method will work instantly.

Turn the router over and inspect the sticker on the bottom. It usually contains:

  • 📡 SSID — the factory network name
  • 🔑 PIN or WPA/WPA2 Key — the standard password
  • 🌐 IP address - to access the control panel
  • 👤 Login/Password — to access router settings

You can also find this information in your contract with your provider or in the accompanying documentation if the equipment was provided by the telecom operator. This information is often printed on a separate card. Please note that if the password has been previously changed, the default value will not work.

To access the router's web interface, use your browser and enter the IP address found on the sticker (often 192.168.0.1 or 192.168.1.1). By entering the administrator login and password, you can view the current wireless security settings in the section Wireless or Wi-Fi.

Router brand Standard IP Default login Default password
TP-Link 192.168.0.1 admin admin
ASUS 192.168.1.1 admin admin
D-Link 192.168.0.1 admin (empty)
Keenetic 192.168.1.1 admin 1234
Tenda 192.168.0.1 admin admin

Third-party utilities for managing Wi-Fi connections

There are many third-party programs that simplify wireless network management. They allow you to not only view saved passwords but also analyze signal strength, channel congestion, and other parameters. However, you should be careful when choosing such software.

One of the popular utilities is WirelessKeyView from NirSoft. This portable program requires no installation. It scans the Windows registry and displays a list of all saved profiles with security keys in a convenient format. The program is free and lightweight.

Other tools such as WiFi Password Decryptor, offer similar functionality with a more modern interface. They can even recover passwords for networks the computer connected to in the past but are now out of range.

When using third-party software, be sure to download it from the developers' official websites. Antivirus programs may identify such utilities as "hacker tools" (HackTools), as their operating principles are similar to data theft methods, although the goal is to restore the legitimate owner's access.

⚠️ Note: Router and operating system interfaces are updated regularly. The menu item layout may differ from that described depending on your device's firmware version. Always consult the manufacturer's official documentation if you have trouble finding the section you need.

What to do if none of the methods helped

In rare cases, the network profile may be corrupted, access rights may be lost, and physical access to the router may be restricted. If standard Windows and macOS methods fail, and third-party software is ineffective, there's a radical yet effective solution.

We're talking about resetting the router to factory settings. There's a button on the device's body. Reset, often recessed into the case. Pressing it with a thin object (like a paperclip) for 10-15 seconds while the router is powered on will reset it.

After this, the device will broadcast the network with the factory name and password indicated on the sticker. You can connect using these details, then enter the settings and set a new, convenient password. Don't forget to reconfigure your internet connection settings if your provider requires specific settings.

This method guarantees access, but it requires time to reconfigure the entire home network. Use it only as a last resort, after all other options have been exhausted. Before resetting, make sure you have your contract with your provider.

Can I find out the Wi-Fi password on someone else's computer if I'm connected to it?

No, unless you have administrator rights on this computer. Windows restricts access to saved passwords to authorized users only. Without entering the administrator password or using their account, you won't be able to view the key in plaintext.

Where are Wi-Fi passwords stored in the Windows registry?

The data is stored in a secure part of the registry at a path associated with the profile. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesHowever, they are encrypted and cannot be read in plain text without the use of special utilities or the command line with administrator rights.

Is it safe to use password viewers?

Using trusted utilities from reputable developers (such as NirSoft) is safe. However, downloading questionable software from untrusted sites can lead to malware infection. Always scan files with an antivirus before running them.

Why isn't the Security tab showing up in my network properties?

This could be due to several reasons: lack of administrator rights, using a guest account, or corrupted network adapter drivers. Try updating your drivers or running network diagnostics.

Is it possible to find out the Wi-Fi password via phone?

This is possible on rooted Android devices and jailbroken iOS devices. On standard, non-rooted devices, viewing the saved password in plain text is not possible, but a QR code can be generated to connect to another device (available in Android 10+ and iOS 11+).