Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

เปลี่ยน Network Security Key บน Windows 7 Pro อย่างไร?

วิธีเปลี่ยน 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)

  1. คลิก Start → Control Panel
  2. เลือก Network and Internet → Network and Sharing Center
  3. ด้านซ้าย คลิก Manage wireless networks
  4. คลิกขวา Wi-Fi Network (SSID) ที่ต้องการเปลี่ยน → Properties
  5. แท็บ Security
  6. ในช่อง Network security key → ลบเก่า ใส่รหัสใหม่
  7. คลิก OK → Windows จะลองเชื่อมต่อใหม่ด้วยรหัสใหม่

วิธีที่ 2: ลบ Profile เก่า และเพิ่มใหม่ (แนะนำ - เรียบร้อยกว่า)

  1. Control Panel → Network and Sharing Center → Manage wireless networks
  2. คลิกขวา SSID ที่ต้องการ → Remove network → Yes
  3. กลับไป Network and Sharing Center → คลิก Set up a new connection or network
  4. เลือก Manually connect to a wireless network → Next
  5. กรอก:
    • 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)
  6. 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 ก่อน:

  1. เข้าหน้า Admin Router (192.168.1.1, 192.168.0.1, routerlogin.net, tplinkwifi.net, etc.)
  2. Wireless → Security → เปลี่ยน Passphrase/WPA Key เป็นรหัสใหม่
  3. Security Mode: WPA2-PSK (AES) (Windows 7 รองรับ)
  4. Save/Apply → Router จะรีบูท/Reconnect
  5. ค่อยมาเปลี่ยนบน Windows 7 และอุปกรณ์อื่นๆ ทั้งหมด

🔧 Troubleshooting: "Network Security Key Isn't Correct"

  1. อัปเดต Wi-Fi Driver ล่าสุดจากเว็บผู้ผลิต (Intel, Realtek, Broadcom, Qualcomm/Atheros) - Windows Update มักเก่า
  2. ตรวจสอบ Caps Lock / Num Lock และภาษาไทย/อังกฤษ
  3. ลอง Disable/Enable Wireless Adapter (Device Manager หรือ Fn+F2/F5)
  4. Forget Network แล้วเพิ่มใหม่ (วิธีที่ 2)
  5. ตรวจสอบ Security Type ตรงกัน (Router: WPA2-AES, Windows: WPA2-Personal/AES)
  6. ลอง Default Password บน Router (ดูสติ๊กเกอร์) แล้วค่อยเปลี่ยนใหม่
  7. 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