How to find the Wi-Fi password on a computer you're already connected to

Have you forgotten your home Wi-Fi password, but your computer or laptop is successfully connected to the network? This situation is familiar to many: your router was set up by your ISP or a friend, you entered the password once a year ago, and now you urgently need it for a new device. Luckily, Find out the Wi-Fi password on a connected PC It can be done in a couple of minutes—without hacking, resetting the router, or calling support.

In this article we will look at all the working methods: from standard tools Windows 10/11 to alternative methods for advanced users. You will learn how to extract a password using System parameters, Command line, PowerShell or special utilities. And also – why some methods might not work and what to do in such cases.

Important: All methods described are legal, as you gain access to his own network to which you are already connected. If you need to hack someone else's Wi-Fi, it is illegal and technically difficult (modern routers use strong encryption). WPA3).

1. The easiest way: via Windows Settings

If your computer is connected to Wi-Fi directly (not via an Ethernet cable), the fastest way to see the password is through the standard menu. WindowsThis method works on Windows 10/11 and does not require administrator rights if you are already connected to the network.

Instructions:

  • 🖱️ Click on the icon Wi-Fi in the lower right corner of the taskbar (next to the clock).
  • 📋 Select the current network you are connected to and click Network properties (or Network parameters V Windows 11).
  • 🔍 Scroll down to the section Properties and find the line Network password (or Security key).
  • 👁️ Click the button Show next to the dot - the password will be displayed in a readable form.

Access to the Wi-Fi module is open (not disabled in Device Manager)

The computer is connected to the target network (not via Ethernet)

You have permission to view network settings (usually standard user permissions are sufficient)

-->

