How to connect to Wi-Fi if you don't know the password: all possible methods

Can't connect to Wi-Fi because you don't know the password? There are various reasons: resetting your router after a firmware update, losing data after reinstalling Windows on your laptop, or not being able to access the network when visiting someone. In some cases, it's enough to restore the saved password through the device settings; in others, you'll need to reset the router to factory settings or use alternative connection methods, such as WPS or temporary access from your ISP.

It is important to understand: Unauthorized connection to other people's networks is prohibited by law (in Russia - Article 272 of the Criminal Code of the Russian Federation). However, there are legal methods Access Wi-Fi without entering a password—for example, if the network is yours but the data has been lost, or if the network owner has consented to the connection. In this article, we'll cover all possible options, from simple to advanced, taking into account different devices and operating systems.

If you're looking for a way to bypass someone else's network security, this article isn't for you. It's only technical solutions within the framework of the law, which will help you restore access to your network or connect with the owner's permission.

1. Check the password on connected devices

The fastest way is to find the saved password on a device already connected to the network. This works if you have access to at least one device (smartphone, laptop, tablet) that was previously connected to the Wi-Fi network.

On Windows The password can be viewed through Control Panel:

  1. Open Control Panel → Network and Internet → Network and Sharing Center.
  2. Click on the name of your network (the link next to Connections).
  3. In the status window, select Wireless Network Properties → Security tab.
  4. Check the box "Show entered characters" - the password will become visible.

On MacOS the path is this:

  • 🔍 Open Programs → Utilities → Keychain.
  • 🔑 Enter the network name in the search, find the entry and double-click on it.
  • 🔓 Check the "Show password" box (you will be asked to enter your Mac account password).

On Android (without root rights) the password is not shown by standard means, but if the device rooted, you can use applications like WiFi Password ViewerOn . iPhone/iPad Viewing saved passwords is only possible if the device is jailbroken (which voids the warranty).

📊 Which device do you most often connect to Wi-Fi?
Laptop/PC
Android smartphone
iPhone/iPad
Tablet
Smart devices (TV, speakers, etc.)

2. Use WPS to connect without a password

WPS (Wi-Fi Protected Setup) — a technology that allows you to connect to a router without entering a password. It works on most modern routers, but is often disabled by default due to security vulnerabilities.

How to connect via WPS:

  • 📱 On your smartphone: Go to Wi-Fi settings, select the network, then tap “Connect via WPS” (on Android This option may be located in the additional network menu).
  • 🖥️ On Windows: in the list of networks, a "Connect via WPS" button will appear next to the desired one (if your router supports this function).
  • 🔄 On the router: Press the physical WPS button (usually marked with a 🔄 icon or the inscription WPS) within 2 minutes after the connection is started on the device.

⚠️ Attention: WPS is vulnerable to brute-force attacks. If your router supports WPS but you don't use it, it's best to disable this feature in the settings (192.168.1.1 or 192.168.0.1, chapter Wi-Fi → WPS).

3. Recover your password through your router settings

