Five proven methods to find any saved WiFi password on your Windows PC — from the current network to passwords for networks you connected to months ago.
G-Tech Blog | 2026 | 12 min readForgot your WiFi password? You are not alone — it happens to everyone. Whether you are trying to connect a new phone, share your password with a guest, or simply can't remember what you set it to years ago, Windows quietly saves every WiFi password it has ever connected to. This guide shows you every method available to recover those saved passwords on Windows 10 and Windows 11, from the simplest point-and-click approach to the most powerful command-line techniques.
Before trying any of the methods below, there are two things you need to confirm. First, you need a Windows user account with administrator privileges. Standard user accounts can't view saved network security keys because Windows treats them as sensitive credential data. If you are on a work or school computer managed by IT, some of these methods may be restricted by group policy — in that case, contact your IT department.
Second, understand that Windows can only show you the password for a network it has previously connected to and saved. If you never connected your computer to that network, the password will not be stored on it. In that case, you will need to check your router's admin page instead — we cover that in Method 6.
This is the simplest method and works perfectly if you are currently connected to the WiFi network whose password you want to find. Windows 11 slightly reorganized the Settings menu compared to Windows 10, so we cover both versions below.
The Control Panel route has been available since Windows 7 and still works on both Windows 10 and 11. Some users prefer it because it is a more direct path with fewer clicks once you know the way. It only shows the password for the network you are currently connected to.
control and press Enter to open the Control Panel.You can also reach the Network and Sharing Center faster by typing ncpa.cpl in the Run
dialog (Windows + R), which takes you directly to the adapter list, skipping the Control Panel home
screen entirely.
This is the most powerful method for most users because it lets you retrieve passwords for any network your computer has ever connected to, not just the current one. If you need the password for your office WiFi, your parents' home network, or a hotel network you connected to last year — and your laptop is in the list of saved profiles — you can recover it here.
The tool is called netsh (Network Shell), a built-in Windows command-line utility for
managing network configurations. You do not need to install anything extra.
This step is critical. netsh will not display passwords without administrator
privileges.
Type the following command and press Enter:
netsh wlan show profile
Windows will display a list of every WiFi network your computer has saved. The output looks like this:
User profiles
-------------
All User Profile : HomeNetwork
All User Profile : OfficeWiFi
All User Profile : CoffeeShop_Guest
All User Profile : Mum_sHome
Note down the exact name of the network whose password you want — spelling and capitalization must match exactly.
Replace NETWORK_NAME with the exact network name from the list above:
netsh wlan show profile "NETWORK_NAME" key=clear
For example, to see the password for a network called "HomeNetwork":
netsh wlan show profile "HomeNetwork" key=clear
Look through the output for the Security settings section. Your password appears next to Key Content:
Security settings
-----------------
Authentication : WPA2-Personal
Cipher : CCMP
Security key : Present
Key Content : MySecretPassword123
netsh wlan show profile "My Home WiFi 5G" key=clearIf you need to retrieve passwords for multiple networks at once — for example, to document your home or office network credentials — PowerShell lets you loop through all saved profiles and display every password in a single command. This is the fastest way to get a complete list.
Paste the following command into PowerShell and press Enter:
(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key Content\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE=$name;PASSWORD=$pass }} | Format-Table -AutoSize
This produces a clean table showing every saved network name alongside its password:
PROFILE PASSWORD
------- --------
HomeNetwork MySecretPassword123
OfficeWiFi C0mpanyW1F1Pass
CoffeeShop_Guest freewifi2024
To save the list to a file on your Desktop for safekeeping, add | Out-File at the end:
(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key Content\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE=$name;PASSWORD=$pass }} | Format-Table -AutoSize | Out-File "$env:USERPROFILE\Desktop\wifi-passwords.txt"
Open wifi-passwords.txt on your Desktop to view the full list.
Windows Credential Manager is a built-in vault that stores passwords, certificates, and other credentials
for websites, applications, and networks. While WiFi passwords for WPA2 networks are more commonly
stored in the WLAN profiles (accessed via netsh), some network types and older Windows
configurations store credentials here. It's worth checking if the other methods do not show what you
need.
control, and press Enter.Credential Manager is particularly useful for finding passwords for enterprise WiFi networks
(WPA2-Enterprise / 802.1X), which authenticate using a username and password rather than a pre-shared
key. These credentials are stored in Credential Manager rather than the WLAN profiles, so
netsh will not show them.
If none of the Windows methods work — perhaps because the computer was never connected to that network, or you need the password for a device that has no display — you can always find the WiFi password directly on your router. This works for any device on your network, not just Windows PCs, and always shows the current password regardless of whether it has ever been saved on a computer.
Open Command Prompt and type:
ipconfig
Look for the Default Gateway entry under your WiFi adapter. It will typically be
something like 192.168.1.1 or 192.168.0.1.
192.168.1.1) and
press Enter.The underlying methods for finding WiFi passwords are the same on both Windows 10 and 11 — the WLAN
profiles, netsh, and Credential Manager all work identically. The differences are purely in
the Settings app navigation, which Microsoft redesigned significantly in Windows 11.
| Feature | Windows 10 | Windows 11 |
|---|---|---|
| Settings path to WiFi properties | Settings — Network & Internet — Wi-Fi — Network name | Settings — Network & internet — Wi-Fi — Network name — Properties |
| Control Panel path | Network and Sharing Center — Change adapter settings | Same — Control Panel still exists and works identically |
| Command Prompt / netsh | Identical — same commands work on both | Identical — same commands work on both |
| PowerShell method | Identical | Identical |
| Quick Settings WiFi panel | Basic — click WiFi icon in taskbar | Redesigned — includes a separate arrow (—~S) to manage known networks |
| Forget a network | Settings — Wi-Fi — Manage known networks | Settings — Network & internet — Wi-Fi — Manage known networks |
Once you have found your WiFi password, you might want to share it easily with someone else without reading out a long string of characters. Here are the most convenient ways to share it.
The simplest method — read the password from any of the methods above and tell the other person, or type it into their device. Works for any situation but is error-prone with complex passwords.
Use a free website like qifi.org or a QR code generator app to create a WiFi QR code from your network name and password. The other person scans it with their phone camera and connects instantly — no typing required.
If the other device can't connect to your main router, enable Windows Mobile Hotspot (Settings — Network & internet — Mobile hotspot) and share your internet connection directly from your PC. The hotspot has its own password you can set easily.
Windows 11 supports sharing your WiFi network credentials to nearby Windows devices through Nearby Sharing. Enable it in Settings — System — Nearby Sharing, then right-click your network in the WiFi settings and choose Share.
If you found your current password and want to change it to something stronger, or if you suspect it has been shared too widely, you need to change it on your router — not in Windows. Windows stores the password your router uses; it can't change the router's password itself.
While you have your WiFi password in mind, it is a good time to review whether it meets modern security standards. A weak WiFi password is one of the most common entry points for unauthorized users on home and small business networks.
P@ssw0rd.This happens when you are logged in as a standard user, not an administrator. Switch to an administrator account or ask your system administrator. On work and school devices, IT policy may prevent showing saved passwords.
You ran the command without administrator privileges. Close Command Prompt and reopen it using
Run as administrator. The key=clear flag only works with elevated
permissions.
The network name in your command does not match exactly. Run netsh wlan show profile
first to see the exact saved name, then copy and paste it (including any spaces) into your
command, wrapped in double quotes.
The router's password may have been changed since your PC last connected. The password saved on Windows is from the last successful connection and may be out of date. Try the new password provided by whoever manages the router.
Windows only saves networks you explicitly connected to on this device. If you connected on a different computer or phone, the password will not be on this Windows PC. Use Method 6 (router admin page) instead.
Double-check the Default Gateway IP from ipconfig. If the page still does not load,
try a different browser, clear your browser cache, or make sure you are connected to that
router's network (not a mobile hotspot).
No — Windows restricts access to saved network security keys to administrator accounts for security reasons. If you are on a standard account, you will need to ask an administrator on the same PC to look it up, or access the router admin page directly (which requires knowing the router's admin password instead).
Methods 1 and 2 (Settings and Control Panel) require you to be currently connected to the network,
because they show properties of the active connection. Methods 3 and 4 (Command Prompt and PowerShell
using netsh) work regardless of whether you are currently connected — they read from saved
profiles stored on your hard drive, so you can be on airplane mode or connected to a different network
entirely.
Yes — viewing passwords that are saved on your own device, for networks you have been authorized to connect to, is completely legal. These are your own saved credentials. Using these methods to access someone else's WiFi without their permission is a different matter entirely and is illegal in most jurisdictions.
Windows saves WiFi passwords as a convenience feature. When you connect to a network and check "Connect automatically," Windows stores the credentials so it can reconnect without asking you for the password every time. These stored credentials are called network profiles and are saved in Windows' WLAN profile store, encrypted using Windows Data Protection API (DPAPI) tied to your user account.
Yes — all the methods in this guide use built-in Windows tools only. No third-party software is required. The Settings app, Control Panel, Command Prompt, PowerShell, and Credential Manager are all included with every installation of Windows 10 and Windows 11.
If you can't find the password using any Windows method and you also can't log in to your router admin page, your last resort is to factory reset your router. Most routers have a small reset button (usually a pin-hole on the back) that you hold for 10—15 seconds to restore factory defaults. After a reset, the router returns to its default SSID and password, which are printed on a sticker on the router itself. Note that a factory reset will also erase any custom settings you had configured.
| Method | Works for | Requires admin? | Difficulty |
|---|---|---|---|
| 1. Windows Settings | Currently connected network only | Yes | Easy |
| 2. Control Panel | Currently connected network only | Yes | Easy |
| 3. Command Prompt (netsh) | Any previously saved network | Yes | Easy |
| 4. PowerShell | All saved networks at once | Yes | Medium |
| 5. Credential Manager | Enterprise / 802.1X networks | Yes | Easy |
| 6. Router Admin Page | Any network (current password) | Router admin login | Medium |
Finding a saved WiFi password on Windows is straightforward once you know where to look. For the
network you are currently connected to, the Settings or Control Panel method takes under a minute.
For older saved networks, the Command Prompt netsh command is your best friend — it
works on both Windows 10 and 11 and retrieves passwords for every network your PC has ever connected
to. If all else fails, your router's admin page always has the current password, no matter what.
All six methods covered in this guide use built-in Windows tools — no downloads, no third-party software, and no technical expertise required. Once you have your password, consider storing it safely in a password manager so you never have to go looking for it again.