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

How To Use Sandboxie In Windows 10

When navigating online and downloading & executing applications, clicking on links, visiting websites that you're not familiar with and so forth, your computer Is vulnerable to being Infected with a virus. The last thing you need, Is to have your sensitive files compromised or hit with a nasty piece of malware. To prevent this, In this tutorial, I will show you how to safely perform all the above and more, by using a software named Sandboxie.

Create A Bootable USB Flash Drive

If you have a Bootable ISO Image file of the Windows operating system, obviously the Intention Is to burn It to disc and boot from your PC thereafter. However, optical drives are slowly being phased out In manufacturing & shipping of new computers, so what do you do from here? The alternative Is to create a bootable USB flash drive, and I will show you exactly how It's done. The process Is quite simple, yet a lot of users fail to grasp the concept.


Open The Command Prompt In Any Directory

A very powerful tool native to the Windows platform, Is the Command Prompt that allows users to perform an array of tasks, such as renaming and deleting files & folders, formatting disks and the list goes on. Sometimes, you need to navigate to certain directories by executing commands, which can be a lengthy and somewhat frustrating process. As such, In this tutorial, I will show you how to easily open the Command Prompt In any directory/folder of your choice.