How to connect to Wi-Fi on a computer if you don't know the password: all the methods from simple to complex

Can't access Wi-Fi on your computer because you don't know the password? There could be several reasons: you forgot your security key after updating your router's firmware, the network owner doesn't want to share it, or the old data was lost after resetting the router (for example, on TP-Link, ASUS, or Keenetic models). Before attempting to bypass the protection, check your saved networks in Windows or macOS settings—the password might already be there. If not, we'll explain. How to connect to WiFi without entering a password — from simple legal methods (via WPS, guest access) to technical solutions for experienced users.

It is important to understand: Most methods only work if you have already connected to this network before or have physical access to the router.Hacking into other people's networks without the owner's permission is illegal (Article 272 of the Russian Criminal Code on unauthorized access to computer information) and can have serious consequences. We will focus on legal scenarios: restoring access to your network, connecting via alternative protocols, or obtaining a password legally.

The article is relevant for Windows 10/11, but some of the methods are also applicable to macOS or LinuxIf you are looking for a solution for your smartphone, go to the "Alternatives for Android/iOS"First, determine which category your situation falls into:

Preparation: What to check before attempting to connect

Before attempting complex manipulations, make sure the problem is truly a missing password. Users often waste time trying to "hack" a network, even though the solution is obvious:

  • 🔌 Check the physical connection: if the router supports WPS (button on the case), press it within 2 minutes of attempting to connect to your PC. This will bypass the password prompt.
  • 📡 Specify the network type: public hotspots (in cafes, airports) are often used port authorizations — connection is possible without a password, but you will need to enter your login/password in the browser.
  • 🔄 Reboot your equipment: Unplug the router for 30 seconds. This sometimes resets the time limit on connecting new devices.
  • 💻 Check saved networks: Your PC may have connected to this network before. Open Settings → Network & Internet → Wi-Fi → Manage known networks.

If none of these steps help, proceed to the next section. Please note: password recovery methods (for example, through the router settings) only work if you have access to its web interface. This requires a cable connection. Ethernet or factory login data (usually found on the device sticker).

📊 How often do you forget your Wi-Fi passwords?
Often, it is necessary to restore
Sometimes, but I remember
Never, I keep it in a safe place
I use password managers

Method 1: Extract passwords from saved Windows networks

If your computer has connected to the target network at least once, the password is stored in the system. It can be retrieved without additional software using command line or graphical interface. This method works on Windows 10/11 and does not require administrator rights to view (but will be required to change settings).

Instructions via command line:

  1. Open Command line as administrator (click Win + XTerminal (Administrator)).
  2. Enter the command to view all saved networks:
    netsh wlan show profiles

    Find the name of the required network (SSID) in the list.

  3. Extract the password with the command (replace NETWORK_NAME to the real name):
    netsh wlan show profile name="NETWORK_NAME" key=clear

    The password will be in the line Key content.

Instructions via graphical interface:

  1. Go to Control Panel → Network and Internet → Network and Sharing Center.
  2. Click on your network name (next to Connections) → Wireless network properties → tab Security.
  3. Tick ​​the box Show entered characters — the password will become visible.

Make sure you are logged in with an account that has connected to the network before|

Make sure the network is not a "guest" network (such passwords are not saved)|

Try running Command Prompt as Administrator|

Update your Wi-Fi adapter drivers via Device Manager-->

⚠️ Attention: If the network uses Enterprise authentication (For example, in offices with a domain), the password cannot be retrieved this way. You will need to contact the administrator.

Method 2: Obtaining a password via the router's web interface

If you have physical access to the router, the most secure way is to access its settings. You don't need to know the current Wi-Fi password to do this, but you will need:

  • 🔌 Connecting to a router via cable Ethernet (or via Wi-Fi if you are connected to another network of the same router).
  • 🖥️ Login details for the web interface (usually admin/admin or indicated on the device sticker).
  • 🌐 Router IP address (standard: 192.168.0.1, 192.168.1.1, 192.168.8.1).

