Where Windows stores your WiFi password
Windows 10 keeps the password for every network you've ever connected to in a file called the Wireless Profile. This file is encrypted and stored on your computer, not sent to Microsoft or your router. If you've connected to your home WiFi before, Windows remembers it — and you can pull that password back out without resetting anything on your router.
The catch: you need to be logged into the Windows account that originally connected to that network. If your spouse set up the WiFi and you're logged in as a different user, you won't see the password. You'll need them to log in, or you'll need to reset the password at the router itself.
Key Takeaways
- Windows 10 stores WiFi passwords in Wireless Profiles tied to your user account, so you must be logged in as the person who originally connected.
- The fastest method is right-clicking the network in Settings and selecting "Manage known networks," then choosing your network and clicking "Forget" — but this only works if you're already connected.
- If you're not connected, use Command Prompt with the command netsh wlan show profile name="YourNetworkName" key=clear to display the password in plain text.
- You need administrator rights on your Windows account to view stored passwords; standard user accounts cannot access this information.
- If none of these methods work, your only option is to reset the password directly on your router using its admin panel.
Retrieve the password if you're currently connected
If your computer is right now connected to your home WiFi, this is the easiest route. Open Settings (press Windows key + I), then go to Network & Internet on the left sidebar. Click WiFi, then scroll down and click Manage known networks
Find your network name in the list and click it. A new window opens. Click Forget at the top. Your computer will disconnect from the network when ready — this is normal and expected. Now click on your network name again from the WiFi list (it will still appear), and Windows will ask you to enter the password. When you type it in and connect, Windows will save it again. This method doesn't show you the password; it just forces you to re-enter it, which means you need to know it already. If you don't know it, move to the next section. This method works whether you're connected or not, as long as you've connected to that network before from this Windows account. Right-click the Start button and select Windows Terminal (Admin) or Command Prompt (Admin). If you see a User Account Control popup asking for permission, click Yes. In the black window that opens, type this exactly (replace "YourNetworkName" with your actual network name): Press Enter. Windows will display a long list of information about that network. Scroll down until you see the line that says Key Content — the password is right there in plain text next to it. If you see an error message saying "Interface specified was not found," it means either the network name is spelled wrong, or your Windows account never connected to that network before. Check the exact spelling of your network name (it's case-sensitive in this command) and try again. If you're not sure what your network is called, open Settings, go to Network & Internet, then WiFi. Click Manage known networks. Every network your account has ever connected to is listed there with its exact name. Copy the name exactly as it appears, then use that in the Command Prompt command above. Alternatively, open Command Prompt as admin and type: This shows every network your account has connected to. Find yours in the list, note the exact spelling, then use the longer command from the previous section with that name. Windows ties WiFi passwords to individual user accounts. If you're logged in as "Guest" or "User2" but your spouse set up the network under "User1," you cannot see the password from your account. You have three options: ask the person who set it up to log in and retrieve it for you, have them change the password at the router and tell you the new one, or reset the password yourself at the router. If you need to reset it at the router, you'll need the router's admin password, which is usually printed on a sticker on the back or bottom of the device. Log into your router's admin panel (usually 192.168.1.1 or 192.168.0.1 in a web browser), find the WiFi settings, and change the password there. All devices will disconnect and you'll need to reconnect using the new password. If you run the Command Prompt command and get an error, the most common reasons are: the network name is misspelled (remember, it's case-sensitive), your account never connected to that network, or you didn't open Command Prompt as administrator. Close the window, right-click Start again, and make sure you pick the Admin version. If you're certain the name is right and you did connect before, try the Settings method instead. Go to Settings > Network & Internet > WiFi > Manage known networks, find the network, click it, and look for any option to view or manage the password. Some versions of Windows 10 show slightly different options depending on your update level. If none of the Windows methods work — either because you don't have admin rights on your account, or because your account never connected to the network — your only path forward is the router itself. Find your router's model number (usually on the back), then search online for "[Model Number] default password" or "[Model Number] admin login." Most routers have a default username and password printed on them. Open a web browser and go to your router's IP address (commonly 192.168.1.1). Log in with the default credentials. Look for a section called WiFi Settings, Wireless, or Network. Change the password there, save the changes, and your router will restart. Once it's back online, all your devices will disconnect and you'll need to reconnect with the new password. No. Windows requires administrator rights to view stored WiFi passwords. You'll need to either log in as an admin account, ask an admin to retrieve it for you, or reset the password at the router. Put the entire network name in quotation marks in the Command Prompt command, exactly as shown in the example. If your network is called "Smith Family WiFi," the command would be: netsh wlan show profile name="Smith Family WiFi" key=clear No. Viewing the password in Windows does not affect your router, your network, or any other devices. It only reads what Windows already has stored. This usually means the network is set to open (no password required). If you're certain your network has a password, try disconnecting and reconnecting to it — Windows may not have saved the password correctly the first time.Use Command Prompt to view the password
netsh wlan show profile name="YourNetworkName" key=clear
Find the network name if you don't remember it
netsh wlan show profiles
What to do if you're not the account that connected
Troubleshooting when the command doesn't work
When you need to reset at the router instead
Frequently Asked Questions
Can I see the password if I'm logged in as a standard user, not an administrator?
What if the network name has special characters or spaces in it?
Will retrieving the password from Windows change anything on my router?
What if I see "Key Content" but it's blank or says "Absent"?