Many users are familiar with the situation of urgently needing to connect a new gadget to a wireless network but hopelessly losing the key combination. We often change default settings for security reasons, write them down in a notebook that later gets lost, or simply rely on automatic connection on smartphones, forgetting the actual key sequence.
Fortunately, operating systems and routers store this information in protected sections of memory, and it is quite possible to access it. Restoring access It doesn't require complex hacking utilities; you just need to know where to look for saved profiles in the system or on the equipment case.
There are several proven methods, each depending on the device you have available. We'll cover options for Windows and macOS computers, as well as mobile devices and physical access to the router.
Finding a saved password in Windows
If you've previously connected a Windows computer or laptop to your wireless network, the password is likely saved in the network profile. By default, the system hides the characters with asterisks, but they can easily be displayed through the graphical interface.
To get started, open the Start menu and go to "Settings" (the gear icon). Select "Network and Internet," then find the link "Network and Sharing Center" or simply "Network & Internet settings." In the window that opens, find your active connection and click it.
After the wireless network status window opens, click "Wireless Network Properties." In the new dialog box, go to the "Security" tab. This is where the "Network Security Key" field is located, with characters hidden. To see them, check the "Show entered characters" box.
This method works on almost all OS versions, from Windows 7 to the current Windows 11. However, if you don't have access to the graphical interface or prefer the command line, there's a faster way via the console.
⚠️ Note: Viewing network properties in some corporate or strictly configured HomeGroups may require administrator privileges. Make sure you are logged in with an account with full privileges.
Open Command Prompt (CMD) or PowerShell as administrator. Enter the following command to list all saved profiles: netsh wlan show profilesFind your network name in the list and then enter the command netsh wlan show profile name="Network_Name" key=clearIn the Security Settings section, you will see a line labeled "Key Contents" with your password.
What to do if the command doesn't work?
If the system returns an "Access Denied" error, make sure you're running the console as an administrator. Also, check that the profile name is entered correctly (it's case-sensitive and space-sensitive).
Restoring access through router settings
The most reliable method, which always works whether you're connected to the network or not, is to log into your router's control panel. The router stores your wireless network configuration in its settings, and you can not only view it there, but also change it. encryption key.
To access the web interface, you'll need to connect to the router using any available method. If Wi-Fi isn't working, use a LAN cable to connect your computer to the router port, or use mobile data if the router supports cloud management (although a direct connection is better for viewing the password).
Open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password for accessing the admin panel, are usually indicated on a sticker on the bottom of the device.
After logging in (the default credentials are often admin/admin), you need to find the section related to wireless mode. It may be called "Wireless," "Wi-Fi," "Wireless Network," or "WLAN." Within this section, look for the "Wireless Network Security" or "Security" subsection.
☑️ Verifying login data
In this menu, you'll see a field labeled "PSK Password," "WPA Key," or "Password." It may be hidden by dots, but there's often a "Show Password" button next to it or an option to copy the value. If you decide to change the password, be sure to click "Save" or "Apply." After that, all devices will disconnect and prompt you to enter the new key.
Interfaces from different manufacturers vary greatly. TP-Link This is often the Wireless Security tab, Asus - the Wireless section in the left menu, and MikroTik The settings are scattered throughout the complex menu system of WinBox or WebFig.
Viewing the key on macOS and iOS devices
Apple ecosystem users can take advantage of built-in syncing features via iCloud Keychain. If you've forgotten your password but previously connected to the network from a Mac or iPhone, the data may still be saved in the keychain.
On your Mac, open Keychain Access. You can do this via Spotlight (Cmd+Space) or by finding the app in the Applications → Utilities folder. Select the "Passwords" category in the list on the left, and find the name of your Wi-Fi network in the right window.
Double-click the network name to open its properties. Check the "Show password" box. The system will prompt you to enter your Mac user account password or use Touch ID to verify your identity. The combination will then appear in the field.
iPhone and iPad owners with iOS 16 or later can now view passwords directly in Settings. Go to Settings → Wi-Fi. Find the network you're connected to or tap the Edit button in the upper right corner (depending on your iOS version). Tap the "i" icon next to the network, then tap the hidden password field. Face ID or Touch ID will unlock the password field.
⚠️ Note: On older versions of iOS (below 16), it is impossible to view the saved password using standard tools without jailbreaking or having a trusted Mac with a synced keychain.
Using Android to View Passwords
On Android devices, the situation depends on the operating system version. Starting with Android 10, Google introduced a password sharing feature via QR codes, making it easy to see the saved key.
Go to Settings → Network & Internet (or Connections) → Wi-Fi. Select the network you're connected to or tap the gear icon next to it. If you see a Share button or a QR code icon, tap it.
After verifying your identity (PIN, fingerprint), a QR code will appear on the screen for connecting to another device. This code often (but not on all smartphone models) displays a text password underneath it. If there is no text, you can scan this code with any third-party QR code scanner on another phone—the decrypted string will contain the password after the prefix. WIFI:S:NetworkName;T:WPA;P:Password;;.
For older versions of Android (9 and below), viewing saved passwords without root access is not possible for system security reasons. File wpa_supplicant.conf, where all keys are stored, is accessible only to the superuser.
However, if you have root access, you can use a file manager with access to system folders. The file path usually looks like this: /data/misc/wifi/wpa_supplicant.confIf you open this file with a text editor, you will find blocks with the network name (ssid) and the corresponding password (psk).
Physical inspection of the router and documentation
Before delving into complex settings, it's worth checking the most obvious places. Many users never change the factory settings, and in this case, the password remains the default.
Look on the bottom or back of your router. There should be a sticker with technical information. Look for fields labeled "Wireless Password," "WPA Key," "PIN," or simply "Password." The SSID (the default network name) is usually listed next to it.
If the sticker is worn off or missing, look for the device's box or manual. Manufacturers sometimes include a separate card with unique data for each device. Default passwords are also often published online on manufacturers' websites in the support section, if you know the exact router model.
Below is a table of the most common factory combinations for popular brands that are worth trying if the standard admin/admin doesn't work:
| Router brand | Default login | Default password | Note |
|---|---|---|---|
| TP-Link | admin | admin | Often found on older models |
| Asus | admin | admin | Sometimes the password is empty |
| D-Link | admin | (empty) | The password field is left blank. |
| Xiaomi | admin | admin | May require creating a Mi account |
| Keenetic | admin | 1234 | Or the password is indicated on the sticker |
Resetting settings as a last resort
If none of these methods work and you can't remember the password you changed, your last option is a hard reset. This will return the router to the state it was in when you purchased it.
Find the small indentation labeled "Reset" or "Restore" on the device's body. Take a paperclip or toothpick, press the button inside the hole, and hold it for about 10-15 seconds until the router's lights flash or the device reboots.
After rebooting, the network will be named as shown on the sticker, and the password will be reset to the default (also shown on the sticker). You'll need to reconfigure your internet connection (enter your provider information) and set a new Wi-Fi password, as all previous configurations will be erased.
⚠️ Important: Before resetting, make sure you have a valid contract with your internet service provider. After resetting, the router will "forget" your connection settings (PPPoE, L2TP, VLAN), and your internet may not work until you re-enter them.
It's important to understand the difference between a reboot (power cycle) and a reset. A reboot doesn't delete any settings, but a reset using the Reset button erases all user configuration.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if I have never connected to this network from this device?
No, if you don't know the password and haven't connected before, it's impossible to find it out programmatically without access to the router or other device where the password is stored. Hacking into other people's networks is illegal.
Where can I find a password file on Windows?
Passwords are stored in a system file, but they are encrypted and cannot be read directly, even by an administrator without special tools. It's easier to use the command netsh or the network properties graphical interface.
What to do if the Reset button does not work?
Make sure you press hard and long enough (up to 20 seconds). On some models, the button is recessed. If this doesn't help, you may need to reflash the device via the console cable, which is a complex procedure for professionals.
Are password recovery programs safe to use?
Most of these programs simply run the same commands described above, but many of them contain viruses or miners. It is recommended to use only built-in OS tools or official utilities from the router manufacturer.