Xem mật khẩu Wi-Fi đã lưu trên Windows 10/11
Windows 10/11 cung cấp nhiều cách để truy xuất Network Security Key của các hồ sơ Wi-Fi đã kết nối.
Cách 1: Cài đặt (Settings) – Dễ nhất
- Win + I → Network & Internet → Wi-Fi.
- Cuộn xuống chọn Hardware properties (hoặc Manage known networks → chọn mạng → Properties).
- Kéo xuống mục Network security key → nhấn Show / View.
- Nhập PIN/mật khẩu Windows (Windows Hello) để xác thực → mật khẩu hiển thị.
Cách 2: Control Panel (Classic) – Giống Windows 7/8.1
- Win + R → gõ
control→ Enter. - Network and Sharing Center → nhấp tên Wi-Fi → Wireless Properties → tab Security → tích Show characters.
Cách 3: Command Prompt / PowerShell (Lấy hàng loạt)
- Mở PowerShell (Admin) hoặc CMD (Admin).
- Liệt kê hồ sơ:
netsh wlan show profiles - Xem khóa một hồ sơ:
netsh wlan show profile name="TenWiFi" key=clear - PowerShell one-liner lấy tất cả:
(netsh wlan show profiles) | Select-String "All User Profile" | ForEach-Object { $name = $_.Line.Split(":")[1].Trim(); netsh wlan show profile name="$name" key=clear } | Select-String "Key Content"
Cách 4: Dùng công cụ thứ 3 (WirelessKeyView, WiFi Password Revealer)
Giao diện GUI thân thiện, xuất ra file CSV/HTML. Lưu ý: Chỉ tải từ trang chủ NirSoft hoặc tác giả gốc để tránh malware.
Tại sao máy tính yêu cầu Network Security Key?
- Kết nối đến Wi-Fi mới (chưa từng kết nối).
- Mật khẩu Wi-Fi đã thay đổi trên router nhưng hồ sơ Windows còn khóa cũ → Key Mismatch. → Xóa hồ sơ cũ (Settings → Manage known networks → Forget) → kết nối lại.
- Cài đặt bảo mật router không khớp (ví dụ router đặt WPA3 nhưng driver card mạng cũ chỉ hỗ trợ WPA2).
Khôi phục khóa nếu quên hoàn toàn
- Xem nhãn dán router (mặc định).
- Đăng nhập trang quản trị router (192.168.1.1 / 192.168.0.1) → Wireless Security.
- Reset router về mặc định (nhấn nút Reset 10s) → cấu hình lại từ đầu.
Mẹo bảo mật
- Dùng Windows Hello (PIN/vân tay/mặt) để bảo vệ việc xem khóa.
- Không đồng bộ hóa khóa Wi-Fi qua Microsoft Account nếu thiết bị chia sẻ.
- Đổi khóa Wi-Fi định kỳ, tắt WPS.