Needing to connect a new device to a wireless network but having forgotten or lost the password is one of the most common situations in home computing. Fortunately, modern laptop operating systems automatically save access keys to networks they've successfully connected to. This means that if your laptop is currently connected to a router or has ever connected to one, the password is already in memory system, and it can be easily extracted using standard tools without using third-party software.
Recovering forgotten access data doesn't require in-depth programming knowledge or complex network hardware manipulation. All you need to know is which menu the data is stored in. security key, and have administrator rights on the device. In this article, we'll detail the steps for various versions of Windows and macOS, as well as discuss methods for cases where the standard interface doesn't provide a direct answer.
It's worth keeping in mind that operating system interfaces may differ slightly depending on the update version or build. However, the logic behind network protocols and credential storage has remained unchanged for many years. Below are the current methods that will help you. restore network access in the shortest possible time.
Viewing your password through the Windows 10 and 11 graphical interface
The easiest and most accessible way to find the saved key is to use the standard wireless connection properties window. This method works on all current versions of Microsoft operating systems and doesn't require complex commands. You need to open the Network Control Panel, where your device's current active connections are stored.
To get started, go to the Start menu and select Settings, then find the Network and Internet section. If you're using Windows 10, look for the Network and Sharing Center link on the right side of the window or enter the command control ncpa.cpl in the run prompt. In Windows 11, the path may be slightly different: go to "Advanced network settings" and select "Advanced network settings." A window will open with a list of adapters, where you should find your active Wi-Fi connection.
Right-click the wireless network icon and select "Status." In the dialog box that opens, click "Wireless Network Properties." Switch to the "Security" tab. This is where the "Network Security Key" field is located, hidden by asterisks by default. To see the characters, check the "Show characters" box.
⚠️ Important: If the Security tab is not visible or the Properties button is grayed out, make sure you are logged in with administrator privileges. Standard user accounts without privileges may not have access to these settings.
After removing the mask, you'll see a text string containing your password. We recommend copying it immediately or writing it down in a safe place. This method is the most secure, as it doesn't require the command line or third-party utilities, which could potentially be flagged as suspicious by antivirus software.
Using the Command Line to Extract Keys
For users who prefer a text-based interface or are faced with the limitations of a graphical shell, the Windows command line is the ideal solution. netsh (Network Shell) provides deep access to network configuration and allows you to display saved connection profiles along with passwords in clear text.
Launch the command prompt as administrator. To do this, type "cmd" in the search box, right-click "Command Prompt," and select the appropriate option. First, you need to find out the exact name of the network profile, which may differ from the SSID (the network name visible in search results). Enter the command netsh wlan show profiles and press Enter. In the "User Profiles" list, find the name of your network.
Now that you know the exact name, enter the following command, replacing "Network_Name" with the actual name of your profile:
netsh wlan show profile name="Network_Name" key=clear
In the report that appears, find the "Security Settings" section. The "Key Contents" line will contain the password you're looking for. This method is especially useful if you need to find the password for a network to which the laptop isn't currently connected but has connected previously.
☑️ Check before entering commands
Advantage of using netsh The advantage of this feature is the ability to quickly copy all network information, including the encryption type and cipher algorithm, which can be useful when setting up a manual connection on other devices that do not support automatic configuration.
How to view your password on a MacBook (macOS)
Apple laptop owners also don't need to worry about losing their passwords. macOS stores all login credentials in a secure vault called Keychain Access. Access to this data is protected by a user account password or Touch ID biometrics, ensuring a high level of security.
To view your password, follow these steps:
- 💻 Open Spotlight Search (Cmd + Space) and type Keychain Access.
- 🔍 In the list on the left, select the “System” or “iCloud” category, then find the name of your Wi-Fi network in the general list.
- 👁️ Double-click on the network name to open the properties window.
- 🔓 Check the "Show password" box and enter your Mac administrator password to confirm.
After successful authorization, a text string containing the passkey will appear in the "Show Password" field. In newer versions of macOS (Ventura and later), the process is even simpler: go to "System Preferences" → "Wi-Fi," find your network in the list, and click "More Details" or the "i" icon. Next to the password field, you'll see a copy or display button that requires Face ID or Touch ID confirmation.
⚠️ Note: If you use two-factor authentication for your Apple ID and iCloud Keychain, your password may sync across all your devices. Changing your password on one device may automatically update it on others if syncing is enabled.
Never delete and do not change other entries in this list unless you are sure of their purpose, as this may result in loss of access to websites and applications.
Finding a Password via the Windows Registry (for Advanced Users)
Storing passwords in the Windows registry is a method for advanced users, rarely needed in everyday practice, but may be the only solution in the event of corrupted system files or specific interface failures. Wireless network data is stored in binary format, and reading it requires specialized knowledge or utilities.
The path to the registry branch where profiles are stored looks like this:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
However, unlike Linux, where passwords are often stored in plain text config files, in Windows the registry contains only partial information, and the keys themselves are encrypted. Therefore, a direct search for the password string in the registry via regedit usually does not produce results without the use of decryptors.
However, you can check through the registry whether the device has previously connected to the network. If the list of profiles contains an entry with the corresponding SSID, then the password is saved in the system, and it's worth returning to the methods via netsh or graphical interface, which are more reliable for data extraction.
Why is the password not visible in the registry?
Wi-Fi passwords in Windows are stored encrypted using system security keys. Reading them directly from the registry will reveal a string of incomprehensible characters. Decoding them requires running system services, which is accomplished using standard network properties tools or the netsh utility.
Specialized utilities for access recovery
If Windows' built-in tools don't work for some reason or the interface is damaged, you can use third-party software. There are many free and paid programs that scan your system and display a convenient list of all saved Wi-Fi networks and their passwords.
One of the most famous utilities is WirelessKeyView from NirSoft. It doesn't require installation; the portable version launches immediately and displays:
- 📡 Network name (SSID).
- 🔑 Security key in HEX and ASCII format.
- 🔒 Authentication and encryption type.
- 📅 Date of last connection.
Other popular programs include WiFi Password Revealer And Free WiFi Password RecoveryWhen using such software, it is important to exercise caution: download programs only from the official websites of the developers, as password recovery tools are often flagged by antivirus software as HackTool or PUP (Potentially Unwanted Program), even if they are safe.
| Name of the utility | License | Installation | Peculiarities |
|---|---|---|---|
| WirelessKeyView | Freeware | Not required | Minimalism, export to TXT/HTML |
| WiFi Password Revealer | Free / Pro | Required | Simple interface, support for older operating systems |
| Free WiFi Password Recovery | Freeware | Not required | Fast start, light weight |
| NetPass | Freeware | Not required | From the same developer (NirSoft), similar |
What to do if your password is nowhere to be found
There are situations when a laptop never connected to the desired network, or the system files storing profiles were damaged or deleted. In this case, software-based recovery methods on the laptop itself will be useless, as there's nothing to retrieve. You'll have to look for alternative solutions.
The first and most reliable option is to check the sticker on the router body. Most manufacturers (TP-Link, D-Link, ASUS, Keenetic) place the factory Wi-Fi password (Wireless Password / PIN) on the bottom of the device. If the password hasn't been changed manually, this information will be up to date.
If the password has been changed, but you have access to a computer that is already connected to Wi-Fi (for example, a desktop PC or another laptop), you can access the router settings through a browser. Enter the gateway IP address (usually 192.168.0.1 or 192.168.1.1) in the address bar, log in and go to the Wireless section, where the password is displayed in plain text.
⚠️ Important: If you choose to reset your router to factory settings (Reset button) to use the password on the sticker, all other internet service provider settings (PPPoE, VLAN, static IP) will be deleted. Make sure you have your internet settings before resetting.
In extreme cases, if you can't access your router settings and have lost your password, a physical reset of the device is the only solution. Press and hold the button Reset on the back of the router for 10-15 seconds (until all the lights start flashing). After this, the device will reset to factory settings, and you can connect using the information on the sticker.
Questions and Answers (FAQ)
Is it possible to find out the Wi-Fi password if the laptop is not currently connected to the network?
Yes, you can. The operating system saves profiles of all networks you've ever connected to. Use the command line (netsh wlan show profile name="NAME" key=clear), specifying the name of the saved profile, even if the connection is not currently active.
Why is there no "Security" tab in the network properties?
This could be due to two reasons: either you don't have administrator rights on this computer, or you're viewing the properties of a guest network or network bridge, not a specific wireless adapter. Try running the properties window as an administrator.
Are password recovery programs safe to use?
Using trusted utilities from reputable developers (such as NirSoft) is safe. However, antivirus software may react negatively to them, as these programs access protected system data. Always download software from official websites.
Where can I find the password on my router if it's not on the sticker?
If the sticker only contains a PIN, try entering it. If the password has been changed by the user, you can only find it by logging into the router's web interface (via a browser) or resetting the device to factory settings using the Reset button.
Is it possible to find out the password for someone else's Wi-Fi network if I haven't connected to it?
No, it's technically impossible to find out the password for a network your device has never connected to and doesn't have a saved profile. Hacking into other people's networks without their permission is illegal.