วิธีเปลี่ยน Network Security Key (รหัสผ่าน Wi-Fi) บน Windows 7 Professional
Windows 7 จบการสนับสนุน (End of Life) แล้ว **ตั้งแต่ 14 มกราคม 2020** ไม่ได้รับ Security Updates อีกต่อไป ขอแนะนำให้อัปเกรดเป็น Windows 10/11 ทันที แต่หากต้องใช้งานต่อ นี่คือวิธีการ
วิธีที่ 1: ผ่าน Network and Sharing Center (GUI)
- คลิก Start → Control Panel
- เลือก Network and Internet → Network and Sharing Center
- ด้านซ้าย คลิก Manage wireless networks
- คลิกขวา Wi-Fi Network (SSID) ที่ต้องการเปลี่ยน → Properties
- แท็บ Security
- ในช่อง Network security key → ลบเก่า ใส่รหัสใหม่
- คลิก OK → Windows จะลองเชื่อมต่อใหม่ด้วยรหัสใหม่
วิธีที่ 2: ลบ Profile เก่า และเพิ่มใหม่ (แนะนำ - เรียบร้อยกว่า)
- Control Panel → Network and Sharing Center → Manage wireless networks
- คลิกขวา SSID ที่ต้องการ → Remove network → Yes
- กลับไป Network and Sharing Center → คลิก Set up a new connection or network
- เลือก Manually connect to a wireless network → Next
- กรอก:
- Network name: SSID ที่แน่นอน
- Security type: WPA2-Personal (หรือ WPA2-Enterprise ถ้าเป็นองค์กร)
- Encryption type: AES
- Security key: รหัสผ่าน Wi-Fi ใหม่
- ติ๊ก Start this connection automatically
- ติ๊ก Connect even if the network is not broadcasting (ถ้า Hidden SSID)
- Next → Close
วิธีที่ 3: Command Line (netsh) - ใช้สคริปต์ได้
# ลบ Profile เก่า
netsh wlan delete profile name="Your_SSID"
# เพิ่ม Profile ใหม่พร้อมรหัสผ่าน (ต้องมี XML Profile ก่อน)
# วิธีง่าย: Export Profile เดิม แก้ไข Key แล้ว Import
netsh wlan export profile name="Your_SSID" folder="C:\Temp"
# แก้ไขไฟล์ XML ที่ KeyMaterial
netsh wlan add profile filename="C:\Temp\Your_SSID.xml" user=all
⚠️ สิ่งที่ต้องทำ "บน Router" ก่อน (สำคัญมาก)
เปลี่ยนรหัสบน Windows เพียงอย่างเดียวไม่พอ ต้องเปลี่ยนที่ Router ก่อน:
- เข้าหน้า Admin Router (192.168.1.1, 192.168.0.1, routerlogin.net, tplinkwifi.net, etc.)
- Wireless → Security → เปลี่ยน Passphrase/WPA Key เป็นรหัสใหม่
- Security Mode: WPA2-PSK (AES) (Windows 7 รองรับ)
- Save/Apply → Router จะรีบูท/Reconnect
- ค่อยมาเปลี่ยนบน Windows 7 และอุปกรณ์อื่นๆ ทั้งหมด
🔧 Troubleshooting: "Network Security Key Isn't Correct"
- อัปเดต Wi-Fi Driver ล่าสุดจากเว็บผู้ผลิต (Intel, Realtek, Broadcom, Qualcomm/Atheros) - Windows Update มักเก่า
- ตรวจสอบ Caps Lock / Num Lock และภาษาไทย/อังกฤษ
- ลอง Disable/Enable Wireless Adapter (Device Manager หรือ Fn+F2/F5)
- Forget Network แล้วเพิ่มใหม่ (วิธีที่ 2)
- ตรวจสอบ Security Type ตรงกัน (Router: WPA2-AES, Windows: WPA2-Personal/AES)
- ลอง Default Password บน Router (ดูสติ๊กเกอร์) แล้วค่อยเปลี่ยนใหม่
- Restart Router และ Windows 7
🔐 แนะนำ: ตั้งค่าความปลอดภัยให้แข็งแกร่ง
- Wi-Fi Password: 12-16+ ตัวอักษร ผสม A-Z, a-z, 0-9, สัญลักษณ์
- Security: WPA2-PSK (AES) (Windows 7 รองรับ, WPA3 ไม่รองรับ)
- ปิด WPS บน Router
- เปลี่ยน Router Admin Password เริ่มต้น
- บันทึกลง Password Manager
🛑 คำเตือนสุดท้าย: Windows 7 EOL
- ไม่มี Security Patch อีก → ช่องโหว่ 0-day จะไม่ได้รับการแก้ไข
- Browser (Chrome, Firefox, Edge) หยุดรองรับ Windows 7 แล้ว (2023)
- Antivirus หลายตัว หยุด Update Definitions ให้ Windows 7 แล้ว
- โปรดวางแผนย้ายไป Windows 10/11 หรือ Linux (Ubuntu, Linux Mint, Fedora) โดยเร็วที่สุด
- หากต้องใช้ Win7 เพื่อ Legacy App → ใช้ใน VM แยก Network / Air-gap / No Internet