Step-by-step instructions:

  1. Connect the router cable to your PC. Open your browser and enter the router's IP address in the address bar.
  2. Enter your login and password (if you haven’t changed them, look at the sticker on the device under the name Model or SSID).
  3. Go to the section Wireless (or Wi-Fi, Wireless network).
  4. Find the field Password, Key or PSK password — the current security key is displayed here.

On some models (eg, TP-Link Archer C6, ASUS RT-AX88U) The password may be hidden behind asterisks. To see it, click the eye icon or check the box. Show Password.

Router manufacturer Standard IP address Default login/password Wi-Fi password section
TP-Link 192.168.0.1 or 192.168.1.1 admin/admin Wireless → Wireless Security
ASUS 192.168.1.1 admin/admin Wireless Network → Authentication Settings
D-Link 192.168.0.1 admin/(empty) Wi-Fi → Security Settings
Keenetic 192.168.1.1 admin/1234 Home Network → Access Point
⚠️ Attention: If you reset the router to factory settings (using the button Reset), all personalized data—including the Wi-Fi password—will be lost. A new password will be located on the device sticker (field Wi-Fi Key or Password).

Method 3: Connecting via WPS (without entering a password)

WPS (Wi-Fi Protected Setup) WPS is a protocol that allows you to connect to a network without entering a password. It works on most modern routers and is supported by Windows. There are two options for using WPS:

  • 🔘 Button on the router: press the physical button WPS on the device body (usually marked with the 🔄 icon), then select the network on your PC within 2 minutes.
  • 🖥️ PIN code: Enter the 8-digit code found on the router sticker (field WPS PIN), in the connection window on the PC.

How to connect via WPS in Windows:

  1. Open Settings → Network and Internet → Wi-Fi.
  2. Click Managing known networksAdd a new network.
  3. Select Connect using the WPS button and follow the instructions on the screen.

If the WPS button does not work:

  • Make sure the feature is enabled in your router settings (Advanced → WPS).
  • Check if WPS is disabled after unsuccessful attempts (some routers block the function for 5 minutes).
  • Update your router firmware—WPS may not work reliably in older versions.

Method 4: Connecting via QR code (for modern routers)

Many new routers (Xiaomi Mi Router 4A, Huawei WS5200, TP-Link Deco) support connection via QR code. This is convenient if you have access to the router's web interface or the manufacturer's mobile app. This method works even if you don't know the password.

Instructions:

  1. Access your router settings via your browser (see Method 2).
  2. Find the section Wi-Fi → QR Code (or Wireless Network → Connect via QR Code).
  3. Generate a QR code and scan it with your phone's camera (if you need to connect your phone) or with special software on your PC (for example, QR Code Scanner for Windows).
  4. On PC: Use the app WiFi QR Connect (free in the Microsoft Store) to scan the code from your phone's screen.

Advantages of the method:

  • ✅ Does not require manual password entry.
  • ✅ Works on devices without a keyboard (eg. Smart TV).
  • ✅ The QR code can be printed and placed for guests (for example, in the office).
⚠️ Attention: Some routers (Zyxel Keenetic, MikroTik) generate QR codes with a limited validity period (usually 5-10 minutes). If the code doesn't scan the first time, refresh it.

