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

Windows 10: หาข้อมูลความปลอดภัยเครือข่าย (Network Security Info) คีย์รหัสผ่าน และการตั้งค่า

Network Security Information ใน Windows 10 - ที่ตั้งและวิธีเข้าถึง

Windows 10 จัดเก็บข้อมูลความปลอดภัยเครือข่าย (Wi-Fi Profiles, Passwords, Security Types) ไว้ในที่ต่างๆ สามารถเข้าถึงได้ทั้ง GUI และ Command Line

🔍 หา Network Security Key (Wi-Fi Password) บน Windows 10

วิธีที่ 1: Settings App (GUI - ง่ายที่สุด)

  1. กด Win + I → Network & Internet
  2. เลือก Wi-Fi ด้านซ้าย → คลิก Hardware properties (หรือ Manage known networks)
  3. คลิกเครือข่ายที่เชื่อมต่ออยู่ → Properties
  4. ดู: Security type (WPA2-Personal, WPA3-Personal), Network band (2.4/5 GHz)
  5. รหัสผ่านไม่แสดงที่นี่ → ต้องใช้วิธีอื่นด้านล่าง

วิธีที่ 2: Network and Sharing Center (Classic Control Panel)

  1. กด Win + R → พิมพ์ control.exe /name Microsoft.NetworkAndSharingCenter → Enter
  2. หรือ: Settings → Network & Internet → Advanced network settings → Network and Sharing Center
  3. คลิกชื่อ Wi-Fi ที่เชื่อมต่ออยู่ (ลิงก์สีน้ำเงิน)
  4. คลิก Wireless Properties
  5. แท็บ Security
  6. ติ๊ก Show characters
  7. ช่อง Network security key = Wi-Fi Password

วิธีที่ 3: Command Prompt (CMD) - เร็วที่สุด สำหรับ Admin/Script

# 1. แสดงโปรไฟล์ Wi-Fi ทั้งหมดที่บันทึกไว้
netsh wlan show profiles

# 2. แสดงรายละเอียด + รหัสผ่านของโปรไฟล์เฉพาะ (แทน "WiFi-Name")
netsh wlan show profile name="WiFi-Name" key=clear

# Output สำคัญ:
#     Security key           : Present
#     Key Content            : YourActualWiFiPasswordHere
#     Authentication         : WPA2-Personal
#     Cipher                 : CCMP (AES)

วิธีที่ 4: PowerShell (Modern, Object-oriented)

# แสดงโปรไฟล์ทั้งหมดพร้อมรหัสผ่าน
$profiles = (netsh wlan show profiles) | Select-String "All User Profile" | ForEach-Object { $_.Line.Split(":")[1].Trim() }
foreach ($profile in $profiles) {
    $result = netsh wlan show profile name="$profile" key=clear
    $key = ($result | Select-String "Key Content").Line.Split(":")[1].Trim()
    $auth = ($result | Select-String "Authentication").Line.Split(":")[1].Trim()
    $cipher = ($result | Select-String "Cipher").Line.Split(":")[1].Trim()
    [PSCustomObject]@{SSID=$profile; Password=$key; Auth=$auth; Cipher=$cipher}
} | Format-Table -AutoSize

วิธีที่ 5: Wireless Network Report (รายงานละเอียด)

# Run as Administrator
netsh wlan show wlanreport
# สร้างไฟล์ HTML: %ProgramData%\Microsoft\Windows\WlanReport\wlan-report-latest.html
# เปิดด้วย Browser: ดู History, Disconnect Reasons, Session Duration, Errors

🖨️ หา Network Security Key สำหรับ HP Printer / Wireless Printer

Printer ต้องการ "Network Security Key" = Wi-Fi Password เดียวกับที่คุณใช้เชื่อมต่อโทรศัพท์/คอมพิวเตอร์

วิธีหา:

  1. ดูสติ๊กเกอร์เราเตอร์ (Default)
  2. ดูจาก Windows/Mac/มือถือที่เชื่อมต่ออยู่ (วิธีข้างต้น)
  3. หรือ: เข้า Admin Panel เราเตอร์ → Wireless Settings → ดู Passphrase
⚠️ บาง Printer เรียกว่า "WPA Key", "WPA2 Key", "Wireless Password", "Network Key" - หมายถึงสิ่งเดียวกัน

📱 หา Network Security Key บนมือถือ (Android/iOS) - สำหรับ Sync/Migration

Android 10+ (ไม่ต้อง Root)

  1. Settings → Network & Internet → Internet
  2. คลิกไอคอนเฟือง/เครื่องมือ ข้างเครือข่าย → Share
  3. ยืนยันตัวตน (Biometric/PIN) → QR Code + Password แสดงด้านล่าง

iOS 16+ / iPadOS 16+

  1. Settings → Wi-Fi → คลิก i (Info) ข้างเครือข่าย
  2. คลิกช่อง Password → Face ID / Touch ID / Passcode
  3. แสดงรหัสผ่าน → Copy ได้

