วิธีดูรหัสผ่าน Wi-Fi (Network Security Key) บน Windows 10/11
วิธีที่ 1: ผ่าน Settings (GUI ใหม่ - แนะนำ)
- Win + I เปิด Settings
- ไป Network & Internet > Advanced network settings (หรือ Wi-Fi > Hardware properties)
- คลิก More network adapter options (หรือ Network and Sharing Center)
- คลิกขวา Adapter Wi-Fi ที่เชื่อมต่ออยู่ > Status
- คลิก Wireless Properties > แท็บ Security
- ติ๊ก Show characters > เห็น Network security key
วิธีที่ 2: ผ่าน Command Line (เร็วกว่า)
# แสดงโปรไฟล์ Wi-Fi ทั้งหมดที่บันทึกไว้
netsh wlan show profiles
# แสดงรหัสผ่านของโปรไฟล์เฉพาะ (แทน "ProfileName" ด้วยชื่อ SSID)
netsh wlan show profile name="ProfileName" key=clear
# Key Content = Network Security Key
วิธีที่ 3: PowerShell (สำหรับ Automation)
(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 บนอุปกรณ์อื่น
| อุปกรณ์ | วิธีการ |
| Router/Modem | สติ๊กเกอร์ด้านล่าง/หลัง: Password/Passphrase/WPA2 Key |
| Web Interface | 192.168.1.1 / routerlogin.net > Wireless > Security > Passphrase |
| macOS | Keychain Access > System > ชื่อ Wi-Fi > Show Password (ต้อง unlock keychain) |
| Android (Root) | /data/misc/wifi/wpa_supplicant.conf |
| iOS/iPadOS | Settings > Wi-Fi > (i) > Password (iOS 16+ ต้อง FaceID/TouchID) |
| Linux (NetworkManager) | nmcli -s device wifi show-password / หรือ /etc/NetworkManager/system-connections/ |
หากไม่เจอ / ลืมรหัสผ่าน
- ดูสติ๊กเกอร์เราเตอร์ (Default)
- เข้าหน้าจัดการเราเตอร์ (admin/password)
- รีเซ็ตเราเตอร์ (Reset 10-15 วินาที) > ตั้งค่าใหม่
- ติดต่อ ISP (หากเป็นอุปกรณ์จาก ISP)
คำแนะนำความปลอดภัย
- ห้ามแชร์รหัสผ่าน Wi-Fi หลัก ใช้ Guest Network แทน
- ใช้ WPA2-AES / WPA3 เท่านั้น
- เปลี่ยนรหัสผ่านเป็นระยะ (6-12 เดือน)
- ปิด WPS
- อัปเดต Firmware เราเตอร์