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

Network Security Key ใน Windows 10 คืออะไร? วิธีหา เปลี่ยน และแก้ไขปัญหา

Network Security Key ใน Windows 10 คืออะไร?

Network Security Key = Wi-Fi Password (รหัสผ่าน Wi-Fi) Windows ใช้คำศัพท์ทางเทคนิคนี้ หมายถึงรหัสที่ใช้ยืนยันตัวตนและเข้ารหัสการเชื่อมต่อเครือข่ายไร้สาย (WPA/WPA2/WPA3-Personal)

วิธีหา Network Security Key ใน Windows 10/11

วิธีที่ 1: Settings App (Windows 10/11) - ง่ายที่สุด

  1. Win + I → Network & Internet → Wi-Fi
  2. คลิก Manage known networks (จัดการเครือข่ายที่รู้จัก)
  3. หา SSID ที่ต้องการ → คลิก → Properties
  4. เลื่อนลง → Network security key → จะแสดงรหัสผ่าน

วิธีที่ 2: Control Panel (Windows 7/8/10/11 ทุกเวอร์ชัน)

  1. Win + R → พิมพ์ ncpa.cpl → Enter (เปิด Network Connections)
  2. คลิกขวา Wi-Fi Adapter → Status
  3. คลิก Wireless Properties
  4. แท็บ Security
  5. ☑ Show characters → รหัสผ่านจะแสดงในช่อง Network security key

วิธีที่ 3: Command Prompt / PowerShell (สำหรับ Power User)

PowerShell (Admin):

# แสดงโปรไฟล์ Wi-Fi ทั้งหมด
netsh wlan show profiles

# แสดงรหัสผ่านของ SSID เฉพาะ (แทน "YourSSID")
netsh wlan show profile name="YourSSID" key=clear

# Key Content = Network Security Key

Command Prompt (Admin):

netsh wlan show profile name="YourSSID" key=clear

วิธีที่ 4: Wireless Network Report (Windows 10/11)

# PowerShell Admin
netsh wlan show wlanreport

จะสร้าง HTML Report ที่ %ProgramData%\Microsoft\Windows\WlanReport\wlan-report-latest.html เปิดด้วย Browser ดูรายละเอียดการเชื่อมต่อ

Network Security Key vs Wi-Fi Password vs WPA Key

คำเรียกความหมายบริบท
Network Security Keyรหัสยืนยัน/เข้ารหัสเครือข่ายWindows Technical Term
Wi-Fi Passwordรหัสผ่าน Wi-Fiทั่วไป / User-friendly
WPA Key / WPA2 Passphraseรหัสผ่านสำหรับ WPA/WPA2Router/Technical Config
Pre-shared Key (PSK)คีย์ร่วมก่อนการเชื่อมต่อEnterprise/Standard Term
Wireless Password / Passphraseรหัสผ่าน/วลีผ่านไร้สายRouter UI, Mobile

สรุป: ทุกคำหมายถึง สิ่งเดียวกัน = รหัสผ่าน Wi-Fi

วิธีเปลี่ยน Network Security Key (เปลี่ยนรหัสผ่าน Wi-Fi)

⚠️ เปลี่ยนที่เราเตอร์ (Router) ไม่ใช่ที่ Windows - Windows แค่ "จำ" รหัสที่กรอกไว้

  1. เชื่อมต่อคอมพิวเตอร์กับเราเตอร์ (LAN หรือ Wi-Fi)
  2. Browser → 192.168.1.1 / 192.168.0.1 / 192.168.50.1
  3. Login: admin / admin หรือ admin / password (ดูสติ๊กเกอร์/คู่มือ)
  4. เมนู: Wireless → Wireless Security / Wi-Fi Settings
  5. Security Mode: WPA2-Personal (AES) หรือ WPA3-Personal (SAE)
  6. Passphrase / Pre-shared Key: ใส่รหัสใหม่ (12-20+ ตัวอักษร 複雜)
  7. Save / Apply
  8. อุปกรณ์ทุกเครื่องจะถูกตัดการเชื่อมต่อ → ต้องใส่รหัสใหม่ทุกเครื่อง