If you have physical access to your router (for example, your home network), you can access its web interface and view or change the password. To do this:

  1. Connect to the router via cable (via port LAN) or via Wi-Fi if the network is open (without a password).
  2. Enter your router's IP address into your browser. This is usually:
    • 192.168.1.1 (at TP-Link, D-Link)
    • 192.168.0.1 (at ASUS, Zyxel)
    • 192.168.8.1 (for some models Huawei)
  • Enter your username and password to log in. By default, this is often admin/admin or admin/[empty]For exact information, please refer to the router's sticker.
  • Go to the section Wi-Fi → Security Settings (or Wireless → Security). There will be a field here. PSK password or Key.
  • If you can't log in because your administrator password has changed, the only thing left to do is reset the router to factory settingsTo do this:

    • 🔧 Find the button on the back of the router Reset (usually recessed into the body).
    • 🕒 Hold it for 10-15 seconds (until the indicators flash or the router reboots).
    • ⚠️ After the reset, all settings (including the Wi-Fi password) will be restored to factory defaults. The login information will be on the device's sticker.
    What should I do if my router doesn't provide internet after a reset?

    If the router doesn't distribute the Internet after a reset, check:

    1. Is the provider's cable connected to the port? WAN (usually highlighted in blue).

    2. Is the connection type (PPPoE, Dynamic IP, etc.) configured in the section? Internet or WANThis information should be provided by your internet provider (MTS, Rostelecom, Beeline, etc.).

    3. Is the router firmware updated (in the section System → Software Update).

    4. Connection via QR code (for modern routers)

    Many new routers (Keenetic, ASUS ZenWiFi, Huawei WS7200) support QR code connection. This is convenient if you don't want to enter a long password manually or share it with guests.

    How does this work:

    1. Log into your router's web interface (as described in the previous section).
    2. Find the section Wi-Fi → Guest Network or QR code for connection.
    3. Generate a QR code (if it does not exist by default).
    4. Scan it with your smartphone camera and the device will automatically connect to the network.

    Some routers (eg. Xiaomi Mi Router) allow you to create a temporary QR code for a guest network with limited access (without the ability to access the local network or change router settings).

    Router model QR code support Where is the option located?
    Keenetic (any model) Yes Wi-Fi → Main Network → QR Code
    ASUS RT-AX88U Yes Guest Network → Connection Method
    TP-Link Archer C6 No
    Huawei WS7200 Yes (via app) Huawei AI Life) Network Management → Share Wi-Fi
    Zyxel Keenetic Yes Wi-Fi → Main Network → QR Button

    5. Methods for advanced users (without hacking)

    If standard methods fail and the network is yours, you can use technical methods. These are legal, but require some knowledge.

    Method 1: Export Wi-Fi settings from another device

    On Windows You can export a Wi-Fi profile to a file and import it to another device:

    netsh wlan export profile name="NETWORK_NAME" folder="C:\WiFi_backup" key=clear

    File with extension .xml will contain the password in clear text. It can be transferred to another PC and imported:

    netsh wlan add profile filename="C:\WiFi_backup\NETWORK_NAME.xml"

    Method 2: Using Wi-Fi Direct or Miracast

    Some devices (eg Samsung Smart TV or Xiaomi Mi Box) support Wi-Fi Direct — a technology that allows you to connect directly without a router. If your TV or media player is connected to Wi-Fi, you can share its internet connection with other devices via:

    • 📺 On Samsung TV: Settings → General → Network → Wi-Fi Direct.
    • 🎮 On Xiaomi Mi Box: Settings → Network → Wi-Fi Direct.

    ⚠️ Attention: This method creates a separate network rather than connecting the device to the main Wi-Fi network. Connection speed and stability may be reduced.

    Check the sticker on your router (it may contain the factory password)

    Make sure you have access to at least one connected device.

    Write down the router's IP address (usually on a sticker)

    Prepare an Ethernet cable (in case Wi-Fi doesn't work)

    Check if WPS is enabled (if you plan to use this method)

    -->

    6. Legal alternatives: how to connect without a password with the owner's permission

    If the network is not yours, but the owner is willing to provide access, there are several secure options:

    • 📱 Guest network: Ask the owner to create a guest network with a separate password (configured in the router's web interface). This will isolate your device from the owner's local network.
    • 🔗 USB modem or access point: The owner can temporarily share the Internet from his smartphone (via Settings → Access Point on Android/iOS).
    • 📡 Signal repeater: If the owner has a repeater (TP-Link RE605X, Xiaomi Wi-Fi Repeater), he can set up a separate network on it with a different password.

    Guest network advantage: You won't see other devices on the local network (printers, NAS, IP cameras), and the network owner will be confident that their data is safe.

    🔄 If you are often in one place (for example, in the office or at relatives), ask the owner to generate a QR code for connection (as described in Section 4). This will eliminate the need to remember the password.

    7. What to do if nothing helps?

    If you've exhausted all options and still can't connect, check the following:

    • 🔌 The router is turned on and working: The indicators on the front panel should be lit (especially Wi-Fi And Internet). If only blinks Power, the device may be frozen - try removing the power supply for 30 seconds.
    • 📶 The network is not hidden: The "Hide SSID" mode may be enabled in your router settings. In this case, the network won't appear in the list, and you can only connect to it manually (by entering the network name and password).
    • 🔄 No MAC address restrictions: Some routers are configured so that only devices with authorized MAC addresses can connect. Check this section. Wi-Fi → MAC Filter.

    If the problem is with your router and you can't access its settings, contact your ISP. For example, Rostelecom, MTS or Beeline There is a support service that can remotely check the status of the equipment.

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

    Is it possible to connect to Wi-Fi without a password if the network is secured with WPA3?

    Technically, no, unless you know the password. WPA3 — the most secure protocol today (2026), and it's impossible to bypass it without physical access to the router or connected device. The only legal methods are:

    • Ask the network owner to generate a QR code to connect.
    • Use WPS (if it is enabled on the router).
    • Connect via cable and view the password in the router settings (if you have access).

    Any other methods (such as handshake interception) require in-depth knowledge of cybersecurity and are breaking the law.

    How to connect a smart device (such as a camera or light bulb) to Wi-Fi without a password?

    Many smart devices (Xiaomi Mi Home, TP-Link Tapo, Yeelight) support connection via:

    • Bluetooth: First, the device connects to the smartphone via Bluetooth, and then automatically receives Wi-Fi data from the application.
    • Sound transmission: Some cameras (Ezviz) transmit Wi-Fi settings via sound waves (you need to bring your smartphone close to the device).
    • WPS: If your router supports WPS, many smart devices can be connected by pressing a button on the router.

    For detailed instructions, please refer to the manual for your specific gadget.

    Why doesn't the internet work after resetting the router?

    After a factory reset, the router loses connection data to the ISP. To restore internet access:

    1. Go to the router's web interface (192.168.1.1 or similar IP).
    2. Go to the section Internet or WAN.
    3. Select the connection type (usually PPPoE, Dynamic IP or Static IP) and enter the data from the provider (login/password, if necessary).
    4. Save the settings and reboot the router.

    📌 Connection details can be found in your contract with your provider or by contacting customer support.

    Is it possible to find out a Wi-Fi password using the command line on Windows?

    Yes, if your computer has previously connected to this network. Open command line as administrator and run:

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

    Find the line in the output Key content — this is the password. If the network isn't listed, connect to it at least once first.

    How to protect your network from unauthorized connections?

    To prevent strangers from accessing your Wi-Fi:

    • Use WPA3 (or at least WPA2-AES) instead of the outdated WEP.
    • Turn it off WPS in the router settings.
    • Change the default router administrator password (admin/admin) to complex.
    • Turn on MAC address filtering (allow connection only to your devices).
    • Turn it off remote control router via the Internet.
    • Update your router firmware regularly.

    🔍 Check connected devices in the section DHCP → Client List or through apps like Fing (For Android/iOS).