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

Cách tìm khóa bảo mật các mạng Wi-Fi khác nhau trên Windows 10

Xem mật khẩu (Network Security Key) của các mạng Wi-Fi đã lưu trên Windows 10/11

Cách 1: Giao diện đồ họa (GUI) – Dễ nhất

  1. Mở Settings (Win+I) > Network & Internet > Advanced network settings > Network and Sharing Center.
  2. Nhấp vào tên mạng Wi-Fi đang kết nối (hoặc Change adapter settings > chuột phải Wi-Fi adapter > Status > Wireless Properties).
  3. Tab Security > tích Show characters > hiển thị Network security key.
  4. Lưu ý: Chỉ xem được mạng ĐANG KẾT NỐI. Mạng khác đã lưu nhưng không kết nối – dùng cách 2.

Cách 2: Command Prompt (CMD) – Xem TẤT CẢ mạng đã lưu

  1. Mở Command Prompt (không cần Admin).
  2. Liệt kê tất cả profile: netsh wlan show profiles.
  3. Xem mật khẩu của 1 profile: netsh wlan show profile name="TÊN_WIFI" key=clear.
  4. Kết quả: Dòng Key Content = Mật khẩu. Dòng Authentication, Cipher = WPA2-PSK, CCMP...

Cách 3: PowerShell – Xuất ra file CSV/JSON dễ quản lý

# Lấy tất cả profile + mật khẩu
$profiles = netsh wlan show profiles | Select-String "All User Profile\s+:\s+(.+)" | ForEach-Object { $_.Matches[0].Groups[1].Value.Trim() }
$results = @()
foreach ($profile in $profiles) {
    $detail = netsh wlan show profile name="$profile" key=clear
    $key = ($detail | Select-String "Key Content\s+:\s+(.+)").Matches[0].Groups[1].Value.Trim() -replace '^\s+|\s+$', ''
    $auth = ($detail | Select-String "Authentication\s+:\s+(.+)").Matches[0].Groups[1].Value.Trim()
    $cipher = ($detail | Select-String "Cipher\s+:\s+(.+)").Matches[0].Groups[1].Value.Trim()
    $results += [PSCustomObject]@{SSID=$profile; Password=$key; Auth=$auth; Cipher=$cipher}
}
$results | Format-Table -AutoSize
# $results | Export-Csv "WiFi_Passwords.csv" -NoTypeInformation -Encoding UTF8

Cách 4: WirelessKeyView (Tool miễn phí NirSoft)

  • Tải WirelessKeyView (portable, no install).
  • Chạy > tự động liệt kê tất cả SSID, Key (Hex/Ascii), Auth, Cipher, Adapter.
  • Xuất HTML/CSV/XML.

Cách 5: Trên Router/Modem (Nguồn gốc)

  • Đăng nhập router > Wireless Settings > Security Key (mật khẩu hiện tại).
  • Nhãn dán mặt dưới: Default SSID & Password.

Lưu ý bảo mật

  • Mật khẩu Wi-Fi là dữ liệu nhạy cảm – không chia sẻ công khai, không chụp màn hình lưu đám mây không mã hóa.
  • Dùng Password Manager (Bitwarden, 1Password, KeePass) để lưu trữ.
  • Đổi mật khẩu định kỳ (6-12 tháng) hoặc khi nghi ngờ rò rỉ.
  • Luôn dùng WPA2-AES hoặc WPA3. Tắt WPS.