⚠️ Attention: If the button Show is inactive or the password field is empty, it means the network is saved in the system without a key (for example, connecting via WPS (or guest access). In this case, try other methods from this article.

This method is suitable for most home networks, but may not work in corporate environments where 802.1X Authentication (for example, in offices or universities). In such cases, the password is stored on the server, not on your PC.

2. Universal method: Command line (CMD)

If the GUI does not show the password or you prefer to work with commands, use Command lineThis method works on all versions. Windows (from 7 to 11) and does not require installation of additional software.

Step-by-step instructions:

  1. 🔍 Open Command line as administrator:
    • Click Win + R, enter cmd.
    • Clamp Ctrl + Shift + Enter (or select Run as administrator in the context menu).
  • 📜 Enter the command to view all saved networks:
    netsh wlan show profiles

    In the list, find the name of your network (refer to Profile name).

  • 🔑 To see the password for a specific network, 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_1234" key=clear).

  • 📝 Find the block in the results Security parameters - line Key content contains the password you are looking for.
  • What to do if the command doesn't work?

    If you see an error after entering the command "Failed to execute command", check:

    1. The network name is correct (case is important!).

    2. Administrator rights (run CMD as administrator).

    3. Connect to the network (if you disconnect, the profile may be deleted).

    4. Availability of a Wi-Fi adapter (enter ipconfig /all - the wireless network should be displayed).

    ⚠️ Attention: On some corporate networks the password may appear as * even with a flag key=clearThis means that the key is stored in encrypted form and is not accessible for viewing through standard means.

    The advantage of this method is that it works even if you are connected to the network through Ethernet (cable), but the Wi-Fi password is saved in the system. For example, if the laptop previously connected to the same network over the air.

    3. CMD Alternative: PowerShell for Advanced Users

    PowerShell — a more powerful tool than Command line, and also allows you to extract Wi-Fi passwords. This method is useful if you need to automate the process (for example, export all saved passwords to a file).

    Instructions:

    • 🛠️ Open PowerShell as administrator (similar to CMD: Win + RpowershellCtrl + Shift + Enter).
    • 📜 Enter the command to view all networks:
      (netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key contents\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); [PSCustomObject]@{PROFILE_NAME=$name;PASSWORD=$pass}} | Format-Table -AutoSize
    • 📄 The result will display a table with all saved networks and their passwords.

    If you only need the password for one network, the simplified command is:

    (netsh wlan show profile name="NETWORK_NAME" key=clear) | Select-String "Key Contents"

    ⚠️ Attention: IN Windows 11 some commands PowerShell may require confirmation of implementation (policy Execution Policy). If you see an error, first run:

    Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

    4. View the password through the Network and Sharing Center (for Windows 7/8/10)

    Old versions Windows (to 11) allow you to view the password through a graphical interface Network Operations CenterThis method is convenient if you are uncomfortable working with commands.

    How to do it:

    • 🖱️ Right-click on the icon Wi-Fi in the tray and select Open Network and Internet settings (or Network and Control Center... V Windows 7/8).
    • 📡 Go to Configuring adapter settings (or Changing adapter settings).
    • 🔗 Find an active connection Wi-Fi, right-click on it and select Status → Wireless Properties.
    • 🔐 Tab Security → check the box Show entered characters — the password will become visible.

    IN Windows 11 This path is simplified: instead of the "Control Center" section is used Settings → Network & Internet → Wi-Fi → Manage known networksSelect the network and press Properties and scroll to Network password.

    Via Windows Settings

    Via Command Prompt (CMD)

    Via PowerShell

    Through the Network and Sharing Center

    -->

    ⚠️ Attention: If you are connected to the network via Ethernet, but the Wi-Fi password was previously saved on this PC, the network will still appear in the list Managing known networksHowever, if the connection was made only via cable, there may be no Wi-Fi information in the system.

    5. Third-party password extraction programs

    If standard methods don't work or you need to save all your passwords in a convenient location, use specialized utilities. They scan system files. Windows, where security keys are stored, and output them in a readable format.

    Popular programs:

    Program Windows support Peculiarities Link (official)
    WirelessKeyView (NirSoft) 7 / 8 / 10 / 11 Portable, no installation required, shows all saved passwords nirsoft.net
    WiFi Password Revealer 10 / 11 Simple interface, export to TXT/CSV magicaljellybean.com
    NetPass XP / 7 / 8 / 10 Supports older versions of Windows and displays connection history. nirsoft.net
    PassFab WiFi Key 10 / 11 Recovers passwords even after reinstalling Windows (if there is a backup) passfab.com

    ⚠️ Attention: Download programs only from official websites of developers! Many "Wi-Fi hackers" listed in search engines contain viruses or spyware. Check the file for viruses or spyware before using it. VirusTotal.

    Example of working with WirelessKeyView:

    1. Download the archive with the program and unzip it.
    2. Launch WirelessKeyView.exe (no installation required).
    3. Find the required network in the table - the password will be in the column Key (Ascii).
    4. Export data via if necessary File → Save All Items.

    6. If nothing works: check the router

    In rare cases, the password may not be displayed in any of the above ways. This occurs if:

    • 🔄 Network connected via WPS (without entering a password).
    • 🔐 Corporate authentication is used (802.1X, Radius).
    • 🗑️ The network profile is damaged or deleted from the system.
    • 🛡️ The password is stored in encrypted form (for example, in domain networks).

    In such situations, there are two options left:

    1. View the password on the router:
      • Connect to the router via cable or Wi-Fi.
      • Open your browser and enter the router's IP address (usually 192.168.0.1 or 192.168.1.1).
      • Enter your login/password to log in (by default it is often admin/admin or indicated on the router sticker).
      • Go to the section Wi-Fi (or Wireless) → Security (Security). The password will be in the field PSK Password or Network key.
  • Reset the router to factory settings:
    • Click the button Reset on the back panel of the router (hold for 10-15 seconds).
    • After reset, the network name and password will become default (indicated on the device sticker).
    • ⚠️ Attention: All router settings (including PPPoE, MAC filtering, port forwarding) will reset! Use this method only if other methods are unavailable.
    • How to find out the IP address of a router?

      If standard 192.168.0.1 or 192.168.1.1 if they don't open, run the following in CMD:

      ipconfig

      Find the line Main gateway - this is the IP of your router.

      ⚠️ Attention: If the router is rented from a provider (for example, Rostelecom, Beeline, MTS), resetting the settings may disrupt your internet connection. In this case, it's best to call support and verify the factory Wi-Fi password.

      FAQ: Frequently Asked Questions

      Is it possible to find out the Wi-Fi password if the computer is connected via cable (Ethernet)?

      Yes, if this computer has previously connected to this Wi-Fi network. The password is stored in the system regardless of the current connection type. Use methods with Command line or PowerShell.

      Why is there no "Show password" button in Windows Settings?

      This happens in two cases:

      1. You are connected via WPS (no password was used).
      2. The network is configured using 802.1X (corporate authentication). In this case, the password is stored on the server, not on your PC.

    Try other methods from the article or check your router settings.

    Is it safe to use third-party password extraction programs?

    Yes, if you download them from official websites (For example, NirSoft or Magical Jelly Bean). These utilities simply read data from system files. Windows, where passwords are already stored in clear text. However:

    • 🚫 Do not download programs from torrents or dubious websites.
    • 🛡️ Before running, check the file on VirusTotal.
    • 🔒 Avoid utilities that require administrator rights without reason.
    Is it possible to find out the Wi-Fi password on a Mac or Linux?

    Yes, but the methods are different from Windows:

    • MacOS: Open Terminal and enter:
      security find-generic-password -wa "NETWORK_NAME"
    • Linux: Use the command:
      sudo cat /etc/NetworkManager/system-connections/"NETWORK_NAME" | grep psk=
    • On Android It is impossible to view the password without root rights (only through the router).

    What should I do if my password appears as dots (*) and cannot be copied?

    This is a limitation of the GUI. To work around it:

    1. Open Notebook.
    2. Return to the password window, click Show.
    3. Select the password with your mouse and drag it to Notebook (or copy via Ctrl + C).
    4. If copying is blocked, take a screenshot or enter the password manually.