วิธีบังคับใช้ Password Complexity บน Windows Server 2022 เพิ่มความปลอดภัยรหัสผ่าน
รหัสผ่านที่อ่อนแอเป็นหนึ่งในสาเหตุหลักของการถูกโจมตีระบบ Windows Server 2022 แม้จะมี Firewall, Antivirus หรือ MFA แต่หากผู้ใช้งานตั้งรหัสผ่านง่ายเกินไป เช่น 123456 หรือ Password123 ผู้โจมตีก็อาจเข้าถึงระบบได้สำเร็จ
Password Complexity Policy ถูกออกแบบมาเพื่อบังคับให้ผู้ใช้งานสร้างรหัสผ่านที่มีความแข็งแรง ลดโอกาสถูกเดารหัสผ่านและป้องกันการโจมตีแบบ Brute Force Attack, Password Spray และ Credential Stuffing
บทความนี้จะอธิบายวิธีตั้งค่า Password Complexity บน Windows Server 2022 อย่างถูกต้องตามแนวทาง Security Best Practices
🔍 Password Complexity คืออะไร
Password Complexity คือกฎที่บังคับให้รหัสผ่านมีความซับซ้อน
ตัวอย่างเงื่อนไข
✅ ตัวพิมพ์ใหญ่
✅ ตัวพิมพ์เล็ก
✅ ตัวเลข
✅ อักขระพิเศษ
ตัวอย่างรหัสผ่านที่ดี
MyServer@2025
ตัวอย่างรหัสผ่านที่ไม่ดี
123456
password
admin123
🛡️ ทำไมต้องใช้ Password Complexity
ช่วยป้องกัน
✅ Brute Force Attack
✅ Password Guessing
✅ Credential Stuffing
✅ Password Spray
เป็นหนึ่งใน Security Baseline ที่ Microsoft แนะนำ
🚨 ความเสี่ยงของรหัสผ่านอ่อนแอ
ผู้โจมตีมักเริ่มจาก
admin
administrator
password
welcome
company123
หากรหัสผ่านง่าย
อาจถูกเดาได้ภายในไม่กี่วินาที
🚀 วิธีเปิด Password Complexity
กด
Windows + R
พิมพ์
secpol.msc
กด Enter
📂 ไปยัง Password Policy
เลือก
Security Settings
→
Account Policies
→
Password Policy
🔒 เปิด Password Must Meet Complexity Requirements
เปิดรายการ
Password must meet complexity requirements
เลือก
Enabled
จากนั้นกด
OK
⚙️ Complexity Policy ทำงานอย่างไร
เมื่อเปิดใช้งาน
รหัสผ่านต้องมีอย่างน้อย 3 จาก 4 กลุ่ม
ตัวพิมพ์ใหญ่
A-Z
ตัวพิมพ์เล็ก
a-z
ตัวเลข
0-9
อักขระพิเศษ
!@#$%^&
📏 ตั้งค่า Minimum Password Length
เปิด
Minimum Password Length
ค่าที่แนะนำ
12
ตัวอักษรขึ้นไป
สำหรับองค์กรที่เน้นความปลอดภัยสูง
อาจใช้
14
หรือ
16
ตัวอักษร
🔄 ตั้งค่า Password History
เปิด
Enforce Password History
ค่าที่แนะนำ
24
ครั้ง
ป้องกันการใช้รหัสผ่านเดิมซ้ำ
⏳ ตั้งค่า Minimum Password Age
เปิด
Minimum Password Age
กำหนด
1 วัน
เพื่อป้องกันการเปลี่ยนรหัสผ่านวนกลับ
📅 ตั้งค่า Maximum Password Age
เปิด
Maximum Password Age
ค่าที่นิยม
90 วัน
หรือ
180 วัน
ตามนโยบายองค์กร
🌐 ตั้งค่าผ่าน Group Policy
สำหรับ Domain
เปิด
gpmc.msc
ไปที่
Computer Configuration
→
Windows Settings
→
Security Settings
→
Password Policy
🔎 ตรวจสอบ Password Policy ปัจจุบัน
PowerShell
net accounts
จะแสดง
Password Length
Password Age
Lockout Settings
ทั้งหมด
🚨 ตัวอย่าง Password ที่ดี
ตัวอย่าง
Comsiam@Server2025
IT#AdminSecure88
WinServer!Domain24
มีความปลอดภัยสูงกว่ารหัสผ่านทั่วไป
❌ ตัวอย่าง Password ที่ไม่ควรใช้
123456
password
administrator
qwerty
สามารถถูกเดาได้ง่าย
🔐 ใช้ร่วมกับ MFA
Password Complexity เพียงอย่างเดียวไม่เพียงพอ
ควรใช้ร่วมกับ
✅ MFA
✅ Account Lockout
✅ Audit Policy
✅ Security Monitoring
เพื่อความปลอดภัยสูงสุด
📊 Security Checklist
ตรวจสอบให้ครบ
✅ Complexity Enabled
✅ Minimum Length Configured
✅ Password History Enabled
✅ Password Age Configured
✅ MFA Enabled
✅ Audit Policy Enabled
🏢 แนวทางสำหรับองค์กร
Microsoft แนะนำ
Password Complexity Enabled
Minimum Length 12+
Password History Enabled
MFA Enabled
Account Lockout Enabled
ร่วมกัน
ทีมดูแลระบบของ comsiam มักกำหนด Password Complexity บน Windows Server 2022 พร้อม Minimum Length 12 ตัวอักษร และบังคับใช้ MFA สำหรับบัญชีสำคัญ เพื่อเพิ่มความปลอดภัยของระบบโดยรวม
🚀 Security Best Practices
เปิด Password Complexity
ใช้ Password Length อย่างน้อย 12 ตัว
เปิด Password History
เปิด MFA
เปิด Account Lockout
ตรวจสอบ Security Log เป็นประจำ
สรุป
Password Complexity เป็นหนึ่งในมาตรการ Security Hardening ที่สำคัญของ Windows Server 2022 เพราะช่วยลดความเสี่ยงจากการใช้รหัสผ่านที่อ่อนแอและป้องกันการโจมตีแบบเดารหัสผ่านได้อย่างมีประสิทธิภาพ
สำหรับองค์กรและผู้ดูแลระบบของ comsiam การใช้ Password Complexity ร่วมกับ MFA, Account Lockout Policy และ Security Monitoring จะช่วยเพิ่มความปลอดภัยของระบบและลดโอกาสการถูกยึดบัญชีผู้ใช้งานได้อย่างมาก