Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

จำกัดจำนวนครั้ง Login ผิด Windows 10: ป้องกัน Brute-force Attack

Limit the Number of Failed Login Attempts in Windows 10: ตั้งรหัสผ่าน Lock screen ไว้ แต่โจมตี Brute-force ยังแคร็กได้ Windows 10 มีการตั้งค่าจำกัดจำนวนครั้ง Login ผิด และ Account Lockout Duration

จำกัดจำนวนครั้ง Login ผิด Windows 10

สร้าง Restore Point ก่อน

วิธีที่ 1: Local Security Policy (secpol.msc) - ไม่ใช้ได้กับ Home Edition

  1. Win + R → secpol.msc Enter
  2. ไปที่: Security Settings → Account Policies → Account Lockout Policy
  3. เห็น 3 นโยบาย:
    Account lockout duration: นาทีที่บัญชีล็อคก่อนปลดล็อคอัตโนมัติ (1-99,999, 0=ล็อคถาวรจน Admin ปลด)
    Account lockout threshold: จำนวนครั้ง Login ผิดก่อนล็อค (1-999, 0=ไม่ล็อค)
    Reset account lockout counter after: นาทีที่นับถอยหลังรีเซ็ตเป็น 0 (ต้องน้อยกว่าหรือเท่ากับ duration)
  4. ดับเบิลคลิก Account lockout threshold → ตั้งค่า (เช่น 3) → OK
  5. ระบบจะเสนอค่าเริ่มต้น Duration และ Reset counter = 30 นาที → OK
  6. แก้ค่า Duration/Reset counter ได้ตามต้องการ (ต้องสอดคล้องเงื่อนไข) → รีบูท

วิธีที่ 2: Command Prompt (สำหรับ Home Edition)

  1. Win + X → Command Prompt (Admin)
  2. พิมพ์คำสั่ง:
    net accounts /lockoutthreshold:Value (Value 0-999, default 0)
    net accounts /lockoutwindow:Value (Value 1-99999 นาที, default 30)
    net accounts /lockoutduration:Value (Value 0-99999 นาที, 0=ล็อคถาวร, default 30)
  3. ปิด CMD → รีบูท

บทความแนะนำ:

  • Enable/Disable First Sign-in Animation Windows 10
  • View User Account Details Windows 10
  • Automatically Log in to User Account Windows 10
  • Enable/Disable User Accounts Windows 10

เสร็จสิ้น จำกัดจำนวนครั้ง Login ผิด Windows 10 ถามได้ในความคิดเห็น