Many users are familiar with the situation of needing to connect a new device to their home network but losing or forgetting the password. Fortunately, operating systems and routers store this data, making it easy to restore access without complex manipulations. In this article, we'll cover all the current methods for extracting the security key on various platforms.
There are several ways to resolve this issue, depending on which device is already connected to the network. You can use a Windows computer, an Android or iPhone smartphone, or access the router's settings. Each method has its own specifics and requires careful attention when entering commands or navigating menus.
Your safety home network The password's strength directly depends on its complexity, so after recovering it, we recommend writing it down in a safe place. Avoid storing access keys in text files on your desktop or sending them in plaintext via instant messaging. We'll look at methods that will help you regain control of your connection.
Recovering your password on a Windows 10 or 11 computer
The Windows operating system automatically saves profiles of all networks your computer has ever connected to. This is the easiest way to find the key if your PC or laptop is currently connected to Wi-Fi or has previously connected.
First, open your network settings. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Network & Internet settings." Next, look for the link "Advanced network settings" or "Network and Sharing Center," depending on your interface version.
In the window that opens, select your active wireless connection. A dialog box with general information will appear, where you need to click the button Wireless network propertiesGo to the "Security" tab and check the box next to "Show entered characters." Hidden characters will be converted to readable text.
- 🔑 Press Win+R and enter
ncpa.cplfor quick access to adapters. - 🔑 Make sure you choose the right one wireless connection, not Ethernet.
- 🔑 If the Security tab is unavailable, your account may not have administrator rights.
This method works flawlessly on most Windows builds. However, if the computer has never connected to this network or the profile has been deleted, this method won't work. In this case, you'll need to use the command prompt or the router settings.
⚠️ Attention: If you're using a corporate computer, access to network properties may be blocked by your system administrator. Attempting to circumvent these restrictions could violate your organization's security policy.
Using the Windows Command Prompt to Extract the Key
A more advanced and versatile method allows you to view saved passwords even for networks to which your computer is not currently connected. This method requires the command line, but can be completed in just a few steps.
Run the command prompt as administrator. To do this, enter cmd In the search box, right-click and select the appropriate option. First, you need to get a list of all saved Wi-Fi profiles. Enter the command netsh wlan show profiles and press Enter. You'll see a list of all networks that have ever been stored in the device's memory.
Find the name of the desired network in the list. Then enter the command to display detailed information, including the key. The syntax is:
netsh wlan show profile name="Network_Name" key=clear
In the report that opens, find the "Key Content" line. This is where your password will be listed. This method is useful when the graphical interface isn't working correctly or you need to quickly copy data.
- 📝 The network name in the command must exactly match the name in the list, including the case of letters.
- 📝 If the network name contains spaces, be sure to enclose it in quotation marks.
- 📝 Team key=clear is required, otherwise the password will not be displayed.
Using the console provides direct access to system settings without unnecessary windows. This is especially convenient for IT professionals or remote administrators. However, beginners should be careful when entering commands to avoid changing unnecessary parameters.
☑️ Check before entering a command
Viewing your password on Android and iOS smartphones
In modern versions of mobile operating systems, manufacturers have implemented convenient password management features. On Android 10 and later and iOS 16 and later, you can view your password directly in the Wi-Fi settings.
On Android, go to Settings → Wi-FiTap the gear icon next to the connected network name. Look for the "Share" button or QR code. The password is often displayed as text below the QR code. If there is no text, take a screenshot of the QR code and scan it with any scanner app or Google Lens—the password will be in the results.
On iPhone, the process is even easier thanks to iCloud Keychain integration. Go to Settings → Wi-Fi, tap the blue information icon (i) next to the network. Tap the hidden "Password" field and confirm using Face ID, Touch ID, or a passcode. The system will display the key in plain text.
- 📱 On Android, fingerprint or pattern verification is sometimes required.
- 📱 On iOS, the function only works if the device is already connected to the network.
- 📱 Make sure your iPhone is running the latest version iOS.
Mobile methods are convenient because they're fast. You don't need to remember complex character combinations; biometrics are sufficient. This makes connecting new gadgets, such as smart lamps or speakers, extremely simple.
What to do if the QR code does not scan?
If automatic scanning doesn't work, try taking a clear screenshot of the screen containing the QR code. Then, open Google Photos or the Camera app, select the screenshot, and tap "Search by photo (Google Lens)." The system will recognize the text within the image and display the password in plain text. You can also use third-party QR code readers from your gallery.
Logging into the router's web interface: standard addresses
If no devices are connected to the network, or you want to find out the guest access password, you'll have to access the router's settings. To do this, you'll need the gateway IP address and login information for the admin panel.
Standard login addresses most often look like this: 192.168.0.1 or 192.168.1.1Enter this address in your browser's address bar. If the page doesn't open, check the sticker on the bottom of the router—it contains the exact address (URL) and the factory username/password.
After entering your credentials, you will be taken to the control panel. The interface varies from manufacturer to manufacturer (TP-Link, Asus, Keenetic, Mikrotik) is different, but the logic is the same. Look for the "Wireless," "Wi-Fi," "Wireless," or "WLAN" sections. Inside, you'll find a "Wireless Password/Key" field.
| Router brand | Default address | Login | Password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| Asus | 192.168.1.1 | admin | admin |
| Keenetic | 192.168.1.1 | admin | 1234 |
| D-Link | 192.168.0.1 | admin | (empty) |
Be sure to save your changes if you decide to change your password. Your router may require a reboot to apply the new security settings. This is a normal process and takes about a minute.
⚠️ Attention: Firmware interfaces are constantly updated. Menu locations may differ from those described. Look for the keywords "Wireless," "Security," or "WLAN" in any interface version.
Resetting the router to factory settings
If you've changed your router's password and forgotten it, or the default password on the sticker doesn't work, the last resort is a hard reset. This will return the device to its original state, as it was in the store.
On the back of the router, find the recessed button Reset or Restore Factory SettingsTo activate it, press it with a thin object (a paperclip or toothpick) and hold it for about 10-15 seconds until all the indicators flash. After this, the router will reboot.
After the reset, the Wi-Fi network will be named as indicated on the sticker (e.g., TP-Link_XXXX) and will either have no password or a default password (also indicated on the sticker). You will need to reconfigure your internet connection (PPPoE, L2TP, or dynamic IP) if your provider requires authentication.
- 🔄 Resetting will delete all your personal settings, including the network name and the list of allowed devices.
- 🔄 Make sure you have a contract with your provider for reconfiguring your WAN.
- 🔄 Do not unplug the router during the reset and boot process.
Use this method only as a last resort. It requires time to reconfigure the network. However, it is a guaranteed way to restore access if all other options have been exhausted.
Security measures and protection against hacking
Understanding how easy it is to view your password highlights the importance of protecting your network. If neighbors or hackers gain access to your Wi-Fi, they can not only consume your data but also intercept your transmitted data.
Use an encryption protocol WPA2-PSK or WPA3The older WEP and WPA-TKIP standards are considered obsolete and easily cracked. Passwords must contain at least 12 characters, including numbers, uppercase and lowercase letters, and special characters.
Update your router firmware regularly. Manufacturers patch vulnerabilities in new software versions. It's also recommended to disable the WPS function, as it's often a security vulnerability that allows someone to guess the PIN code within a few hours.
- 🛡️ Change the default router administrator password immediately after purchase.
- 🛡️ Disable Remote Management in Settings.
- 🛡️ Use a guest network for visitors, isolating them from your personal devices.
Security is a process, not a one-time action. Regularly checking connected devices in the router interface will help you spot uninvited guests early. If you see an unfamiliar device, change the password immediately.
Is it possible to view a Wi-Fi password if the computer is not connected to that network?
Yes, this is possible if the computer has previously connected to this network. Windows saves profiles. Use the command netsh wlan show profile name="Name" key=clear in the command line. If the profile has been deleted or the computer has never been connected to this network, it's impossible to find the password without access to the router or other connected device.
Where can I find the Wi-Fi password on the router sticker?
The sticker is usually located on the bottom or back of the device. Look for the "Wireless Password," "WPA Key," "PIN," or "Password" fields. Note that this password only works if you've never manually changed your Wi-Fi settings.
What should I do if I forgot my router settings password?
If you've changed your administrator password and forgotten it, the only solution is to reset your device to factory settings. Afterward, log in with the information on the sticker and set up your internet connection again.
Is it safe to store a password in a text file on my computer?
No, it's not safe. If a virus gets onto your computer or someone gains access to your system, the file will be found. It's better to use password managers or write down your keys in a paper notebook kept in a safe place.