iOS ก่อน v16 / Android ก่อน v10

  • ไม่สามารถดูรหัสผ่าน Wi-Fi ที่บันทึกไว้ได้โดยตรง
  • ใช้ iCloud Keychain Sync ไป Mac → Keychain Access → ดูได้
  • หรือใช้วิธี Router Admin / Windows CMD

🌐 หาข้อมูล Network Security บนอุปกรณ์อื่นๆ

Huawei Modem/Router

  • สติ๊กเกอร์: SSID + Wi-Fi Key / Password / WPA Pre-shared Key
  • Admin: 192.168.3.1 / 192.168.1.1 → Wi-Fi Settings → Security
  • Huawei AI Life App: จัดการ Wi-Fi ได้ง่าย

Spectrum (Charter) - USA

  • ล็อกอิน Spectrum.net หรือ My Spectrum App
  • Services → Internet → Manage Network → Wi-Fi Name/Password
  • Admin Tool: 192.168.1.1 / 192.168.0.1 (บางรุ่น)

🔐 Network Security Type (ประเภทความปลอดภัย) - ตรวจสอบและตั้งค่า

Security Type (Windows)Router Settingคำอธิบายสถานะ
WPA3-PersonalWPA3-SAE / WPA2/WPA3 Mixedใหม่ล่าสุด ปลอดภัยที่สุด (SAE, Forward Secrecy, PMF Required)✅ Best
WPA2-PersonalWPA2-PSK (AES/CCMP)มาตรฐานปัจจุบัน ปลอดภัย เข้ากันได้ทุกอุปกรณ์✅ Recommended
WPA2-Personal (TKIP)WPA2-PSK (TKIP) / AutoTKIP ล้าสมัย อ่อนแอ ช้า⚠️ Weak
WPA-PersonalWPA-PSK (TKIP)ล้าสมัยมาก❌ Avoid
WEPWEP 64/128-bitแตกได้ภายในนาที ห้ามใช้❌ Insecure
Open / No AuthenticationOpen System / Noneไม่มีรหัสผ่าน ใครก็เชื่อมได้❌ Insecure

การแก้ไข "Weak Security" Warning บน Windows 10/11

  1. เข้า Admin Panel เราเตอร์
  2. Wireless Security → Security Mode: WPA2-PSK (AES) หรือ WPA2/WPA3 Mixed
  3. Encryption: AES (CCMP) - ไม่ใช่ TKIP, ไม่ใช่ Auto
  4. Save → Reboot Router → Reconnect Devices

🖥️ HP Printer Network Security Key - ข้อมูลเพิ่มเติม

ที่ตั้งบนสติ๊กเกอร์ HP Printer (ถ้ารองรับ Wi-Fi Direct)

  • ด้านล่าง/หลัง Printer: Wi-Fi Direct Name + Password
  • หรือ: พิมพ์ Network Configuration Page (กดปุ่ม Wireless + Info / Wireless + Cancel พร้อมกัน)

ตั้งค่า Printer ให้เชื่อม Wi-Fi บ้าน (Infrastructure Mode)

  1. Printer Control Panel → Wireless Setup Wizard
  2. เลือก SSID บ้าน → ใส่ Network Security Key (Wi-Fi Password)
  3. หรือ: WPS Push Button (กด WPS บนเราเตอร์ แล้วกด WPS บน Printer ภายใน 2 นาที) - ไม่แนะนำ (WPS Vulnerable)
  4. ❓ คำถามที่พบบ่อย (FAQ)

    Windows 10 เก็บรหัสผ่าน Wi-Fi ไว้ที่ไหนใน Registry/File?

    C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{GUID}\{SSID}.xml (Encrypted) - ไม่ได้เก็บ Plain Text ใน Registry

    สามารถ Export/Import Wi-Fi Profiles ระหว่างเครื่องได้ไหม?

    ได้ ใช้คำสั่ง:
    netsh wlan export profile folder=C:\WiFiBackup (Export)
    netsh wlan add profile filename="C:\WiFiBackup\WiFi-SSID.xml" user=all (Import)

    ทำไมดู Key Content ไม่เจอ (Key Content: Blank)?

    1) โปรไฟล์เสียหาย → ลบโปรไฟล์ (netsh wlan delete profile name="SSID") → เชื่อมต่อใหม่
    2) ใช้ Enterprise (802.1X) ไม่ใช่ PSK → ไม่มี Pre-shared Key
    3) Permission: ต้อง Run as Administrator

    Windows 10 รองรับ WPA3 แล้วหรือยัง?

    ได้ ตั้งแต่ Version 1903 (May 2019) ต้องมี Wireless Driver และ Hardware รองรับ (Wi-Fi 5/6/6E/7)

    ลืมรหัสผ่าน Wi-Fi และไม่มีอุปกรณ์อื่นเชื่อมต่ออยู่

    1) สติ๊กเกอร์เราเตอร์ (Default) 2) Ethernet เข้า Admin Panel 3) Factory Reset เราเตอร์ 4) ติดต่อ ISP