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

หา Network Security Key บน Surface Pro (Windows) ทำอย่างไร?

หา Wi-Fi Password (Network Security Key) บน Microsoft Surface Pro / Windows 10/11

Network Security Key คือรหัสผ่าน Wi-Fi ที่ใช้เชื่อมต่อเครือข่ายไร้สาย บน Surface Pro ที่รัน Windows สามารถดูรหัสผ่านของ Wi-Fi ที่ "เคยเชื่อมต่อและบันทึกไว้" ได้ดังนี้

วิธีที่ 1: ผ่าน Settings (Windows 10/11) - ง่ายที่สุด

  1. กด Win + I เปิด Settings
  2. ไปที่ Network & Internet > Wi-Fi
  3. กด Manage known networks (จัดการเครือข่ายที่รู้จัก)
  4. คลิกที่ SSID (ชื่อ Wi-Fi) ที่ต้องการดูรหัส
  5. กดปุ่ม View / Properties / Eye icon (ขึ้นอยู่กับ Build)
  6. จะแสดง Network security key / Password

Windows 11 22H2+: Settings > Network & Internet > Wi-Fi > Manage known networks > คลิก SSID > View Wi-Fi security key

วิธีที่ 2: ผ่าน Control Panel (Classic) - ทุกเวอร์ชัน Windows

  1. กด Win + R พิมพ์ ncpa.cpl กด Enter
  2. ใน Network Connections คลิกขวาที่ Wi-Fi Adapter ที่เชื่อมต่ออยู่ (หรือเคยเชื่อมต่อ) > Status
  3. กด Wireless Properties
  4. แท็บ Security
  5. ทิก ☑ Show characters
  6. ค่าที่แสดงในช่อง Network security key คือรหัสผ่าน Wi-Fi

วิธีที่ 3: ผ่าน Command Line (PowerShell / CMD) - สำหรับ Power User

PowerShell (Admin):

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

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

# คีย์จะอยู่บรรทัด "Key Content"

CMD (Admin): ใช้คำสั่ง netsh เดียวกันได้

วิธีที่ 4: ใช้ PowerShell Script แสดงทั้งหมดพร้อมกัน

(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() }
    } else {
        [PSCustomObject]@{ SSID = $ssid; Password = "(Not saved / Open / Enterprise)" }
    }
} | Format-Table -AutoSize

⚠️ ข้อจำกัดและข้อควรระวัง

  • ต้องมีสิทธิ์ Administrator สำหรับคำสั่ง netsh ... key=clear
  • ดูได้เฉพาะ Wi-Fi ที่ เคยเชื่อมต่อและบันทึกไว้ (Saved/Remembered) เท่านั้น
  • Wi-Fi แบบ Enterprise (802.1X/EAP) ไม่มี Pre-Shared Key จะแสดงเป็น Key Content : (Enterprise) หรือว่าง
  • Open Network (No Password) จะไม่มี Key Content
  • รักษาความลับของ Key ที่ได้มา ห้ามแชร์ให้คนอื่นโดยไม่ได้รับอนุญาต

🔧 ถ้าหาไม่เจอ / เชื่อมต่อไม่ได้

  1. ตรวจสอบว่า Wi-Fi Adapter เปิดอยู่ (Fn + F7/F8 หรือ Action Center)
  2. Restart Surface Pro
  3. Forget Network (Settings > Wi-Fi > Manage known networks > Forget) แล้วเชื่อมใหม่
  4. Update Wi-Fi Driver: Device Manager > Network Adapters > Marvell/Atheros/Intel/Realtek > Update Driver
  5. Reset Network: Settings > Network & Internet > Advanced network settings > Network reset

📱 วิธีอื่น: ดูจาก Router หรืออุปกรณ์อื่น

  • สติกเกอร์ Router (Default Key)
  • Router Web Interface (192.168.x.x)
  • มือถือ Android 10+/iOS 16+ ที่เชื่อมต่ออยู่ (Share QR Code > View Password)
  • macOS Keychain Access