
How to See Wifi Password on Win 10? Use Command Prompt
Introduction Forgetting a WiFi password is a common frustration. Maybe you bought a new laptop, a friend came over to visit, or you reset your router and now none of your devices remember the network key. If your Windows 10 computer has connected to that wirel
Introduction
Forgetting a WiFi password is a common frustration. Maybe you bought a new laptop, a friend came over to visit, or you reset your router and now none of your devices remember the network key. If your Windows 10 computer has connected to that wireless network before, the password is stored locally on your system. You do not need to hunt through router labels or call your internet service provider. Instead, you can retrieve it directly from your operating system using a built-in tool.
This guide walks you through exactly How to See Wifi Password on Win 10? using Command Prompt. The method relies on the netsh utility, which has been part of Windows for years. It requires no third-party software, no browser extensions, and no advanced networking knowledge. All you need is a few minutes, administrator access to your PC, and the name of the wireless network you want to check.
We will cover the exact commands to run, how to interpret the output, alternative methods if Command Prompt does not work for you, troubleshooting tips for common errors, and important security reminders. By the end of this article, you will be able to recover any saved WiFi password on your Windows 10 machine safely and quickly.
Table of Contents
- Why You Might Need Your WiFi Password
- What You Need Before You Start
- Method Overview: Command Prompt vs. Other Ways
- Step-by-Step: How to See Wifi Password on Win 10? Use Command Prompt
- Step 1: Open Command Prompt as Administrator
- Step 2: List All Saved WiFi Profiles
- Step 3: Show the Password for a Specific Network
- Step 4: Read the Security Settings Output
- Understanding the netsh wlan Command
- Alternative Methods to Find WiFi Passwords on Windows 10
- Troubleshooting Common Issues
- Security and Privacy Considerations
- Tips and Best Practices
- Frequently Asked Questions
- Conclusion
Why You Might Need Your WiFi Password
There are many legitimate reasons to look up a saved wireless password. You might be setting up a new smartphone, tablet, or smart home gadget and need to enter the network key. Perhaps you have guests visiting and want to share your WiFi credentials without digging through old emails. If you recently changed routers or reset your access point to factory defaults, the devices that previously connected may still know the password, but you do not.
In some cases, IT administrators need to document network credentials for inventory purposes. In others, a user simply wants to verify that their password is strong and has not been shared with unauthorized devices. Whatever your situation, knowing How to See Wifi Password on Win 10? can save time and prevent unnecessary router resets.
It is important to emphasize that this method only works for networks your computer has already connected to and saved. Windows 10 does not store passwords for networks you have never joined. If you are trying to access a network you do not own, this guide is not for you, and such activity may violate local laws and ethical standards.
What You Need Before You Start
Before opening Command Prompt, make sure you have the following:
- A Windows 10 computer that has previously connected to the target WiFi network.
- Administrator privileges on that computer. Command Prompt must be elevated to run
netshcommands that reveal security keys. - The exact name of the wireless network (SSID). If you are unsure, the first command in this guide will list all saved profiles.
- A few minutes of uninterrupted time.
You do not need an active internet connection to retrieve a saved password. The credentials are stored in your local system configuration, so the process works even if your WiFi is currently turned off or disconnected.
Method Overview: Command Prompt vs. Other Ways
Windows 10 offers more than one way to view a saved WiFi password. Command Prompt is often the fastest, but graphical methods exist as well. The table below compares the most common approaches so you can choose the one that fits your comfort level.
| Method | Difficulty | Speed | Admin Rights Required | Shows Password in Plain Text | Best For |
|---|---|---|---|---|---|
| Command Prompt (netsh) | Moderate | Fast | Yes | Yes | Users comfortable typing commands; quick retrieval |
| Network and Sharing Center | Easy | Moderate | Yes | Yes | Users who prefer clicking through menus |
| Windows Settings app | Easy | Moderate | Yes | Yes | Users on newer Windows 10 builds who like the modern interface |
| Third-party WiFi password tools | Easy | Fast | Usually | Yes | Users who need to export many passwords at once |
This article focuses primarily on Command Prompt because it is built into every Windows 10 installation and does not require installing unknown software. However, we will also cover the graphical alternatives later in case you prefer a mouse-driven workflow.
Step-by-Step: How to See Wifi Password on Win 10? Use Command Prompt
The core of this guide is a four-step process. You will open an elevated Command Prompt, ask Windows to list every wireless profile it remembers, select the network you want, and display the stored security key. Follow each step carefully, and pay close attention to spelling and quotation marks.
Step 1: Open Command Prompt as Administrator
Click the Start button or press the Windows key on your keyboard. Type cmd or Command Prompt. When the Command Prompt app appears in the search results, right-click it and choose Run as administrator. If a User Account Control dialog appears asking whether you want to allow this app to make changes to your device, click Yes.
You should see a new window open with a title bar that reads Administrator: Command Prompt. The prompt will likely start at C:\Windows\system32>. Running as administrator is mandatory because the command that reveals the password reads protected system information.
Step 2: List All Saved WiFi Profiles
In the Administrator Command Prompt window, type the following command and press Enter:
netsh wlan show profiles
Windows will respond with a list titled User profiles or Profiles on interface Wi-Fi. Each entry looks something like this:
All User Profile Settings : MyHomeNetwork
All User Profile Settings : Office_Guest
All User Profile Settings : CoffeeShop_WiFi
Look through the list and find the exact name of the network whose password you want to see. Copy that name mentally or highlight it with your mouse so you can paste it in the next step. If the list is long, you can scroll up in the Command Prompt window.
Step 3: Show the Password for a Specific Network
Now that you know the exact profile name, use it in the following command. Replace YOUR_NETWORK_NAME with the actual SSID you found in Step 2. Keep the quotation marks around the network name, especially if it contains spaces.
netsh wlan show profile name="YOUR_NETWORK_NAME" key=clear
For example, if your network is called Home WiFi, the command would look like this:
netsh wlan show profile name="Home WiFi" key=clear
Press Enter. Windows will process the request and display detailed information about that wireless profile.
Step 4: Read the Security Settings Output
After running the command in Step 3, you will see several blocks of text. Look for a section labeled Security settings. Inside that section, locate the line that reads Key Content. The value next to Key Content is your WiFi password.
Security key : Authenticating
…
Key Content : YourPassword123
If the Key Content line is blank or missing, it usually means Windows does not have the password stored in plain text for that profile, or you are not running Command Prompt as an administrator. Copy the password carefully. It is case-sensitive, so note any capital letters or special characters exactly as they appear.
Once you have the password, you can close Command Prompt. For security reasons, avoid leaving the password visible on your screen if other people are nearby.
Understanding the netsh wlan Command
The commands used in this guide belong to the netsh utility, short for Network Shell. netsh is a command-line scripting tool that lets you display and modify network configuration on Windows. The wlan context specifically handles wireless local area network settings.
When you run netsh wlan show profiles, you are asking Windows to enumerate every wireless network profile saved on the machine. A profile contains the SSID, security type such as WPA2-Personal, authentication method, and the encrypted or plain-text key.
Adding key=clear tells netsh to display the security key in readable form instead of hiding it behind asterisks or withholding it entirely. Without key=clear, the output shows most profile details but omits the actual password for security reasons.
It is worth noting that netsh does not crack or guess passwords. It simply retrieves information that Windows already saved when you first connected to the network. If you entered the password correctly at some point in the past, Windows remembers it.
Alternative Methods to Find WiFi Passwords on Windows 10
If Command Prompt feels intimidating or if you encounter errors, Windows 10 offers graphical ways to reveal saved WiFi passwords. These methods involve more clicking but no typing.
Using Network and Sharing Center
Press Windows + R, type control, and press Enter to open Control Panel. Navigate to Network and Internet, then Network and Sharing Center. Click the name of your active WiFi connection next to Connections. In the WiFi Status window, click Wireless Properties. Go to the Security tab and check the box labeled Show characters. The network security key field will reveal the password.
This method only works for the network you are currently connected to. If you need a password for a different saved network, Command Prompt is usually more direct.
Using Windows Settings
Open the Settings app by pressing Windows + I. Go to Network and Internet, then select Status. Scroll down and click Network and Sharing Center. From there, the steps are identical to the Control Panel method above: click your connection name, choose Wireless Properties, open the Security tab, and enable Show characters.
On some newer Windows 10 builds, Microsoft has begun moving network settings into the modern Settings interface, but the Network and Sharing Center remains the most reliable graphical location for viewing security keys.
Using Third-Party Software
Several free utilities can scan your system and list all saved WiFi passwords in a single table. Tools such as NirSoft WiFiInfoView are popular among power users. These programs often show additional details like encryption type, authentication mode, and adapter information.
Exercise caution when downloading third-party software. Only use reputable sources, and remember that any tool capable of reading saved passwords requires access to sensitive system data. For most users, the built-in Command Prompt method is safer because it does not involve installing external programs.
Troubleshooting Common Issues
Even with straightforward commands, things can go wrong. Here are the most frequent problems and how to fix them.
Command Prompt Says Access Denied
If you receive an “Access denied” message, you likely opened Command Prompt without administrator privileges. Close the window, right-click Command Prompt in the Start menu, and select Run as administrator. Then repeat the commands.
WiFi Profile Not Found
The command netsh wlan show profile name="..." key=clear is sensitive to spelling. If Windows says the profile was not found, double-check the SSID against the list from Step 2. Network names are case-sensitive and must match exactly, including spaces. Always wrap the name in quotation marks if it contains spaces or special characters.
Password Field Is Empty
If the Key Content line is blank, Windows may not have stored the password in a retrievable format. This can happen with some enterprise networks that use certificate-based authentication rather than a pre-shared key. It can also happen if the profile was created by another user account on the same PC and is not available to your current administrator account.
No Wireless Interface Found
If netsh wlan show profiles returns no results or says there is no wireless interface, your computer may not have a WiFi adapter, or the adapter may be disabled. Check Device Manager to ensure the wireless adapter is enabled and functioning properly.
Security and Privacy Considerations
Knowing how to reveal a WiFi password comes with responsibility. Only use this method on computers you own or have explicit permission to administer. Do not use it to access networks you are not authorized to join, as that may violate computer crime laws in your jurisdiction.
If you share your computer with others, remember that anyone with administrator access can run these commands and see your saved wireless keys. For better security, consider using a password manager to store your WiFi credentials, and avoid giving administrator rights to users who do not need them.
After retrieving a password, avoid pasting it into emails, chat messages, or documents unless necessary. If you suspect your WiFi password has been compromised, the safest step is to log into your router’s admin panel and change the network key, then reconnect your devices with the new password.
Tips and Best Practices
- Always run Command Prompt as an administrator before using
netshto view passwords. - Use tab completion in Command Prompt to avoid typing long network names incorrectly.
- Keep a secure record of your WiFi password in a password manager rather than relying on memory.
- Use strong, unique passwords for your wireless network. Avoid default passwords printed on router stickers.
- If you frequently forget passwords, consider saving the credentials in a secure digital vault.
- Do not share your WiFi password publicly or on social media.
- When giving guests access, use a guest network if your router supports it, so your main network password remains private.
- Periodically review saved wireless profiles and remove networks you no longer use.
Frequently Asked Questions
Can I see the password for a WiFi network I am not currently connected to?
Yes, as long as your Windows 10 computer has connected to that network in the past and saved the profile. The netsh command retrieves saved credentials regardless of your current connection status.
Does this work on Windows 11?
Yes. The netsh wlan commands work on Windows 11 as well, though the graphical menus may look slightly different. This guide is written for Windows 10, but the command-line steps are nearly identical.
Is it legal to view saved WiFi passwords on my own computer?
Yes. Viewing passwords stored on a computer you own or manage is legal. However, using this knowledge to access networks without permission is illegal in many places.
Can I see the password if I never connected to the network?
No. Windows only stores passwords for networks you have explicitly joined and saved. If your computer has never connected to the SSID, there is no profile to query.
Why is the Key Content line blank?
A blank Key Content field usually means the password is not stored in plain text for that profile, or you did not run Command Prompt as an administrator. Enterprise networks using certificate authentication may not show a traditional password here.
Can I export all saved WiFi passwords at once?
Command Prompt does not have a single built-in command to export every password to a text file, though advanced users can script the process. Third-party tools can export multiple profiles, but use them with caution.
Do I need an internet connection to see a saved WiFi password?
No. The password is stored locally on your computer, so the retrieval process works offline.
Will this show my router’s admin password?
No. This method only reveals the wireless network security key used to connect devices. It does not show the username or password used to log into your router’s administration panel.
Conclusion
You now know exactly How to See Wifi Password on Win 10? using Command Prompt. The process is simple: open an elevated Command Prompt, list your saved wireless profiles with netsh wlan show profiles, query the specific network with key=clear, and read the Key Content value under Security settings.
This built-in Windows feature is convenient, but it should be used responsibly. Only retrieve passwords for networks you own or manage, keep your credentials secure, and consider a password manager if you juggle multiple networks. If Command Prompt does not work for you, the Network and Sharing Center offers a reliable graphical alternative.
With this knowledge, you will never have to reset your router just because you forgot a wireless password. Save this guide for future reference, and share it with anyone who needs to recover a saved WiFi key on a Windows 10 PC.