Forum Discussion

Zasom's avatar
Zasom
Copper Contributor
Nov 28, 2024

Any way to view or find my wifi password in Windows 10 laptop?

I bought a new Android phone and can't connect WiFi with the phone as it says password is incorrect. I tried all the passwords I could remember but no avail. It turns out my wife changed the password but did not save it in a safe place.

Currently, I have a Windows 10 laptop actively connected to the same WiFi network. And the connection is good. How can I view or find my wifi password in Windows 10?

Regards,

Zasom

  • Gaup's avatar
    Gaup
    Copper Contributor

    You can view Windows 10 wifi password via command prompt.

    1. Open Command Prompt as an administrator. Type the following command and press Enter:

    2. Find the name of your Wi-Fi network in the list and note it down.

    3. Type the following command (replace WiFiName with your network name) and press Enter:

    netsh wlan show profile name="WiFiName" key=clear

    Look for Key Content under "Security settings" to find your Wi-Fi password.

    This is a totally free way to find wifi password in Windows 10. And you don't need to install additional software for doing this.

     

  • Grergg's avatar
    Grergg
    Copper Contributor

    How to find Windows 10 WiFi password via network settings:

    1. Right-click the Wi-Fi icon in the taskbar and select Open Network & Internet settings. Scroll down and click Network and Sharing Center. 
    2. Under your active Wi-Fi network, click on the Wi-Fi name (next to "Connections"). In the new window, click Wireless Properties > Security tab.
    3. Check the box next to Show characters under "Network security key" to reveal the password.
  • OregonRain's avatar
    OregonRain
    Copper Contributor

    About viewing WiFi password in Windows 10 laptop. Not everyone is comfortable using the Command Prompt. If you’re not familiar with typing commands, it might feel a bit intimidating. I mean, who wants to mess with lines of text that look like they belong in a hacker movie, right?
    You need to run the Command Prompt as an administrator to see the Wi-Fi details. If you’ve got a locked-down setup (like on a work laptop), you might not have those permissions, and it can be a hassle.

    If you're not careful with the commands, especially if you're playing around with network settings, you could end up changing something you didn’t mean to and cause connectivity issues. This happened to a friend of mine once, and they spent hours trying to fix it.

    Sometimes the graphical interface is just easier to digest. If you’re a visual learner, staring at lines of text can make it harder to retain the info. The settings menu is way more user-friendly.

  • Exxon's avatar
    Exxon
    Copper Contributor

    Windows 10 stores Wi-Fi passwords in wireless network profiles, which include all the settings for a specific Wi-Fi connection (e.g., SSID, security type, encryption type, and the password). These profiles are saved on the system in the WLAN folder:

    C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces


    The password is stored in encrypted form within an XML file associated with the network profile.

    While the password is encrypted, users can find Windows 10 wifi password from: Network and Sharing Center > Wireless Properties > Security tab (as described in earlier methods). Administrators can also view passwords using the Command Prompt or third-party tools.

  • Daofenw's avatar
    Daofenw
    Copper Contributor

    The Wi-Fi password is encrypted using the Windows Data Protection API (DPAPI) to ensure security. It is tied to the current user's credentials or the system account. This means the password cannot be directly accessed or decrypted without proper permissions.

    In addition, If you sign in with a Microsoft account, Windows 10 may sync your saved Wi-Fi networks and passwords across devices connected to the same account (if syncing is enabled). You can check this setting under: Settings > Accounts > Sync your settings.

    After enabling this feature, you can see or view WiFi password in Windows 10 once the same Microsoft account is lined to the device.

  • Shrikri's avatar
    Shrikri
    Copper Contributor

    Each WiFi profile are saved in an xml file in Windows 10. The included items in the file are:

    • Network name (SSID)
    • Security type (e.g., WPA2-PSK)
    • Encryption type
    • Password (encrypted using DPAPI)

    Wi-Fi passwords are encrypted using the Windows Data Protection API (DPAPI). DPAPI ties encryption keys to the current Windows user account. It ensures that the saved password cannot be accessed or decrypted by another user without administrative rights or elevated permissions.

    Windows 10 uses the Netsh WLAN API to manage wireless profiles. Using the netsh command, users or administrators can query network profiles. To retrieve a specific profile's details, including the password (if the user has sufficient privileges):

    netsh wlan show profile name="NetworkName" key=clear

    The key=clear parameter displays the password in plain text (decrypted via DPAPI). And you can use other tools to decrypt the key. After that, you can safely and easily view Windows 10 wifi password without any issue.

  • Jesse_PooleL's avatar
    Jesse_PooleL
    Copper Contributor

    So, you’re trying to find WiFi password on Windows 10 laptop? Using the netsh command to pull the password only works if you have the right permissions. If you’re not an admin on that machine, you can forget about it.

    While the password is encrypted with DPAPI, if you’re working on a shared machine, someone with admin rights could easily retrieve it. So, if you’re sharing a laptop with family or coworkers, it’s a bit of a privacy issue. You might just end up exposing your WiFi password to everyone using the machine.

    This whole process hinges on the netsh command and the underlying Windows Data Protection API. If something goes wrong with your Windows installation or if those components are corrupted, you might find yourself unable to retrieve those passwords. So it's like having a tool ready, but one wrong move and you can’t use it!

  • Obellaicon's avatar
    Obellaicon
    Copper Contributor

    When you want to view WiFi password in Windows computer. If you decide to switch your Microsoft account or if something happens with it (like forgetting the password or getting locked out), you might lose access to all the Wi-Fi passwords saved under that account. While Windows makes it relatively easy to see Wi-Fi passwords compared to older versions, it’s still not as straightforward as it should be. You often need to use Command Prompt or dive into network settings, which can feel cumbersome if you’re not tech-savvy.

Resources