How to view your Wi-Fi password on Windows 10 over a wired connection: 5 working methods

Forgot your home Wi-Fi password, but your computer is connected to the router via cable? It's a familiar situation: your smartphone or laptop is asking you to re-enter the security key, and the sticker on the router has long since worn off or disappeared. Fortunately, Windows 10 stores all saved wireless network passwords. - even if you are currently using a wired connection (Ethernet). The main thing is to know where and how to extract them.

In this article we will look at 5 proven methods, which will help you recover your Wi-Fi password without accessing the router's web interface. From standard system tools to specialized utilities, choose the method that's right for you. And if you're worried about breaking something, don't worry: all the steps described are covered. do not require administrator rights (with one exception) and do not affect the operation of the network.

Spoiler: the fastest way is to use command line (section 2) But if you prefer a graphical interface, take a look at Windows Settings or utility WirelessKeyView (Sections 3 and 5). For advanced users, there's even a method for exporting passwords to a file—useful if you need to transfer settings to another PC.

📊 How often do you forget your Wi-Fi password?
Once a month
Once every six months
Only after resetting the router
I never forget

1. Why does Windows 10 "remember" Wi-Fi passwords even when connected via a wired connection?

Many users mistakenly believe that if the computer is connected to the router via a cable (Ethernet), then wireless network data is erased from the system. In fact, this is not the case. Windows 10 saves all Wi-Fi network passwords, to which the PC has ever connected - regardless of the current connection type.

The thing is that the operating system stores security keys in a special credential storage (Windows Credential Manager). This data remains in the system until you manually remove the network from the list or reset the network settings. Even if you haven't used Wi-Fi in a while, you can still recover the password—provided the connection was successfully established previously.

It is important to understand the difference between the two types of password storage:

  • 🔑 Windows Local Storage — Passwords are stored encrypted in the system registry. They can be retrieved without access to the router.
  • 📡 Router settings — the password is stored in the device's web interface. To view it, you need to know the login details for the admin panel (usually admin/admin or indicated on the router sticker).

In this article, we will focus on the first option - extracting the password from Windows 10 local storageThis is convenient when:

  • 🖥️ You only have access to a PC connected via cable.
  • 🔒 You don't know the login/password for the router's web interface.
  • ⚡ Need to quickly connect a new device to Wi-Fi without resetting the settings.

2. Method 1: Viewing the password via the command line (the fastest method)

This method does not require installation of additional programs and works on all versions. Windows 10You will only need command line (cmd) with administrator rights. The entire process will take no more than a minute.

Follow the step-by-step instructions:

  1. Open command prompt as administratorTo do this, click Win + X and select "Command Prompt (Admin)" or "Windows PowerShell (Admin)".
  2. Enter the command to view a list of all saved Wi-Fi networks:
    netsh wlan show profiles

    In the results, find the name of your network (Profile name).

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

    Replace NETWORK_NAME to the name of your Wi-Fi (for example, TP-Link_1234).

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

Example command output (password highlighted):

Security settings:

Authentication type: WPA2-Personal

Encryption type: CCMP

Key content: 12345678

Run CMD as administrator|Make sure the network name is entered correctly|Check the "Security Settings" section|Copy the password to a safe place-->

⚠️ Attention: If the command output displays asterisks () or a message about the lack of rights, means:
  • You forgot to run cmd on behalf of the administrator.
  • The password for this network is not saved in the system (it is possible that the connection was made through WPS or guest access).

Try alternative methods from the following sections.

3. Method 2: View the password in Windows Settings (without the command line)

If working with cmd seems complicated, you can use the graphical interface. Windows 10 There is a built-in tool for viewing saved passwords, although it is a bit hidden.

Step-by-step instructions:

  1. Open Windows Settings (Win + I) and go to the section "Network and Internet».
  2. Select the "Wi-Fi» → «Managing known networks».
  3. Find your network in the list and click on it → "Properties».
  4. Scroll down to the "Security settings: Show entered characters" The password will be displayed in the "Network security key».

If the "Manage known networks" item is missing or the network is not displayed in the list, then:

  • 🔌 You have never connected to this Wi-Fi from this PC.
  • 🗑️ Network data has been deleted (for example, after resetting network settings).
  • 🛡️ You don't have administrator rights (confirmation required) UAC).
What should I do if the "Wi-Fi" section is missing from Settings?

This means the wireless network adapter is disabled in the system. To enable it:

  1. Click Win + X → "Device Manager".
  2. Expand the Network Adapters section and find the device named Wireless, Wi-Fi or 802.11.
  3. Right-click → "Enable device".

After this, the Wi-Fi section will appear in Settings.

4. Method 3: Export all Wi-Fi passwords to a file (for backup)

If you need to find out not only one password, but also save all saved networks (for example, to transfer to another PC), you can export them to a text file. This method requires administrator rights and PowerShell.

