Network Security Information ใน Windows 10 - ที่ตั้งและวิธีเข้าถึง
Windows 10 จัดเก็บข้อมูลความปลอดภัยเครือข่าย (Wi-Fi Profiles, Passwords, Security Types) ไว้ในที่ต่างๆ สามารถเข้าถึงได้ทั้ง GUI และ Command Line
🔍 หา Network Security Key (Wi-Fi Password) บน Windows 10
วิธีที่ 1: Settings App (GUI - ง่ายที่สุด)
- กด Win + I → Network & Internet
- เลือก Wi-Fi ด้านซ้าย → คลิก Hardware properties (หรือ Manage known networks)
- คลิกเครือข่ายที่เชื่อมต่ออยู่ → Properties
- ดู: Security type (WPA2-Personal, WPA3-Personal), Network band (2.4/5 GHz)
- รหัสผ่านไม่แสดงที่นี่ → ต้องใช้วิธีอื่นด้านล่าง
วิธีที่ 2: Network and Sharing Center (Classic Control Panel)
- กด Win + R → พิมพ์
control.exe /name Microsoft.NetworkAndSharingCenter→ Enter - หรือ: Settings → Network & Internet → Advanced network settings → Network and Sharing Center
- คลิกชื่อ Wi-Fi ที่เชื่อมต่ออยู่ (ลิงก์สีน้ำเงิน)
- คลิก Wireless Properties
- แท็บ Security
- ติ๊ก Show characters
- ช่อง Network security key = Wi-Fi Password
วิธีที่ 3: Command Prompt (CMD) - เร็วที่สุด สำหรับ Admin/Script
# 1. แสดงโปรไฟล์ Wi-Fi ทั้งหมดที่บันทึกไว้
netsh wlan show profiles
# 2. แสดงรายละเอียด + รหัสผ่านของโปรไฟล์เฉพาะ (แทน "WiFi-Name")
netsh wlan show profile name="WiFi-Name" key=clear
# Output สำคัญ:
# Security key : Present
# Key Content : YourActualWiFiPasswordHere
# Authentication : WPA2-Personal
# Cipher : CCMP (AES)
วิธีที่ 4: PowerShell (Modern, Object-oriented)
# แสดงโปรไฟล์ทั้งหมดพร้อมรหัสผ่าน
$profiles = (netsh wlan show profiles) | Select-String "All User Profile" | ForEach-Object { $_.Line.Split(":")[1].Trim() }
foreach ($profile in $profiles) {
$result = netsh wlan show profile name="$profile" key=clear
$key = ($result | Select-String "Key Content").Line.Split(":")[1].Trim()
$auth = ($result | Select-String "Authentication").Line.Split(":")[1].Trim()
$cipher = ($result | Select-String "Cipher").Line.Split(":")[1].Trim()
[PSCustomObject]@{SSID=$profile; Password=$key; Auth=$auth; Cipher=$cipher}
} | Format-Table -AutoSize
วิธีที่ 5: Wireless Network Report (รายงานละเอียด)
# Run as Administrator
netsh wlan show wlanreport
# สร้างไฟล์ HTML: %ProgramData%\Microsoft\Windows\WlanReport\wlan-report-latest.html
# เปิดด้วย Browser: ดู History, Disconnect Reasons, Session Duration, Errors
🖨️ หา Network Security Key สำหรับ HP Printer / Wireless Printer
Printer ต้องการ "Network Security Key" = Wi-Fi Password เดียวกับที่คุณใช้เชื่อมต่อโทรศัพท์/คอมพิวเตอร์
วิธีหา:
- ดูสติ๊กเกอร์เราเตอร์ (Default)
- ดูจาก Windows/Mac/มือถือที่เชื่อมต่ออยู่ (วิธีข้างต้น)
- หรือ: เข้า Admin Panel เราเตอร์ → Wireless Settings → ดู Passphrase
⚠️ บาง Printer เรียกว่า "WPA Key", "WPA2 Key", "Wireless Password", "Network Key" - หมายถึงสิ่งเดียวกัน
📱 หา Network Security Key บนมือถือ (Android/iOS) - สำหรับ Sync/Migration
Android 10+ (ไม่ต้อง Root)
- Settings → Network & Internet → Internet
- คลิกไอคอนเฟือง/เครื่องมือ ข้างเครือข่าย → Share
- ยืนยันตัวตน (Biometric/PIN) → QR Code + Password แสดงด้านล่าง
iOS 16+ / iPadOS 16+
- Settings → Wi-Fi → คลิก i (Info) ข้างเครือข่าย
- คลิกช่อง Password → Face ID / Touch ID / Passcode
- แสดงรหัสผ่าน → Copy ได้
iOS ก่อน v16 / Android ก่อน v10
- ไม่สามารถดูรหัสผ่าน Wi-Fi ที่บันทึกไว้ได้โดยตรง
- ใช้ iCloud Keychain Sync ไป Mac → Keychain Access → ดูได้
- หรือใช้วิธี Router Admin / Windows CMD
🌐 หาข้อมูล Network Security บนอุปกรณ์อื่นๆ
Huawei Modem/Router
- สติ๊กเกอร์: SSID + Wi-Fi Key / Password / WPA Pre-shared Key
- Admin:
192.168.3.1/192.168.1.1→ Wi-Fi Settings → Security - Huawei AI Life App: จัดการ Wi-Fi ได้ง่าย
Spectrum (Charter) - USA
- ล็อกอิน Spectrum.net หรือ My Spectrum App
- Services → Internet → Manage Network → Wi-Fi Name/Password
- Admin Tool:
192.168.1.1/192.168.0.1(บางรุ่น)
🔐 Network Security Type (ประเภทความปลอดภัย) - ตรวจสอบและตั้งค่า
| Security Type (Windows) | Router Setting | คำอธิบาย | สถานะ |
|---|---|---|---|
| WPA3-Personal | WPA3-SAE / WPA2/WPA3 Mixed | ใหม่ล่าสุด ปลอดภัยที่สุด (SAE, Forward Secrecy, PMF Required) | ✅ Best |
| WPA2-Personal | WPA2-PSK (AES/CCMP) | มาตรฐานปัจจุบัน ปลอดภัย เข้ากันได้ทุกอุปกรณ์ | ✅ Recommended |
| WPA2-Personal (TKIP) | WPA2-PSK (TKIP) / Auto | TKIP ล้าสมัย อ่อนแอ ช้า | ⚠️ Weak |
| WPA-Personal | WPA-PSK (TKIP) | ล้าสมัยมาก | ❌ Avoid |
| WEP | WEP 64/128-bit | แตกได้ภายในนาที ห้ามใช้ | ❌ Insecure |
| Open / No Authentication | Open System / None | ไม่มีรหัสผ่าน ใครก็เชื่อมได้ | ❌ Insecure |
การแก้ไข "Weak Security" Warning บน Windows 10/11
- เข้า Admin Panel เราเตอร์
- Wireless Security → Security Mode: WPA2-PSK (AES) หรือ WPA2/WPA3 Mixed
- Encryption: AES (CCMP) - ไม่ใช่ TKIP, ไม่ใช่ Auto
- Save → Reboot Router → Reconnect Devices
🖥️ HP Printer Network Security Key - ข้อมูลเพิ่มเติม
ที่ตั้งบนสติ๊กเกอร์ HP Printer (ถ้ารองรับ Wi-Fi Direct)
- ด้านล่าง/หลัง Printer: Wi-Fi Direct Name + Password
- หรือ: พิมพ์ Network Configuration Page (กดปุ่ม Wireless + Info / Wireless + Cancel พร้อมกัน)
ตั้งค่า Printer ให้เชื่อม Wi-Fi บ้าน (Infrastructure Mode)
- Printer Control Panel → Wireless Setup Wizard
- เลือก SSID บ้าน → ใส่ Network Security Key (Wi-Fi Password)
- หรือ: WPS Push Button (กด WPS บนเราเตอร์ แล้วกด WPS บน Printer ภายใน 2 นาที) - ไม่แนะนำ (WPS Vulnerable)
❓ คำถามที่พบบ่อย (FAQ)
Windows 10 เก็บรหัสผ่าน Wi-Fi ไว้ที่ไหนใน Registry/File?
C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{GUID}\{SSID}.xml (Encrypted) - ไม่ได้เก็บ Plain Text ใน Registry
สามารถ Export/Import Wi-Fi Profiles ระหว่างเครื่องได้ไหม?
ได้ ใช้คำสั่ง:
netsh wlan export profile folder=C:\WiFiBackup (Export)
netsh wlan add profile filename="C:\WiFiBackup\WiFi-SSID.xml" user=all (Import)
ทำไมดู Key Content ไม่เจอ (Key Content: Blank)?
1) โปรไฟล์เสียหาย → ลบโปรไฟล์ (netsh wlan delete profile name="SSID") → เชื่อมต่อใหม่
2) ใช้ Enterprise (802.1X) ไม่ใช่ PSK → ไม่มี Pre-shared Key
3) Permission: ต้อง Run as Administrator
Windows 10 รองรับ WPA3 แล้วหรือยัง?
ได้ ตั้งแต่ Version 1903 (May 2019) ต้องมี Wireless Driver และ Hardware รองรับ (Wi-Fi 5/6/6E/7)
ลืมรหัสผ่าน Wi-Fi และไม่มีอุปกรณ์อื่นเชื่อมต่ออยู่
1) สติ๊กเกอร์เราเตอร์ (Default) 2) Ethernet เข้า Admin Panel 3) Factory Reset เราเตอร์ 4) ติดต่อ ISP