How to connect to Wi-Fi on a laptop without a password: all legal methods

Have you found yourself in a situation where you urgently need to connect your laptop to Wi-Fi but don't have the network password? Perhaps you're a guest in someone else's home, forgot the saved key, or reset the router to factory settings. Luckily, there are legal ways to connect to a wireless network. without entering a password — and most of them don't require hacking skills or breaking laws.

In this article we will look at 5 proven methods, which work on laptops with Windows 10/11, macOS And LinuxImportant: All methods described rely on standard router and operating system functions. We do not cover hacking other people's networks—this is illegal and punishable by law. Article 272 of the Criminal Code of the Russian Federation ("Unauthorized access to computer information").

Before you begin, make sure that:

  • 🔄 The router is turned on and distributing the network (indicator Wi-Fi or WLAN lights up green/blue).
  • 💻 The Wi-Fi adapter is turned on on the laptop (check in Device Manager or via the network icon in the tray).
  • 📱 You have access to another device (smartphone, tablet) already connected to this network.
📊 What kind of laptop do you have?
Windows
macOS
Linux
Don't know

1. Connect via WPS (the fastest way)

WPS (Wi-Fi Protected Setup) - is a technology that allows you to connect to a router without a password using PIN code or buttons on the body. Most modern routers (for example, TP-Link, ASUS, Keenetic) support WPS, but the function may be disabled by default.

How does this work:

  1. Find the button with the inscription on the router body WPS (sometimes it is combined with Wi-Fi and is marked with the 🔄 icon).
  2. Press and hold it for 3-5 seconds until the indicator starts flashing.
  3. On your laptop, select the desired network from the list of available networks and press Connect via WPS (V Windows 10/11 This option appears after pressing the router button).

If the buttons WPS no or it doesn't work:

  • 🔧 Check if the function is enabled in your router settings (192.168.1.1 → section WPS or Wireless network).
  • 🔢 Some routers require you to enter PIN code (usually indicated on the sticker below or in the instructions).
⚠️ Warning: WPS is vulnerable to brute-force attacks. If network security is critical, disable WPS in your router settings after connecting.

☑️ Check WPS support

Completed: 0 / 4

2. Using a QR code (for routers with support)

Many modern routers (for example, Xiaomi Mi Router, Huawei, Tenda) generate QR code for connectionThis is convenient if you have a smartphone already connected to the network. The QR code contains encrypted network data, including the password, and allows you to connect without manually entering it.

Instructions:

  1. Open the router app on your smartphone (for example, Mi Wi-Fi, Tenda Wi-Fi) or go to the web interface (192.168.0.1 or 192.168.1.1).
  2. Find the section QR code for connection (usually on the menu Wi-Fi or Guest network).
  3. Scan the QR code with your laptop's camera (in Windows 11 this is done through Settings → Network → Wi-Fi → Connect using QR code).

If your laptop does not have a camera or the scanning function is unavailable:

  • 📱 Take a photo of the QR code with your smartphone and transfer the file to your laptop.
  • 🖥️ Use online services to decode QR codes (for example, zxing.org) to extract the password.
Router brand QR code support Where to find QR codes
Xiaomi ✅ Yes Application Mi Wi-Fi → "My Network" section
TP-Link (models with Tether) ✅ Yes Application Tether → "Guest Network QR Code"
ASUS ⚠️ Partially Web interface → Guest network (for guest Wi-Fi only)
Keenetic ❌ No
⚠️ Please note: The QR code may contain information about a guest network with limited access. Check with the router owner to determine what resources will be available after connecting.

3. Connect via saved networks on another device

If you have smartphone, tablet or other laptopIf you're already connected to the desired network, you can extract the password and use it on a new device. This method is legal if you have permission to use the network (for example, your home Wi-Fi).

Ways to extract password:

  • 📱 Android (rooted): Use apps like WiFi Password Viewer (requires root). Without root, the password can only be seen on some firmware versions (for example, MIUI in the section Settings → Wi-Fi → Saved Networks).
  • 🍎 iPhone/iPad: Passwords for saved networks are not shown in iOS. But if you have MacBook, connected to this network, the password can be found in Keychain (Programs → Utilities → Keychain).
  • 💻 Windows: Open Command line as administrator and enter:
    netsh wlan show profiles name="NETWORK_NAME" key=clear

    The password will be in the line Key content.

If you don't have administrator rights on your laptop:

  • 🔑 Ask the network owner to temporarily provide the password.
  • 📡 Use USB modem (share the Internet from your smartphone via USB cable or Bluetooth).
netsh wlan export profile name="NETWORK_NAME" folder="C:\WiFi\"

