How to Recover a Wi-Fi Password on a Computer: All Working Methods

Have you forgotten your home Wi-Fi password and don't know how to recover it without resetting the router? This problem is familiar to many: the password is entered once when connecting a device, and then remains in the device's memory for years. When you need to connect a new phone, laptop, or guest device, panic sets in. Fortunately, Recover your Wi-Fi password using a computer There are several ways to do this, even if you don't have access to the sticker on your router.

In this article we will look at 5 proven methods, which work on Windows 10/11, macOS and directly through the router's web interface. You'll learn how to view the saved password in the system, export it from the registry, use the command line, or connect to the router via cable. You'll also learn what to do if none of these methods work. All instructions are suitable for most modern routers (TP-Link, ASUS, Keenetic, MikroTik etc.), but Some steps may vary depending on the model and firmware.

Before you begin, please check two things: firstly, the computer must be already connected to this Wi-Fi network (at least via cable), and secondly, you must have administrator rights on the PC. If both conditions are met, choose the appropriate method from the list below.

1. View your password in Windows settings (the easiest way)

If your computer or laptop has previously connected to this Wi-Fi network, the password is saved in the system. Windows 10 And Windows 11 You can view it in a few clicks - without the command line or third-party programs.

Instructions:

  • 🖱️ Open Control Panel (click Win + R, enter control and press Enter).
  • 📋 Go to the section Network and Internet → Network and Sharing Center.
  • 🔗 Click on the name of your Wi-Fi network (next to the inscription Connections).
  • 🔑 In the window that opens, select Wireless network properties, then go to the tab Security.
  • 👁️ Check the box Show entered characters — the password will be displayed in the field Network security key.

This method only works if the computer connected to the network at the moment (via Wi-Fi or cable). If there is no network connection, try other methods.

Your computer is connected to the correct Wi-Fi network. You have administrator rights. The Control Panel is open in Large Icons mode (for convenience). Your antivirus software is not blocking access to network settings.

⚠️ Note: If the password field is empty or gray, it means the network is using automatic connection via WPS (a button on the router) or enterprise authentication (login/password from the provider). In this case, the network password is stored not on your device, but on the provider's server; it cannot be recovered from a PC.

2. Using the command line (for advanced users)

If the Windows GUI does not show the password (for example, due to a crash), you can extract it via command lineThis method is universal and works even on older OS versions.

Step-by-step instructions:

  1. Launch Command prompt as administrator (click Win + X and select the appropriate item).
  2. Enter the command to view all saved Wi-Fi networks:
    netsh wlan show profiles

    Find your network name in the list (for example, KEENETIC-1234).

  3. Display details of a specific network by replacing NETWORK_NAME to its real name:
    netsh wlan show profile name="NETWORK_NAME" key=clear
  4. In the block Security parameters find the line Key content - this is your password.

This method is suitable for Windows 7/8/10/11 and does not require an internet connection. If the command returns an error The operation failed., check if the command prompt is running with administrator rights.

3. Export passwords from the Windows registry (backup method)

All Wi-Fi passwords in Windows are stored in system registry in encrypted form. They can be exported and then decrypted using specialized utilities. This method is useful if you need to save passwords for all networks at once (for example, before reinstalling the OS).

How to do it:

  • 🔧 Click Win + R, enter regedit and press Enter.
  • 📁 Follow the path:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\

    There will be folders with GUID identifiers of network interfaces.

  • 🔍 Find the parameter in each folder Profile - it contains the network name in encrypted form.
  • 💾 Export the registry branch (right-click → Export) and save the file .reg.

To decrypt passwords you will need a third-party utility, for example, WirelessKeyView (from NirSoft). It's free and doesn't require installation—just run it with administrator rights, and the program will display all your saved passwords.

⚠️ Warning: Editing the registry may cause system crashes. Do not modify or delete keys manually—only export them for further analysis.

Once a month|Rarely, but to the point|Never forget|Keep in a notepad|Use a password manager-->

4. Viewing your password on macOS (for Apple users)

On computers MacBook or iMac You can view your Wi-Fi password through the built-in Keychain Access utilityThis method works on all versions of macOS, including Ventura And Sonoma.

Instructions:

  • 🔍 Open Spotlight (click Cmd + Space) and enter Bunch of keys.
  • 📂 In the left menu, select System, then category Passwords.
  • 🔎 Enter the name of your Wi-Fi network in the search bar.
  • 👁️ Double-click on the found entry and check the box Show passwordThe system will ask for your Mac account password—enter it.

If the password is not displayed, the network may be connected via WPS or uses safety certificate (For example, on corporate networks). In this case, restoring it via a Mac won't work—you'll have to contact the network administrator.

