Forgotten Wi-Fi passwords are a common frustration, especially when you need to grant a visitor access or troubleshoot a connection on a Windows 10 machine. While the operating system is designed to store these credentials securely, there are several legitimate methods to retrieve them without resorting to risky third-party software. This guide walks you through the built-in tools available to find your network password on Windows 10.
Understanding How Windows Stores Network Credentials
Before diving into the retrieval process, it helps to understand that Windows 10 uses a database called the Credential Manager to securely store login information. For wireless networks, the specific type of credential is a "Wireless Network Profile." Each time you connect to a new Wi-Fi network and save the credentials, Windows encrypts the password and links it to the network name. Retrieving this password is essentially about accessing this stored profile.
Method 1: Using the Settings App for Quick Access
The most straightforward approach for the average user is through the graphical Settings menu. This interface is designed for simplicity and does not require advanced technical knowledge. Follow these steps to locate your password visually.

Step-by-Step via Settings
- Open the Settings application by pressing Win + I.
- Navigate to Network & Internet, then click on Wi-Fi.
- Scroll down and click on Manage known networks.
- Select the network for which you need the password and click Properties.
- Scroll down and toggle the switch next to Show characters. You will likely be prompted to confirm your identity via Windows Hello (Face, Fingerprint, or PIN).
Method 2: The Command Line with Netsh
For users who prefer the command line or need to export the information, the netsh utility is incredibly powerful. This method allows you to view the raw profile data and export it to an XML file, which can be useful for archival or migration purposes. This process reveals the password in plain text after confirming your user rights.
Executing the Command
- Right-click the Start button and select Windows Terminal (Admin) or Command Prompt (Admin).
- To view all saved network profiles, type
netsh wlan show profilesand press Enter. - To find the password for a specific network, type the command:
netsh wlan show profile name="NetworkName" key=clear. - Look for the section labeled Key Content; the password will be displayed directly beneath it.
Method 3: Accessing the XML Export
If you need to transfer the password to another device or keep a backup, exporting the profile to an XML file is the ideal solution. The exported file contains the security settings of the network, including the encrypted password, which is tied to the specific user account on the original machine. Remember to secure this file properly, as it contains sensitive data.
Generating the Export
- Open an elevated Command Prompt or Terminal as described in the previous method.
- Type the command:
netsh wlan export profile name="NetworkName" folder="C:\Temp" key=clear. - Navigate to the export location (e.g., C:\Temp) and open the XML file in a text editor.
- Search for the
<keyMaterial>tag to find the password in plain text.
Security Considerations and Limitations
It is important to note that these methods require local administrator access to the machine. If you are trying to access a network password on a work or school computer managed by an IT department, you likely do not have the necessary permissions. In such cases, the correct course of action is to contact your system administrator rather than attempting to bypass security policies.

Using Third-Party Utilities: Proceed with Caution
While the built-in Windows tools suffice for most scenarios, some third-party applications claim to recover stored passwords. However, security experts often warn against these tools due to potential privacy risks; they may require deep system access that could compromise your security. Sticking to the native netsh commands or the Credential Manager ensures that you maintain full control and visibility over the process without introducing unknown variables to your system.
Troubleshooting Common Errors
Occasionally, users might encounter obstacles when trying to retrieve the password. If the "Show characters" toggle is greyed out in Settings, it usually means the network was connected via Ethernet or the profile was imported manually rather than through a standard scan. Similarly, if the command line returns an error stating "The profile is not available," it could indicate that the service responsible for managing Wi-Fi is not running. Restarting the Windows WLAN Autoconfig service typically resolves this issue.























