# Discover Wi-Fi Password for Existing Profile

If you have already connected to a Wi-Fi network previously then a profile for that network is created in Windows. To see the existing Wi-Fi profiles open a Command prompt and run as administrator.

[![image.png](https://bookstack.taylorhome.run/uploads/images/gallery/2023-01/scaled-1680-/AYuimage.png)](https://bookstack.taylorhome.run/uploads/images/gallery/2023-01/AYuimage.png)

Now enter the command **netsh wlan show profiles**

[![image.png](https://bookstack.taylorhome.run/uploads/images/gallery/2023-01/scaled-1680-/CGCimage.png)](https://bookstack.taylorhome.run/uploads/images/gallery/2023-01/CGCimage.png)

A list of Wi-Fi profiles will be produced like below.

[![image.png](https://bookstack.taylorhome.run/uploads/images/gallery/2023-01/scaled-1680-/0gVimage.png)](https://bookstack.taylorhome.run/uploads/images/gallery/2023-01/0gVimage.png)

Now pick the profile that you want to get the passcode for and then enter this command to retrieve the passcode.

**netsh wlan show profile name="&lt;Name of Wi-Fi Profile&gt;" key=clear**

[![image.png](https://bookstack.taylorhome.run/uploads/images/gallery/2023-01/scaled-1680-/cnXimage.png)](https://bookstack.taylorhome.run/uploads/images/gallery/2023-01/cnXimage.png)

The output will have a field called "**Key Content**"

[![image.png](https://bookstack.taylorhome.run/uploads/images/gallery/2023-01/scaled-1680-/zVyimage.png)](https://bookstack.taylorhome.run/uploads/images/gallery/2023-01/zVyimage.png)

And this is the password for that Wi-Fi profile.