File with extension .xml will contain the password in clear text.-->

4. Connect to the guest network (if enabled)

Many routers support guest network — a separate Wi-Fi network with limited access (for example, without the ability to connect to local devices). Often a guest network does not require a password or has a simple key (for example, 12345678).

How to find a guest network:

  1. Check the list of available networks on your laptop - the guest network usually has a name like NETWORK_NAME_Guest or NETWORK_NAME-5G_Guest.
  2. If there is no network, ask the router owner to enable it through the web interface (192.168.1.1 → section Guest network).
  3. Connect to the guest network. It usually has a separate password (it may be listed on a sticker on the router).

Guest network limitations:

  • ⏳ There is often a time limit (e.g. 2-4 hours per session).
  • 🚫 No access to printers, network drives, or other local devices.
  • 📥 The speed may be limited (for example, to 10 Mbps).
⚠️ Note: Some routers (eg. Zyxel Keenetic) automatically disables the guest network after 24 hours. After that, you'll have to ask the owner to re-enable it.

5. Connect via Ethernet (if you have access to a router)

If you have physical access to the router but don't have the Wi-Fi password, you can connect to the network via Ethernet cable, and then retrieve the password or set a new one.

Step-by-step instructions:

  1. Connect your laptop to the router network cable (usually included in the kit).
  2. Open the router's web interface by entering into your browser 192.168.1.1 or 192.168.0.1 (the address is on the sticker).
  3. Log in (default logins/passwords: admin/admin, admin/1234 or see sticker).
  4. Go to the section Wi-Fi or Wireless network and view (or change) the password.

If you can't access settings:

  • 🔧 Reset your router to factory settings (button Reset for 10 seconds). Warning: This will disconnect all users from the network and reset all settings!
  • 📄 Use instructions for the router — sometimes the login/password are specified in the documentation.
What should I do if my router won't open the web interface?

Check that the cable is connected to the port. LAN (Not WAN). Disable the VPN or proxy in your browser. Try a different browser (for example, Firefox or EdgeIf your router displays an error, it may be blocked by your ISP—contact technical support.

6. Alternative methods (if nothing helps)

If none of the above methods work, consider these alternatives:

  • 📶 Sharing Internet from a smartphone: Turn it on on your phone Access point (V Android: Settings → Network & Internet → Access Point; V iOS: Settings → Tethering).
  • 🔌 USB modem: Connect your laptop to the Internet via 4G/5G modem (For example, Huawei E3372 or ZTE MF823).
  • 🏢 Public networks: Cafes, hotels or shopping centers often have free Wi-Fi (look for networks with names Free_WiFi, Public).
  • 📡 Network bridge: If you have a second laptop with network access, set it up bridge connections (V Windows: Control Panel → Network Connections → Bridge Settings).

If you frequently encounter the problem of missing a password, consider:

  • 🔐 Password manager (For example, KeePass or Bitwarden) to store keys to networks.
  • 📋 Stickers on the router — write the password by hand and stick it on the case (if this is a home network).
  • 🤝 Agreements with the network owner about providing access (for example, through WPS or guest Wi-Fi).

FAQ: Frequently Asked Questions

Is it possible to connect to Wi-Fi without a password if the router does not support WPS?

Yes, you can use it. QR code (if the router generates it), saved networks on other devices or guest networkYou can also connect via Ethernet and look at the password in the router settings.

Is it legal to use Wi-Fi hacking software?

No, it is illegallyIn Russia, unauthorized access to computer information is punishable under Article Article 272 of the Criminal Code of the Russian Federation (A fine of up to 500,000 rubles or imprisonment for up to four years.) Legal methods are only those approved by the network owner.

Why doesn't my laptop see the network after resetting the router?

After resetting, the router returns to factory settings, including network name (SSID) And password. They are usually indicated on a sticker under the router (for example, TP-Link_1234 with a password admin). If there is no sticker, try standard combinations:

  • admin / admin
  • 12345678 / 87654321
  • password / 1234567890

How to connect to Wi-Fi on a MacBook without a password?

On macOS you can use:

  1. WPS (if the router supports it).
  2. QR code (scan via camera in Wi-Fi settings).
  3. A bunch of keys: open Bunch of keys, find the network name and look at the password (you will need to enter the password for your Mac account).

What should I do if I forgot my Wi-Fi password?

If this is your router:

  1. Connect to it via Ethernet.
  2. Go to the web interface (192.168.1.1 or 192.168.0.1).
  3. Look at the password in the section Wi-Fi or Wireless network.

If you can't log in, reset the router using the button Reset (hold for 10 seconds) and set up the network again.