Skip to content

Website & Server Help

Unlimited Webspace Help

Menu
  • Home
  • Apps
  • Website
    • Sending email from a WordPress website hosted on an IONOS server
    • How to increase Upload Max Filesize
    • How to reset a WordPress password
    • 22 Ways To Speed-Up A Plesk Website
  • Server
    • Linux or Plesk Server Error 500
    • Windows Server: File cannot be loaded. The file is not digitally signed.
    • Adding or modifying IP addresses on a Linux server
    • Installing Remote Desktop on Debian 12
    • Installing Remote Desktop on Ubuntu 22.04
    • How To Install a Let’s Encrypt SSL in Apache on Debian/Ubuntu
  • Favs
    • How to Connect to a Server
    • The Ultimate Guide to Setting Up a Proper Plesk Email Server With IONOS
    • The Ultimate IONOS Migration Guide
    • Help! My Plesk Websites Are Down!
    • Running tests for a slow server or dropped packets
    • Checking File System and Hard Drive Health
Menu

How to retrieve saved Wi-Fi passwords

Posted on January 1, 2025January 1, 2025 by admin

Have you ever saved a complicated Wi-Fi password on your computer, and then some time later you want to share it on another device or with a guest, but you’ve completely forgotten or lost the password? Well, don’t fret, because it’s possible to recover a saved Wi-Fi password on both Windows and Linux systems.

Recovering a saved Wi-Fi password on a Windows computer

These commands can be ran on either Windows PowerShell or Command Prompt. We will use PowerShell.

  1. On your keyboard press ⊞ Win + X. The Windows-X Menu opens.
  2. Press I to open Windows PowerShell.
  3. Enter the following command:

    netsh wlan show profiles

    Saved Wi-Fi profiles are listed. For example:

    User profiles
    --------------
    All User Profile : ProfileNameOne
    All User Profile : ProfileNameTwo


    In this example, the profile names are ProfileNameOne and ProfileNameTwo.
  4. Enter the following command, replacing the ExampleProfile with the name of the profile you’ve discovered in step 3:

    netsh wlan show profiles ExampleProfile key=clear

    Detailed information on the profile will be displayed. Included in this will be the “Key Content” row, which will display the saved Wi-Fi password in clear text.

Recovering a saved Wi-Fi password on a Linux computer

  1. On your keyboard press Ctrl + Alt + T to open a Terminal.
  2. Enter the following command:

    ls /etc/NetworkManager/system-connections/

    This will list the name of your network profile files.
  3. Enter the following command, replacing the ExampleProfile with the name of the profile you’ve discovered in step 2:

    sudo grep psk= /etc/NetworkManager/system-connections/ExampleProfile

    The output will show the line from the file that contain “psk=”, revealing the Wi-Fi password.

Special Offer

The internet's fastest, cheapest, unlimited bandwidth VPS

VPS
1core | 1GB RAM | 10GB NVMe
Unlimited Bandwidth | 1Gbps
$2/month - risk free