1. 程式人生 > >Windows小技巧 -- 已連線wifi密碼檢視

Windows小技巧 -- 已連線wifi密碼檢視

部分情況,想和朋友分享連線過的Wifi密碼,可能不知道怎麼來查詢,下面記錄幾種查詢已連線的Wifi密碼方法,具體如下:

方式一 :無線屬性頁面查詢

快捷鍵 Win + R ,開啟執行視窗,輸入 ncpa.cpl 快速開啟 網路連線 頁面,找到 WIFI 右鍵狀態,彈出的 WLAN 狀態 視窗點選 無線屬性, 在彈出的 xxx 無線網路屬性 視窗中,點選 安全 選項卡勾選 顯示字元 就可以在 網路安全祕鑰 後看到當前wifi的密碼,如下圖:

無線屬性頁面查詢wifi密碼


方式二 :netsh命令查詢

**netsh(Network Shell) **是一個windows系統本身提供的功能強大的網路配置命令列工具,它允許從本地或遠端顯示或修改當前正在執行的計算機的網路配置。

管理員模式執行命令列視窗,輸入 netsh wlan show profiles 可以檢視本地記錄的所有wifi配置(連線過的wifi)

netsh 獲取本地wifi配置資訊

想檢視某個wifi的密碼,則可以通過命令 netsh wlan show profile name='查詢的wifi名稱' key=clear (管理員模式),此處以名稱為 1011 的wifi為例

netsh 查詢指定wifi的詳細配置

到此,就通過netsh命令完成了對指定wifi的密碼查詢了。如想一次性獲取本機連線過的所有wifi密碼,可以通過命令

netsh wlan show profile * key=clear

for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do  @echo %j | findstr -i -v echo | netsh wlan show profiles %j key=clear

方式三: 使用外部軟體查詢

此處僅介紹和使用 WirelessKeyView 軟體,其他類似軟體自行查詢。
點選此處下載,下載完成後,雙擊即可。擷取部分軟體介紹

WirelessKeyView recovers all wireless network keys (WEP/WPA) stored in
your computer by the ‘Wireless Zero Configuration’ service of Windows XP
or by the ‘WLAN AutoConfig’ service of Windows Vista, Windows 7, Windows
8, Windows 10, and Windows Server 2008. It allows you to easily save all
keys to text/html/xml file, or copy a single key to the clipboard. You
can also export your wireless keys into a file and import these keys into
another computer.

可以看出該軟體可以獲取到本地的所有 (WEP/WPA)加密的Wifi配置資訊

WirelessKeyView 工具查詢密碼


簡單記錄了幾種查詢本地已連線wifi的密碼的獲取方式,如有其它方式,歡迎告知~