How to connect to Wi-Fi on a laptop if you forgot the password: all working methods

If your laptop won't connect to your home Wi-Fi network and the password field remains blank or displays an "Invalid Security Key" error, it means you I forgot my router passwordThis most often occurs after resetting the router, updating Windows, or after a long break from using the network, when the saved password suddenly disappears from the system. You try standard combinations like qwerty, password or the router installation date, but the connection indicator is still blinking red—internet access is blocked. How can I restore the connection without calling a technician?

Fortunately, connect to Wi-Fi without a password — the problem is solvable, and there are at least seven ways to do it. Some of them require access to a router or another device already connected to the network, while others work even without it. In this article, we'll look at all current methods For Windows 10/11, macOS And Linux, and we'll also tell you how to avoid similar situations in the future. Important: None of these methods are illegal if you're trying to connect to his own networks.

If you're in a hurry, use the fastest method: connection via QR code (Works on most modern routers). For those ready to delve deeper, below is a complete guide with step-by-step instructions, warnings, and helpful life hacks.

📊 What kind of laptop do you have?
Windows (10/11)
macOS (Apple)
Linux
I don't know/Other

1. Password on the router sticker: where to look and what to do if it's missing

The first thing to check is this standard password, which is indicated on the router body. Most manufacturers (TP-Link, ASUS, D-Link, Keenetic, Zyxel) place it on the bottom or back panel of the device next to the network name (SSID). It is usually designated as:

  • 🔑 Password, Key, Wi-Fi Key, PIN
  • 📋 Pre-Shared Key (at ASUS)
  • 🔒 Network Security Key (for some models Netgear)

If the sticker is worn off or missing (for example, on used routers), try the standard combinations for your model:

Manufacturer Standard SSID (network name) Standard password
TP-Link TP-LINK_XXXX The last 8 characters of the MAC address (on the sticker)
ASUS ASUS_XX Random combination on the sticker or admin
Keenetic Keenetic-XXXX Indicated on the sticker (usually 8-12 characters)
D-Link DIR-XXX or dlink-XXXX admin or empty (if not changed)

If the router was issued by a provider (Rostelecom, MTS, Beeline, Dom.ru), the default password may match the contract number or the last digits of the MAC address. Check the documents that came with the equipment.

⚠️ Note: If you see the password on the sticker but it doesn't work, it was most likely changed manually through the router's web interface. In this case, proceed to the next method.

2. How to find a saved Wi-Fi password on a laptop (Windows, macOS, Linux)

If your laptop already connected If you previously connected to this network, the password can be retrieved from the system settings. Let's look at how to do this on different operating systems.

🖥️ For Windows 10/11

Open Settings → Network and Internet → Wi-FiFind your network in the list, click on it and select Properties. In the section Security parameters there will be a line Network security key — check the box Show entered charactersto see the password.

If this method does not work (for example, due to security policy restrictions), use command line:

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

In the execution results, find the block Security parameters - there will be a line Key content with your password.

🍎 For macOS

Open the app Keychain Access (can be found via Spotlight upon request bunch of keys). In the search bar, enter the name of your Wi-Fi network, double-click on the entry found and check the box. Show passwordThe system will ask for your account password—enter it to view the network key.

🐧 For Linux (Ubuntu, Debian, Fedora)

Passwords for saved networks are stored in configuration files. NetworkManagerTo view them, run the following in the terminal:

