Windows XP — End of Life (EOL) Warning ⚠️
Windows XP หยุดรองรับนับตั้งแต่ 8 เมษายน 2014 ไม่มี Security Updates, ไม่รองรับ WPA3, TLS 1.2/1.3, Modern Ciphers ไม่ควรใช้เชื่อมต่อ Internet/Production Network บทความนี้เพื่อการศึกษา/Legacy System เท่านั้น
วิธีหา Network Security Key บน Windows XP (หากเชื่อมต่อ Wi-Fi อยู่แล้ว)
วิธีที่ 1: Wireless Network Properties (GUI)
- Start → Control Panel → Network Connections
- คลิกขวา Wireless Network Connection → Properties
- แท็บ Wireless Networks
- เลือก Network ที่เชื่อมต่อ (Preferred Networks) → Properties
- แท็บ Association → ดู Network key (Password) — Windows XP แสดงเป็นดอกตา (Masked) ไม่มีปุ่ม Show Characters
ข้อจำกัด: XP ไม่แสดงรหัสผ่านแบบ Plain Text ใน GUI (ไม่เหมือน Vista/7/8/10/11)
วิธีที่ 2: Command Line (Netsh) — XP SP2/SP3
- Start → Run → `cmd`
- พิมพ์:
netsh wlan show profiles— ไม่ทำงานบน XP (netsh wlan เพิ่มใน Vista+) - XP ใช้ Wireless Zero Configuration (WZC) เก็บ Profile ใน Registry
วิธีที่ 3: Registry (สำหรับ XP)
- Start → Run → `regedit`
- ไปที่:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\[Interface GUID]\ - หา Key:
Static#00000001(หรือเลขลำดับ) → Value: KeyMaterial (Hex Encoded) - ต้อง Decode Hex → ASCII (ใช้ Tool/Script) — ซับซ้อนและ Error-prone
วิธีที่ 4: ใช้ Third-party Tool (ง่ายกว่า)
- WirelessKeyView (NirSoft) — Portable, Free, รองรับ XP/Vista/7/8/10/11 — แสดง SSID, Key Type, Key (Hex/Ascii)
- WiFi Password Revealer — GUI ใช้ง่าย
ดาวน์โหลดจาก USB Drive ที่สะอาด (XP ไม่ควร Browse Web โดยตรง)
วิธีเชื่อมต่อ Wi-Fi บน Windows XP (Refresher)
- Control Panel → Network Connections
- คลิกขวา Wireless Network Connection → Properties
- แท็บ Wireless Networks → ติ๊ก "Use Windows to configure my wireless network settings"
- Add → SSID, Network Authentication (WPA2-PSK / WPA-PSK), Data Encryption (AES / TKIP), Network Key (Password)
- OK ทุกหน้าต่าง
หมายเหตุ: XP SP3 รองรับ WPA2-AES (ต้องมี Hotfix KB893357) แต่ไม่รองรับ WPA3, SAE, PMF
วิธีเปิดใช้งาน Wi-Fi Adapter บน XP
- Control Panel → Network Connections
- คลิกขวา Wireless Network Connection → Enable
- หากไม่มี → Device Manager → Network Adapters → Enable Wireless Adapter
- หรือปุ่ม Hardware Switch บน Laptop (Fn+F2/F5/Slide Switch)
แนะนำ: ขยับออกจาก Windows XP
- Security Risk: Zero-day Exploits, No Patches, Malware Target
- Compatibility: Modern Wi-Fi (WPA3, 802.11ax/be), TLS 1.3, Modern Web ไม่ทำงาน
- Upgrade Path: Windows 10/11 LTSC (Long-term Servicing), Linux (Ubuntu LTS, Linux Mint, Debian), ChromeOS Flex
- หากบังคับใช้ Legacy App: VirtualBox/VMware VM (Isolated, No Network / Host-only), หรือ Windows 10/11 + Compatibility Mode
สรุป
Windows XP ไม่มี GUI Show Password ใช้ WirelessKeyView (NirSoft) เป็นวิธีง่ายที่สุด หรือ Registry (ยุ่งยาก) ข้อแนะนำเด็ดขาด: ยกเลิกใช้ XP, Upgrade OS, หรือ Isolate ใน VM เพื่อความปลอดภัย