View all saved Wi-Fi Network Passwords in Windows 10

To view all saved Wi-Fi network passwords in Windows 10, follow these steps:
  • Open the Notepad
  • Copy the below Script and paste it in the Notepad
  • Now, name it as you like and save it as .bat file on desktop
  • Double Click on it
  • The information displayed will include the password of the network.
Please note that this method works only on Windows 10 or later and it's also important to note that this method is only for educational purpose and you should be aware that accessing another's wireless network without their permission is illegal in many countries.


Script
@echo off

setlocal enabledelayedexpansion

for /f "tokens=2 delims=:" %%a in ('netsh wlan show profile') do (

set "ssid=%%~a"

call :getpwd "%%ssid:~1%%"

)

pause

:getpwd

set "ssid=%*"

for /f "tokens=2 delims=:" %%i in ('netsh wlan show profile name^="%ssid:"=%" key^=clear ^|findstr

/C:"Key Content"') do (

echo Wi-Fi Name: %ssid% Password : %%i

)

Thanks for commenting!

Post a Comment (0)
Previous Post Next Post