sudo grep psk= /etc/NetworkManager/system-connections/*

Or for a specific network:

sudo cat /etc/NetworkManager/system-connections/NETWORKNAME.nmconnection | grep psk=
⚠️ Attention: On some corporate laptops (especially with Windows Pro/Enterprise) Access to saved passwords may be blocked by the administrator. In this case, try other methods.

The laptop has previously connected to this network|You have administrator rights (for Windows/Linux)|The network is not a corporate one (with certificates)|Do you remember the password for the account (for macOS)-->

3. Connecting to Wi-Fi via QR code: the fastest way

If you have smartphone (Android or iPhone) already connected to this Wi-Fi network, you can generate QR code For quick laptop connection. This works on all modern routers and doesn't require manual password entry.

Instructions for Android:

  1. Open Settings → Wi-Fi.
  2. Click on the name of your network.
  3. Click on the icon QR code (or ShareQR code).
  4. Scan the code with your laptop's camera (in Windows 11 this is done through Settings → Network → Wi-Fi → QR code).

Instructions for iPhone:

  1. Open Settings → Wi-Fi.
  2. Click on the icon next to the network name.
  3. Select Share password (If the laptop is nearby, iOS will automatically offer to generate a QR code).

If your laptop doesn't have a camera or QR scanner, you can:

  • 📱 Take a photo of the QR code on your smartphone and send the photo to your laptop.
  • 🖥️ Use online services to decode QR (for example, zxing.org).
  • 🔄 Generate a QR code via the router's web interface (section Wi-Fi → QR Code).

4. WPS connection: 2 clicks without a password

WPS (Wi-Fi Protected Setup) — is a technology that allows you to connect to a router without entering a password. It works on most modern devices, but disabled by default Due to security vulnerabilities, if WPS is enabled, you can connect like this:

Method 1: Using the button on the router

  1. Find the button with the inscription on the router body WPS or the 🔄 icon.
  2. Press and hold it for 2-3 seconds (on some models you need to press it once).
  3. On your laptop, select your network from the list and wait for it to connect (usually takes 1–2 minutes).

Method 2: Via PIN code (if there is no button)

  1. Go to the router's web interface (usually at 192.168.0.1 or 192.168.1.1).
  2. Go to the section WPS or Fast connection.
  3. Generate a PIN code and enter it on your laptop when connecting.

If WPS doesn't work:

  • 🔌 Make sure the feature is enabled in your router settings (Settings → Wireless → WPS).
  • ⚡ Reboot your router (sometimes WPS freezes).
  • 🛡️ Check if your laptop supports WPS (in Windows This can be seen in the properties of the Wi-Fi adapter).
⚠️ Warning: WPS is vulnerable to brute-force attacks, so we recommend disabling this feature in your router settings after connecting.

5. Resetting the password via the router's web interface

If you have physical access to the router, you can go to its settings and view (or change) the Wi-Fi password. To do this:

Step 1: Connect to the router via cable (or via Wi-Fi if the laptop remembers the old password).

Step 2: Open your browser and enter the following in the address bar:

  • 192.168.0.1 (the most common option)
  • 192.168.1.1 (For TP-Link, D-Link)
  • 192.168.8.1 (For Keenetic)
  • 10.0.0.1 (for some provider routers)

Step 3: Enter your username and password to log in. This is usually:

  • 👤 Login: admin
  • 🔑 Password: admin or empty (if not changed)

If the standard data is not suitable, look at the router sticker (line Username/Password).

Step 4: Find the Wi-Fi settings section. Depending on your router model, it may be called:

  • WirelessWireless Security (TP-Link)
  • Wi-FiSecurity (Keenetic)
  • SetupWireless Settings (D-Link)

There you will see a field Password, Key or Pre-Shared Key — this is your Wi-Fi password. You can change it if you want (don't forget to save your settings!).

⚠️ Attention: If you can’t access your router because you forgot your administrator password, you will have to do factory reset (button Reset (on the back panel). After this, all settings, including the Wi-Fi password, will be reset to default.
What should I do if I can't access my router?

If standard admin/admin If they don't fit and you can't reset the settings (for example, if the router was provided by your provider), try:

1. Call your provider's support team - they can tell you your login/password.

2. Use utilities like RouterPassView (only for your routers!).

3. Connect to the router via Telnet (if the function is enabled).

6. Use another device to get the password

If other devices (smartphone, tablet, Smart TV, printer) are already connected to your Wi-Fi network, you can extract the password from them. Let's look at the most common cases.

📱 Android smartphone (without root)

On most devices running Android 10+ The password can be viewed like this:

  1. Open Settings → Wi-Fi.
  2. Click on the name of your network.
  3. Click Share (or Share).
  4. Confirm the action with your fingerprint/password – a QR code and text password will appear.

🍎 iPhone or iPad

On iOS There is no built-in way to view the password, but you can bypass this limitation:

  1. Install the application Shortcuts (if it is not there).
  2. Download the ready-made shortcut Get Wi-Fi Password (available in RoutineHub).
  3. Run the shortcut - it will show the password for the current network.

🖨️ Printer, Smart TV, or other devices

Some devices (such as printers) HP or televisions Samsung) save Wi-Fi passwords in their settings. To retrieve them:

  • 📺 On Samsung TV: Settings → General → Network → Network Status → View Password.
  • 🖨️ On printers HP: Print a network report (Settings → Wireless → Configuration Report).

If none of the methods worked, there is one last option - reset the password via the router (see previous section).

7. How to remember your Wi-Fi password in the future: 5 working methods

To avoid the problem of forgotten passwords, use these tips:

  • 📝 Save your password in a password manager (1Password, KeePass, Bitwarden). Most of them can store data about Wi-Fi networks.
  • 📱 Take a photo of the router sticker and save the photo to the cloud (Google Photos, iCloud).
  • 🖥️ Export Wi-Fi settings V Windows:
    netsh wlan export profile key=clear folder="C:\WiFi_backup"

    Files with extension .xml will contain passwords in clear text.

  • 🔄 Use a simple but strong password. For example, Moscow2026!WiFi easier to remember than 7x!K9pL#, but it is still protected from brute force.
  • 📋 Keep a password journal at home (in paper form or in an encrypted file).

If you often have guests on your network, set up guest Wi-Fi On the router. This is a separate network with its own password, which you can safely share with friends without compromising your primary security.

Frequently asked questions about connecting to Wi-Fi without a password

❓ Is it possible to connect to someone else's Wi-Fi without a password?

Technically yes, but that's illegally (Article 272 of the Criminal Code of the Russian Federation - unauthorized access to computer information). If we are talking about his own network, but you forgot the password—all the methods in this article are legal. For other people's networks, the owner's permission is required.

❓ Why won't my laptop connect to Wi-Fi even with the correct password?

The reasons may be different:

  • 🔄 Outdated router firmware (update it via the web interface).
  • 📶 Problems with the Wi-Fi channel (try changing the channel in the router settings to 6 or 11).
  • 🛡️ MAC address blocking (check the router settings section MAC filter).
  • 🖥️ Faulty Wi-Fi adapter on your laptop (check in Device Manager).
How do I reset my router password from my internet service provider (Rostelecom, MTS, Beeline)?

If your router was provided by your ISP, a factory reset may not help—some models are tied to your ISP account. In this case:

  1. Call your provider's support team and ask them to reset your Wi-Fi password.
  2. Use your personal account on the provider’s website (section Router management).
  3. If nothing helps, ask your provider to send a technician to reconfigure it.
❓ Does WPS connection work on all routers?

No, WPS may be disabled by default or not supported at all. Here's a list of manufacturers and their stance on WPS:

Manufacturer WPS support Notes
TP-Link Yes Included in Settings → WPS
ASUS Yes It can be called QSS or Ez Setup
Keenetic No WPS is disabled by default due to vulnerabilities.
Zyxel Yes Works only with PIN code
❓ Is it possible to recover a Wi-Fi password if the router is broken?

If the router does not turn on or it is impossible to reset it, the only way is contact your provider for a replacement. Passwords are not stored in the cloud, so they cannot be restored without a working router. The exception is if you previously exported the settings (see the section on backups).