Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

วิธีหา Network Security Key บน Windows 10/11

วิธีดูรหัสผ่าน Wi-Fi (Network Security Key) บน Windows 10/11

วิธีที่ 1: ผ่าน Settings (GUI ใหม่ - แนะนำ)

  1. Win + I เปิด Settings
  2. ไป Network & Internet > Advanced network settings (หรือ Wi-Fi > Hardware properties)
  3. คลิก More network adapter options (หรือ Network and Sharing Center)
  4. คลิกขวา Adapter Wi-Fi ที่เชื่อมต่ออยู่ > Status
  5. คลิก Wireless Properties > แท็บ Security
  6. ติ๊ก Show characters > เห็น Network security key

วิธีที่ 2: ผ่าน Command Line (เร็วกว่า)

# แสดงโปรไฟล์ Wi-Fi ทั้งหมดที่บันทึกไว้
netsh wlan show profiles

# แสดงรหัสผ่านของโปรไฟล์เฉพาะ (แทน "ProfileName" ด้วยชื่อ SSID)
netsh wlan show profile name="ProfileName" key=clear

# Key Content = Network Security Key

วิธีที่ 3: PowerShell (สำหรับ Automation)

(netsh wlan show profiles) | Select-String "\:(.+)$" | ForEach-Object {
    $ssid = $_.Matches[0].Groups[1].Value.Trim()
    $result = netsh wlan show profile name="$ssid" key=clear
    if ($result -match "Key Content\s+:\s(.+)") {
        [PSCustomObject]@{SSID=$ssid; Password=$matches[1].Trim()}
    }
} | Format-Table -AutoSize

หา Network Security Key บนอุปกรณ์อื่น

อุปกรณ์วิธีการ
Router/Modemสติ๊กเกอร์ด้านล่าง/หลัง: Password/Passphrase/WPA2 Key
Web Interface192.168.1.1 / routerlogin.net > Wireless > Security > Passphrase
macOSKeychain Access > System > ชื่อ Wi-Fi > Show Password (ต้อง unlock keychain)
Android (Root)/data/misc/wifi/wpa_supplicant.conf
iOS/iPadOSSettings > Wi-Fi > (i) > Password (iOS 16+ ต้อง FaceID/TouchID)
Linux (NetworkManager)nmcli -s device wifi show-password / หรือ /etc/NetworkManager/system-connections/

หากไม่เจอ / ลืมรหัสผ่าน

  1. ดูสติ๊กเกอร์เราเตอร์ (Default)
  2. เข้าหน้าจัดการเราเตอร์ (admin/password)
  3. รีเซ็ตเราเตอร์ (Reset 10-15 วินาที) > ตั้งค่าใหม่
  4. ติดต่อ ISP (หากเป็นอุปกรณ์จาก ISP)

คำแนะนำความปลอดภัย

  • ห้ามแชร์รหัสผ่าน Wi-Fi หลัก ใช้ Guest Network แทน
  • ใช้ WPA2-AES / WPA3 เท่านั้น
  • เปลี่ยนรหัสผ่านเป็นระยะ (6-12 เดือน)
  • ปิด WPS
  • อัปเดต Firmware เราเตอร์