It's common to have friends over or need to connect a new gadget but forget your wireless network access key. Fortunately, modern laptop operating systems store this data in encrypted form, allowing you to retrieve it using standard tools if needed. You won't need complex hacking tools or access to the router's admin panel if the device you previously used to access the network is readily available.
The data recovery procedure depends on the operating system version and the type of device, whether it is Windows 10, Windows 11 or macOSIn most cases, administrator rights on the computer are sufficient to access network settings. Below, we'll detail the steps for various platforms, as well as discuss alternative methods using the command line and physical access to the hardware.
It should be understood that data security is a priority, so the system hides the characters by default. However, this is merely a visual disguise, easily circumvented by legal means. If the laptop is already connected to the network or has been connected before, the access key information is guaranteed to be in the system registry or credential storage. The main thing is to know where to look.
Password recovery in Windows 10 and 11 through the interface
The easiest and safest way to view a saved key is to use the operating system's graphical interface. In current versions Windows Microsoft has slightly reorganized the settings, but the general principle remains the same. You'll need to go to the Network and Sharing Center, which displays the status of your current connection.
To get started, right-click the Wi-Fi icon in the system tray (near the clock) and select "Network and Internet Settings." Next, in the window that opens, find the "Network and Sharing Center" link or simply click "Properties" for your active network. In the new wireless network properties window, go to the "Security" tab.
This is where the "Network Security Key" string you're looking for is located. By default, the characters are hidden behind asterisks. To make them visible, check the box next to "Show entered characters." The system may ask you to confirm your administrator rights, after which password will become readable.
⚠️ Note: If the Security tab is missing or the items are grayed out, this may mean that your account does not have administrator rights or the network driver is not working correctly.
It is important to note that in Windows 11 The settings interface has been significantly redesigned. Now the path may look like this Settings → Network & Internet → Wi-Fi → Manage known networksSelect the desired network from the list and click the "View" button next to the key field. This method only works if the laptop has connected to this access point at least once.
Using the Command Prompt for Advanced Users
For those who prefer speed and precision, using the console is a great solution. Command line Windows provides a powerful tool netsh, which allows you to manage network settings at a deep level. This method is especially useful if the graphical interface is slow or freezing.
To launch the console, press Win + R, enter cmd and press Enter. It's best to run the command prompt as administrator to avoid access rights issues. First, you need to find out the exact network profile name if it differs from the SSID. Enter the command:
netsh wlan show profiles
After displaying a list of all saved profiles, find the name of the desired network. Then, use the following command, substituting the name of your network:
netsh wlan show profile name="Network_Name" key=clear
In the command output, scroll down to the "Security Settings" section. There you'll find the line "Key Contents," which displays the code you're looking for. This method is universal and works even when the graphical interface can't display data due to driver errors.
What to do if the command is not found?
If the system reports that the command was not found, make sure the WLAN AutoConfig service is running. Press Win+R, enter services.msc, find the service, and make sure it's running.
Finding saved passwords on macOS
Laptop users Apple MacBook And MacBook Air Store all passwords in iCloud Keychain or a local keychain. This centralized storage is protected by biometrics or a master password, making data retrieval secure but requiring authorization.
In modern versions of macOS (Ventura and newer), the process is simplified. Open System Preferences, go to the Wi-Fi section. Find the desired network in the list of known networks and click the info button (three dots or an "i"). Next to the password field, you'll see a "Copy" button or an eye icon. After entering the password for your account or using Touch ID, the symbols will become visible.
In older versions of the operating system (Catalina, Mojave (and earlier) use the Keychain Access utility. You can find it using Spotlight search (Cmd + Space). Select "System" in the list on the left, then find your network name in the center window. Double-click the entry and check the "Show password" box.
- 🔑 To confirm access, the system will request an administrator password or fingerprint.
- 📱 If iCloud sync is enabled, you can also view the password on your iPhone in Wi-Fi settings.
- 🛡️ The data in the keychain is encrypted, so it cannot be accessed without physical access to the unlocked device.
It is worth remembering that macOS Strictly monitors data integrity. If you attempt to export passwords, the system may consider this a security threat and block access. Use only native viewers.
Viewing data through a browser and cloud services
Users often forget that modern browsers sync Wi-Fi passwords via cloud accounts. If you've ever shared network access through a browser Google Chrome or Edge On an Android device linked to the same account, the password may have been saved in the cloud.
To check this, log into your Google account using a browser on your laptop. Go to passwords.google.comYou can filter entries in the "Passwords" section. However, Wi-Fi passwords are rarely displayed directly there; they're more often website passwords. However, if you have access to an Android smartphone connected to the same account, you can find the QR code for connecting to Wi-Fi in the phone's network settings.
By scanning this QR code with your laptop's camera (if you have a QR reader app) or simply opening it, you can see a text string where after the symbol S: there will be the network name, and after P: — the password itself. This works for WPA/WPA2 networks.
| Method | Requirements | Complexity | Availability |
|---|---|---|---|
| Windows interface | Admin rights | Low | High |
| Command line | Knowledge of commands | Average | High |
| macOS Keychain | MacBook / iMac | Low | Only Apple |
| Router (Web interface) | Cable or Wi-Fi | High | Depends on the model |
Login to the router control panel
If neither laptop remembers the password, but you have physical access to the router itself, you can access its web interface. To do this, the device must be connected to the router by any means (cable or Wi-Fi, if the password is written down somewhere, such as on a sticker).
Open your browser and enter the gateway IP address. This is usually 192.168.0.1 or 192.168.1.1The exact address is often written on a sticker on the bottom of the device. You will need your username and password to access the admin panel. If you haven't changed them, they are default (often admin/admin), but if you changed it and forgot, you will have to reset it.
Inside the interface, look for the "Wireless" or "Wi-Fi" section. The current key will be listed in the "Password," "Key," or "Passphrase" field. You can copy it or change it to a new one you'll definitely remember.
⚠️ Please note: Changing Wi-Fi settings in the router control panel will disconnect all devices. You will need to reconnect phones, TVs, and laptops with a new password.
Interfaces of routers from different manufacturers (TP-Link, Asus, Keenetic, Mikrotik) vary greatly. On some models, the default password is hidden behind asterisks even in the admin panel, and it can't be viewed, only changed. In such cases, the only solution is a factory reset.
☑️ Check before resetting your router
Factory data reset and reset
A radical but effective method is to reset the router to factory settings. There's a small hole on the device's body with the inscription Reset or DefaultBy pressing it with a paperclip for 10-15 seconds, you will return the device to its "out of the box" state.
After rebooting, the Wi-Fi password will be the one on the factory sticker on the bottom of the router. This solution is suitable if you have completely lost control of the network and can't remember either the Wi-Fi password or the router admin panel.
However, this method requires a complete internet reset. You'll need your provider's login information (login, password, connection type). If you don't know this information, resetting your internet connection could result in a long-term internet outage until you contact your provider's support team.
- 🔄 Resetting deletes all custom settings, including the network name and MAC address filters.
- 📶 After the reset, the network will be open or protected by the standard key from the sticker.
- ⚙️ Don't forget to immediately change the default router administrator password to a complex one.
Use this method only as a last resort. For most users, it's easier to use the command line on an already connected computer or find a device that remembers the password (such as an old smartphone or tablet).
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if the laptop has never connected to this network?
No, software methods on the laptop itself won't help, as the key isn't saved anywhere. In this case, the only solution is to log into the router's control panel (if you have cable access) or reset the router to factory settings.
Is it safe to use third-party password recovery programs?
Most of these programs simply read data from the Windows system registry, performing the same functions as the command line. However, downloading software from untrusted sources carries a risk of virus infection. It's better to use the OS's built-in tools.
What should I do if I forgot my router admin password?
If the default (admin/admin) pair isn't working, and you've changed it and forgotten, restoring it without resetting the router is virtually impossible. You'll have to perform a hard reset using the button on the router.
Is it possible to view the password on someone else's computer that I'm connected to?
Technically, this is possible if you have administrator rights on the computer. However, this is a violation of the device owner's rights. Only do this on your own devices or with the owner's permission.
Why did the Security tab disappear in Windows 11?
In the latest Windows 11 updates, the interface has been moved to the Settings app. Look for the "Properties" button under your Wi-Fi network name in the "Wi-Fi" section, then the "View" button next to the password field.