How to connect to Wi-Fi if you forgot your password: a complete guide

It's quite common to find yourself urgently needing to connect to the internet but blocked due to a forgotten security key. This can happen after reinstalling the operating system, purchasing a new smartphone, or simply after a long break from using the home internet. Fortunately, modern devices and routers offer several reliable solutions to resolve this issue without calling a technician.

There are many methods for restoring access, from viewing saved data on already connected devices to physically resetting the equipment. The choice of a specific method depends directly on the devices you have on hand and whether you have physical access to the router itself. In this guide, we'll cover all the current options to help you restore your connection as quickly as possible.

Don't panic if you don't remember the character combination you came up with when you first set it up. Network security — this is important, but losing access to information is often more critical. We'll break down the steps for various operating systems and hardware models so you can choose the most appropriate one for your situation.

Finding a password on an already connected Windows computer

If you have a laptop or desktop computer that has previously successfully connected to this wireless network and retains its settings, then restoring access is a matter of minutes. Operating system Windows Stores the security keys of all networks the device has ever connected to in a secure registry. You don't need to know the code itself; you just need to be able to access the adapter's hidden settings.

First, open the Network and Network Control Panel. This can be done through the classic Start menu or by searching for it in the system. Find the item responsible for the current connection status and go to the wireless network properties. Here, we're interested in the security tab, where the combination we're looking for is displayed as hidden asterisks.

To see hidden characters, check the box next to "Show entered characters." The system may request administrator rights to confirm this action. Your access key will then appear in the text field, which you can copy or write down. This is the simplest method and doesn't require any third-party software.

An alternative method for more experienced users is to use the command line. This method works even if the network's graphical interface doesn't display the required information. Open the console as an administrator and enter the command to display the network profile. The command syntax requires the exact network name, so be careful when entering it.

netsh wlan show profile name="Your_Network_Name" key=clear

After running the command, you'll see the "Key Contents" line in the "Security Settings" section. This is where the information you're looking for is located. This method is especially useful if the Windows graphical interface isn't working correctly or is blocked by group policies.

⚠️ Note: If your computer is connected to the network via Ethernet rather than Wi-Fi, this method will not work, as Windows does not store keys for wired connections. Ensure that the wireless module is enabled on your device.

Recovering access via an Android or iPhone smartphone

Mobile devices often become the primary tool for accessing the internet, and they are the most common place for passwords to be forgotten when switching between networks. Modern versions of mobile operating systems, such as Android 10+ And iOS 16+, allow you not only to save, but also to display or transfer access keys to other devices.

On smartphones Android The Wi-Fi sharing feature generates a QR code containing an encrypted password. Scanning this code with another device's camera instantly connects you to the network. However, if you need the text value, you can find it in the system settings, although the path may vary depending on the manufacturer's operating system.

For device owners iPhone You're even luckier. Starting with certain versions of iOS, the system allows you to view saved passwords directly in Settings. This requires biometric authentication (Face ID or Touch ID) or entering your screen unlock passcode. This ensures a high level of data security.

  • 📱 Android: Settings → Connections → Wi-Fi → Tap the gear next to the network → QR code or the Share button.
  • 🍏 iOS: Settings → Wi-Fi → Tap the blue “i” icon next to the network → Tap the “Password” field (Face ID is required).
  • 🔑 Universal: Using password managers (Google Password Manager, iCloud Keychain) through a browser on any device.

It's important to note that to view the password on an iPhone, the device must already be connected to this network or have been connected previously. If the network was previously "forgotten" in the settings, you won't be able to recover the password through the phone menu, and you'll have to look for other methods. In this case, logging into the router's admin panel will be the only solution.

📊 Which device do you use most often to connect to Wi-Fi?
Android smartphone
iPhone
Windows laptop
Tablet
Other

Using the WPS button for quick connection

Technology Wi-Fi Protected Setup Wi-Fi Protected Setup (WPS) was designed specifically to simplify connecting devices without the need to enter long and complex passwords. If your router and the connecting device (such as a printer, TV, or older smartphone) support this feature, you can bypass the manual key entry step.

The physical implementation of WPS is most often represented by a button on the router's body. It can be separate or combined with the reset button, but is usually labeled accordingly. Pressing this button activates device discovery mode for a short time, usually about two minutes.

The connection process is as follows: you press the WPS button on the router, then select the WPS connection method from the Wi-Fi menu on the device you're connecting to. The devices find each other and exchange encryption keys automatically. The password isn't displayed, but network access is granted.

⚠️ Note: Using WPS is considered a less secure method due to vulnerabilities that allow hackers to brute-force the PIN code. If you use this method, it is recommended to disable WPS in your router settings after connecting.

