ค้นหา Network Security Key (รหัสผ่าน Wi-Fi) บน Windows 10/11
Network Security Key คือชื่อเรียกทางเทคนิคของ **Wi-Fi Password** บน Windows สามารถดูรหัสผ่านของเครือข่ายที่เคยเชื่อมต่อ (Saved Networks) ได้หลายวิธี
🖥️ วิธีที่ 1: ผ่าน Settings (GUI) - ง่ายที่สุดสำหรับ Windows 10/11
- กด **Win + I** เปิด Settings
- ไปที่ **Network & Internet** > **Wi-Fi** (หรือ **Advanced network settings** ใน Win 11)
- คลิก **Manage known networks** (จัดการเครือข่ายที่รู้จัก)
- คลิกเครือข่าย Wi-Fi ที่ต้องการ > **Properties (คุณสมบัติ)**
- เลื่อนลงมาที่ **Network security key** > กด **Show** / **View** (Windows 11) หรือ ติ๊ก **Show characters** (Windows 10)
🖥️ วิธีที่ 2: ผ่าน Network and Sharing Center (Classic - ทำงานทุก Windows)
- คลิกขวาไอคอน **Wi-Fi / Network** ที่ Taskbar (มุมขวาล่าง)
- เลือก **Open Network & Internet Settings** / **Network and Sharing Center**
- ใน Network and Sharing Center: คลิก **ชื่อ Wi-Fi** ที่เชื่อมต่ออยู่ (ลิงก์สีน้ำเงิน)
- หน้าต่าง **Wi-Fi Status** ปรากฏ > คลิก **Wireless Properties**
- ไปแท็บ **Security**
- ติ๊ก **Show characters** > **Network security key** จะแสดง
⌨️ วิธีที่ 3: ใช้ Command Line (CMD / PowerShell) - เร็วสำหรับ Power User
Command Prompt (CMD):
netsh wlan show profiles
netsh wlan show profile name="YOUR_WIFI_NAME" key=clear
ดูที่บรรทัด **Key Content** - นั่นคือรหัสผ่าน
PowerShell:
(netsh wlan show profile name="YOUR_WIFI_NAME" key=clear) -match 'Key Content\s+:\s(.+)' | ForEach-Object { $matches[1] }
หรือแสดงทั้งหมด:
netsh wlan show profiles | Select-String "All User Profile" | ForEach-Object {
$name = $_.Line.Split(":")[1].Trim()
$result = netsh wlan show profile name="$name" key=clear
$key = ($result | Select-String "Key Content").Line.Split(":")[1].Trim()
Write-Host "$name : $key"
}
🔐 วิธีที่ 4: ใช้ WirelessKeyView (NirSoft) - Tool ฟรี Portable
- ดาวน์โหลด: WirelessKeyView (32-bit / 64-bit)
- รันไฟล์ .exe (ไม่ต้องติดตั้ง)
- จะแสดงรายการ Wi-Fi ทั้งหมดที่เคยเชื่อมต่อ พร้อม **Key (Ascii/Hex), SSID, Auth Type, Cipher**
- สามารถ Export เป็น Text/HTML/CSV/XML ได้
📱 วิธีที่ 5: จากมือถือที่เชื่อมต่อ Wi-Fi เดียวกัน
- Android 10+: Settings > Wi-Fi > กดเครือข่าย > **Share / QR Code** > แสดงรหัสผ่าน
- iOS 16+: Settings > Wi-Fi > กด (i) > **Password** (FaceID/TouchID)
🔧 หากไม่เจอ Network Security Key / Error
| ปัญหา | สาเหตุ/แก้ไข |
|---|---|
| ไม่มีปุ่ม Show characters / View | ไม่มีสิทธิ์ Admin / ไม่ได้เชื่อมต่อเครือข่ายนั้นอยู่ / Windows Corruption → รัน `sfc /scannow` ใน CMD Admin |
| Key Content แสดงเป็น ******** | Windows ซ่อนรหัสผ่านที่ได้จาก WPS / Enterprise (802.1X) / Saved by System - ต้องใช้ WirelessKeyView หรือดูจากเราเตอร์ |
| Profile ไม่มีในรายการ | เคย Forget Network แล้ว / ไม่เคยเชื่อมต่อ / Profile Corrupt → เชื่อมต่อใหม่หรือดูจากเราเตอร์ |
| Enterprise Wi-Fi (802.1X / WPA2-Enterprise) | ไม่มี Pre-Shared Key ใช้ Username/Password/Certificate แทน - ต้องขอจาก IT Admin |
📍 หาไม่เจอใน Windows - ลองดูที่เราเตอร์
- สติกเกอร์เราเตอร์ (ด้านล่าง/หลัง) - Password / Passphrase / Network Key
- หน้าเว็บเราเตอร์ (192.168.1.1, 192.168.0.1, routerlogin.net, tplinkwifi.net, asusrouter.com) > Wireless Settings
- แอปเราเตอร์ (Nighthawk, Tether, ASUS Router, Linksys, Google Home, Eero, UniFi)
- Reset เราเตอร์ (กดปุ่ม Reset 10-15 วิ) - คืนค่าโรงงาน ตั้งค่าใหม่ทั้งหมด
💡 Best Practices หลังได้รหัส
- ✅ **บันทึกลง Password Manager** (Bitwarden, 1Password, KeePass, Apple/Google Password Manager)
- ✅ **เปลี่ยนรหัสผ่าน** ให้แข็งแกร่ง 12-16+ ตัวอักษร (ถ้ายังใช้ค่าโรงงาน)
- ✅ **Security Mode: WPA2-PSK (AES) หรือ WPA2/WPA3 Mixed**
- ✅ **ปิด WPS** (Wi-Fi Protected Setup)
- ✅ **สร้าง Guest Network แยก**
- ✅ **อัปเดต Firmware เราเตอร์** เป็นประจำ
สรุป
หา Network Security Key บน Windows 10/11:
1️⃣ **Settings** > Network & Internet > Wi-Fi > Manage known networks > Properties > Show
2️⃣ **Network and Sharing Center** > Wi-Fi Status > Wireless Properties > Security > Show characters
3️⃣ **CMD:** `netsh wlan show profile name="SSID" key=clear` → ดู Key Content
4️⃣ **PowerShell:** One-liner แสดงทั้งหมด
5️⃣ **WirelessKeyView (NirSoft)** - GUI Portable ฟรี
6️⃣ **มือถือ/เราเตอร์** - หาก Windows ดูไม่ได้
🔐 **บังคับ:** ใช้ WPA2-AES/WPA3 รหัส 12+ ตัวอักษร Password Manager ปิด WPS Guest Network แยก