You can check the guide below for how to use netsh wlan show profiles command to find WiFi password in Command Prompt in Windows 10. FYI, MiniTool software designs professional free data recovery software, hard drive partition manager, system backup and restore program to help you manage computer.
This tutorial gives detailed guide on how to find WiFi password of any available network on your computer. If you ever connected to a WiFi network but forget the password, you can easily retrieve the password using CMD (Command Prompt). You can use the netsh wlan show profiles command to do this task.
How to Find WiFi Password in CMD with Netsh WLAN Show Profiles Command
If you’ve ever connected to a WiFi network and entered the password of the network, it will create a WLAN profile of that network stored in your computer. This WLAN profile contains some details of the WiFi network. You can use Netsh WLAN show password commands to easily find WiFi password of any available network in your Windows 10 computer. Check how to do it below.
Step 1. Open elevated Command Prompt. You can press Windows + R, type cmd, and press Ctrl + Shift + Enter to run Command Prompt as administrator.
Step 2. Show all stored available network profiles. Next you can type this command netsh wlan show profile in CMD window, and hit Enter. This command can list all the WiFi network profiles that you’ve ever connected. Record the WiFi network names.
Step 3. Next you can type the command below to use netsh wlan show profiles to show password in CMD. Hit Enter after you type the command.
netsh wlan show profile WiFi Name key=clear (replace WiFi Name with the actual WiFi network name which you want to find the password)
You can find the WiFi password in CMD under the Security settings. The password is just next to Key Content. You can take note of the WiFi password in case you forget it again.
Tip: If you want to connect a particular WiFi network you can type the command netsh wlan connect name = WiFi Name. To disconnect that WiFi, you can type netsh wlan disconnect name = WiFi Name. To save the network profile information, you can type the command netsh wlan export profile name = WiFi Name, and hit Enter. You should replace “WiFi Name” with the real network name of the target WiFi your computer detected.
How to Turn on MAC Randomization in Windows 10
Every device connected to a WiFi has an identifying number called MAC address. Some people may use the MAC address to track others or restrict network access. You can turn on MAC randomization feature in Windows 10 to prevent your location being tracked based on your computer MAC address.
- Press Windows + I to open Windows Settings. Click Network & Internet.
- Next you can click WiFi in the left panel, and click Advanced option. Then you can enable Random Hardware Address If your computer network hardware doesn’t support this feature, then you won’t see the option.
Bottom Line
With the steps above, you can use netsh wlan show profiles command to easily find WiFi password in CMD for the WiFi networks you’ve connected once before.