Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Wifi password windows: how to find or reset it

· 5 min read · Home Networking

In this article
  1. Background on Wi-Fi Password Storage in Windows
  2. How to Retrieve a Saved Wi-Fi Password
  3. Requirements and Limitations
  4. How to Reset or Change a Wi-Fi Password
  5. Security and Privacy Considerations
  6. Alternatives and Workarounds
  7. Frequently Asked Questions

On Windows, a Wi-Fi password is not directly visible for security reasons, but you can retrieve it if you have administrator access and the network has been previously connected to. The password is stored in the system’s network settings and can be viewed through the Network and Sharing Center or command-line tools like netsh.

Background on Wi-Fi Password Storage in Windows

Windows stores Wi-Fi network credentials in a secure database known as the Wireless Profile. Each saved network includes details like the SSID (network name), security type (WPA2, WPA3, etc.), and the encrypted password. This data is managed by the WLAN AutoConfig service and stored in XML-based configuration files within the system. These profiles allow Windows to automatically reconnect to known networks without requiring the user to re-enter credentials.

The passwords themselves are encrypted using the Windows Data Protection API (DPAPI), which binds them to the user account and system. This means that only someone logged into the same account—and with sufficient privileges—can decrypt and view the stored password. This design protects against casual snooping but assumes physical access to the device is controlled.

How to Retrieve a Saved Wi-Fi Password

If you’ve connected to a Wi-Fi network before and saved the password, you can reveal it using built-in Windows tools. The most reliable method uses the Command Prompt with administrative rights:

  1. Press Windows + S, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Type the following command and press Enter:
    netsh wlan show profile
    This lists all saved Wi-Fi networks.
  3. To view the password for a specific network, use:
    netsh wlan show profile name="NetworkName" key=clear
    Replace NetworkName with the actual SSID (use quotes if the name has spaces).
  4. Look for the Key Content field under Security settings. This displays the Wi-Fi password in plain text.

Alternatively, you can use the graphical interface:

  • Go to Control Panel > Network and Internet > Network and Sharing Center.
  • Click on the active Wi-Fi connection name (e.g., “Wi-Fi” or “Wireless Network Connection”).
  • In the Wi-Fi Status window, click Wireless Properties.
  • Go to the Security tab and check the box labeled Show characters. The password will appear in the Network security key field.

Requirements and Limitations

You must meet several conditions to view a saved Wi-Fi password:

  • Administrator privileges: Standard user accounts cannot access the password, even if they’re logged in.
  • Network must be saved: The network must have been previously connected to and saved in Windows. You cannot retrieve passwords for networks you’ve never joined.
  • Physical access to the device: Remote desktop or limited user sessions may not provide the necessary permissions.
  • Same user account: Passwords are encrypted per user. If another user saved the network, you won’t see it unless you log in as them or have access to their profile.

These restrictions are intentional for security. They prevent unauthorized users from easily extracting network credentials from shared or stolen devices.

How to Reset or Change a Wi-Fi Password

If you want to change the Wi-Fi password on your network, you must do so on the router—not on the Windows PC. The PC only stores the password; it doesn’t control the network. To reset the router password:

  1. Connect to your router via a web browser by entering its IP address (commonly 192.168.1.1 or 192.168.0.1).
  2. Log in using the router’s admin credentials (often found on a sticker on the device).
  3. Navigate to the Wireless or Security settings.
  4. Change the Network Password (also called Pre-Shared Key).
  5. Save the settings. All devices will disconnect and must reconnect using the new password.

After changing the router password, Windows will prompt you to re-enter it when reconnecting. You can also manually update the saved profile by forgetting the network and reconnecting with the new password.

Security and Privacy Considerations

While retrieving Wi-Fi passwords is useful for legitimate purposes, it poses risks if misused. Anyone with admin access to a Windows machine can potentially see all saved Wi-Fi passwords, including those for home, work, or public networks. This is why it’s critical to:

  • Protect physical access to your device.
  • Use strong login passwords or Windows Hello authentication.
  • Log out or lock your computer when unattended.
  • Remove saved networks from shared or public computers using Forget this network in Wi-Fi settings.

Organizations often disable local admin rights to prevent unauthorized access to stored credentials. Additionally, enterprise networks using WPA2-Enterprise or 802.1X authentication do not store passwords in the same way—instead, they use certificates or temporary tokens, making password extraction irrelevant.

Alternatives and Workarounds

If you can’t access the password via Windows, consider these alternatives:

  • Check the router: Many routers display the default Wi-Fi password on a label. If it hasn’t been changed, this is the easiest way to find it.
  • Use another connected device: On Android (with root access) or macOS (via Keychain Access), you may be able to retrieve the password.
  • QR code sharing: Modern routers and phones support sharing Wi-Fi via QR codes. Use your phone’s camera or a QR scanner to join without typing the password.
  • Reset the router: As a last resort, pressing the reset button restores factory settings, including default Wi-Fi credentials. You’ll lose all custom settings.

Third-party tools claim to recover Wi-Fi passwords, but many are flagged as malware. Stick to built-in Windows methods for safety.

Frequently Asked Questions

Can I see Wi-Fi passwords without admin rights?
No. Administrator privileges are required to view saved Wi-Fi passwords in Windows. Standard users cannot access this information, even if they know the network.

Why does 'Key Content' say 'Present: No'?
This means the password is not stored in the profile. It may be a hidden network, or the profile was saved without saving the credentials. You’ll need to reconnect and choose to save the password.

Can I retrieve a password for a network I’ve never joined?
No. Windows only stores credentials for networks you’ve successfully connected to and saved. You cannot retrieve passwords for nearby networks.

Does this work on Windows 10 and 11?
Yes. The netsh command and Control Panel method work identically on Windows 10, 11, and older versions like Windows 7 and 8.1.

Is it legal to view saved Wi-Fi passwords?
It is legal if you own the device and the network. Accessing passwords on a device you don’t own or without permission may violate privacy laws or acceptable use policies.

What if the network uses WPA3 or enterprise security?
For WPA3-Personal, the method still works. For enterprise networks (WPA2/3-Enterprise), passwords aren’t stored in the same way—authentication uses individual user credentials or certificates, not a shared key.