How to view your Wi-Fi password on a Windows 10 computer: all the working methods

Forgot your home Wi-Fi password, and the data label on your router has long since worn off? Or do you need to connect a new device, but are too lazy to look for the piece of paper with the code? On a computer running Windows 10 All connected networks are stored in the system, along with their passwords. They can be accessed in several ways: through the standard settings, command line or even using third-party programs.

In this article we will look at All current methods for viewing Wi-Fi passwords on a Windows 10 PC, including hidden system features and alternative solutions for complex situations. You'll learn what to do if you don't have administrator rights, how to export all saved passwords at once, and what to do if a network isn't showing up in the connection list. You'll also learn important security nuances that are often overlooked.

Let's be clear: if you're trying to hack someone else's network, it's illegal. All instructions below are for exclusively for use with your own networks, which you already have access to. Now let's get started!

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

This is a basic method that works on all versions. Windows 10 No additional software required. Suitable if you're currently connected to the internet or have previously connected.

Instructions:

  • 🖱️ Open the menu Start and select Parameters (gear icon).
  • 🌐 Go to the section Network and InternetWi-Fi.
  • 📋 Scroll down and click Managing known networks.
  • 🔍 Find the desired network in the list and click on it, then select Properties.
  • 🔑 In the field Network security key The password will be displayed, but it will be hidden by dots. To see it, check the box. Show entered characters.

If the button Properties is inactive or there are no networks in the list, then your computer has never connected to this network using a saved method. In this case, try next method.

⚠️ Note: If you're using a corporate or public network (such as an office or cafe), your password may be updated automatically. In this case, the key displayed may be out of date.

Method 2: Command line - a universal method for all networks

This method is suitable if:

  • 🔧 You need to know the password for the network you are connecting to previously connected, but are not connected now.
  • 🛡️ You don't have administrator rights (although some commands may require elevated privileges).
  • 📡 Do you want to export? all saved passwords straightaway.

Open command line as administrator:

  1. Click Win + X and select Command Prompt (Administrator) or Windows PowerShell (Administrator).
  2. Enter the command to view all saved networks:
    netsh wlan show profiles

    On the list User profiles Find the name of the network you need.

  3. To see the password, run:
    netsh wlan show profile name="NETWORK_NAME" key=clear

    Replace NETWORK_NAME to the real name (for example, netsh wlan show profile name="TP-Link_5G" key=clear).

  4. In the block Security parameters find the line Key content - this is the password.

If you need to save all passwords to a file, use the command:

for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -v -i "echo" | netsh wlan show profile name="%j" key=clear | findstr "Key Contents" >> WiFi_passwords.txt

File WiFi_passwords.txt will appear in the folder from which you launched the command line.

The network name is specified correctly (case-sensitive!)|The command prompt was run as administrator|The network has previously connected to this PC|Antivirus software is not blocking command execution-->

⚠️ Note: In some Windows 10 builds (especially enterprise builds), access to passwords via the command line may be restricted by security policies. If the command returns an error Access denied, try the method with by browsing through the registry.

Method 3: View the password in the Windows registry (for advanced users)

This method is suitable if:

  • 🔐 The command line does not show the password (for example, due to policy restrictions).
  • 📁 You need to find the password for a network that hasn't been used for a long time but is saved in the system.
  • 🛠️ You are ready to work with the registry (be careful - incorrect actions can disrupt the system!).

Instructions:

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

    There will be folders with long names (these are network interface identifiers).

  3. Open each folder and look for the parameter ProfileName - its value is the network name.
  4. When you find the network you need, there will be a parameter in the same folder Profile (type REG_BINARY). Double click on it.
  5. In the editing window, find the line keyMaterial (use search by Ctrl+F). The value after it is the password in hexadecimal format.
  6. Copy it (without spaces) and convert it to plain text using online services (for example, Hex to String).

Example: if in keyMaterial indicated 3132333435, then the password is 12345.

Registry parameter Meaning Explanation
ProfileName Network_name The name of the Wi-Fi you connected to
Profile Binary data Contains encrypted network settings, including the password.
keyMaterial 5468697349734150617373 Password in HEX format (needs decoding)
ConnectionMode auto or manual Connection mode (auto or manual)
What to do if the keyMaterial key is missing in the registry?

If the parameter keyMaterial No, that means the password isn't saved in the system. This could be due to:

  • 🔄 Reset network settings via netsh wlan delete profile name="NETWORK_NAME".
  • 🛡️ Using an external password manager (for example, KeePass or 1Password).
  • 🏢 Corporate domain policies (on office PCs).

In such cases, try to recover your password through router or contact your network administrator.

Method 4: View the password through the router settings (if other methods do not work)

If the password is not saved on the computer (for example, after reinstalling Windows), but you have access to router, you can find out the security key through its web interface.