What should I do if Keychain Access doesn't show my password?

If the utility does not find your network, try:

1. Make sure your Mac has connected to this network at least once.

2. Check the "My Certificates" section - Enterprise authentication may be used.

3. Reset network settings in System Preferences → Network (but this will delete all saved passwords!).

5. Login to the router's web interface (universal method)

If the computer is connected to a router via cable (or you remember the password for another network on the same router), you can go into its settings and view (or change) the Wi-Fi password. This method works on any router, regardless of the model.

Steps to log in:

  1. Find out Router IP address:
    • 🪟 On Windows: Open Command Prompt and type ipconfig. Look for the line Main gateway (usually 192.168.0.1 or 192.168.1.1).
    • 🍎 On Mac: Open System Preferences → Network → Advanced → TCP/IPThe router's address is indicated next to Router.
  • Open your browser and enter this IP address into the address bar. Click Enter.
  • Enter login and password to access the router (usually this is admin/admin or indicated on the device sticker).
  • Go to the section Wi-Fi (or Wireless network, Wireless) and find the field Password (Password, Key).
  • In some routers (for example, Keenetic) The password may be hidden behind asterisks. To view it, click the eye icon 👁️ or copy it to your clipboard.

    Router brand 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 → Security Settings
    Keenetic 192.168.1.1 admin/empty Wi-Fi → Hotspot
    MikroTik 192.168.88.1 admin/empty Wireless → Security Profiles
    Zyxel 192.168.1.1 admin/1234 Wi-Fi Network → Security
    ⚠️ Attention: If you or your provider changed the login/password for the router and the data was lost, you will have to do hard reset (button Reset on the back panel). This will erase all settings, including the Wi-Fi password!

    6. What to do if none of the methods worked?

    If you've tried all the methods and still can't recover your password, there are some drastic measures left:

    • 🔄 Resetting the router to factory settings. Press and hold the button Reset (usually it's recessed and requires a paperclip) for 10-15 seconds. After that, the router will return to its default settings, and the Wi-Fi password will be the same as the one on the device's sticker (for example, 12345678).
    • 📞 Contact your providerIf the router was provided by the provider (for example, Rostelecom, Beeline, MTS), call support - they can reset your password remotely or provide standard login details.
    • 🔧 Use WPSIf there is a button on the router WPS, press it, and then connect a new device within 2 minutes. This will temporarily bypass the password requirement.

    After resetting your router, you'll need to reconfigure your internet connection (enter your provider's information) and reconfigure your Wi-Fi. If you're unsure, it's best to call a specialist or contact support.

    If the router is rented from a provider, do not reset it yourself — this could disrupt your connection settings. In this case, the only safe option is to call technical support.

    FAQ: Frequently asked questions about Wi-Fi password recovery

    Is it possible to recover a Wi-Fi password if the computer is not connected to the network?

    No, if the computer has never connected to this network, the password will not be stored in its memory. In this case, the only option left is:

    • Connect via cable and go to the router settings.
    • Use another device that has connected to Wi-Fi before.
    • Reset the router to factory settings (will delete all data!).
    Why doesn't the command prompt show my network password?

    Possible reasons:

    • The command prompt is launched not as administrator.
    • The network name was entered with an error (case sensitive!).
    • The network uses WPS or enterprise authentication (the password is stored on the provider's server).
    • The password was changed since the computer was last connected.

    Try checking the network name in netsh wlan show profiles and enter it exactly as it appears in the list.

    How to find the Wi-Fi password on an Android smartphone?

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

    1. Open Settings → Network & Internet → Wi-Fi.
    2. Click on your network name → Share.
    3. Confirm password unlocking (PIN or fingerprint will be required).

    On older versions of Android you will need root rights or third-party applications (eg WiFi Password Viewer).

    Is it possible to hack someone else's Wi-Fi if you know the network name?

    No, it's illegal.Password recovery is only possible for his own a network to which you have legal access (for example, through a connected computer or router administrator rights).

    Attempts to guess the password or use cracking programs (for example, Aircrack-ng) violate:

    • Article 272 of the Criminal Code of the Russian Federation ("Unauthorized access to computer information").
    • Rules for the provision of Internet provider services.

    For such actions, the device may be blocked from the provider's network or you may be held liable.

    How to protect your Wi-Fi from hacking after recovering your password?

    After password recovery, it is recommended:

    • 🔐 Change password complex (at least 12 characters, with letters, numbers and signs).
    • 🛡️ Disable WPS (this is a vulnerable protocol).
    • 🔄 Update your router's firmware (closes vulnerabilities).
    • 📵 Hide network name (SSID) or disable guest access.
    • 🕵️ Enable MAC address filtering (allow connection only to your devices).