Where is the Wi-Fi password stored on a computer: all recovery methods

Why might a Wi-Fi password "disappear" from a computer?

You connected to your home or office network years ago, entered the password once, and forgot it. Now you need to connect a new device, but where can you find that same password? network security keyIt turns out that Windows stores all Wi-Fi passwords in encrypted form, and they can be extracted without special software, even if you're not the system administrator.

The problem is that the Windows interface hides this information "deep" in the settings. And in some cases (for example, when resetting a router or reinstalling the system), the password may be completely hidden. "disappear" from the list of saved networks. In this article - 5 working ways to find your Wi-Fi password on your computer, including methods for when the network isn't showing up in Windows settings..

Before you start searching, make sure your computer is already connected to the network whose password you're looking for. If the connection is broken, some methods won't work.

📊 How often do you forget your Wi-Fi passwords?
Often - once a month
Sometimes - once every six months
Nearby - only after resetting the router
I never forget

Method 1: View your password through Windows Settings (the easiest way)

If your computer is currently connected to the target network, the fastest way is to use Windows' built-in settings. This method works in Windows 10 And Windows 11 without additional programs.

Instructions:

  • 🖱️ Open Start → Settings → Network & Internet.
  • 📡 Go to the section Wi-Fi and press Managing known networks.
  • 🔍 Find the desired network in the list and click on it.
  • 🔑 Click Intelligence (or View network properties in Windows 11).
  • 👀 Scroll down to the field Network security key — this is your password. To see it, click the button Show.

If the buttons Show no or the field is empty, then:

  • ❌ Your account does not have administrator rights.
  • ❌ The network was connected via WPS (without entering a password).
  • ❌ The password was changed on the router after connecting the computer.

Check your connection to the desired network

Restart your computer

Try another method from the article

Make sure you are an administrator-->

⚠️ Attention: If you are using a corporate network with 802.1X (for example, in an office or university), the password may not be saved locally. In this case, please contact your network administrator.

Method 2: Extracting the password via the command line (for advanced users)

Command line (CMD) allows you to get the password for any saved network, even if it is currently inactive. This method is universal and works on all versions of Windows, starting with Windows 7.