It's worth noting that many modern equipment manufacturers are gradually phasing out WPS support for security reasons. If you don't see the corresponding button or option in the menu, it means your router doesn't support this technology or it's disabled by default.

Accessing router settings via the web interface

The most secure way to find out or change your password is to log into your router's administrative panel. To do this, connect your device to the router using any available method: a LAN cable or Wi-Fi (if the device already remembers the network). The login address is usually located on a sticker on the bottom of the device.

Standard login addresses most often look like this: 192.168.0.1 or 192.168.1.1. Domain names such as tplinkwifi.net or router.asus.comIn the window that opens, you will need to enter the administrator login and password. By default, this is often a pair admin/admin, but it could have been changed during the initial setup.

After successful authorization, you need to find the section responsible for your wireless network. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, you'll find a subsection called "Security," where the current encryption key is displayed in a text field.

Here you can also change the password to something easier to remember. Don't forget to click "Save" or "Apply" after changing the settings. All connected devices will then lose connection and will need to be reconnected using the new key.

☑️ Check before logging into the router

Completed: 0 / 4

Interfaces can vary significantly between manufacturers. Below is a table with typical Wi-Fi settings paths for popular brands:

Router brand Menu section Subsection Field name
TP-Link Wireless Wireless Security Wireless Password
ASUS Wireless network General Authentication Method / WPA Key
D-Link Wi-Fi Security settings PSK encryption key
Keenetic My Networks and Wi-Fi Home network Network password

Viewing a password using the command line and PowerShell

For users who prefer a text-based interface or don't have access to Windows' graphical settings, PowerShell is an excellent tool. This utility provides more powerful network configuration management tools than the standard command line.

Launch PowerShell as administrator. To do this, right-click the Start menu and select the appropriate option. The first step is to get a list of all saved Wi-Fi profiles on your computer. This will help you remember the exact network name if you have many.

netsh wlan show profiles

After displaying the list, use the command to display detailed information about a specific profile, including the key. Replace "Name_WiFi" with the name of your network. If the name contains spaces, be sure to enclose it in quotation marks.

netsh wlan show profile name="Name_WiFi" key=clear

In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext. This method works on all modern versions of Windows, starting with Windows 7, and doesn't require any additional software.

Resetting the router to factory settings

If none of the above methods help, or if you don't remember the password for your router's admin panel, the last resort is a hard reset. This will return the device to its out-of-the-box state, erasing all user settings, including the network name, Wi-Fi password, and administrator password.

To perform a reset, find the recessed button with the inscription on the router body. Reset or RestoreIt may be located on the back panel or the bottom of the device. To press it, you'll need a thin object, such as a straightened paperclip or toothpick.

With the router powered on, press and hold the reset button for 10-15 seconds. The front panel lights should blink or go out, indicating the reboot process has begun. After the router has fully booted, it will broadcast the network with the factory name (indicated on the sticker) and no password (or with the factory password, also indicated on the sticker).

⚠️ Note: After resetting, you will need to reconfigure your internet connection (PPPoE, L2TP, or Dynamic IP) if your ISP doesn't use automatic connection detection. Make sure you have your ISP contract or login information before resetting.
What happens if I interrupt the reset process?

If you turn off the router's power while the indicators are flashing after pressing Reset, the device may go into recovery mode or stop booting completely, requiring a cable reflash.

After a successful reset, connect to the open network of the router, go to the address from the instructions (usually 192.168.0.1) and go through the quick setup wizard. Now you can set a new, easy-to-remember password.

Frequently Asked Questions (FAQ)

Is it possible to find out my neighbor's Wi-Fi password?

No, there are no legal ways to find out someone else's network password without access to the router or connected devices. Hacking secure networks (WPA2/WPA3) requires specialized equipment and time, and is illegal. We only consider restoring access to your own networks.

Where can I find the WPS PIN if I need one?

The PIN is usually printed on the same sticker as the Wi-Fi password, on the bottom of the router. It may be labeled "PIN" or "WPS PIN." If it's not on the sticker, try finding it in the WPS settings section of the router's web interface if you have access to it via cable.

Why does my phone say "Authentication Error" when I enter my password?

This could mean the password is entered incorrectly (check your capitalization and keyboard layout), or your router has MAC address filtering enabled and your device isn't whitelisted. The issue could also be an incompatible encryption type (for example, your device only supports WPA, but the router is configured for WPA2/WPA3).

Will my Wi-Fi password change if I change my provider?

Not necessarily. If you change providers but keep your router, your Wi-Fi settings (name and password) will remain the same until you change them or reset them. If your provider provides its own router, the new device will have factory settings.

How to view saved passwords in the Chrome browser?

Open Chrome's settings and go to "Autofill" → "Password Manager." Enter your network name (SSID) in the search bar. If your password is saved in your Google account, you'll be able to see it after completing the system security check.