ดู Network Security Key (รหัสผ่าน Wi-Fi) ใน Windows 10
Windows 10 มีหลายวิธีในการดูรหัสผ่าน Wi-Fi ที่เคยเชื่อมต่อไว้
วิธีที่ 1: Settings App (ง่ายที่สุด - Windows 10 Version 1903+)
- Win + I → Network & Internet
- เลือก Wi-Fi ด้านซ้าย → Manage known networks
- คลิกชื่อ Wi-Fi ที่ต้องการ → Properties
- เลื่อนลงหา Network security key → จะแสดงรหัสผ่าน (Windows 10 ใหม่ๆ แสดงโดยตรง)
วิธีที่ 2: Network and Sharing Center (Classic - ทุก Version)
- คลิกขวาไอคอน Wi-Fi/System Tray → Open Network & Internet Settings
- คลิก Network and Sharing Center (ด้านล่าง/ขวามือ)
- คลิกชื่อ Wi-Fi (ข้างๆ Connections:) → Wireless Properties
- แท็บ Security → ทิก Show characters → Network security key จะแสดง
วิธีที่ 3: Command Prompt / PowerShell (เร็ว สำหรับ Admin/Script)
CMD (Admin):
netsh wlan show profiles
netsh wlan show profiles name="YourWiFiName" key=clear
ดูที่ Key Content
PowerShell (Admin):
netsh wlan show profiles name="YourWiFiName" key=clear | Select-String "Key Content"
หรือดูทั้งหมด:
(netsh wlan show profiles) | Select-String ":\s*(.+)$" | ForEach-Object { $name=$_.Matches[0].Groups[1].Value.Trim(); netsh wlan show profiles name="$name" key=clear } | Select-String "Key Content|Profile"
วิธีที่ 4: Command Prompt แบบ One-liner (Export ทั้งหมด)
for /f "tokens=2 delims=:" %a in ('netsh wlan show profiles ^| find "All User Profile"') do @netsh wlan show profiles name="%a" key=clear ^| find "Key Content"
แก้ไขปัญหาที่พบบ่อย
1. "Show characters" ไม่มี / กดไม่ได้
- ไม่ได้เชื่อมต่อ Wi-Fi นั้นอยู่ → ต้อง Connect ก่อน
- Profile ถูกลบ/เสียหาย → Forget → Connect ใหม่
- Driver ปัญหา → Update Driver (Device Manager → Network Adapters)
2. "Network Security Key Mismatch" / ใส่ถูกแต่เข้าไม่ได้
- ตรวจสอบ Case-sensitive (ตัวพิมพ์เล็ก/ใหญ่)
- Forget Network → Connect ใหม่
- Reboot Router + Laptop
- เช็ค MAC Address Filtering บนเราเตอร์
- เปลี่ยน Security Type เป็น WPA2-PSK (AES) เท่านั้น (ปิด Mixed Mode)
- อัปเดต Wi-Fi Driver
- Reset Network: Settings → Network & Internet → Status → Network reset
3. หา Key ไม่เจอเลย
- ดูสติกเกอร์เราเตอร์ (Default)
- เข้า Web UI เราเตอร์ (192.168.1.1)
- ถาม Network Admin
- Reset เราเตอร์ (กดปุ่ม Reset 10 วินาที)
ทำไมคอมพิวเตอร์ขอ Network Security Key?
- เชื่อมต่อ Wi-Fi ครั้งแรก
- รหัสผ่านเปลี่ยนไป (Router/AP เปลี่ยน Key)
- Profile บน Windows เสียหาย/หมดอายุ
- Security Type ไม่ตรง (เช่น Router ตั้ง WPA3 แต่ Client รองรับ WPA2)
หมายเหตุ: Network Security Key = Wi-Fi Password = WPA2/WPA3 Passphrase = Pre-Shared Key (PSK) เรียกต่างกัน แต่อ้างอิงสิ่งเดียวกัน