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

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

"Windows Network Security Password" คืออะไร?

คำว่า "Windows Network Security Password" อาจหมายถึง 3 สิ่งที่แตกต่างกัน:

  1. Wi-Fi Password (Network Security Key): รหัสผ่านเชื่อมต่อ Wi-Fi
  2. Network Credentials (Username/Password): ใช้เข้าถึง Shared Folder, NAS, Server (SMB/CIFS)
  3. Windows Credentials (Credential Manager): ข้อมูลเข้าสู่ระบบที่ Windows จัดเก็บ (Web, Windows, Certificate-based)

1. หา Wi-Fi Password (Network Security Key) บน Windows 10/11

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

  1. Win+I → Network & Internet → Wi-Fi → Hardware properties
  2. ดูที่ Wi-Fi password → คลิก View

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

  1. Win+R → ncpa.cpl → Enter
  2. Right-click Wi-Fi Adapter → Status → Wireless Properties
  3. แท็บ Security → ติ๊ก Show characters

วิธีที่ 3: Command Prompt (CMD)

netsh wlan show profiles
netsh wlan show profile name="Your_SSID" key=clear

ดูที่ Key Content

วิธีที่ 4: PowerShell

(netsh wlan show profile name="Your_SSID" key=clear) -match "Key Content"

2. Network Credentials (เข้าถึง Shared Folder/NAS/Server)

เมื่อ Windows ถาม "Enter Network Credentials"

  • Username: รูปแบบ DOMAIN\username หรือ username@domain.com หรือ PCNAME\username (Workgroup)
  • Password: รหัสผ่านของ User Account บนเครื่องปลายทาง (Target Machine)
  • Tip: ลอง .\username (Local Account) หรือ Guest (ถ้าเปิด Guest Access)

จัดการ Saved Credentials (Credential Manager)

  1. Win+R → control /name Microsoft.CredentialManager → Enter
  2. หรือ: Control Panel → User Accounts → Credential Manager
  3. 2 Tabs:
    • Web Credentials: Browser Saved Passwords (Edge/IE)
    • Windows Credentials: Network Shares, RDP, VPN, Certificate-based
  4. คลิก Show ถัดจาก Password → ใส่ PIN/Password Windows → ดู/ลบ/แก้ไขได้

เพิ่ม/แก้ไข Credentials เอง

  1. Credential Manager → Windows Credentials → Add a Windows credential
  2. Internet or network address: \\SERVERNAME หรือ IP Address
  3. User name: DOMAIN\user หรือ user
  4. Password: ใส่รหัสผ่าน → OK

3. ปิด "Enter Network Credentials" Prompt (ถ้าไม่อยากใส่ซ้ำ)

  1. Control Panel → Network and Sharing Center → Change advanced sharing settings
  2. Expand All Networks
  3. Turn off password protected sharing (Not Recommended for Security)
  4. Save changes

Best Practice: เก็บ Credentials ใน Credential Manager แทน (ติ๊ก Remember my credentials)

4. หา/กู้คืน Windows Login Password (Local/Microsoft Account)

  • Microsoft Account: Reset ที่ account.live.com/password/reset
  • Local Account: Password Reset Disk, Security Questions (Win 10 1803+), Admin Account อื่น, Safe Mode, Offline Tools (PCUnlocker, NTpasswd - ใช้ระวัง)
  • BitLocker Recovery Key: หาได้ที่ Microsoft Account Devices หรือ Printout/USB ที่เซฟไว้

5. แก้ไขปัญหา "Network Credentials Incorrect" / "Access Denied"

  • ตรวจสอบ Username Format: PCNAME\user, DOMAIN\user, user@domain.com
  • ตรวจสอบ Password: Expired? Locked? Complex?
  • ตรวจสอบ Permissions: Share Permissions + NTFS Permissions บน Folder ปลายทาง
  • ตรวจสอบ Network Profile: Private (ไม่ใช่ Public) → Allow File/Printer Sharing
  • Disable/Enable: SMB 1.0 (Control Panel → Programs → Turn Windows features on/off) - Legacy Only
  • Credential Manager → Remove Saved Credentials → Re-enter
  • Services: Function Discovery Provider Host, Function Discovery Resource Publication, SSDP Discovery, UPnP Device Host → Running

6. Advanced: Windows Vault / Credential Manager CLI

# List all credentials
cmdkey /list

# Add credential
cmdkey /add:SERVERNAME /user:DOMAIN\user /pass:password

# Delete credential
cmdkey /delete:SERVERNAME

# Backup/Restore (Windows Vault)
# Control Panel → Credential Manager → Back up Credentials / Restore Credentials

สรุป

"Windows Network Security Password" อาจหมายถึง: 1) Wi-Fi Password (หาได้ที่ Settings/CMD) 2) Network Credentials สำหรับ File Sharing (จัดการที่ Credential Manager) 3) Windows Login Password (Reset ผ่าน Microsoft Account หรือ Local Methods) ใช้ Credential Manager จัดการ Saved Credentials ให้สะดวกและปลอดภัย