DEV Community

Cover image for Access Nearby Wi-Fi Passwords with CMD!
KARAN JAIN
KARAN JAIN

Posted on

Access Nearby Wi-Fi Passwords with CMD!

Disclaimer: This post is for educational purposes only. Accessing Wi-Fi networks without permission is illegal and unethical. Use this information responsibly and only for networks you own or have permission to access.

Here’s how you can use the Command Prompt (CMD) to retrieve saved Wi-Fi passwords on your Windows system. Note: This method works only for networks your system has connected to previously.

Image description

Step 1: Open Command Prompt

  • Right-click on the Command Prompt icon.
  • Select Run as Administrator for elevated privileges.

Step 2: List All nearby Wi-Fi Networks

netsh wlan show network
Enter fullscreen mode Exit fullscreen mode

Image description

Step 3: List the all user profiles

netsh wlan show profiles

Enter fullscreen mode Exit fullscreen mode

Image description

Step 4: View the Password of a Specific Wi-Fi Network

netsh wlan show profile name="Wi-Fi_Name" key=clear

Enter fullscreen mode Exit fullscreen mode

Image description

you can see your password at "key content:"

Top comments (2)

Collapse
 
mohit_nagaraj profile image
Mohit Nagaraj

crazy

Collapse
 
karanjain2527 profile image
KARAN JAIN

thanks bhaiya!!!!