Instructions:

  1. Launch PowerShell as administrator (Win + X → “Windows PowerShell (Administrator)”.
  2. Run the command to export all Wi-Fi profiles:
    (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
    This command will automatically extract the names of all networks and their passwords, displaying them in a table.
  3. To save the result to a file, add the following to the end of the command:
    | Out-File -FilePath "$env:USERPROFILE\Desktop\WiFi_Passwords.txt" -Encoding UTF8

    File WiFi_Passwords.txt will appear on the desktop.

Example of exported file content:

Network name (SSID)Password
TP-Link_Homeqwerty12345
KEENETIC-1231234567890
DIRECT-xx-HP OfficeJet76543210
Starlinkpassword123
⚠️ Attention: The password file contains confidential information. Store it in a secure location and delete it after use if it is not needed. Do not transmit the file over unsecured channels (for example, unencrypted email).

5. Method 4: Using third-party utilities (WirelessKeyView)

If the built-in Windows tools seem inconvenient, you can use a free utility WirelessKeyView from the developer NirSoftIt doesn't require installation and displays all saved passwords in a convenient table format.

How to use:

  1. Download WirelessKeyView With NirSoft official website (choose the version for 32-bit or 64-bit system).
  2. Unzip the archive and run the file WirelessKeyView.exe (administrator rights are not required).
  3. In the main program window, you'll see a table with all saved networks. The password will be displayed in the column. Key (Ascii).
  4. To copy the password, right-click on the line with the desired network and select “Copy Key”.

Advantages WirelessKeyView:

  • 🔍 Shows passwords even for networks you haven't connected to in a long time.
  • 📤 Allows you to export data to HTML, XML or TXT.
  • 🛡️ Does not require an internet connection (works offline).
⚠️ Attention: Some antiviruses may block WirelessKeyView, because the program reads data from the system registry. This false positive — the utility is virus-free. If necessary, add it to your antivirus exclusions or use Windows' built-in methods.

6. Method 5: View the password in the Windows registry (for advanced users)

This method is suitable for those who are not afraid to work with registry editorWi-Fi passwords are stored encrypted, but they can be decrypted using built-in tools.

Instructions:

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

    Instead of {GUID} Unique identifiers of network interfaces will be substituted.

  3. In each folder Profiles find the parameter ProfileName - it contains the name of the Wi-Fi network.
  4. To decrypt the password, export the registry key (right-click → “Export”) and use the utility WirelessKeyView or a script on PowerShell.

Example of registry structure with passwords:

ParameterMeaningDescription
ProfileNameMyWiFi_5GNetwork name (SSID)
KeyMaterial01000000D08C9DDF...Encrypted password (hex)
ConnectionModeautoConnection mode
AuthEncryptionWPA2-PSK-CCMPEncryption type

⚠️ Warning: Incorrectly editing the registry can cause system failures. If you are unsure of what you are doing, use alternative methods (for example, netsh or WirelessKeyView).

7. What to do if none of the methods worked

If none of the above methods helped to extract the password, the problem may be due to one of the following factors:

  • 🔌 The PC has never connected to this Wi-Fi over the air. Check if the network is in the list netsh wlan show profilesIf not, the password is not saved in the system.
  • 🔄 Network settings have been reset. After the commands netsh winsock reset or netsh int ip reset Wi-Fi data may be deleted.
  • 🛡️ The password is stored only in the router. In this case, there are two options left:
    1. Connect to the router via cable and go to the web interface (usually at the address 192.168.0.1 or 192.168.1.1).
    2. Reset the router to factory settings (button Reset on the back panel) and configure it again.
  • 🖥️ A corporate network with 802.1X authentication is used. In this case, the password can be stored on the radius server (RADIUS), and not on the local PC.
  • FAQ: Frequently Asked Questions about Wi-Fi Password Recovery

    Is it possible to find out the Wi-Fi password if the PC is only connected via cable and has never been connected to the same network over the air?

    No. Windows only saves passwords for networks that you have connected to wirelessly at least once. If the connection was always through Ethernet, there's no Wi-Fi data in the system. In this case, the only option left is to access the router settings or reset it.

    Why are asterisks displayed instead of a password in the command line?)?

    This means that:

    • You forgot to run cmd as administrator.
    • Password for this network not saved (for example, the connection was through WPS or guest access).
    • The network uses pre-shared key (Pre-Shared Key), which is not displayed by standard means.
    • Try alternative methods (eg. WirelessKeyView).

    Is it safe to use third-party programs like WirelessKeyView?

    Utilities from NirSoft (including WirelessKeyView) are considered safe, but:

    • Download them only from the official website (nirsoft.net).
    • Before running, check the file for VirusTotal.
    • Do not use programs on work PCs containing confidential data (risk of false antivirus alarms).
    • For maximum security, use Windows' built-in tools (netsh or "Parameters").

    How to transfer Wi-Fi passwords to another computer?

    There are two ways:

    1. Export via PowerShell (Section 4 of this article). Save the file WiFi_Passwords.txt and transfer it to another PC.
    2. Manual inputCopy the password using any of the methods described and enter it manually on the new device.
    3. ⚠️ Important: The target PC must be running the same version of Windows (or newer), otherwise profile compatibility issues may occur.

    Is it possible to find out my neighbor's Wi-Fi password?

    No, it's impossible. (if you haven't connected to its network before). All the methods described only work with saved profiles On your PC. Someone else's Wi-Fi without the owner's permission is:

    • 🚫 Violation of the law (Article 272 of the Criminal Code of the Russian Federation - unauthorized access to computer information).
    • 🔒 Security risk: Open networks may contain malicious nodes.
    • If you need access, ask the network owner for the password.