Windows 11 saves WiFi passwords in a protected system folder you can access through Settings or Command Prompt

When you connect to a WiFi network on Windows 11, the system stores the password in an encrypted file so you do not have to type it in again. That password stays on your device even after you disconnect. You can retrieve it through two routes: the graphical Settings menu (slower but visual) or Command Prompt (faster if you know the network name). Both methods pull from the same protected location — you just choose how you want to see the information.

The passwords are not stored as plain text sitting in a folder you can browse. Instead, Windows encrypts them and locks them behind your user account. That means only someone logged into your account can see them, which is why the process requires a few steps rather than a straightforward file search.

Key Takeaways

  • Windows 11 stores WiFi passwords in encrypted files that only your user account can access, not in a folder you can browse directly.
  • The Settings menu path is Settings > Network & Internet > WiFi > Manage Known Networks, where you can select a network and view the password.
  • Command Prompt can show you the password faster if you know the network name, using the command: netsh wlan show profile name="NetworkName" key=clear
  • You need administrator rights to view passwords through either method, and Windows will ask for confirmation before showing them.
  • If you cannot remember the exact network name, you can list all saved networks in Command Prompt with netsh wlan show profiles

Using Settings to view a saved WiFi password

Open Settings by pressing Windows key + I, then navigate to Network & Internet on the left sidebar. Click WiFi, then scroll down and select Manage Known Networks. You will see a list of every network your device has connected to before.

Find the network you want the password for and click it. A window opens showing the network name and a button labeled Forget. This button does not show the password directly — instead, look for a link or option that says See password or Show password. Click it, and Windows will ask you to confirm your identity (usually by entering your Windows password or using Windows Hello). After confirmation, the password appears on the screen in plain text.

This method works on any Windows 11 device, but it requires you to remember which network you are looking for. If you have many saved networks, scrolling through the list can take time.

Using Command Prompt for faster password retrieval

Open Command Prompt as administrator by pressing Windows key + X and selecting Terminal (Admin) or Command Prompt (Admin). If prompted, click Yes to allow the program to make changes.

Type this command exactly, replacing "NetworkName" with the actual name of your WiFi network:

netsh wlan show profile name="NetworkName" key=clear

Press Enter. The output shows network details including a line labeled Key Content — that is your password. The password appears in plain text next to that label. This method is faster than Settings if you already know the network name, because you get the result in seconds rather than clicking through menus.

If you do not remember the exact network name, type this command first to see all saved networks:

netsh wlan show profiles

This lists every network your device has ever connected to, showing the exact spelling and capitalization Windows uses. Then use that exact name in the first command above.

Why Windows hides these passwords

The encryption and confirmation steps exist because anyone with physical access to your unlocked computer could otherwise see every password you have ever saved. By requiring your Windows password or biometric confirmation, Windows ensures that only you (or someone who knows your password) can view them. This is especially important on shared devices or laptops you carry between locations.

The passwords themselves are encrypted using your Windows user account as the key, so even if someone copies the encrypted files from your hard drive, they cannot read them without logging in as you. This is why the Settings method and Command Prompt method both require administrator rights — they are asking Windows to decrypt the file on your behalf.

What to do if you cannot see the password

If you click See password in Settings and nothing happens, or if Command Prompt shows an error, the most common cause is that you are not running as administrator. Close the program and open it again, this time right-clicking and selecting Run as administrator. Windows will ask for confirmation — click Yes.

If you see an error message saying the network profile does not exist, the network may have been forgotten or the name may be spelled differently than you typed it. Use the netsh wlan show profiles command to see the exact name Windows has stored, then try again with that exact spelling.

On some devices with strict security policies (often on work computers), administrators may have blocked the ability to view saved passwords. If that is the case, you will see a message saying the operation is not permitted. Contact your IT department or device administrator to request access.

Storing passwords more securely going forward

Once you have the password, consider whether you need to save it in Windows at all. If you use the same network regularly, Windows remembering it is convenient. If you use it rarely or share the device with others, you might uncheck Connect automatically when you join the network, so Windows asks for the password each time.

For passwords you need to remember or share with others, a password manager like Bitwarden, 1Password, or KeePass stores them encrypted and lets you retrieve them without exposing them to your entire device. These tools are especially useful if you manage multiple networks or share WiFi access with guests.

Frequently Asked Questions

Can I see WiFi passwords saved by other user accounts on the same computer?

No. Each Windows user account has its own encrypted password storage. You can only view passwords saved under the account you are currently logged into. To see another user's saved passwords, you would need to log into that account directly.

What if I forgot my Windows password and cannot confirm my identity?

You cannot view the stored WiFi password without confirming your Windows identity. If you have forgotten your Windows password, you will need to reset it through your Microsoft account or local account recovery process before you can access the WiFi passwords. The WiFi password itself cannot be recovered any other way.

Does viewing a saved password change anything on my device or the network?

No. Viewing the password does not disconnect you from the network, change the password, or notify the network owner. It only displays the password that is already stored on your device. The network itself is unaffected.

Can I export all my saved WiFi passwords at once?

Windows does not have a built-in export function for all passwords at once. You can view them one at a time through Settings or Command Prompt, but there is no single command to dump all passwords to a file. Some third-party tools claim to do this, but they require administrator rights and carry security risks if misused.

What happens to saved passwords if I reset Windows 11?

A full Windows reset (keeping files) preserves your user account and its encrypted password storage, so saved WiFi passwords remain. A reset that removes everything deletes all saved passwords. Before resetting Windows, write down any passwords you need to keep, or export them manually through Command Prompt one network at a time.