Wifi password in windows 10?
In this article
To view a saved Wi-Fi password in Windows 10, you can access it through the Network and Sharing Center by selecting the connected network, opening Wireless Properties, and checking the 'Show characters' box under the Security tab. This reveals the password only if you have administrator privileges and are currently connected to or have previously saved the network.
How Windows 10 Stores Wi-Fi Passwords
Windows 10 automatically saves Wi-Fi network credentials when you connect to a wireless network and choose to remember it. These passwords are stored in the system’s Credential Manager under a secure component called the Wireless Configuration (WLAN) database. The data is encrypted using the Windows Data Protection API (DPAPI), which ties the decryption key to your user account. This means only users with access to that specific account—especially administrators—can retrieve the password.
The stored information includes the network SSID (name), security type (such as WPA2-Personal), authentication method, and the pre-shared key (the actual password). These settings allow Windows to reconnect automatically without prompting you each time. However, for security reasons, the password is hidden by default and displayed only when explicitly requested and authorized.
Step-by-Step: Viewing a Saved Wi-Fi Password
If you need to retrieve a Wi-Fi password you’ve previously connected to, follow these steps:
- Click the Wi-Fi icon in the system tray (bottom-right corner of the taskbar).
- Select “Network & Internet settings” from the pop-up.
- Click “Wi-Fi” in the left sidebar, then click “Manage known networks” under the Wi-Fi name.
- Choose the network you want, then click “Properties”.
- Scroll down and click “Show available networks” if you’re not currently connected (optional).
- Alternatively, go back to the system tray, right-click the Wi-Fi icon, and select “Open Network & Internet settings”.
- Click “Change adapter options” on the right.
- Right-click your Wi-Fi adapter (e.g., “Wi-Fi”) and select “Status”.
- In the Wi-Fi Status window, click “Wireless Properties”.
- Go to the “Security” tab.
- Check the box labeled “Show characters” to reveal the password.
Note: You must be logged in as an administrator to perform this action. Standard user accounts without elevated privileges will not see the “Show characters” option or may be blocked from accessing Wireless Properties.
Accessing Wi-Fi Passwords via Command Prompt
For advanced users, the Command Prompt offers a faster method to retrieve saved Wi-Fi passwords. This method uses the netsh command to extract network profiles and keys:
- Press Windows + X and select “Command Prompt (Admin)” or “Windows PowerShell (Admin)”.
- Type the following command to list all saved Wi-Fi profiles:
netsh wlan show profiles
- Find the network name (SSID) you want, then run:
netsh wlan show profile name="NETWORK_NAME" key=clear
ReplaceNETWORK_NAMEwith the actual SSID (use quotes if the name has spaces). - Look for the “Key Content” field under “Security settings”. The value next to it is the Wi-Fi password.
This method is particularly useful for retrieving passwords from networks you’re not currently connected to. The key=clear flag is essential—it tells Windows to display the password in plain text. Without it, the key remains hidden.
Security and Privacy Considerations
While retrieving a saved Wi-Fi password is straightforward for authorized users, it poses security risks if physical or administrative access is compromised. Anyone with admin rights on a Windows 10 machine can view all saved Wi-Fi passwords using the methods above. This is why it’s critical to:
- Protect your user account with a strong login password.
- Enable BitLocker or device encryption on laptops.
- Limit administrator privileges to trusted users only.
- Avoid saving sensitive network passwords on shared or public computers.
Organizations often use Group Policy to restrict access to wireless settings or disable the ability to view saved passwords. Additionally, enterprise networks typically use WPA2-Enterprise or WPA3 with individual user authentication (via RADIUS servers), so there is no shared pre-shared key to expose.
Common Problems and Troubleshooting
Users sometimes encounter issues when trying to view saved Wi-Fi passwords. Common problems include:
- “Show characters” box is grayed out: This usually means you lack administrative rights. Log in as an admin or contact your system administrator.
- No networks appear in “Manage known networks”: You may have never saved the network, or it was deleted. Windows only stores networks where “Connect automatically” was selected.
- Command Prompt returns “profile not found”: Double-check the SSID spelling. Use
netsh wlan show profilesto confirm the exact name. - Password not showing even with key=clear: Ensure you’re running Command Prompt as administrator. Without elevated privileges, the key content remains hidden.
If a network was connected to but never saved, Windows does not retain the password. In such cases, the only way to recover it is from the router or another device where it was saved.
Frequently Asked Questions
Can I see a Wi-Fi password if I’m not connected to the network?
Yes, as long as the network was previously saved on your Windows 10 device. Use the Command Prompt method with netsh wlan show profile to retrieve it even when disconnected.
Can I retrieve a Wi-Fi password without administrator rights?
No. Viewing saved Wi-Fi passwords requires administrative privileges. Standard user accounts cannot access the Security tab or run elevated Command Prompt commands.
Is it safe to save Wi-Fi passwords on Windows 10?
It’s generally safe on personal, password-protected devices. However, avoid saving sensitive network credentials on shared or unencrypted computers where others may gain admin access.
What if the Wi-Fi network doesn’t show up in saved networks?
If the network isn’t listed, Windows never saved it. This happens if you selected “No” when prompted to connect automatically. You’ll need to reconnect and save it, or retrieve the password from the router.
Can I export all saved Wi-Fi passwords at once?
Yes, using Command Prompt. Run netsh wlan export profile key=clear to save all profiles—including passwords—to an XML file in the current directory. Be cautious: this file is readable and should be deleted after use.
Does resetting Windows remove saved Wi-Fi passwords?
Yes. Performing a full reset or clean install erases the WLAN database. However, a simple restart or sign-out does not—passwords persist across sessions.