Network and Internet Find Wi-Fi Network Security Key Password in Windows 11


  • Staff
Wi-Fi_banner.png

Wi-Fi is a wireless local area network (WLAN) technology and standard that uses high-frequency radio waves to provide wireless Internet and network connections to your Windows device.

When you connect to a Wi-Fi network for the first time, Windows will automatically add a profile for the Wi-Fi network. The saved profile contains the SSID (network name), security key (password), and security type information used to connect to this specific Wi-Fi network.

If you forgot your Wi-Fi network password, you can find it on a Windows PC that has a profile for the Wi-Fi network on it, or is currently connected to the Wi-Fi network. After you find your password, you can use it on a PC or device to connect to your Wi-Fi network.

This tutorial will show you how to find and see the security key password of your Wi-Fi network connection in Windows 10 and Windows 11.


Contents

  • Option One: Find Wi-Fi Network Security Key Password in PowerShell
  • Option Two: Find Wi-Fi Network Security Key Password in Command Prompt
  • Option Three: Find Wi-Fi Network Security Key Password in Network and Sharing Center
  • Option Four: Find Wi-Fi Network Security Key Password from Wireless Router




Option One

Find Wi-Fi Network Security Key Password in PowerShell


1 Open Windows Terminal, and select Windows PowerShell.

2 Copy and paste the command below you want to use into PowerShell, and press Enter. (see screenshots below)

(output inside PowerShell)
(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=$name;PASSWORD=$pass }} | Format-Table -Wrap

OR​

(output to text file on your desktop)
(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=$name;PASSWORD=$pass }} | Format-Table -Wrap | Out-File "$env:userprofile\Desktop\Wi-Fi_network_passwords.txt"

3 You will now see a list of all your Wi-Fi network profiles with their SSID name and security key password.

Wi-Fi_network_profile_password_PowerShell.png

Wi-Fi_network_profile_password_PowerShell_to_text_file.png





Option Two

Find Wi-Fi Network Security Key Password in Command Prompt


1 Open Windows Terminal, and select Command Prompt.

2 Copy and paste the command below into Windows Terminal, and press Enter to see a list of all Wi-Fi network profiles on each interface on your PC. (see screenshot below step 3)

netsh wlan show profiles

3 Make note of the Wi-Fi network profile name (ex: "Brink-Router2") you want to see the security key password for, and which interface (ex: "Wi-Fi") the profile is on.

Wi-Fi_network_profile_password_command-1.png

4 Type the command below you want to use into the command prompt, and press Enter. (see screenshot below step 5)

netsh wlan show profile name="Profile Name" interface="Interface Name" key=clear

Substitute Profile Name (SSID) in the command above with the actual Wi-Fi network profile name (ex: "Brink-Router2") from step 3.

Substitute Interface Name in the command above with the actual name of the interface (ex: "Wi-Fi") the Wi-Fi network profile is on from step 3.

For example: netsh wlan show profile name="Brink-Router2" interface="Wi-Fi" key=clear


5 You will see this Wi-Fi network's security key password to the right of Key Content under the Security settings section. (see screenshot below)

Wi-Fi_network_profile_password_command.png




Option Three

Find Wi-Fi Network Security Key Password in Network and Sharing Center


This option is only available if you are currently connected to the Wi-Fi network.


1 Open the Control Panel (icons view), and click/tap on the Network and Sharing Center icon.

2 In Network and Sharing Center, click/tap on the Wi-Fi network name (ex: "Brink-Router2") link next to Connections. (see screenshot below)

Wi-Fi_network_profile_password_Network_and_Sharing_Center-1.png

3 In Wi-Fi Status, click/tap on the Wireless Properties button. (see screenshot below)

Wi-Fi_network_profile_password_Network_and_Sharing_Center-2.png

4 In Wireless Network Properties, click/tap on the Security tab, and check Show characters to see the Network security key. (see screenshot below)

Wi-Fi_network_profile_password_Network_and_Sharing_Center-3.png




Option Four

Find Wi-Fi Network Security Key Password from Wireless Router


You will need to read the manual for the brand and model of your wireless router for more specific details on how to do the steps below since they will vary per router.


1 Log in to your wireless router.

2 Open the Wi-Fi or Wireless settings page.

3 Look to see what the security key password is for the Wi-Fi network you want.

If you have not changed the security key in your router's wireless settings, or have reset your router back to default, then some wireless router manufacturers set a default security key or password which may be on the bottom of your router or in the router’s documentation.


Wi-Fi_network_profile_password_router.png



That's it,
Shawn Brink


 

Attachments

  • Wi-Fi.png
    Wi-Fi.png
    13.5 KB · Views: 37
Last edited:

FreeBooter

Well-known member
Power User
VIP
Local time
1:19 PM
Posts
738
OS
Windows 11
@Brink i have error about "Format-Table : A parameter cannot be found that matches parameter name 'Wrap'."

I have removed the Format-table that clear the error.

Windows 11 version 22543.1000
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

z3r010

Administrator
Staff member
Local time
11:19 AM
Posts
1,976
Location
Worsley, Manchester, UK
OS
Windows 11 Workstation
Strange, it works for me.
 

My Computers

System One System Two

  • OS
    Windows 11 Workstation
    Computer type
    PC/Desktop
    Manufacturer/Model
    doofenshmirtz evil incorporated
    CPU
    Ryzen 9 5950X
    Motherboard
    Asus ROG Crosshair VIII Formula
    Memory
    Corsair Vengeance RGB PRO Black 64GB (4x16GB) 3600MHz AMD Ryzen Tuned DDR4
    Graphics Card(s)
    ASUS AMD Radeon RX 6900 XT 16GB ROG Strix LC OC
    Sound Card
    Sound BlasterX Katana
    Monitor(s) Displays
    3 x27" Dell U2714H & 1 x 34" Dell
    Hard Drives
    Samsung 980 Pro 1TB M.2 2280 PCI-e 4.0 x4 NVMe Solid State
    Drive
    PSU
    ASUS ROG THOR 850W 80 Plus Platinum
    Case
    ASUS ROG Strix Helios Midi-Tower ARGB Gaming Case
    Cooling
    ASUS ROG Strix LC Performance RGB AIO CPU Liquid Cooler - 360mm
    Keyboard
    Logi Ergo
    Mouse
    Logitech MX Master 3
    Internet Speed
    900/100 Mbps
    Browser
    Chrome
    Antivirus
    Windows Defender, Malwarebytes Pro
    Other Info
    HP M281 Printer
    Logitech Brio Stream webcam
    Yeti X mic
  • Operating System
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop
    CPU
    i7

FreeBooter

Well-known member
Power User
VIP
Local time
1:19 PM
Posts
738
OS
Windows 11

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Top Bottom