Steps:

  1. Find out your router's IP address:
    • 🖥️ Click Win + R, enter cmd, then run the command:
      ipconfig
    • 🔍 Find the line Main gateway - this is the IP of the router (usually 192.168.0.1 or 192.168.1.1).
  • Open your browser and enter this IP address in the address bar. Log in (default logins: admin/admin or see the router sticker).
  • Go to the section Wi-Fi (or Wireless network, Wireless).
  • Find the field Password, Security key or PSK. In some routers (TP-Link, ASUS) the password can be hidden behind a button Show.
  • If you can't access your router settings:

    • 🔄 Try resetting it to factory settings (button Reset on the back panel).
    • 📞 Contact your provider - they may have remote access to your device.
    ⚠️ Attention: On some routers (Zyxel Keenetic, MikroTik) The Wi-Fi password may be stored encrypted even in the web interface. In this case, it can only be reset using the physical button on the device.

    Windows Settings|Command Prompt|Registry|Router Settings|Haven't tried this yet-->

    Method 5: Third-party programs for viewing Wi-Fi passwords

    If standard methods don't work, you can use specialized utilities. They're handy when you need to:

    • 📤 Export all passwords to a file.
    • 🔍 Find networks that are not displayed in the standard list.
    • 🛡️ Bypass corporate policy restrictions (not always legal!).

    Popular programs:

    Program Possibilities Link (official)
    WirelessKeyView (NirSoft) Shows all saved passwords, export to TXT/HTML Download
    WiFi Password Revealer Simple interface, copying password to clipboard Download
    NetPass Shows passwords and other network data (IP, MAC, encryption type) Download

    How to use (using example) WirelessKeyView):

    1. Download the program from the official website (avoid third-party sources!).
    2. Unzip and run WirelessKeyView.exe (no installation required).
    3. Find the required network in the table - the password will be in the column Key (Ascii).
    4. To copy all passwords, click File → Save All Items.

    What to do if none of the methods worked?

    If you've tried everything but still can't find your password, here's what you can do:

    • 🔄 Reset the password on your router:
      1. Find the button on your router Reset (usually recessed into the body).
      2. Press and hold it for 10-15 seconds (until the indicators flash).
      3. Connect to the network with the factory name (indicated on the sticker) and set a new password.
  • 📡 Check the sticker on the router: Often the default password is located on the back of the device in the field Wi-Fi Key or Password.
  • 📞 Contact your providerIf the router was issued by an internet company, they may know the password or reset it remotely.
  • 🔧 Use WPS:
    • On some routers you can connect via WPS (button on the body) without entering a password.
    • Click it, then on your device, select WPS connection.
  • If the router is rented from a provider (for example, Rostelecom, Beeline, MTS), resetting the settings may disrupt internet access. In this case, it's best to call support and ask for help restoring access.

    Security: How to Protect Your Wi-Fi from Hacking

    Once you know your network password, don't forget to check its security. Here 5 critical settings, which are often missed:

    • 🔒 Change the default password: if he still 12345678 or admin, it's easy to pick up.
    • 🛡️ Use WPA3: In the router settings, select the encryption type WPA3-Personal (or at least WPA2-PSK). WEP And WPA unsafe!
    • 📛 Disable WPS: This feature is vulnerable to brute-force attacks. Find it in your router settings. WPS and deactivate it.
    • 👤 Hide the SSID: In the Wi-Fi settings, disable the option Broadcast network name (SSID)This will not make the network invulnerable, but it will reduce the number of connection attempts.
    • 📋 Maintain a list of connected devices: in the router's web interface, check the list of clients (DHCP Clients or Connected Devices). Unknown MAC addresses are a sign of hacking.

    We also recommend:

    • 🔄 Update your router firmware regularly (every 3–6 months).
    • 🚫 Disable remote administration (optional) Remote Management).
    • 🔐 Use a complex password (example: k7#pL9!vQ2$mN5 — 12+ characters with numbers and special characters).

    FAQ: Frequently asked questions about viewing Wi-Fi passwords

    ❓ Is it possible to find out the password for a Wi-Fi network I've never connected to?

    No, if you haven't connected to the network before, the password is not saved in the system. The exception is if you have access to the router (see Method 4). Hacking into other people's networks is illegal and punishable under Article 272 of the Russian Criminal Code ("Unauthorized access to computer information").

    ❓ Why does the command line say "Key content: missing"?

    This means that:

    • 🔌 You have never connected to this network from this computer.
    • 🗑️ The network profile was deleted (for example, through netsh wlan delete profile).
    • 🏢 The network is corporate, and the password is managed by the server (for example, via Radius).
    • Try connecting to the network again or check your router settings.

    ❓ How do I view my Wi-Fi password on Windows 10 without administrator rights?

    Without administrator rights you can:

    • 🔍 View passwords only for networks you've connected to under your account (through Parameters or netsh wlan show profile without key=clear).
    • 📡 Use third-party programs like WirelessKeyView (but they may also require elevated rights).
    • If you need to obtain a password for a network connected to another user, you will need administrator rights.

    ❓ Is it possible to recover a password if Windows was reinstalled?

    No, reinstalling Windows deletes all saved Wi-Fi passwords. In this case:

    1. Check the sticker on the router.
    2. Go to your router settings (see Method 4).
    3. Reset the router to factory settings (button Reset).
    ❓ How do I export all Wi-Fi passwords to a file?

    Methods:

    1. Via the command line (see the block with the command) for /f higher).
    2. By using WirelessKeyView (File → Save All Items).
    3. Via PowerShell:
      netsh wlan export profile key=clear folder="C:\WiFi_backup\"

      Passwords will be saved in files .xml in the specified folder.