Cách 1: Qua Settings (Hiện đại, dễ nhất)
- Win + I → Network & Internet.
- Advanced network settings → More network adapter options.
- Click chuột phải adapter Wi-Fi → Status.
- Nút Wireless Properties → Tab Security.
- Tick Show characters → Xem Network security key.
Cách 2: Control Panel (Phiên bản cũ/Classic)
- Win + R → gõ
ncpa.cpl→ Enter. - Click chuột phải Wi-Fi → Status → Wireless Properties → Security → Show characters.
Cách 3: Command Line (Nhanh cho Admin/Power User)
# Xem tất cả profile Wi-Fi đã lưu
netsh wlan show profiles
# Xem chi tiết 1 profile (kèm key rõ)
netsh wlan show profile name="Tên_SSID" key=clear
# Chỉ lấy key (PowerShell)
(netsh wlan show profile name="Tên_SSID" key=clear) -match "Key Content" | ForEach-Object { $_ -replace ".*Key Content\s+:\s+", "" }
Cách 4: PowerShell Module (Đẹp, dễ dùng)
Install-Module -Name WiFi -Scope CurrentUser -Force
Get-WiFiProfile -Name "Tên_SSID" -ShowPassword
Cách 5: Dòng lệnh Linux (WSL / Dual boot)
# NetworkManager
nmcli -s -g 802-11-wireless-security.psk connection show "Tên_SSID"
# iwd
cat /var/lib/iwd/.psk
Lưu ý quan trọng
- Cần quyền Administrator để xem key rõ (Show characters / key=clear).
- Chỉ xem được key của mạng đã từng kết nối và chọn "Connect automatically" (lưu profile).
- Windows lưu key dưới dạng DPAPI (mã hóa per-user/machine), không đọc được file text đơn giản.
- Nếu không thấy "Show characters" → Driver card mạng cũ, cập nhật driver từ trang web hãng (Intel, Realtek, Qualcomm, MediaTek).
Khôi phục khi quên hoàn toàn
Tham khảo bài Cách khôi phục khóa bảo mật khi quên (tem Router, giao diện Web, App, Reset Router).