Windows 11 Community

Cover image for How to Find and Show Saved WiFi Passwords in Windows 11?
Muhammed Cetin
Muhammed Cetin

Posted on • Updated on

How to Find and Show Saved WiFi Passwords in Windows 11?

This tutorial will explain how to find and show saved WiFi passwords of all known networks in Windows 11 in 3 simple steps.

I've shared 3 different methods with you to show WiFi passwords. They're listed from the easiest to the hardest one. Even if the first method seems complicated, it is the easiest one. Trust me! 😊 Just follow the steps carefully.

Methods

  1. Running PowerShell Command File
  2. Running the PowerShell Command Manually
  3. Using Command Prompt

Let's start! 🤞


1. Running PowerShell Command File

Instead of typing manually the command that shows saved WiFi networks and their passwords, you can download and run the ready-to-use .ps1 file. This file will show all saved WiFi networks automatically when you run it.

  1. Download Windows11WiFiPasswordsRevealer.ps1 file by clicking this: Download

  2. Right-click on the downloaded file, then click Run with PowerShell.
    Run Windows11WiFiPasswordsRevealer

  3. You'll see all known networks and passwords in a few seconds like this:
    Known WiFi Networks and Passwords


2. Running the PowerShell Command Manually

In this method, you'll run the command within Windows11WiFiPasswordsRevealer.ps1 file manually. You can also run the same command manually if you think the download is unsafe.

  1. Open Start Menu and type PowerShell. Then click on it on the search results.
    Open Windows PowerShell

  2. Copy the command below to the PowerShell, then hit Enter.

    (netsh wlan show profiles) | Select-String "\:(.+)$" | %{$network=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$network" key=clear)}  | Select-String "Key Content\W+\:(.+)$" | %{$password=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ NETWORK_NAME=$network;PASSWORD=$password }} | Format-Table -AutoSize
    
  3. Now, you see all known networks and passwords on your screen.
    Show saved WiFi passwords


3. Using Command Prompt

In this method, you'll run a few commands respectively. Then you can find and show all known networks and passwords easily.

  1. Open Start Menu and type cmd. Then click on Command Prompt on the search results.
    Open Command Prompt

  2. Type netsh wlan show profiles command, then hit Enter. You'll see all known networks on Windows 11 like that:
    Known WiFi Networks

  3. Note the network profile name whose you want to show the password. For example, I want to show Ce7in's password.

  4. Copy the command below and change YourProfileName text with yours. For example, my final command is like that: netsh wlan show profile name=Ce7in key=clear. Then hit Enter.

    netsh wlan show profile name=ProfileName key=clear

  5. Now, you see a result like the one below. Your password is the value of Key Content label under Security Settings section, as I've marked in the screenshot below.
    My network's password

  6. That's all.


Conclusion

Although there is a UI-based way to find saved WiFi passwords by using Network & Sharing Center, it only enables us to access the active network. However, when you want to see a different network's password, it doesn't work. So, since the methods I've mentioned meet all your needs, I don't share this old-school method with you.

In addition, there are also some programs showing saved WiFi passwords, but they use the same method I've shown you above in the background. I believe it is unnecessary to use these unknown third-party tools when you can do the same thing without them.😊

Even if all steps are clear and easy-to-follow, if you face some difficulties, please feel free to ask for help by using the discussion form below. I'll try to answer your questions within the same day. 🤞

Discussion (0)