Network Security Key บน Windows คืออะไร?
คือ รหัสผ่าน Wi-Fi (Wi-Fi Password) ที่ Windows บันทึกไว้ (Saved Profile) เพื่อเชื่อมต่ออัตโนมัติ เรียกใน Windows ว่า Network security key (ในหน้าตัวคุณสมบัติ Wireless Network Properties)
วิธีหา/ดู Network Security Key บน Windows 10/11 (3 วิธี)
วิธีที่ 1: ผ่าน Settings (Graphical UI - ง่ายที่สุด)
- กด Win + I → Network & Internet
- เลือก Wi-Fi ด้านซ้าย → Manage known networks (จัดการเครือข่ายที่รู้จัก)
- คลิกเครือข่าย (SSID) ที่ต้องการ → View (หรือ Properties)
- ในหน้าต่าง Wireless Network Properties → แท็บ Security
- ติ๊ก Show characters → ช่อง Network security key จะแสดงรหัสผ่าน
วิธีที่ 2: ผ่าน Control Panel (Classic - รองรับทุกเวอร์ชัน)
- กด Win + R → พิมพ์
ncpa.cpl→ Enter (Network Connections) - คลิกขวา Wi-Fi Adapter → Status
- คลิก Wireless Properties
- แท็บ Security → ติ๊ก Show characters
วิธีที่ 3: ผ่าน Command Line (CMD / PowerShell) - สำหรับ Admin/Automation
Command Prompt (CMD):
netsh wlan show profiles
netsh wlan show profile name="Your_SSID" key=clear
ดูในส่วน Key Content = รหัสผ่าน
PowerShell (สวยงามกว่า):
(netsh wlan show profiles) | Select-String "\:(.+)$" | ForEach-Object { $_.Matches.Groups[1].Value.Trim() } | ForEach-Object { netsh wlan show profile name="$_" key=clear } | Select-String "Key Content"
หรือสคริปต์สั้นๆ:
Get-NetProfile | Where-Object {$_.InterfaceAlias -eq 'Wi-Fi'} | ForEach-Object { netsh wlan show profile name="$($_.Name)" key=clear } | Select-String "Key Content"
Network Security Key = Wi-Fi Password จริงๆ หรือไม่?
ใช่ 100% Windows ใช้คำว่า "Network security key" ใน UI แต่เป็นรหัสผ่าน Wi-Fi เดียวกันที่คุณกรอกตอนเชื่อมต่อครั้งแรก
วิธีจัดการ Saved Wi-Fi Profiles บน Windows
ลบโปรไฟล์เก่า (Forget Network):
- Settings > Network & Internet > Wi-Fi > Manage known networks
- คลิกเครือข่าย → Forget
- หรือ CMD:
netsh wlan delete profile name="SSID"
สำรอง/คืนค่า Wi-Fi Profiles (Backup/Restore):
- Export:
netsh wlan export profile folder="C:\WiFiBackup" key=clear(สร้าง XML files มีรหัสผ่านในตัว) - Import:
netsh wlan add profile filename="C:\WiFiBackup\WiFi-SSID.xml" user=all - ⚠️ ไฟล์ XML มีรหัสผ่านแบบ Plain Text → เก็บอย่างปลอดภัย/ลบหลังใช้
ป้องกันไม่ให้ Windows Connect อัตโนมัติ (Auto-connect):
- Manage known networks → คลิกเครือข่าย → Properties
- ปิด Connect automatically when in range
การแก้ไขปัญหาที่พบบ่อย
| ปัญหา | วิธีแก้ไข |
|---|---|
| ไม่เห็นปุ่ม "Show characters" / สีจาง | ต้องเป็น Administrator / หรือ Profile เป็น WPA3-Enterprise (802.1X) ที่ไม่มี PSK |
| Key Content ว่าง / ไม่แสดง | Profile ใช้ Certificate/802.1X (Enterprise) ไม่ใช่ PSK / หรือ Profile เสียหาย → Forget และ Connect ใหม่ |
| เชื่อมต่อไม่ได้ (Can't connect to this network) | 1. Forget Network → Connect ใหม่กรอกรหัส 2. Reset Network Settings (Settings > Network & Internet > Advanced network settings > Network reset) 3. Update Wi-Fi Driver (Device Manager / Vendor Website) 4. Restart Router/Modem |
| อยากดูรหัสผ่านบนมือถือ Android/iOS | Android: Root เท่านั้น (ไฟล์ wpa_supplicant.conf) / iOS: iCloud Keychain Sync → Mac Keychain Access / QR Code Share (iOS 11+) |
เคล็ดลับความปลอดภัยสำหรับ Windows Wi-Fi
- ใช้ WPA3-Personal (SAE) หรือ WPA2-AES Only บนเราเตอร์ (Windows 10 1903+ รองรับ WPA3)
- เปิด Random Hardware Addresses (MAC Randomization): Settings > Network & Internet > Wi-Fi > Random hardware addresses → On (ป้องกัน Tracking)
- ปิด Wi-Fi Sense / Hotspot 2.0 Networks: Settings > Network & Internet > Wi-Fi > Manage known networks → ปิด "Connect to suggested open hotspots" / "Connect to networks shared by contacts"
- ใช้ Windows Defender Firewall / Third-party Firewall บล็อก Inbound ที่ไม่จำเป็น
- BitLocker Drive Encryption: เข้ารหัสดิสก์ ป้องกันขโมย Credential (Wi-Fi Profiles เก็บใน Registry/Disk)
สรุป
Network Security Key บน Windows 10/11 = รหัสผ่าน Wi-Fi ที่บันทึกไว้ ดูได้ง่ายที่สุดผ่าน Settings > Network & Internet > Wi-Fi > Manage known networks > View > Security tab > Show characters หรือ CMD netsh wlan show profile name="SSID" key=clear จัดการโปรไฟล์ได้ที่ Manage known networks (Forget, Auto-connect) และสำรอง/คืนค่าได้ด้วย netsh export/import