Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Windows 8/8.1 查看與刪除無線網路設定檔 (命令列完整指令)

編輯:Win8 系統應用技巧

背景

Windows 7 在「網路和共用中心」提供「管理無線網路」圖形介面,Windows 8/8.1 移除此介面,改由命令列工具 netsh wlan 管理。

操作前準備

  1. 以系統管理員身分開啟命令提示字元:Win+X → 命令提示字元 (管理員)。
  2. 若出現 UAC 提示,點選 是。

常用指令

用途指令說明
列出所有已儲存的無線網路設定檔netsh wlan show profiles顯示設定檔名稱、類型、SSID 等資訊
查看特定設定檔詳細資訊 (含明文密碼)netsh wlan show profile name="設定檔名稱" key=clearKey Content 欄位即為 Wi-Fi 密碼
刪除特定無線網路設定檔netsh wlan delete profile name="設定檔名稱"執行後該網路不會自動連線,需重新輸入密碼

實際操作範例

> netsh wlan show profiles
介面 Wi-Fi 上的設定檔:
群組原則設定檔 (唯讀)
---------------------------------
    無
使用者設定檔
-------------
    所有使用者設定檔 : HomeWiFi
    所有使用者設定檔 : Office_Guest
    所有使用者設定檔 : CoffeeShop

> netsh wlan show profile name="HomeWiFi" key=clear
...
    安全性設定
    -------------
        驗證         : WPA2-個人
        加密         : CCMP
        認證         : WPA2-個人
        安全性金鑰           : 12345678   <-- 這裡是明文密碼

> netsh wlan delete profile name="CoffeeShop"
設定檔 "CoffeeShop" 已從介面 "Wi-Fi" 刪除。

適用情境

  • 忘記 Wi-Fi 密碼,需從已連線電腦查看。
  • 清理不再使用的舊設定檔,避免自動連線至弱訊號/不安全熱點。
  • 解決「已儲存設定檔與 AP 實際設定不符」導致的連線失敗 (刪除後重新連線)。
Copyright © Windows教程網 All Rights Reserved