How to Connect to Wi-Fi If You Forgot Your Password: A Complete Guide

Needing to urgently access the internet but forgetting your wireless network password is a common occurrence. This can happen after purchasing a new gadget, when guests arrive, or after a scheduled reset of your smartphone. While it might seem like you've lost access to the global network, modern operating systems and network equipment offer several solutions.

Restoring access depends on whether you already have a connected device or are starting from scratch. In the former case, the task is significantly simplified, as saved encryption keys can be retrieved from the system. In the latter case, physical access to the router will be required. The key point here is the presence of at least one authorized device or the ability to directly contact the router.

Let's look at the action algorithms for various platforms and hardware. It's important to understand that network security is built on encryption protocols, and it's impossible to simply brute-force a password without access to the admin panel or stored data. However, legal methods for restoring network owner rights allow you to quickly regain access.

Finding a saved password on a Windows computer

If you've previously connected a laptop or desktop PC running Windows to your wireless network, the password is likely stored in the network profile. The operating system stores this data in encrypted form, but it's accessible to the authorized user (the PC owner). This is the easiest and fastest way. reanimate access without rebooting the equipment.

First, you need to open the Network and Sharing Center. Right-click the connection icon in the system tray and select the appropriate menu item, or go to the Control Panel by following this path: Control Panel → Network and Internet → Network and Sharing CenterIn the window that opens, find the active wireless connection and click on its name.

In the network status dialog box that appears, you are interested in the button Wireless network propertiesOnce you've navigated to the security section, you'll see the "Network Security Key" field, where the symbols are hidden by asterisks. Simply check the box next to it. Show entered charactersso that the system displays the required code in text form.

An alternative method for advanced users is to use the command line. This method is convenient if the graphical interface isn't working correctly. Open the command line as administrator and enter the following command to display all saved profiles:

netsh wlan show profiles

Once the list of networks is displayed, find the name you need and use the following construction, substituting the name of your profile:

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

In the security information block in the line Key Content The password you're looking for will be displayed. This method works on all modern versions of Windows, starting with Windows 7.

What should I do if the network is marked as "Public"?

In some cases, Windows may restrict viewing network properties if the profile is marked as public. Try changing the network type to "Private" in Wi-Fi settings to gain full access to profile management.

Restoring access via Android and iOS devices

Mobile devices are today the primary means of accessing the internet, and they are often where access keys are stored. Smartphone owners can use the built-in features of their operating systems to view stored data, but approaches in Android And iOS differ significantly.

