Facing an issue in running “netsh wlan show profiles” command

Now I want to retrieve password of an old WiFi connection but when I run netsh wlan show profile command it shows

There is no such wireless interface on the system

I am able to connect to other WiFi network, I don't know what the problem is. Please help me to sort it out.


I am not sure why did you try to use netsh wlan show profile, but I think the easiest way would be following 2 steps.

  1. List all wireless network profiles: netsh wlan show profiles (note s at the end of profiles).

  2. Show key for specific profile : netsh wlan show profile name="Profile_Name" key=clear (this time it's profile without s).

See this article for more details.


The same problem happened to me. The problem was probably because the Wifi name had a space in between words, and if you know bits about programming, the systems are quite keen on spaces, so you never make a variable with space in between the words. To fix the problem, all you need to do is to tell the program that it's just a simple text and nothing else. And running.t has answered the solution, by adding [name="(text)"]. The system will just treat the text in the quoted text as text. Just explaining this in case you didn't know and for all the future readers that comes to this forum(was bored anyways, too).

For those who still don't get it, just do as running.t said:

netsh wlan show profile name="wifi name" key=clear

P.S.: For those that still don't work, the reasons are typically the following:

  • This code/command is for showing specific information(s) about the WiFi that you have access to or saved, so if you want to know the pass for a WiFi that doesn't belong to you or you don't have access to, simply break into a computer that is connected to the WiFi(and logged in as admin), although NEVER DO THIS, it's basically a crime depending on what you break into.

  • You have spelled wrongly. Make sure to check EVERY single letters that you see.

  • You didn't run the CMD program as an admin. Since showing passwords n' stuff r like "top secret" stuff, only admins are able to have access to the command(you can still use the command as a normal user, but the pass will NOT be revealed.) so make sure to right click and click on 'run as administrator' when you are hovering on the CMD program.

Hope this helped.


You have simply forgotten half the command used to reveal the Wi-Fi connection password.

First, to make sure you qualify for this command, check the following;

  1. The device that you are using to run this command must have already been connected to the Wireless Network before.

  2. You must be connected to the Wireless Network while executing the command.

  3. You might need administrative privileges when running the command, depending on your Group Policy on your device. You must also have access to the Command Prompt in the first place.

First Option: Open command prompt by searching "cmd" in either Cortana (Windows search bar) or in Run (Win + R). Write the command netsh wlan show profile "your wireless network" key=clear Be sure to change "your wireless network" accordingly. After writing the command, press Return or Enter keys to execute the command. Once executed, you will find the Security Key under Security Settings.

Second Option: Open "netsh" in either Cortana or Run and execute the command wlan show profile "your wireless network" key=clear Be sure to change "your wireless network" accordingly. After writing the command, press Return or Enter keys to execute the command. Once executed, you will find the Security Key under Security Settings.

Third Option: (On Windows 10) Go to Control Panel > Network and Internet > Network and Sharing Center. Select the Wi-Fi Network that you are connected to. On the screen that pops up, select "Wireless Properties". On the new pop-up screen, select the Security Tab, and under "Network Security Key", select the "Show Characters" box. (Note: You will need administrative privileges to perform this action.)