Windows 11/10 operating system

Method 1: Check the Wi-Fi password via Network & Internet settings

  1. Please connect to Wi-Fi that you want to check the password, then right-click the [Network] iconon the taskbar and select [Network and Internet settings].


  2. Select [Advanced network settings].


  3. Under Related settings, select [More network adapter options].


  4. Choose the connected Wi-Fi network, then select [View status of this connection].


  5. Select [Wireless Properties].


  6. On the [Security] tab of Wireless Network Properties, check the box [Show characters], you will find the Wi-Fi password in the Network security key field. 

 

  1. In the Command Prompt window, type the command
    For Windows 11
    Netsh wlan show profile name=”Wi-F name” key=clear
    For Windows 10
    Netsh wlan show profile name=”Wi-F name” key=clear

    and then press Enter key.
    Fox example: Netsh wlan show profile name=”WLAN2_5G2” key=clear, WLAN2_5G2 is a Wi-Fi name that has been connected currently. 
  2. You can find the Wi-Fi password in the [Key Content] field of Security settings.


  3. If you want to check all Wi-Fi passwords the computer has ever connected, you can use the following command. Press Enter key after typing this command, you will find the passwords for each Wi-Fi.
    For Windows 11
    for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -i -v echo | netsh wlan show profiles %j key=clear
    For Windows 10
    Netsh wlan show profile name=”Wi-F name” key=clear