On smartphones running Android 10 and newer, the process is extremely simple. Go to Wi-Fi settings, select the network you're connected to (or one saved), and tap the "Share" button or the QR code icon. The system will require biometric authentication or a screen unlock PIN. A QR code will then appear on the screen, often with a text password underneath. If there's no text, any third-party QR code scanner (or another phone's camera) can read it and display it as text.

The situation is different in the Apple ecosystem due to its strict security policies. Devices running iOS 16 and later now have the long-awaited password viewer feature. Go to Settings → Wi-Fi, find the desired network and click on the icon (i) on the right side of the line. Tap the hidden "Password" field, and Face ID or Touch ID will unlock the field, allowing you to copy the code.

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

For older versions of iOS (below 16) and Android (below 10), the built-in tools cannot be used to view the password without root access (root access for Android). In such cases, the only solution is to access the router settings or use another, already authorized device.

⚠️ Attention: On unrooted Android devices, viewing passwords using third-party "hacking" apps from Google Play is often a scam or a way to harvest personal data. Use only the system's built-in features.

Login to the router control panel

If you don't have any connected devices handy but can connect to the router via cable (or if you're already connected via Wi-Fi but don't know the password for other devices), you can use the router's web interface. To do this, you'll need the gateway IP address and the login credentials for the admin panel.

The standard login addresses are most often 192.168.0.1 or 192.168.1.1Enter this address in your browser's address bar. The system will ask for your username and password. If you've never changed them, they'll be found on a sticker on the bottom of the router (usually admin/admin). If you've changed them and forgotten them, you'll need to perform a factory reset, which is discussed below.

Once inside the interface, look for the section related to wireless networking. The names may vary depending on the model and firmware:

  • 📡 Wireless Settings
  • 🔐 Wi-Fi Security
  • 🏠 Home Network
  • ⚙️ WLAN Basic Settings

Inside this section in the field Wireless Password, Pre-Shared Key or WPA/WPA2-PSK Key Your current password will be displayed. Here you can change it to something more complex or memorable.

Router brand Standard IP Wi-Fi password path
TP-Link 192.168.0.1 Wireless → Wireless Security
ASUS 192.168.1.1 Wireless Network → General
D-Link 192.168.0.1 Wi-Fi → Security Settings
Keenetic 192.168.1.1 My Networks and Wi-Fi → Home Network

☑️ Check before logging into the router

Completed: 0 / 4

Using the WPS function for quick connection

Technology Wi-Fi Protected Setup (WPS) Allows you to connect devices to the network without entering a password, at the touch of a button. This method is ideal when you need to quickly connect a guest or a new device, but don't have the time or opportunity to remember a complex encryption key.

On the body of most routers there is a physical button labeled as WPS or the one with two arrows in a circle. To connect, press this button (sometimes you need to hold it for 2-3 seconds). The WPS indicator on the router will start flashing, indicating that it's searching.

Within the next 2 minutes, you must activate WPS network search on the connecting device. On Android, this is done through Wi-Fi settings → menu (three dots) → Additionally → Connect via WPS (push-button). On Windows, you can simply click the network name in the list of available networks, and if the router is in standby mode, the connection will occur automatically.

⚠️ Attention: WPS technology is considered vulnerable from an information security perspective. Hackers can exploit protocol vulnerabilities to brute-force the PIN code. If the security of your network is critical, it is recommended to disable WPS in your router settings after use.

It's worth noting that some modern routers, especially those from ISPs, may have the WPS function disabled by default or lack a physical button. In this case, this method won't work, and you'll have to use other authentication methods.

Resetting the router to factory settings

If none of these methods work, the admin panel password is lost, and WPS isn't working, there's a radical but effective solution: a hard reset. This will return the router to its original state, with the default passwords listed on the sticker.

To perform the procedure, find a hole on the body Reset or RestoreIt's usually recessed into the housing to prevent accidental pressing. You'll need a thin object, such as a paperclip or toothpick. With the router powered on, press and hold the button inside the hole for about 10-15 seconds.

The LEDs on the front panel should blink or go out, indicating the reboot process has begun. Once the router has fully booted up (this will take 1-2 minutes), it will broadcast the network with the factory name (SSID) and password (or no password) listed on the label.

After the reset, you'll need to reconfigure your internet connection. If your provider uses PPPoE or requires MAC address binding, you'll need the contract details. Without them, your internet won't work, even if Wi-Fi is available.

What will happen to IPTV and set-top box settings?

Resetting your router will erase all port and VLAN settings for IPTV. You'll need to reconfigure IGMP Proxy or allocate ports for the set-top box if your provider doesn't use automatic configuration.

Prevention: How to save your password and avoid problems

To prevent a forgotten password from happening again, it's worth implementing simple digital hygiene rules. Modern people memorize dozens of codes, and relying on memory isn't a good idea. Saving a backup copy of your access keys takes just a few minutes and will save you hours of frustration in the future.

One of the best ways is to use password managers or cloud storage services. For example, in Chrome or Yandex browsers, you can enable password syncing with your Google or Yandex account. Then, when you log in to your account on any device, you can find your saved Wi-Fi password in the security settings.

You can also create a text file or note on your phone titled "Important Codes" and save the router data there, placing it in a secure folder or archive with a password. A physical copy written on a piece of paper and taped to the bottom of the router (on the inside) is also a secure option.

  • 📝 Write down the password in a safe place immediately after installing the router.
  • ☁️ Enable password syncing in your browser or cloud.
  • 📸 Take a photo of the router data sticker and save it to your cloud album.
  • 🔄 Change passwords regularly, but record the new values.
Is it possible to connect to a neighbor's Wi-Fi if you only know the network name?

Without knowing the password or access to WPS, it's impossible to connect to a secure network (WPA2/WPA3). Existing hacking programs either rely on brute-force attacks (which take years) or exploit vulnerabilities that have long been patched in modern hardware. The only legal way is to obtain the password from the owner.

What to do if there is no WPS button on the router?

The lack of a WPS button isn't a problem. You can connect by manually entering the password through any already authorized device (using the QR code method on Android) or by accessing the router settings through a browser, as described in the section above.

Will a factory reset reset my router to my ISP settings?

Yes, a full reset deletes all user settings, including connection type (PPPoE, L2TP, PPTP), ISP login and password, and IPTV settings. You will need a contract with your ISP to reconfigure your internet access.

Where can I find the password if my router is distributing Wi-Fi, but the password isn't written down anywhere?

If there is at least one connected computer (Windows), use the command netsh wlan show profile name="Name" key=clearIf you have Android 10+, use the QR code. If nothing works, just reset the router using the Reset button.

Why does my phone say "Failed to connect" even though the password is correct?

This could be caused by several reasons: channel congestion (too many devices), incompatible encryption standards (for example, the device only supports WPA, but the router is configured for WPA2/WPA3), or a temporary driver failure. Try "Forget the network" on your phone and reconnect.