Network Security Key trên Windows 10 là gì?
Network Security Key là thuật ngữ Microsoft dùng để chỉ mật khẩu Wi-Fi (Wi-Fi Password) - chuỗi ký tự dùng để xác thực và mã hóa kết nối mạng không dây (WPA2-PSK, WPA3-SAE). Nó khác với "PIN đăng nhập Windows" hay "Security Key" của FIDO2/WebAuthn (khóa phần cứng YubiKey).
Cách tìm Network Security Key trên Windows 10
Cách 1: Qua Settings (Windows 10 1903+)
- Win + I → Network & Internet → Wi-Fi.
- Chọn Hardware properties (thuộc tính phần cứng) hoặc bấm Manage known networks → chọn mạng → Properties.
- Xem trường Security type (WPA2-Personal, WPA3-Personal...) và Network security key (ẩn).
- Lưu ý: Settings không cho xem mật khẩu rõ. Dùng Cách 2.
Cách 2: Network Connections (Classic) - XEM ĐƯỢC MẬT KHẨU
- Win + R → gõ
ncpa.cpl→ Enter. - Chuột phải adapter Wi-Fi → Status → Wireless Properties.
- Tab Security → tick Show characters.
- Ô Network security key sẽ hiển thị mật khẩu Wi-Fi rõ ràng.
Cách 3: Command Line (PowerShell/CMD) - Nhanh cho Admin
# PowerShell (Admin)
netsh wlan show profiles
netsh wlan show profile name="TÊN_SSID" key=clear
# Key Content dòng cuối là mật khẩu
Cách 4: PowerShell One-liner lấy tất cả
(netsh wlan show profiles) | Select-String "\:(.+)$" | ForEach-Object {
$ssid = $_.Matches[0].Groups[1].Value.Trim()
$result = netsh wlan show profile name="$ssid" key=clear
$pass = ($result | Select-String "Key Content").Line.Split(":")[1].Trim()
if ($pass) { [PSCustomObject]@{SSID=$ssid; Password=$pass} }
} | Format-Table -AutoSize
Network Security Key có giống Wi-Fi Password không?
CÓ. Hoàn toàn giống nhau. "Network Security Key" = "Wi-Fi Password" = "WPA Key" = "WPA2 Passphrase" = "Pre-Shared Key (PSK)". Chỉ khác tên gọi tùy ngữ cảnh (Windows, router, tài liệu).
Cách đổi Network Security Key (Đổi mật khẩu Wi-Fi)
Lưu ý: Đổi trên **Router**, không phải Windows. Windows chỉ lưu mật khẩu để kết nối.
- Kết nối máy tính với router (dây LAN khuyên dùng).
- Mở trình duyệt →
192.168.1.1hoặc192.168.0.1(xem nhãn router). - Đăng nhập admin (xem nhãn: admin/admin, admin/password...).
- Vào Wireless → Wireless Security.
- Chọn WPA2-Personal (AES) hoặc WPA3-Personal (SAE).
- Nhập Passphrase / Pre-Shared Key mới (≥12 ký tự ngẫu nhiên).
- Save/Apply. Router sẽ reboot ~30-60s.
- Trên Windows: Settings → Wi-Fi → Manage known networks → chọn mạng → Forget → kết nối lại với mật khẩu mới.
Khắc phục lỗi thường gặp
"Network Security Key Mismatch" / "Cannot connect to this network"
- Sai mật khẩu (chữ hoa/thường, số 0/O, l/I/1). Gõ lại chậm.
- Router dùng WPA2-TKIP/AES mixed → đổi sang **AES only (CCMP)**.
- Driver card mạng cũ → Update driver (Device Manager / web nhà sản xuất).
- Xóa profile cũ: Settings → Manage known networks → Forget → kết nối lại.
- Reset network: Win+X → Terminal (Admin) →
netsh winsock reset+netsh int ip reset→ reboot.
Quên mật khẩu Wi-Fi / Mất Network Security Key
- Xem nhãn router (mặc định).
- Máy tính khác đã kết nối → dùng Cách 2 hoặc 3 trên.
- Đăng nhập admin router → xem Wireless Security.
- Reset router về mặc định (giữ nút Reset 10-15s) → dùng pass trên nhãn → đổi lại ngay mật khẩu mạnh.
Windows không lưu mật khẩu / Hay mất kết nối
- Services.msc → WLAN AutoConfig → Automatic + Running.
- Power Management: Device Manager → Wi-Fi adapter → Properties → Power Management → **Bỏ tick** "Allow computer to turn off this device".
- Cập nhật driver Wi-Fi mới nhất từ web Intel/Realtek/MediaTek/Qualcomm.
Mẹo bảo mật Wi-Fi trên Windows 10
- Dùng **Random Hardware Addresses**: Settings → Wi-Fi → Random hardware addresses → On (giảm tracking).
- Tắt **Connect automatically** cho mạng công cộng/rủi ro.
- Xóa mạng không dùng: Manage known networks → Forget.
- Dùng **Metered connection** cho 4G hotspot/limited data.
- Windows Defender Firewall: Public network profile cho Wi-Fi công cộng.
Tóm tắt nhanh
| Hành động | Cách làm |
|---|---|
| Xem mật khẩu Wi-Fi đã lưu | Win+R → ncpa.cpl → Wi-Fi Status → Wireless Properties → Security → Show characters |
| Đổi mật khẩu Wi-Fi | Đăng nhập router admin → Wireless Security → đổi Passphrase → Save → Forget trên Windows → connect lại |
| Xem tất cả mật khẩu (Admin) | PowerShell: netsh wlan show profile name="SSID" key=clear |
| Sửa lỗi Mismatch | Forget network → connect lại / đổi router sang AES only / update driver / netsh winsock reset |