แก้ไขปัญหา Network Security Key ผิด / Mismatch

ปัญหาสาเหตุวิธีแก้
"Can't connect to this network" / "Incorrect password"พิมพ์ผิด (Case sensitive, Space, Special char)Copy-Paste จากที่ดูมา, ตรวจสอบ Caps Lock, ลองพิมพ์ช้าๆ
Saved password เก่า (หลังเปลี่ยนรหัสที่ Router)Windows จำรหัสเก่าไว้Settings → Wi-Fi → Manage known networks → คลิก SSID → Forget → เชื่อมต่อใหม่ ใส่รหัสใหม่
Driver Wireless เก่า/เสียDriver ไม่รองรับ WPA3/AES ใหม่Update Driver: Device Manager → Network Adapters → Wi-Fi Adapter → Update Driver / Download จากเว็บ Vendor (Intel, Realtek, Qualcomm, MediaTek)
Security Type ไม่ตรงRouter ตั้ง WPA3 แต่อุปกรณ์เก่าไม่รองรับRouter: ตั้ง WPA2/WPA3 Transition Mode, หรือ WPA2-AES Only
IP Conflict / DHCP IssueIP ซ้ำ, DHCP Pool หมดRestart Router, หรือตั้ง Static IP/Reserved DHCP
MAC Filtering / Access Control เปิดอยู่Router บล็อก MAC Address ของเครื่องนี้Router: ปิด MAC Filtering หรือ Add MAC นี้เข้า Allow List

จัดการ Known Networks ใน Windows 10/11

ลบเครือข่ายเก่า (Forget):

  1. Settings → Network & Internet → Wi-Fi → Manage known networks
  2. คลิก SSID → Forget

ตั้งค่าลำดับความสำคัญ (Priority) - Windows 10 เท่านั้น:

  1. Win + R → ncpa.cpl
  2. Alt → Advanced → Advanced Settings
  3. แท็บ Adapters and Bindings → ย้าย Wi-Fi ขึ้น/ลง

Windows 11: จัดการลำดับได้ผ่าน PowerShell เท่านั้น

# ดูลำดับ
Get-NetIPInterface -AddressFamily IPv4 | Sort-Object InterfaceMetric | ft InterfaceAlias, InterfaceMetric

# เปลี่ยนลำดับ (Metric ต่ำ = สูงกว่า)
Set-NetIPInterface -InterfaceAlias "Wi-Fi" -InterfaceMetric 10

Network Security Key สำหรับ Mobile Hotspot (Windows 10/11)

  1. Settings → Network & Internet → Mobile hotspot
  2. Share my Internet connection from: Wi-Fi / Ethernet
  3. Properties → Edit
  4. Network name (SSID) และ Network password (Security Key)
  5. Band: 2.4 GHz / 5 GHz / Any available
  6. ☐ Power saving (ปิดเพื่อประสิทธิภาพ)

Security Best Practices สำหรับ Wi-Fi บน Windows

  1. ใช้ WPA3-Personal (SAE) หรือ WPA2-AES (CCMP) เท่านั้น
  2. รหัสผ่าน ≥ 12 ตัวอักษร, 複雜 หรือ Passphrase ยาว
  3. ปิด Connect automatically สำหรับ Public/Open Wi-Fi
  4. ใช้ Random Hardware Addresses (MAC Randomization): Settings → Wi-Fi → Random hardware addresses → On
  5. Public Network Profile: Settings → Network & Internet → Wi-Fi → Manage known networks → Properties → Network profile type: Public (Firewall แนวรุก)
  6. VPN บน Public Wi-Fi: ใช้ VPN ใดๆ (Proton, Mullvad, WireGuard, Cloudflare WARP)
  7. Windows Defender Firewall: เปิดใช้งานทุก Profile (Domain, Private, Public)