Forgot your home Wi-Fi password, and the sticker on your router has worn off? Or need to connect a new device but can't remember the combination? Statistics show this situation is familiar to every second user. Kaspersky47% of people have needed to recover their wireless network password at least once. Fortunately, if your laptop is already connected to the network, you can retrieve the saved password in minutes—without resetting the router or calling your ISP.
In this article you will find 5 proven methods For Windows 10/11 And macOS, including methods without administrator rights and using the command line. We'll also look at why some networks may not display the password (for example, corporate ones) WPA2-Enterprise), and what to do in such cases. All instructions are relevant for laptops. Lenovo, HP, Asus, Acer, Dell and other brands - the main thing is that the device has previously connected to the desired network.
1. The standard method via Windows Settings (without programs)
The easiest method is to use the built-in settings WindowsIt works on all OS versions starting from Windows 7, and does not require the installation of additional software. The main requirement is that your laptop must be already connected to the network whose password you want to know.
Instructions:
- 🖱️ Open
Start → Settings(or clickWin + I). - 📡 Go to the section
Network and Internet → Wi-Fi. - 🔍 Scroll down and select
Managing known networks. - 🔑 Click on the name of the desired network, then -
Properties. - 👁️ In the field
Network passwordClick on the eye icon (or check the boxShow entered characters).
⚠️ Note: If the "Show characters" button is grayed out, your account does not have administrator rights. Use command line method or request permission from the laptop owner.
This method is suitable for most home networks with security type WPA2-Personal or WPA3-PersonalIf the network is corporate (for example, in an office or university), the password may not be displayed. In such cases, a certificate or login/password is typically used for authentication.
2. View the password through the Network and Sharing Center (Windows 7/10/11)
An alternative route through the classic control panel - useful if the new interface Windows 11 seems inconvenient or does not display the required options. This method also works on older OS versions, including Windows 7.
Step-by-step instructions:
- Right-click on the Wi-Fi icon in the tray (bottom right corner of the screen) and select
Open Network & Internet Settings. - In the window that opens, click
Network and Sharing Center(or find it through the system search). - Select on the left
Managing wireless networks(V Windows 11 This item may be calledChanging adapter settings). - Double-click on the desired network → tab
Security→ check the boxShow entered characters.
| Windows version | Path to settings | Notes |
|---|---|---|
| Windows 7 | Start → Control Panel → Network and Internet → Network and Sharing Center → Manage wireless networks |
Administrator permissions may be required. |
| Windows 10 | Start → Settings → Network & Internet → Wi-Fi → Manage known networks |
The interface may differ depending on the build. |
| Windows 11 | Start → Settings → Network & Internet → Advanced network settings → Network and Sharing Center |
In some builds the item is hidden - use the system search |
If the network is not listed in the "Manage known networks" list, it means that the laptop has not connected to it or the data has been reset. In this case, try other methods or check your router settings.
3. How to find out the password via the command line (CMD)
This method for advanced users allows you to extract the password of any saved network without a graphical interface. This is suitable if the default settings don't work or you need to automate the process (for example, for a script).
Instructions:
- Open Command Prompt as Administrator:
Win + X → Command Prompt (Administrator) - Enter the command to view all saved networks:
netsh wlan show profilesRemember the exact name of the network you need (case is important!).
- Extract the password using the command:
netsh wlan show profile name="NETWORK_NAME" key=clearReplace
NETWORK_NAMEto the real name (for example,netsh wlan show profile name="TP-Link_5G" key=clear). - Find the line
Key content- this is the password.
Open CMD as administrator
Check network name (case sensitive!)
Use quotes if the name contains spaces.
Copy the password from the "Key Contents" line
-->
This method is universal and works even if the graphical interface is blocked by group policy (for example, on a work laptop). However, some corporate networks (With 802.1X authentication) may not display the password - in such cases, it is stored as a hash or requires a certificate.
⚠️ Attention: Teamsnetshmay not work in Windows PE or Safe Mode. If you receive the error "WLAN AutoConfig service is not running," check its status with the commandsc query Wlansvc.
4. Retrieving a password on macOS (for Apple laptops)
For users MacBook There is a separate way to view saved passwords - through the application Bunch of keys (Keychain Access). This method works on all versions macOS, including Ventura And Sonoma.
How to do it:
- 🔍 Open
Spotlight(Cmd + Space) and enterBunch of keys. - 📋 In the left menu, select
System→Passwords. - 🔍 Enter the name of the Wi-Fi network in the search bar.
- 👁️ Double-click on the found entry and check the box
Show password. - 🔑 Enter your account password Mac (required for confirmation).
If the network does not appear in Keychain, check:
- 🔄 The laptop has connected to this network at least once.
- 🗑️ Data was not reset (for example, after reinstallation macOS).
- 🔒 You have administrator rights (a standard user will not see system network passwords).
5. Using third-party programs (if standard methods do not work)
If built-in tools Windows or macOS If your password isn't displayed (for example, due to security policy restrictions), you can use specialized utilities. These are suitable for extracting passwords from system files or backups.
Popular programs:
| Program | OS support | Peculiarities |
|---|---|---|
| WirelessKeyView (NirSoft) | Windows 7–11 | Shows all saved Wi-Fi passwords, including hidden networks. No installation required. |
| WiFi Password Revealer | Windows 10/11 | Simple interface, export passwords to a file .txt. |
| Magical Jelly Bean WiFi Password Revealer | Windows 7–11 | Supports password recovery from backups. |
| Keychain Access | macOS | Built-in solution, but requires administrator rights. |
Warnings when using third-party software:
⚠️ Attention:
- 🛡️ Download programs only from official websites (For example, NirSoft or Magical Jelly Bean). Files from torrents or unverified sources may contain malicious code.
- 🔍 Antivirus (for example, Kaspersky or Bitdefender) may block such utilities as "potentially dangerous." This is a false positive—add the program to the exceptions.
- 🔑 Some utilities require administrator privileges. If you don't own the laptop, request permission.
Example of working with WirelessKeyView:
- Download the archive from official website and unpack.
- Run the file
WirelessKeyView.exe(for 64-bit system use versionx64). - The program will automatically display all saved networks and their passwords in the column
Key (Ascii). - Export data via if necessary
File → Save All Items.
What should I do if the program doesn't show the password?
If the utility displays the password as dots or empty space, check:
1. The laptop was actually connected to this network (data is stored in the registry only after the first connection).
2. The network is not corporate (with WPA2-Enterprise - such passwords are not saved in clear text).
3. You ran the program as administrator.
4. The antivirus does not block access to system files (temporarily disable protection).
6. If nothing works: alternative solutions
In rare cases, standard methods may not work. Here's what to do next:
Method 1: Reset the router
- 🔄 Click the button
Reseton the back panel of the router (hold for 10-15 seconds). - 🔑 After resetting, use the default password (indicated on the router sticker or in the instructions).
- ⚠️ Minus: All router settings will be reset, including the network name, passwords, and MAC address bindings.
Method 2: View your password on another device
- 📱 If the smartphone is connected to the network Android with root rights, use the application WiFi Password Viewer.
- 🖥️ On another laptop or PC, repeat one of the methods described above.
Method 3: Contact your provider
- 📞 Call your internet provider's support team (the number is usually listed on your contract or router).
- 🆔 Provide your contract or personal account details—the operator will provide your current password.
- 🔧 Some providers (eg. Rostelecom or Beeline) allow you to see the password in your personal account on the website.
⚠️ Note: If you rent or use corporate Wi-Fi, resetting your router or calling your provider may cause conflicts. Check with your network owner for access rights.
FAQ: Frequently asked questions about viewing Wi-Fi passwords
Is it possible to find out the password for a Wi-Fi network that the laptop has never connected to?
No. Passwords are saved in the system only after the first successful connection. If the laptop has never been connected to the network, it is impossible to retrieve its password (except through the router or ISP settings).
Why doesn't the command line display the password?
Possible reasons:
- Corporate network (with
WPA2-Enterprise— the password is not saved in clear text). - The laptop was connected to the network via Windows To Go or a virtual machine (data is not stored on the main system).
- You do not have administrator rights (run CMD as administrator).
- The data is corrupted (try to recover via WirelessKeyView).
How to save your password so you don't forget it?
Backup methods:
- 📝 Write down the password in a notepad or password manager (KeePass, 1Password).
- 📱 Take a photo of the sticker on the router and save it to the cloud (Google Photos, iCloud).
- 🖥️ Export passwords from Windows or macOS to the file (see instructions above).
- 🔧 Change the password on your router to something more memorable (via
192.168.0.1or192.168.1.1).
Is it possible to find out the password from an Android phone?
On most smartphones without root rights This is not possible due to security restrictions. Exceptions:
- 📱 Samsung With One UI: go to
Settings → Connections → Wi-Fi → Network name → Share(PIN or fingerprint required). - 🤖 Devices with Android 10+ and root: use WiFi Password Viewer from Play Market.
- 🍎 iPhone: passwords are synchronized via iCloud Keychain (look at Mac via Keychain Access).
Is it legal to extract Wi-Fi passwords from someone else's laptop?
From a legal point of view:
- ✅ If the laptop is yours or you have the owner's permission, there are no problems.
- ❌ If you are extracting a password from someone else's device without consent, this may qualify as
unauthorized access to computer information(Article 272 of the Criminal Code of the Russian Federation). - 🏢 In corporate networks, such actions may violate internal security policies (including dismissal).
Always confirm access rights with the network or device owner.