How to Find WiFi Password on Windows 10 – 5 Methods

How to Find WiFi Password on Windows 10
 

In Windows Laptop/PC, a WiFi password is something that you need to enter once only, and Windows keep it saved for you. So that next time you won’t need to enter the password again. But sometimes, we need to connect other devices to the same wireless connection. And, it is not possible to remember each WiFi password. Thankfully, in Windows 10, you can find out all saved WiFi passwords. By saved WiFi password I mean, all secured Wireless connections to which you have connected before, or currently connected to.

Yes, you can, change WiFi password, but that would be a time-consuming process. There are several ways to check the WiFi passwords on Windows 10. And, I will try to keep this article updated with all methods that are working currently. Let’s get to know the WiFi password.

Find WiFi Password of connected WiFi Windows 10

Windows 10 officially offers itself an option to retrieve the WiFi password of the currently connected Wireless network. Before following this method, you first need to make sure you’re connected to that WiFi whose password you wish to find.

1. In Windows 10, search for Control Panel. After that, click on Open to launch the Control Panel App.

2. In Control Panel click on Network & Internet > Network & Sharing Center.

3. Now, next to connections, you will see the WiFi name to which you have connected to. Click on that.

Open WiFi Status - Network and Sharing Center

 

4. WiFi status window will appear, click on Wireless Properties.

5. In the Wireless Network Properties window, click on security.

Click on “Show characters”. This option will reveal your WiFi password in the Network security key section.

 

Find WiFi Password of connected WiFi - Network Security Key

That’s it, now you can use the Network security key (aka WiFi password) to connect other devices to the wireless network.

Find all saved WiFi passwords using Windows PowerShell

If you’re using Windows 10 for a long, then you might be aware that, Microsoft is replacing the command prompt with Windows PowerShell. Yes, you can find all saved WiFi passwords in Windows 10 through CMD. But, this method is the easiest one. Because, you just have to run a single command, and you will get all saved WiFi passwords in a text file.

1. Right-Click on Windows 10 start button and then click on Windows PowerShell (Admin).

UAC window will appear, click on Yes.

2. Copy the following command and paste it into Windows PowerShell and press enter to run it.

(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 -AutoSize | Out-File $env:USERPROFILE\Desktop\wifi.txt

Find Saved WiFi Passwords - Windows PowerShell

3. Done, now check your desktop, you will find a WiFi text file. Open it in notepad, and you can find all saved WiFi passwords in it.

Use CMD to Find WiFi Password on Windows 10

If you want to retrieve the password of a specific WiFi Network. Then, you can use the Command Prompt. In the command prompt, you have to run two commands. One command is, to view, name of all saved WiFi password name. And, the second command is for the WiFi password. Windows PowerShell doesn’t show all WiFi passwords, so this method will come in handy for you.

1. Search for command prompt. And, click on “run as administrator”, to open App.

2. Type the following command to find out the names of all saved WiFi networks.

netsh WLAN show profiles

View Saved WiFi networks - CMD Command

3. Now, type the following command to show the WiFi password of a Wireless network. And, press the Enter key to run the command.

netsh wlan show profile name="WiFi-name" key=clear

(Do replace WiFi-name with the actual WiFi name.)

Find out specific WiFi password

4. Check key content in security settings, and you”ll find out the saved WiFi password.

Batch file to find saved WiFi Passwords

This method is kind of similar to the above two methods. Batch files basically run some pre-written commands. This means you don’t have to manually open a command prompt and run a command. You just have to create and run the batch file, and, it will show you all saved WiFi passwords.

1. Right-Click on desktop, and then click on new > Text Document. This will create a new text document on your desktop.

2. Open it, and then copy and paste the following code in it.

@echo off
setlocal enabledelayedexpansion
:main
    title WiFiPasswordReveal
    echo.
    echo Find All Saved Wifi Passwords In Windows 10
    echo.
    :: Get all the profiles
    call :get-profiles r
    :: For each profile, try to get the password
    :main-next-profile
        for /f "tokens=1* delims=," %%a in ("%r%") do (
            call :get-profile-key "%%a" key
            if "!key!" NEQ "" (
              >>"C:\WiFi-Passwords.txt" echo WiFi: [%%a] Password: [!key!]
            )
            set r=%%b
        )
        if "%r%" NEQ "" goto main-next-profile
    echo.
    pause
    goto :eof
::
:: Get the WiFi key of a given profile
:get-profile-key <1=profile-name> <2=out-profile-key>
    setlocal
    set result=
    FOR /F "usebackq tokens=2 delims=:" %%a in (
        `netsh wlan show profile name^="%~1" key^=clear ^| findstr /C:"Key Content"`) DO (
        set result=%%a
        set result=!result:~1!
    )
    (
        endlocal
        set %2=%result%
    )
    goto :eof
::
:: Get all network profiles (comma separated) into the result result-variable
:get-profiles <1=result-variable>
    setlocal
    set result=
         FOR /F "usebackq tokens=2 delims=:" %%a in (
        `netsh wlan show profiles ^| findstr /C:"All User Profile"`) DO (
        set val=%%a
        set val=!val:~1!
        set result=%!val!,!result!
    )
    (
        endlocal
        set %1=%result:~0,-1%
    )
    goto :eof

3. Click on File > Save as.

Select desktop, and enter filename “WiFi Password.bat” and click on save.

Create Batch File to Find all Saved WiFi Password

4. That’s it, now run WiFi Password.bat as administrator by right-clicking on it.

5. CMD window will open, press any key to continue.

6. Done, now check C drive, you will find out “WiFi-passwords” text file. Open it in notepad, and you will find out all WiFi passwords in it.

Open router settings and view saved WiFi password

This method will work on any device, like macOS, Linux, Android, or iOS. Though, this method will only work if you want to know the WiFi password of the currently connected WiFi network.

1. Open any browser and open the following IP address of the router.

192.168.0.1

This is the default router login IP address of almost every router. Though, if this doesn’t work, check the back of the router to know login details.

Check WiFi Router IP Address

2. If the router asks for a username and password. Then, enter “admin” in both fields.

admin is the default username and password.

3. Now, go to Wireless settings, and you will find out the WiFi password.

Router Wireless Settings - View WiFi Password

You can even change your WiFi password from here.

Summing-up

So, these were the five easiest ways to Find WiFi Password on Windows 10. If you want to know the connected WiFi password then, you can check the control panel. Or open router settings for it. If you want to know all saved WiFi passwords then, you can run Windows PowerShell or CMD commands. Or, can create and run a batch file for it. That’s it if you know any other better way, feel free to let me know in the comment section.