This guide shows you how to find the passwords for WiFi networks your Windows 10 PC has connected to before. You’ll learn the quickest method for the network you’re currently using, plus a Command Prompt trick to recover passwords for any saved network. No extra software is needed—everything is built into Windows.
What You’ll Need
- A Windows 10 PC that is currently connected to the WiFi network whose password you want to see (for the Settings method).
- Administrator access to the PC (required for the Command Prompt method).
- The exact name (SSID) of the WiFi network you’re looking for, if it’s not the one you’re currently on.
Step-by-Step
Method 1: View the Password for the WiFi Network You’re Currently Connected To
- Click the Start button (Windows logo) and select Settings (the gear icon).
- Click Network & Internet.
- In the left sidebar, click Status.
- Under “Advanced network settings,” click Network and Sharing Center. (Alternatively, you can search for “Network and Sharing Center” in the Start menu.)
- Next to “Connections,” click the name of your WiFi network (it’s blue text, e.g., “MyWiFi”).
- In the WiFi Status window that pops up, click Wireless Properties.
- Switch to the Security tab.
- Check the box that says Show characters. The password will appear in the “Network security key” field.
Method 2: View Passwords for All Saved WiFi Networks Using Command Prompt
- Click the Start button, type cmd (or “Command Prompt”) in the search box.
- Right-click Command Prompt in the results and select Run as administrator. Click Yes if the User Account Control prompt appears.
- In the Command Prompt window, type the following command and press Enter:
netsh wlan show profiles
This lists all WiFi networks your PC has ever connected to. Note the exact name (SSID) of the network you want the password for. - Type the following command, replacing WiFiName with the actual network name (keep the quotes if the name has spaces):
netsh wlan show profile name="WiFiName" key=clear
For example:netsh wlan show profile name="HomeNetwork" key=clear - Look for the Security settings section in the output. Next to Key Content, you’ll see the WiFi password in plain text.
Common Mistakes
- Not running Command Prompt as administrator: If you run it normally, you’ll get an error saying “The request is not supported” or the key content won’t show. Always right-click and choose “Run as administrator.”
- Typing the wrong profile name: The profile name is case-sensitive and must match exactly what appears in the list from
netsh wlan show profiles. If the name has spaces, you must enclose it in quotes. - Looking at the wrong tab: In the Wireless Properties window, the password is on the Security tab, not the Connection tab.
- Assuming the password is visible without checking “Show characters”: Windows hides the password by default; you must tick that box.
Tips
- If you only need the password for the network you’re on right now, Method 1 is fastest—no admin rights needed.
- Use Method 2 to recover passwords for networks you haven’t connected to in a while, as long as the profile is still saved.
- You can also export all WiFi profiles to an XML file with
netsh wlan export profile folder=C:\(run as admin). This saves each profile as a file that includes the password, but note it’s not encrypted, so store it safely. - If you’re trying to connect a new device, consider using the QR code feature on your phone (if your router supports it) instead of typing the password manually.
Troubleshooting
The “Show characters” box is grayed out or doesn’t show the password
This happens when you’re not the administrator of the PC, or the network profile is managed by your organization (e.g., a work or school WiFi). Try the Command Prompt method with admin rights. If that also fails, you likely don’t have permission to view the password—contact your system administrator.
Command Prompt says “No profiles found”
This means your PC hasn’t saved any WiFi profiles. This can happen if you’ve never connected to a WiFi network, or if the WLAN AutoConfig service is disabled. To check, press Win + R, type services.msc, and ensure WLAN AutoConfig is set to “Automatic” and is running. Then try again.
The password is shown as “Cannot compute” or blank
This usually indicates a connection issue or that the profile is corrupted. Try forgetting the network and reconnecting: go to Settings > Network & Internet > WiFi, click Manage known networks, select the network, and click Forget. Then reconnect by entering the password again (you may need to ask the router owner for it). After reconnecting, the password should be saved correctly.
I get an “Access denied” error in Command Prompt
You didn’t run Command Prompt as administrator. Close the window, right-click Command Prompt, and choose “Run as administrator.”
Frequently Asked Questions
Can I view saved WiFi passwords on Windows 10 Home?
Yes, both methods work on Windows 10 Home, Pro, and Enterprise. The Settings method works on all editions, and the Command Prompt method works as long as you have administrator rights.
Do I need to be connected to the WiFi network to see its password?
For the Settings method, yes—you can only see the password for the network you’re currently connected to. For the Command Prompt method, no—you can see passwords for any saved profile, even if the network is not in range.
Is it legal to view saved WiFi passwords?
Yes, it’s legal to view passwords for networks you own or have permission to use. However, using this method to access someone else’s network without authorization is illegal and unethical.
Will this work for WiFi networks that use WEP or WPA2-Enterprise?
For WEP and WPA2-Personal (the common home type), the password will show. For WPA2-Enterprise (usually used in offices/schools with a username/password login), the “Key Content” may be blank because the authentication is handled differently—you won’t see a simple password.
Can I see the password for a network I’ve forgotten?
If you’ve “forgotten” the network in Windows, the profile is deleted, and the password is no longer stored. You’ll need to reconnect to the network and re-enter the password before you can view it again.
Does this work on Windows 11?
Yes, the same methods work on Windows 11, though the Settings menu looks slightly different. In Windows 11, go to Settings > Network & Internet > Advanced network settings > More network adapter options, then follow the same steps from there.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Apps Not Downloading From Play Store
- Secure a Samsung Galaxy After a Zero-Day Disclosure
- What to Check Before Installing Linux Alongside Windows
- Fix OEM Activation Error 0xc004c060 in Windows 10
- Why Does My App Run One Query for the List and One per Item?
- Fix Google Chrome Has Stopped Working