Network Security Key คืออะไร?
Network Security Key คือชื่อทางเทคนิคของ รหัสผ่าน Wi-Fi (Wi-Fi Password) หรือ Passphrase ที่ใช้ยืนยันตัวตนและเข้ารหัสการเชื่อมต่อระหว่างอุปกรณ์กับ Router/Access Point ทั้งคู่หมายถึงสิ่งเดียวกัน เพียงแต่ชื่อเรียกต่างกัน
วิธีหา Network Security Key ใน Windows 10/11 (เมื่อเชื่อมต่ออยู่)
วิธีที่ 1: ผ่าน Settings (Windows 10/11) - ง่ายที่สุด
- กด Win + I เปิด Settings
- ไปที่ Network & Internet → Wi-Fi
- คลิก Hardware properties (Windows 10) หรือคลิกชื่อเครือข่าย → View additional properties (Windows 11)
- ดูที่ Security type และ Network security key (Windows 11 แสดงได้เลย)
- Windows 10: คลิก Manage known networks → เลือกเครือข่าย → Properties → เลื่อนลงดู Network security key
วิธีที่ 2: ผ่าน Control Panel (Windows ทุกเวอร์ชัน)
- กด Win + R → พิมพ์
ncpa.cpl→ Enter (เปิด Network Connections) - คลิกขวา Wi-Fi Adapter → Status
- คลิก Wireless Properties
- แท็บ Security
- ติ๊ก Show characters → จะเห็น Network security key (รหัสผ่าน Wi-Fi)
วิธีที่ 3: ผ่าน Command Prompt / PowerShell (สำหรับ Admin/Advanced)
# แสดง Profile ทั้งหมด
netsh wlan show profiles
# แสดงรหัสผ่านของ Profile เฉพาะ (แทน "YourSSID" ด้วยชื่อจริง)
netsh wlan show profile name="YourSSID" key=clear
# ดูเฉพาะ Key Content
netsh wlan show profile name="YourSSID" key=clear | findstr "Key Content"
วิธีที่ 4: ผ่าน PowerShell (Modern Way)
(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 เมื่อ ไม่ได้เชื่อมต่อ หรือลืมรหัสผ่าน
1. ดูที่สติ๊กเกอร์ Router/Modem (วิธีเร็วที่สุด)
- พลิก Router/Modem ดูด้านหลัง ด้านข้าง หรือด้านล่าง
- หาข้อความ: Wi-Fi Password, WPA Key, WPA2 Key, Passphrase, Security Key, Network Key, PIN
- มักอยู่คู่กับ SSID (Network Name) และ Admin Login
2. เข้า Web Interface ของ Router
- เชื่อมต่อด้วย LAN Cable หรือ Wi-Fi อื่นที่รู้รหัส
- เปิด Browser → ใส่ IP Router (192.168.1.1, 192.168.0.1, 10.0.0.1)
- ล็อกอิน (admin / password หรือดูที่สติ๊กเกอร์)
- ไปที่ Wireless Settings → Wireless Security
- ดู/แก้ไข Passphrase / Pre-shared Key
3. ใช้ WPS (Wi-Fi Protected Setup) - หาก Router รองรับ
- กดปุ่ม WPS บน Router (มักมีสัญลักษณ์ลูกศรวนหรือล็อก)
- ภายใน 2 นาที: บน Windows → ไอคอน Wi-Fi → เลือกเครือข่าย → Connect → จะไม่ต้องใส่รหัสผ่าน
4. Reset Router เป็นค่าโรงงาน (Last Resort)
- กดปุ่ม Reset (รูเล็กๆ) ตรง Router ประมาณ 10-15 วินาที จนไฟกระพริบ
- Router จะกลับเป็นค่า Default (SSID และ Password ตามสติ๊กเกอร์)
- คำเตือน: การตั้งค่าทั้งหมดจะหาย (Port Forwarding, DDNS, Parental Controls, เป็นต้น)
หา SSID (Network Name) ใน Windows
วิธีเร็วที่สุด
- คลิกไอคอน Wi-Fi ที่ Taskbar
- ชื่อที่แสดงบนสุด (Connected) = SSID
ผ่าน Command Prompt
netsh wlan show interfaces
# ดูที่ "SSID" และ "BSSID"
สร้างรายงาน Wi-Fi แบบละเอียด
netsh wlan show wlanreport
# สร้างไฟล์ HTML ที่ %ProgramData%\Microsoft\Windows\WlanReport\wlan-report-latest.html
หา Network Security Key บน Android (Root/Non-Root)
Non-Root (Android 10+)
- Settings → Network & Internet → Wi-Fi
- คลิกเครื่องมือ (Gear icon) ถัดจากเครือข่าย → Share (QR Code)
- สแกน QR Code ด้วยโทรศัพท์เครื่องอื่น หรือใช้แอป QR Scanner จะได้รหัสผ่าน
Root Required (Android ทุกเวอร์ชัน)
# ไฟล์เก็บ Wi-Fi Config (ต้อง Root)
/data/misc/wifi/WpaSupplicant.conf
# หรือ
/data/misc/wifi/wpa_supplicant.conf
เปิดด้วย Text Editor จะเห็น network block พร้อม psk="password"
คำถามที่พบบ่อย (FAQ)
Network Security Key และ Wi-Fi Password ต่างกันไหม?
ไม่ต่างกัน เป็นสิ่งเดียวกัน Microsoft ใช้คำว่า "Network Security Key" ใน UI ส่วนผู้คนทั่วไปเรียกว่า "Wi-Fi Password" หรือ "Passphrase"
Network Security Key ยาวเท่าไหร่?
| ประเภท | ความยาว | รูปแบบ |
|---|---|---|
| WEP-64 | 10 Hex (5 ASCII) | 0-9, A-F |
| WEP-128 | 26 Hex (13 ASCII) | 0-9, A-F |
| WPA/WPA2-Personal | 8-63 ASCII | อักขระพิมพ์ได้ทั้งหมด |
| WPA2-Enterprise | ขึ้นอยู่กับ RADIUS | Certificate/EAP Credentials |
| WPA3-SAE | 8-63 ASCII | เดียวกับ WPA2 แต่ปลอดภัยกว่า |
ไม่เจอ Show Characters ใน Wireless Properties
- ต้องเป็น Administrator หรือมีสิทธิ์เข้าถึง Credential Manager
- บางครั้ง Group Policy ปิดการแสดง (ตรวจสอบ gpedit.msc → Computer Config → Admin Templates → Network → Windows Connection Manager → "Prohibit showing characters")
ลืมรหัสผ่าน Router Admin (เข้า Web Interface ไม่ได้)
ต้อง Reset Router เป็นค่าโรงงาน (กดปุ่ม Reset 10-15 วิ) แล้วล็อกอินด้วย Default Credentials ที่สติ๊กเกอร์
สรุปวิธีที่แนะนำตามลำดับความสะดวก
- Settings → Wi-Fi → Properties (Windows 11) / Manage known networks (Windows 10)
- Control Panel → ncpa.cpl → Wireless Properties → Security → Show characters
- netsh wlan show profile name="SSID" key=clear (Command Line)
- ดูสติ๊กเกอร์ Router/Modem
- เข้า Router Web Interface
- WPS Push Button
- Reset Router (Last Resort)