Skip to main content


How To View All Wireless Encryption Passwords


If you're running a wireless network, and you've secured It by Implementing an encryption key In the modem/router, every device that attempts to connect, will be prompted to enter the key. This prevents unauthorized users from connecting and using your Internet connection. By default, Windows creates a profile of the wireless network and stores (among other Info), the encryption password key. In this tutorial, I will show you how to view the password without the use of third-party tools.


To achieve this, I will be using a very powerful utility native to the Windows platform named PowerShell. This actually displays the profile name of the Access Point, and the wireless encryption key that you've assigned to It.

Moreover, It also retrieves the details of every Access Point (wireless router or otherwise), that your computer connected to- regardless whether It's In use. So without further delay, let's get this tutorial started.

Step One:
The first thing you need to do, Is access PowerShell. Open the Run menu, enter powershell and hit Ok. 



Step Two:
Next, copy & paste the following command, and hit Enter on your keyboard.
(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



Step Three:
You will now see the profile name and password, of every Access Point that your device connected to. In my example below, I've connected to three. For security purposes, I've masked the details.



Step Four:
Let's go one step further, and automatically save the results to a text file on your computer's desktop, by entering the following command In 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 | Out-File "$env:userprofile\Desktop\WirelessPasswords.txt"

When you see the command highlighted In red below, the task has completed.



Step Five:
I've navigated to my PC's desktop, and the file has been successfully created.



Last Step:
Upon opening the file, as you can see, the profile names and passwords of all three Access Points that my computer connected to are displayed.



Final Thoughts:
The upside to this Is, If you've forgotten your wireless encryption key, you can view It with a few clicks of the mouse. The downside Is, anyone with physical access to your PC, can do the same. Of course, they must have the know-how to enter the aforementioned commands Into PowerShell.

In the event you've lost or forgotten the wireless encryption key, you now know how to retrieve It with Incredible ease.



Comments

Popular posts from this blog

Check The Health Of Your Laptop's Battery

When you first purchase your laptop and fully charge the battery thereafter, It runs at It's optimal state for quite a while. However, over time, It Inevitably decreases In performance, and does not hold It's charge capacity as per It's brand new state. This Is due to wear & tear, and a few other factors. It's very Important to know the condition of your battery, so In this tutorial, I will show you how to view the current status and health of your laptop's battery.

Force Windows 10 To Boot To Advanced Startup

In the event your operating system corrupts and losses functionality to some degree, Windows 10 has the Advanced Startup Options menu, that contains a range of diagnostic and repair utilities to help restore the OS back to It's functional state. You can perform a System Restore, Reset your PC, execute commands via the Command Prompt and more. To have It readily available, In this tutorial, I will show you how to force Windows 10 to always boot to the Advanced Startup settings.


How To Troubleshoot Your PC's Power Settings

Upon purchasing your computer with the Windows OS Installed, by default, It's power plan setting Is set to Balanced. Depending on the manufacturer, the hibernate and sleep modes are also configured to turn off at certain Intervals. You can also create a plan of your own, based on your computing usability. Power plan settings can corrupt at the best of times, hence In this tutorial, I will show you how to troubleshoot your PC's power settings natively within Windows.