Method 5: Alternatives for Android/iOS (if PC won't connect)

If you have a smartphone already connected to the target network, you can retrieve the password or share the internet connection on your PC. Here are the available options:

  • 📱 Android (no root required):
    1. Open Settings → Wi-Fi.
    2. Click on the network name → Share (PIN or fingerprint required).
    3. The password will be displayed under the QR code.
  • 🍎 iPhone (no jailbreak):
    1. Install the application WiFi Passwords (Face ID/Touch ID required).
    2. Passwords of saved networks will be available in the list.
  • 🔄 Sharing Internet from a phone:
    1. Activate Modem mode in the smartphone settings.
    2. Connect your PC to the created access point (the password will be generated automatically).
    3. For Windows Phone or older versions of Android (below 10) will require additional applications, such as WiFi Key Recovery (root required).

      How to share Wi-Fi from Android without a password

      On some firmware (for example, MIUI on Xiaomi) you can create an access point without a password:

      1. Go to Settings → Hotspot & Tethering → Set up hotspot.

      2. Select Without protection in the section Security.

      3. Save the settings and activate the access point.

      ⚠️ This mode is dangerous—outsiders can connect to your network!

      Method 6: Advanced Methods (for experienced users)

      If standard methods don't work, you can try technical solutions. These require networking knowledge and can disrupt equipment operation if used incorrectly. Use them. only to restore access to your network.

      1. Reset the router to factory settings

      Press and hold the button Reset On the router, wait 10–15 seconds (until the indicators start blinking). After rebooting:

      • The network name and password will be reset to factory settings (indicated on the sticker).
      • All personal settings (including PORT Forwarding, DMZ) will be lost.

    2. Use Kali Linux for network audit

    Distribution Kali Linux contains tools for testing network security, such as aircrack-ng or WifiteTheir legal use is limited by verification own networks with the owner's permission. To work, you will need:

    • USB Wi-Fi adapter with support monitor mode (For example, Alfa AWUS036NHA).
    • Knowledge of the Linux command line.
    • Understanding the consequences: Incorrect use may result in your device's MAC address being blocked.
    • 3. MAC address spoofing

      Some routers use filtering by MAC addressesIf you know the authorized MAC address (for example, from another device on the network), you can temporarily change it on your PC:

      1. Open device ManagerNetwork adapters.
      2. Select your Wi-Fi adapter → PropertiesAdditionally.
      3. Find the property Network Address or Network address and enter the new MAC (without dashes, for example, 001A2B3C4D5E).
    ⚠️ Attention: Changing the MAC address may disrupt the operation of corporate networks with device-based affinity. After changing the MAC address, reboot the PC and adapter.

    Risks and legal consequences of illegal connection

    Before trying the methods in this article, it's important to understand the legal and technical risks:

    • 🚨 Criminal liabilityArticle 272 of the Criminal Code of the Russian Federation provides for a fine of up to 200,000 rubles or imprisonment for up to 2 years for unauthorized access to computer information (including Wi-Fi networks).
    • 🛡️ Technical limitations:
      • Modern routers use WPA3, which is resistant to most attacks.
      • Many providers block devices after several unsuccessful connection attempts.
    • 🔍 Traceability: Even if you connect, the network administrator can see your MAC address in the router logs.

    Legal alternatives:

    • 📞 Ask the network owner for the password.
    • 📶 Use mobile Internet (USB modem or smartphone in hotspot mode).
    • 🏢 In public places, look for networks with _FREE in the title or use services like WiFi Map (shows open access points).
    • Frequently asked questions

      Is it possible to connect to Wi-Fi without a password if the router is not mine?

      Technically possible, but illegal. Modern networks with WPA2/WPA3 Protected from most attacks. Legal options: ask the owner for the password or use the guest network (if configured).

      I reset my router, but the factory password doesn't work. What should I do?

      The manufacturer may have changed the default settings. Try:

      1. Check the sticker on your router - sometimes the password is in the field Wi-Fi Password or Pin Code.
      2. Connect via cable and log in to the web interface without a password (some models, for example, Keenetic, allow you to do this after reset).
      3. Please contact the manufacturer's support with the device's serial number.
      How to find the Wi-Fi password on a Mac?

      On macOS open Programs → Utilities → KeychainFind the network name in the list, double-click it and check the box. Show password (You will be asked to enter your Mac account password).

      Does the command line method work on Windows 7?

      Yes, team netsh wlan show profile works in Windows 7, but may require the latest updates to be installed. Alternative: use the program WirelessKeyView from NirSoft (portable version does not require installation).

      Is it possible to connect to Wi-Fi via Bluetooth?

      No, Bluetooth And Wi-Fi — different protocols. However, some routers (for example, ASUS Lyra) support network configuration via Bluetooth connection with a mobile app. This won't replace a Wi-Fi connection, but it will help you change the password.