Step-by-step instructions:

  1. Run Command Prompt as Administrator:
    • 🔍 Enter in search cmd, then right click and select Run as administrator.
  • Enter the command to view all saved networks:
    netsh wlan show profiles

    In the list, find the name of the desired network (for example, TP-Link_1234).

  • Get the password for a specific network:
    netsh wlan show profile name="TP-Link_1234" key=clear

    (replace TP-Link_1234 to the name of your network).

  • Find the line in the results Key content - this is the password.
  • If you see a message instead of a password The key is missing, this means that:

    • 🔌 The network was connected via WPS or QSS (without password).
    • 🔄 The password was changed on the router after connecting.
    • 🛡️ The network profile is corrupted (try deleting the network and connecting again).
    What should I do if CMD says "Access Denied"?

    This means your account doesn't have administrator rights. Try:

    1. Run CMD as administrator (right-click → "Run as administrator").

    2. Temporarily enable the Administrator account via Start → Run → lusrmgr.msc (for Windows Pro only).

    3. Use third-party utilities like WirelessKeyView (see Method 4).

    Method 3: View the password in the connection properties (alternative method)

    If the previous methods did not work, try to get the password through Network and Sharing CenterThis method is suitable for Windows 7/8/10/11 and does not require administrator rights if you are already connected to the network.

    How to do it:

    • 📋 Click Win + R, enter ncpa.cpl and press Enter.
    • 🌐 Find an active connection Wi-Fi (or Wireless network), right-click on it and select State.
    • 🔗 Click Wireless network properties → go to the tab Security.
    • 🔐 Check the box Show entered characters — the password will appear in the field Network security key.

    This method often works even if the network is not displayed in Windows settingsHowever, it is useless if:

    • ⚡ The connection was configured via WPS (without password).
    • 🔄 The password was changed on the router after connecting.
    • 🖥️ You are using a virtual machine or remote desktop.
    ⚠️ Note: In some Windows builds (especially enterprise builds), the tab Security may be blocked by security policies. In this case, use Method 2 (command line) or Method 4 (third-party utilities).

    Method 4: Using third-party utilities (if nothing helps)

    If Windows' built-in tools don't reveal your password, specialized programs can help. They can extract security keys from system files, even when the network is inactive. The most reliable utilities are:

    • 🔧 WirelessKeyView (from NirSoft) - shows all saved passwords in one window.
    • 🔓 WiFi Password Revealer - simple interface, export passwords to a file.
    • 🛡️ Magical Jelly Bean WiFi Password Revealer — works without installation (portable version).

    How to use WirelessKeyView:

    1. Download the program from NirSoft official website (take it Download WirelessKeyView in the section Download links).
    2. Unzip and run WirelessKeyView.exe (no installation required).
    3. In the main window you will see a list of all saved networks with a column Key (Ascii) — these are passwords.
    4. Export the list to if necessary. TXT or HTML through File → Save All Items.

    The advantages of this method:

    • ✅ Works even if the network is not connected.
    • ✅ Shows passwords from everyone saved networks at once.
    • ✅ Does not require administrator rights (in most cases).
    ⚠️ Warning: Antivirus programs may block utilities like WirelessKeyView, as they read system files. This is a false positive—the program does not contain viruses. To avoid problems, temporarily disable the protection or add the utility to the exceptions list.

    Method 5: Obtaining the password directly from the router (universal method)

    If none of the previous methods work, the last option is to look at the password in the router settings. This is the only method guaranteed to show current security key, even if it was changed after the computer was connected.

    How to log into your router and find the password:

    1. Find out your router's IP address:
      • 🖥️ On Windows: Open CMD and enter ipconfig. Look for the line Main gateway (usually 192.168.0.1 or 192.168.1.1).
      • 📱 On your phone: In Wi-Fi settings, tap the network name → Router management (the address will be indicated there).
  • Open your browser and enter the router's address in the address bar (for example, http://192.168.0.1).
  • Enter your login and password to log in (usually admin/admin, if you haven't changed it).
  • Go to the section Wi-Fi (or Wireless network, Wireless).
  • Find the field Password, Security key or Password (depending on the router model).
  • Here are the names of the required sections in popular routers:

    Router manufacturer Wi-Fi password section Password field
    TP-Link Wireless → Wireless Security Password or PSK password
    ASUS Wireless Network → General WPA Pre-Shared Key
    Keenetic Wi-Fi Network → Access Point Network key
    Zyxel Wi-Fi Network → Security Network key
    MikroTik Wireless → Security Profiles WPA Pre-Shared Key

    If you can't access your router:

    • 🔌 Check if your computer is connected to the router via cable or Wi-Fi.
    • 🔄 Reboot your router (using the button) Reset on the back panel).
    • 📞 Check your login/password with your ISP (if they provided you with the router).
    ⚠️ Attention: If you reset the router to factory settings (using the button Reset), your old Wi-Fi password will be lost. In this case, you can only find it on a sticker on the router itself (if it hasn't been changed) or set a new one in the control panel.

    What to do if none of the methods worked?

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

    1. Reset your router to factory settings:
      • 🔄 Press and hold the button Reset on the router 10-15 seconds.
      • 🏷️ The password will be reset to the factory default (indicated on the router sticker).
      • ⚠️ All router settings (including the network name) will also be reset!
    2. Connect to the router via cable:
      • 🔌 Use Ethernet-cable for accessing the control panel if Wi-Fi does not work.
  • Contact your provider:
    • 📞 If the router was provided by an internet service provider, they can reset the password remotely.

    If the problem is that The network is not displayed in the list of saved networks., try:

    • 🔍 Delete all temporary network profiles using the command:
      netsh wlan delete profile name="*"

      Then reconnect to the network.

    • 🛠️ Update your Wi-Fi adapter driver via device Manager.
    • 🔄 Restart your computer and router.

    FAQ: Frequently asked questions about Wi-Fi passwords on computers

    Is it possible to find out the password for a Wi-Fi connection that another user connected to on the same computer?

    Yes, if its network profile is saved in Windows. Use Method 2 (command line) or Method 4 (WirelessKeyView). However, if the user deleted their profile or connected through guest access, the password may not be saved.

    Why does the command line say "Key missing" even though the network is connected?

    This means that:

    • The network is connected via WPS (without password).
    • The password was changed on the router after connection.
    • The network profile is corrupted (try deleting and connecting again).

    Solution: Use Method 5 (view password on router).

    How can you protect your Wi-Fi from being hacked if your password is leaked?

    If you suspect that other people have learned your password, immediately:

    1. Change the password in the router settings (section Wi-Fi → Security).
    2. Use an encryption standard WPA2-PSK or WPA3 (Not WEP!).
    3. Turn it off WPS (this is a vulnerable protocol).
    4. Enable filtering by MAC addresses (in the section Wireless Mode → MAC Filter).

    We also recommend regularly checking the list of connected devices in the router panel (section DHCP or Clients).

    Is it possible to recover a Wi-Fi password after reinstalling Windows?

    No, reinstalling Windows deletes all saved network passwords. In this case:

    • Use Method 5 (view password on router).
    • If the router has been reset, look for the factory password on the sticker.
    • Contact your provider (if the router is theirs).
    Why is there no "Show" button for password in Windows settings?

    This happens for three reasons:

    1. Your account does not have administrator rights.
    2. The network is connected via WPS or Enterprise- authentication (for example, in the office).
    3. The password was changed on the router after connection.

    Solution: Use Method 2 (command line) or Method 4 (WirelessKeyView).