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

ตั้งค่าความปลอดภัยเครือข่าย Windows 7 Professional

⚠️ ข้อควรทราบ: Windows 7 จบการสนับสนุน (End of Life) แล้ว

Windows 7 จบการสนับสนุน (EOL) วันที่ 14 มกราคม 2563 ไม่มีอัปเดตความปลอดภัยอีกแล้ว แนะนำอัปเกรดเป็น Windows 10/11 ทันที หากบังคับต้องใช้ ให้แยกเครือข่าย (Air-gap/VLAN) และมีการป้องกันเพิ่มเติม

ตั้งค่ารหัสผ่านเครือข่าย (Network Password) ใน Windows 7

วิธีที่ 1: ตั้งค่าผ่าน Network and Sharing Center

  1. Control Panel → Network and Internet → Network and Sharing Center
  2. ด้านซ้าย คลิก Manage wireless networks
  3. คลิกขวาที่ Wireless Network Profile ที่ต้องการ → Properties
  4. แท็บ Security
  5. ในช่อง Network security key พิมพ์รหัสผ่าน Wi-Fi ใหม่
  6. ติ๊ก Show characters เพื่อตรวจสอบ → OK

วิธีที่ 2: สร้าง Profile ใหม่ (Manual Setup)

  1. Network and Sharing Center → Manage wireless networks
  2. คลิก Add → Manually create a network profile
  3. กรอก: Network name (SSID), Security type (WPA2-Personal), Encryption type (AES)
  4. Security Key/Passphrase: พิมพ์รหัสผ่าน Wi-Fi
  5. ติ๊ก Start this connection automatically และ Connect even if the network is not broadcasting (ถ้าต้องการ)
  6. Next → Close

หา/ดู Network Password (รหัสผ่าน Wi-Fi) ที่บันทึกไว้ใน Windows 7

  1. Network and Sharing Center → คลิกชื่อ Wireless Network ที่เชื่อมต่ออยู่ (Connection)
  2. คลิก Wireless Properties
  3. แท็บ Security
  4. ติ๊ก Show characters → รหัสแสดงในช่อง Network security key

เปลี่ยน Network Authentication / Security Type

  1. Manage wireless networks → Properties ของ Profile นั้น
  2. แท็บ Security → Security type: เลือก WPA2-Personal (หรือ WPA3 ถ้ารองรับ - Windows 7 ต้องมี Hotfix KB2526629 และ Driver รองรับ)
  3. Encryption type: AES (CCMP) - ห้ามเลือก TKIP
  4. Network authentication: WPA2-Personal (PSK)

เปิด/ปิด Windows Firewall (Windows 7)

  1. Control Panel → System and Security → Windows Firewall
  2. ด้านซ้าย: Turn Windows Firewall on or off
  3. เลือก Turn on Windows Firewall สำหรับ: Home/Work (Private) networks และ Public networks
  4. OK

⚠️ Windows 7 Firewall ไม่มี Advanced Features เช่น Windows 10/11 (App Control, Exploit Guard, Network Isolation)

ตั้งค่าเครือข่ายเป็น Private (Home/Work) หรือ Public

  1. Network and Sharing Center → ดูที่ "View your active networks"
  2. คลิกที่ลิงก์ใต้ชื่อเครือข่าย (จะเขียนว่า Home network, Work network, หรือ Public network)
  3. เลือก Home network (Private) สำหรับเครือข่ายบ้าน/สำนักงานที่ไว้ใจ
  4. เลือก Public network สำหรับ Wi-Fi สาธารณะ (คาเฟ่ สนามบิน) - จะปิด File Sharing, Network Discovery

ลบ Network Password / ลืมเครือข่าย (Forget Network)

  1. Network and Sharing Center → Manage wireless networks
  2. คลิกขวา Profile ที่ต้องการลบ → Remove network
  3. หรือ: Control Panel → User Accounts → Credential Manager → Windows Credentials → ลบรายการที่เกี่ยวกับ Wi-Fi/Network

Windows 7 รองรับ WPA2/AES หรือไม่?

  • ✅ รองรับ WPA2-Personal (AES/CCMP) ตั้งแต่ Service Pack 1
  • ⚠️ WPA3: ไม่รองรับโดยตรง (ต้องอัปเกรดเป็น Win 10/11)
  • ⚠️ WPA-TKIP: รองรับแต่ ไม่แนะนำ (ช่องโหว่ KRACK, ช้า)

Soft AP (Hosted Network) ใน Windows 7

Windows 7 รองรับ Virtual Wi-Fi / Soft AP (ทำให้แล็ปท็อปเป็น Hotspot)

# CMD Admin:
netsh wlan set hostednetwork mode=allow ssid="MyHotspot" key="StrongPassword123" keyUsage=persistent
netsh wlan start hostednetwork
# แชร์อินเทอร์เน็ต: Network Connections → Right-click Internet Adapter → Properties → Sharing → Allow → Select Hosted Network

ใช้ WPA2-AES เข้ารหัisplaystyle แนะนำใช้ Windows 10/11 Mobile Hotspot แทน (ง่ายกว่า รองรับ WPA3)

ค้นหาที่เก็บ Password ใน Windows 7

  • Wireless Profiles: %ProgramData%\Microsoft\Wlansvc\Profiles\Interfaces\{GUID}\{SSID}.xml (เข้ารหัส)
  • Credential Manager: Control Panel → Credential Manager → Windows Credentials
  • SAM/Registry: ไม่เก็บ Wi-Fi Password โดยตรง (เก็บ Hash บัญชี Local User)

แนะนำ: ย้ายจาก Windows 7

ความเสี่ยง Windows 7ผลกระทบ
ไม่มี Security Updatesช่องโหว่ Zero-day ไม่มีแพทช์
ไม่มี Feature Updatesขาด Exploit Guard, Credential Guard, WDAG, Tamper Protection
Browser ไม่ได้รับอัปเดตChrome/Edge/Firefox หยุดรองรับ → ช่องโหว่เว็บ
Software ใหม่ไม่รองรับไม่สามารถติดตั้งโปรแกรม/เครื่องมือใหม่ได้
Non-complianceผิด PCI-DSS, HIPAA, ISO 27001, PDPA (ใช้ OS ที่ไม่ได้รับสนับสนุน)

สรุป

Windows 7 Professional: ตั้งค่า Wi-Fi Security ผ่าน Network and Sharing Center → Manage wireless networks → Properties → Security tab ใช้ WPA2-AES เปิด Windows Firewall ตั้ง Network Profile ให้ถูกต้อง (Private/Public) แต่ข้อสำคัญที่สุด: วางแผนย้ายไป Windows 10/11 หรือ Linux ทันที เพราะ Windows 7 ไม่ปลอดภัยต่อการใช้งานออนไลน์แล้ว