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

หา Windows Network Security Key (รหัส Wi-Fi) บน Windows 10/11

Windows Network Security Key คืออะไร?

Windows Network Security Key = รหัสผ่าน Wi-Fi (WPA/WPA2/WPA3 Passphrase) ที่ Windows จดจำไว้สำหรับเครือข่ายที่เคยเชื่อมต่อ

🔍 หา Network Security Key ใน Windows 10/11

วิธี 1: GUI (Settings) - ง่ายที่สุด

  1. Settings (Win+I) → Network & Internet → Wi-Fi
  2. คลิก Hardware Properties (หรือ "Properties" ใต้ชื่อ Wi-Fi)
  3. เลื่อนลงมาที่ Wi-Fi details → Security type, Network security key
  4. ทิก Show characters → จะเห็นรหัสผ่าน

วิธี 2: Control Panel (Classic)

  1. Control Panel → Network and Sharing Center
  2. คลิกชื่อ Wi-Fi (เช่น "MyWiFi") → Wireless Properties
  3. แท็บ Security → ทิก Show characters

วิธี 3: Command Line (PowerShell Admin) - เร็วที่สุดสำหรับหลาย SSID

# แสดงทั้งหมด
netsh wlan show profiles

# แสดง Key ของ SSID เฉพาะ
netsh wlan show profile name="SSID_ชื่อไวไฟ" key=clear

# PowerShell One-liner (Export ทั้งหมด)
netsh wlan show profiles | Select-String "All User Profile" | ForEach-Object { $ssid = $_.Line.Split(":")[1].Trim(); netsh wlan show profile name="$ssid" key=clear } | Select-String "Key Content"

🗑️ ลบ/จัดการ Saved Wi-Fi Profiles

  1. Settings → Network & Internet → Wi-Fi → Manage known networks
  2. เลือก SSID → Forget (ลบ) หรือ Properties (แก้ไข Security Type/Key)

🔐 Network Credentials vs Wi-Fi Security Key

ด้านNetwork CredentialsWi-Fi Security Key
ใช้สำหรับเข้าถึงทรัพยากร (File Share, RDP, NAS)เชื่อมต่อ Wireless Network (Layer 2)
รูปแบบUsername + Password (+ Domain)Passphrase (PSK) หรือ Certificate (EAP)
จัดการที่Credential Manager (control /name Microsoft.CredentialManager)Wi-Fi Settings / Router

🔄 หากลืม Wi-Fi Password ทั้งหมด

  1. ดูสติ๊กเกอร์รูเตอร์ / หน้า Admin (192.168.1.1)
  2. ดูจากอุปกรณ์อื่นที่เชื่อมต่ออยู่ (Phone, Tablet, อีกเครื่อง)
  3. Reset รูเตอร์ (Final Option) → ใช้ Default Key บนสติ๊กเกอร์ → ตั้งค่าใหม่

✅ เคล็ดลับความปลอดภัย

  • ใช้ WPA3 หรือ WPA2-AES เท่านั้น
  • Password ≥ 12 ตัวอักษร 複雜
  • บันทึกใน Password Manager (Bitwarden, 1Password, KeePass, Apple Passwords)
  • ปิด WPS บนรูเตอร์
  • อัปเดต Wi-Fi Driver และ Windows Update เป็นประจำ

สรุป

Windows Network Security Key = Wi-Fi Password หาได้ที่: Settings → Wi-Fi → Hardware Properties → Security → Show characters หรือ PowerShell: netsh wlan show profile name="SSID" key=clear จัดการ Profile: Manage known networks → Forget/Properties แยกจาก Network Credentials (SMB/RDP/NAS Login)