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

Tìm khóa bảo mật mạng trên Windows 10/11 - Hướng dẫn chi tiết

Khóa bảo mật mạng (Network Security Key) trên Windows là gì?

Là mật khẩu Wi-Fi của mạng không dây mà máy tính Windows đã từng kết nối. Windows lưu trữ nó trong "Wireless Profile" để tự động kết nối lại.

4 cách xem khóa bảo mật mạng trên Windows 10/11

Cách 1: Network Connections (ncpa.cpl) - Nhanh nhất, mọi phiên bản Windows

  1. Nhấn Win + R.
  2. Gõ ncpa.cpl và nhấn Enter.
  3. Chuột phải vào adapter Wi-Fi (đang có trạng thái Connected) > chọn Status.
  4. Nhấn nút Wireless Properties.
  5. Chuyển sang tab Security.
  6. Tích ô Show characters.
  7. Ô Network security key sẽ hiển thị mật khẩu Wi-Fi rõ ràng.

Cách 2: Settings App (Windows 11: Properties / Windows 10: View)

  1. Win + I > Network & Internet > Wi-Fi.
  2. Chọn Manage known networks (Quản lý mạng đã biết).
  3. Tìm mạng Wi-Fi cần xem > nhấn vào nó.
  4. Windows 11: Chọn Properties (Thuộc tính).
  5. Windows 10: Chọn View (Xem) hoặc nhấn mũi tên xuống.
  6. Xem mục Network security key / Password.

Cách 3: Command Prompt / PowerShell (Liệt kê tất cả, tự động hóa)

REM 1. Liệt kê tất cả profile Wi-Fi đã lưu
netsh wlan show profiles

REM 2. Xem chi tiết 1 profile (thay "TenWiFi" = tên chính xác, có dấu cách thì giữ nguyên)
netsh wlan show profile name="TenWiFi" key=clear

REM 3. PowerShell: Xuất ra tên mạng + mật khẩu (chỉ hiển thị có pass)
$profiles = netsh wlan show profiles | Select-String "All User Profile" | ForEach-Object { $_.Line.Split(":")[1].Trim() }
foreach ($profile in $profiles) {
    $result = netsh wlan show profile name="$profile" key=clear
    $key = ($result | Select-String "Key Content").Line.Split(":")[1].Trim()
    if ($key) { Write-Host "SSID: $profile | Password: $key" -ForegroundColor Green }
}

Cách 4: File XML Profile (Nâng cao - Backup/Restore)

  1. Xuất profile: netsh wlan export profile name="TenWiFi" folder="C:\BackupWiFi" key=clear.
  2. File XML chứa `` là mật khẩu rõ (key=clear).
  3. Nhập lại: netsh wlan add profile filename="C:\BackupWiFi\WiFi-TenWiFi.xml" user=all.

Vị trí khóa bảo mật trên Modem/Router (Nguồn gốc)

  • Nhãn dán: Mặt đáy/sau/bên - "Wireless Password", "Wi-Fi Key", "WPA Key", "Passphrase".
  • Web UI: 192.168.x.x > Wireless > Wireless Security > WPA Pre-Shared Key.
  • App quản trị: Tether, Asus Router, Nighthawk, Linksys, Mi Home, AI Life, UniFi.

Phân biệt: Network Security Key vs Password

Thuật ngữÝ nghĩa
Network Security KeyTên kỹ thuật của mật khẩu Wi-Fi (WPA/WPA2/WPA3 Passphrase)
Wi-Fi PasswordTên gọi phổ biến, người dùng hiểu
WEP KeyMật khẩu WEP cũ (Hex 10/26 ký tự) - KHÔNG AN TOÀN
WPA/WPA2 PassphraseMật khẩu WPA/WPA2 (ASCII 8-63 ký tự)
WPA3 SAEGiao thức xác thực đồng thời WPA3 (không dùng passphrase truyền thống)
Admin PasswordMật khẩu đăng nhập cấu hình Router - KHÁC hẳn Wi-Fi Password

Khôi phục khi quên hoàn toàn mật khẩu Wi-Fi

  1. Kết nối máy tính với router bằng cáp LAN.
  2. Truy cập Web UI router > Wireless Security > Xem/Đổi pass.
  3. Nếu quên pass Admin router: Reset router (giữ nút Reset 10-15 giây) > Cấu hình lại từ đầu.

Lưu ý quan trọng

  • Chỉ xem được pass của mạng đã từng kết nối và lưu profile.
  • Mật khẩu phân biệt chữ hoa/thường (case-sensitive).
  • Windows 7/8: Cách 1 (ncpa.cpl) và Cách 3 (netsh) vẫn hoạt động.
  • Khuyên dùng WPA2-AES hoặc WPA3. Không dùng WEP, WPA-TKIP.
  • Dùng Password Manager (Bitwarden, 1Password, KeePass) lưu trữ an toàn.