Tìm mật khẩu Wi-Fi đã kết nối trên Windows 10/11
Cách 1: Settings (Cài đặt) - Dễ nhất
- Win + I → Network & Internet → Wi-Fi
- Chọn Hardware properties (thuộc tính phần cứng) hoặc cuộn xuống Manage known networks
- Chọn mạng → View (xem) → mật khẩu hiển thị ở Network security key
Cách 2: Control Panel (Bảng điều khiển) - Cũ nhưng chắc
- Win + R →
ncpa.cpl→ Enter - Chuột phải adapter Wi-Fi đang kết nối → Status → Wireless Properties
- Tab Security → tích Show characters
- Dòng Network security key là mật khẩu
Cách 3: Command Line (Dành cho admin/script)
netsh wlan show profiles
netsh wlan show profile name="Tên_WiFi" key=clear
Mật khẩu ở dòng Key Content.
Cách 4: PowerShell (Lấy tất cả mật khẩu)
(netsh wlan show profiles) | Select-String "\:(.+)$" | ForEach-Object {
$name = $_.Matches[0].Groups[1].Value.Trim()
$pass = (netsh wlan show profile name="$name" key=clear) | Select-String "Key Content\s+:\s(.+)$"
if ($pass) { [PSCustomObject]@{SSID=$name; Password=$pass.Matches[0].Groups[1].Value.Trim()} }
} | Format-Table -AutoSize
Cách 5: File hệ thống (Advanced)
File XML lưu profile: C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{GUID}\{SSID}.xml
- Mở bằng Notepad (Run as Admin)
- Tìm thẻ
<keyMaterial>- nội dung là mật khẩu (đã hash/obfuscate trên Win10+) - Cần tool giải mã hoặc dùng cách 3/4
Lưu ý quan trọng
- Chỉ xem được mật khẩu của mạng đã từng kết nối và chọn "Connect automatically"
- Cần quyền Administrator cho cách 3, 4, 5
- Mạng Enterprise (802.1X) không có key hiển thị (dùng certificate/user+pass)
Quên mật khẩu Wi-Fi hiện tại?
- Xem nhãn dán dưới router (mặc định)
- Đăng nhập giao diện router (192.168.1.1, admin/password)
- App nhà cung cấp: My Viettel, My VNPT, My FPT, My Spectrum...
- Reset router (nhấn reset 10s) → cấu hình lại từ đầu
Đổi mật khẩu Wi-Fi an toàn
- Truy cập router → Wireless → Security → WPA2-PSK (AES) / WPA3
- Mật khẩu: 12+ ký tự, phức tạp, không dùng thông tin cá nhân
- Lưu vào Password Manager (Bitwarden, 1Password, KeePass)