It's common to need to connect a new device to a wireless network but have forgotten the password. It's common for a laptop to be connected to the router and successfully accessing the internet, but remembering or copying the password for a smartphone or tablet is impossible. Fortunately, operating systems store this information securely, and with the right access rights, it can be easily retrieved. In this article, we'll detail all the current methods for retrieving lost data using standard system tools.
Don't panic if you don't remember the character combination. operating system Windows or macOS automatically remembers access keys for networks the device has previously connected to. This is done for user convenience, eliminating the need to enter lengthy passwords each time a connection is made. We'll cover both the graphical interface and the command line, as the latter method is often more reliable when standard menus don't display the required information. Important, that to perform most of the actions described you will need administrator rights.
As you read, you'll learn not only how to find saved keys but also how to manage the list of known networks. Sometimes the system may glitch and not display the character field, or the user may encounter corporate security policy restrictions. In such cases, alternative methods come to the rescue, including logging into the router's web interface. We'll also touch on the topic of security, explaining why storing passwords in plaintext can be risky if unauthorized persons gain access to your computer.
Finding a password through Windows 10 and 11 settings
The easiest and most obvious way to find the necessary information is to use the standard operating system interface. In Windows 10 and 11, this process has been significantly simplified compared to previous versions. If your laptop is currently connected to Wi-Fi, the procedure takes just a few clicks. Open the network settings and go to the properties of the active connection.
To get started, open the Start menu and select the gear icon to get to Parameters. Next, go to the section Network and Internet, where you select the item Wi-FiIn newer versions of Windows 11, the interface may differ slightly, but the logic remains the same: find "Manage known networks" or the properties of the current connection. This is where the "View network security key" button is hidden.
Click this button, and the system will ask you to confirm administrator rights. After entering your account password or biometric verification (if configured), a window with symbols will appear. Security key will be displayed in the text field. Copy it and use it to connect other gadgets. This method works without installing additional software and is a standard solution from Microsoft.
⚠️ Attention: If the View Key button is grayed out or missing, it might mean that your account doesn't have administrator rights, or your network settings have been changed by your organization's Group Policy.
It's worth noting that in some Windows builds, the interface may hide this option. In this case, don't despair, as there are alternative solutions. For example, you can use the old-style Control Panel, which is still available in the system. Follow this path: Control Panel → Network and Internet → Network and Sharing CenterClick on the name of your wireless connection, then select Wireless network properties and go to the tab SecurityThere, after unchecking the "Hide characters" box, you will see the code you are looking for.
Using the command line to extract data
If the graphical interface fails or malfunctions for some reason, the command line comes to the rescue. This powerful tool for system administrators and advanced users allows for direct management of network configurations. This method is universal and works on almost all versions of Windows, starting with Windows 7. It's especially useful when you need to find out the password for the network your laptop is currently connected to.
To get started, launch the Command Prompt as administrator. Right-click the Start button and select Windows PowerShell (Administrator) or Command Prompt (Administrator)In the window that opens, enter the command netsh wlan show profilesThis command will list all Wi-Fi profiles ever saved on your device. Find the name of the network you need in the list.
netsh wlan show profile name="Your_Network_Name" key=clear
Enter the command, replacing "YourNetworkName" with the exact name of your router. Pay attention to the case and spaces—they matter. After the command runs, scroll down to the output section. Security parametersThe "Key Content" line will display the password in clear text. This method guarantees data retrieval even if the graphical interface is hidden.
☑️ Check before entering a command
The command line also allows you to export all profiles to XML files, which can be convenient for backing up settings before reinstalling the system. However, for a one-time password viewing task, a single line of code is sufficient. PowerShell also supports similar commands, making the method flexible for various use cases. The main thing is to pay close attention to the syntax of the input.
How to find the password on a MacBook (macOS)
Apple users may also need to remember a forgotten password. On macOS, this information is stored in the iCloud Keychain or the local keychain. The data retrieval process on Mac differs from Windows, but it also doesn't require third-party software. To access passwords, you'll need the Keychain Access app.
Open Spotlight search (Cmd+Space) and type "Keychain." In the list on the left, select the "System" or "Login" category, then find the "Passwords" tab. In the list of networks, find the name of your Wi-Fi network. Double-clicking on it will open the Properties window, where you should check the "Show password" box. The system will ask you to confirm it using Touch ID or your macOS account password.
In newer versions of macOS (Ventura, Sonoma), the process has become even simpler. Go to System Preferences → Wi-FiFind the network you're connected to or a known network in the list. Next to the name, there will be a "More Details" icon or button (three dots or the letter "i"). The menu that opens will contain a "Password" field hidden by dots. Click it, and macOS will display the characters after authentication.
| operating system | Access method | Necessary rights | Complexity |
|---|---|---|---|
| Windows 10/11 | Settings / Control Panel | Administrator | Low |
| Windows (CMD) | Command line (netsh) | Administrator | Average |
| macOS (Old) | Bunch of keys | User | Average |
| macOS (New) | System Preferences | Biometrics/Password | Low |
If you've changed your router password, but your Mac still tries to connect with the old key, you may need to delete the network profile. To do this, delete the network entry in Keychain Access. The system will then prompt you for a new password when you try to connect. This is useful if you've updated your network security, but your devices are still unable to connect.
What to do if Mac won't show password?
If the password isn't displayed in the keychain or the field is grayed out, try creating a new keychain or repairing disk permissions. Sometimes rebooting in Safe Mode helps. Also, check that iCloud Keychain is synced between your devices.
Viewing via the router's web interface
If none of the methods on the laptop itself work, the "gold standard" is always accessing the router's settings. This method works regardless of the operating system, be it Windows, macOS, or Linux. The main requirement is that the laptop must be connected to the router, even via a LAN cable if Wi-Fi isn't working. The login address is usually located on a sticker on the bottom of the device.
Open your browser and enter your router's IP address into the address bar. Most often, this is 192.168.0.1 or 192.168.1.1Some TP-Link or Asus models use domain names, for example, tplinkwifi.netAfter entering the address, you will be asked to enter the router administrator login and password. By default, this is often admin/admin, but if you have changed them before, use your data.
Once in the control menu, look for a section related to wireless mode. It may be called Wireless, Wi-Fi, Wireless network or WLAN. Inside this section, find the "Security" or "Basic Settings" subsection. It's there in the field WPA/WPA2 - Personal Key or "Wireless Network Password" displays the current key. You can copy it or immediately change it to a more complex one.
⚠️ Attention: Router interfaces from different manufacturers (D-Link, Zyxel, Keenetic, MikroTik) vary significantly. If you can't find the desired option, consult your model's manual or look for screenshots of the interface for your specific firmware version.
The advantage of this method is that you gain access not only to the password but also to all network settings. You can change the network name (SSID), select a channel, set up guest access, or filter devices by MAC address. This is the most comprehensive way to manage your home network. Remember to save any changes you've made by clicking "Save" or "Apply."
Third-party utilities and programs
There are many programs designed to simplify Wi-Fi connection management. They allow you to display saved passwords in one click, create a QR code for quick guest connections, or analyze signal strength. However, using such software requires caution. Security The protection of your data should be a priority, so you should only download programs from the developers' official websites.
One of the popular utilities is WirelessKeyView from NirSoft. This is a free, portable program that doesn't require installation. It automatically scans the Windows registry and displays a list of all saved networks with their cleartext passwords. The program is fast and doesn't overload the system. Another well-known option is WiFi Password Decoder, which has similar functionality.
Using third-party software is justified when Windows' built-in tools are blocked or damaged. These programs are also convenient for IT professionals who need to quickly collect data from multiple computers. However, for the average user who only needs to check their password once a year, the system's built-in tools are usually more than sufficient. Don't forget to scan downloaded files with an antivirus before running them.
- 🔍 WirelessKeyView — a lightweight utility that restores keys from the Windows registry.
- 📡 WiFi Password Decoder - supports many encryption types and adapters.
- 🛡️ Magical Jelly Bean WiFi Password Revealer - simple interface and the ability to export to a text file.
It's important to understand that antivirus programs may detect such programs as hacker tools (HackTool or RiskWare). This is because the programs' functionality is designed to extract sensitive information. If you downloaded the utility from a trusted source, you can add it to the exceptions list. Otherwise, it's better to use the command line, which is a safe and built-in method.
What to do if nothing helps
In rare cases, none of the software methods work. This can be due to damaged Windows system files, blocking by corporate antivirus software, or registry errors. If the laptop is connected to the network but the system has "forgotten" the password (which is technically impossible with an active connection, but possible when trying to browse), the last option is to physically access the router or reset it.
If you have access to the router and can connect another device that already knows the password (for example, a rooted Android phone or another laptop), you can try scanning the QR code. In modern versions of Android, tapping the gear icon next to a Wi-Fi network generates a QR code. You can scan it with another phone's camera, and in some cases, the password will appear as text below the code or be applied automatically.
The ultimate solution is to reset the router to factory settings. There's a small hole on the device's body with the inscription Reset or RestorePressing it with a paperclip and holding it for 10-15 seconds will reset the router. After this, the Wi-Fi password will be the one on the sticker on the bottom of the device. This is a guaranteed way to gain access, but it will require reconfiguring your internet connection.
⚠️ Attention: Resetting your router will erase all your settings: network name, password, PPPoE/PPPoE settings, IPTV, and port forwarding. Use this method only if you are confident you can reconfigure your connection to your ISP.
You should also consider calling a service technician from your provider if you're not using your router, but rather the provider's equipment. In this case, attempting to reset the router yourself could result in the service being blocked. It's best to call technical support, verify your identity, and ask them to provide you with the password or reset it remotely.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if the laptop is not connected to it?
Yes, if you've connected to this network before. Windows stores profiles of all known networks. Use the command netsh wlan show profile name="Name" key=clear in the command line as administrator, even if you are not currently in the network coverage area.
Is it safe to save passwords in Windows?
For home use, it's safe if you have a password for your account. If others use your computer, they can access the network. For public places, it's best to use a guest network or not save the password.
Why does the netsh command say "Network not found"?
This means that the computer has never connected to a network with that name, or you misspelled the name (case is important). Check the list of all profiles with the command netsh wlan show profilesto see the exact title.
Is it possible to hack someone else's Wi-Fi using these methods?
No. The methods described only allow you to view passwords that are already saved on yours device. Connecting to other people's closed networks requires other, illegal methods that are not discussed here.
Where can I find the password on my router if the sticker has worn off?
If the sticker is illegible and you've changed the password and forgotten it, the only solution is a full reset of the router to factory settings. After that, the password will return to the default (usually specified in the manual or on the manufacturer's website for your model).