Windows Network Security Key คืออะไร?
Windows Network Security Key = รหัสผ่าน Wi-Fi (WPA/WPA2/WPA3 Passphrase) ที่ Windows จดจำไว้สำหรับเครือข่ายที่เคยเชื่อมต่อ
🔍 หา Network Security Key ใน Windows 10/11
วิธี 1: GUI (Settings) - ง่ายที่สุด
- Settings (Win+I) → Network & Internet → Wi-Fi
- คลิก Hardware Properties (หรือ "Properties" ใต้ชื่อ Wi-Fi)
- เลื่อนลงมาที่ Wi-Fi details → Security type, Network security key
- ทิก Show characters → จะเห็นรหัสผ่าน
วิธี 2: Control Panel (Classic)
- Control Panel → Network and Sharing Center
- คลิกชื่อ Wi-Fi (เช่น "MyWiFi") → Wireless Properties
- แท็บ 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
- Settings → Network & Internet → Wi-Fi → Manage known networks
- เลือก SSID → Forget (ลบ) หรือ Properties (แก้ไข Security Type/Key)
🔐 Network Credentials vs Wi-Fi Security Key
| ด้าน | Network Credentials | Wi-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 ทั้งหมด
- ดูสติ๊กเกอร์รูเตอร์ / หน้า Admin (192.168.1.1)
- ดูจากอุปกรณ์อื่นที่เชื่อมต่ออยู่ (Phone, Tablet, อีกเครื่อง)
- 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)