It is actually quite common to forget a WiFi password. Your laptop may already be signed into the internet automatically, but now you wish to connect another one of your devices, be it a phone, tablet or another computer, to that same data provider. The catch is—you have forgotten the password.
If some Windows 11 PC has previously connected to that WiFi network, then system would have already stored the password on it. The good news is that you can easily find saved WiFi passwords in Windows 11 through the Command Prompt quite easily.
In this guide I am going to take you step by step in a clear and beginner friendly way. There are no technical skills necessary, so you can follow along even if you aren’t very technical.
Why Windows 11 Saves WiFi Passwords
When we connect our computer to wireless network, Windows is keeping the password so it can join again automatically next time. We are seeing this helps for easy reconnection without typing password again.
That means you don’t have to enter the password, all over again, each time you start your laptop.
Thanks to this feature itself, we can see that it is now possible to view saved WiFi passwords in Windows 11 whenever you want.
One of the easiest and quick methods to get is by using Command Prompt, it helps to retrieve as fast as possible.
Method: Find Saved WiFi Passwords Using Command Prompt
Follow these simple steps carefully.
Step 1: Open Command Prompt
First, you need to open Command Prompt.
Click the Windows Search icon on the taskbar and type Command Prompt. Then click Open from the search results.
You do not need administrator access for this method.
Step 2: Show All Saved WiFi Networks
Now you need to see a list of all WiFi networks your computer has connected to before.
Type the following command and press Enter:
netshwlan show profiles
After running this command, Windows will display a list of saved wireless networks.
Look for the section called User Profiles.
Here you will see the names of all WiFi networks stored on your PC.
For example:
- Home_WiFi
- OfficeNetwork
- MyMobileHotspot
Choose the network for which you want to see the password.

Step 3: Find the Password of a Specific Network
Now type the following command:
netshwlan show profile name="WiFiName" key=clear
Replace WiFiName with the actual network name.
For example:
netshwlan show profile name="JioFiber-5G" key=clear
Press Enter.
Step 4: Locate the WiFi Password
After running the command, a detailed report about the WiFi network will appear.
Scroll down until you find a section called Security Settings.
Look for this line:
Key Content
The value shown next to Key Content is the saved WiFi password.

That’s it! You have successfully found the saved password using Command Prompt.
If you’re new to Command Prompt, you can learn more about Command Prompt basics from Microsoft’s documentation.
Why This Method Is Useful
The Command Prompt WiFi password method is very useful in several situations:
- When you want to connect another device to your network
- When you forgot the router password
- When you need to share the WiFi password with family or coworkers
- When troubleshooting network problems
It works on most Windows 11 laptops and desktops without installing any additional software.
If you don’t want to use Command Prompt, you can also follow my other guide on How to Show Saved WiFi Password in Windows 11, which uses a more visual, step-by-step approach.
Final Thoughts
Basically, using Command Prompt to find saved WiFi passwords in Windows 11 can save you a lot of time. Instead of resetting your router or guessing the password, you can quickly retrieve it from your computer.
The process regarding completion takes less than one minute only once you know the command.
This simple trick will surely prove extremely helpful if you frequently connect multiple devices to your network. Moreover, it can make the entire process much easier to manage. You can further use this method when you forget WiFi password itself.
Frequently Asked Question (FAQ)
Can I find saved WiFi passwords in Windows 11 without Command Prompt?
Yes. You can also check the password through Network and Sharing Center in Control Panel. However, the Command Prompt method is faster when you want to check multiple networks.
Does this method work on Windows 10?
Yes, the same command works on Windows 10 as well.
Why can’t I see the password?
This usually happens if your PC has never connected to that WiFi network before. Windows only stores passwords for previously connected networks.
Is Command Prompt safe to use?
Yes. Command Prompt is a built-in Windows tool. As long as you use known commands, it is completely safe.
Can I recover WiFi passwords from another user’s computer?
Only if you have access to that computer and the WiFi network has been saved on it previously.