Computer >> Hướng Dẫn Máy Tính >  >> Kết Nối Mạng >> An Ninh Mạng

Network Security Key trên Windows 8 / 8.1 – Cách xem & quản lý

Xem mật khẩu Wi-Fi (Network Security Key) đã lưu trên Windows 8 / 8.1

Windows 8/8.1 không có giao diện "Network & Internet" hiện đại như Win 10/11, nhưng vẫn xem được khóa qua Control Panel hoặc Command Line.

Cách 1: Control Panel (GUI)

  1. Màn hình Start → gõ Control Panel → Enter.
  2. Chọn Network and Sharing Center (hoặc View by: Large icons → Network and Sharing Center).
  3. Bên trái chọn Change adapter settings (ncpa.cpl).
  4. Chuột phải adapter Wi-Fi (hoặc Wireless Network Connection) → Status.
  5. Nhấn Wireless Properties.
  6. Chuyển tab Security.
  7. Tích ô Show characters → ô Network security key sẽ hiện mật khẩu.

Cách 2: Command Prompt (CLI) – Nhanh hơn

  1. Mở Command Prompt (Admin không bắt buộc): Win+X → Command Prompt.
  2. Liệt kê profile đã lưu: netsh wlan show profiles.
  3. Xem khóa của một profile (SSID): netsh wlan show profile name="TEN_SSID" key=clear.
  4. Kết quả: Dòng Key Content chính là Network Security Key.

Cách 3: PowerShell (Một dòng)

(netsh wlan show profiles) | Select-String "\s+(.+)" | ForEach-Object {
    $ssid = $_.Matches[0].Groups[1].Value.Trim()
    $key = (netsh wlan show profile name="$ssid" key=clear) | Select-String "Key Content"
    if ($key) { Write-Host "$ssid : $($key.ToString().Split(':')[1].Trim())" }
}

Khái niệm: Network Security Key trên Windows 8 là gì?

  • Là mật khẩu Wi-Fi (WPA/WPA2/WPA3 Passphrase) được Windows lưu trong Wireless Profile (XML trong C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{GUID}\).
  • Dạng: chuỗi ASCII 8-63 ký tự (WPA2-PSK) hoặc hex 64 ký tự (WPA2-PSK hex).
  • Khác với PIN / Certificate / Smart Card (dùng cho Enterprise 802.1X).

Nếu không thấy "Show characters" / Key Content rỗng

  • Profile được cấu hình bằng Group Policy / MDM (Intune) → khóa không hiển thị cho user.
  • Sử dụng Enterprise (802.1X) – không có PSK, dùng username/password/certificate.
  • Driver wireless cũ / không hỗ trợ – cập nhật driver từ website hãng laptop (Intel, Realtek, Qualcomm, Broadcom).

Quên mật khẩu & không xem được – Làm sao?

  1. Xem nhãn router (mặc định).
  2. Đăng nhập router → Wireless → Security → Passphrase.
  3. Reset router → cấu hình lại.
  4. Dùng thiết bị khác (điện thoại, máy tính khác) đã kết nối để xem.