Error นี้เกิดเมื่อ Sync เวลาใน Windows Server กับแหล่งเวลาภายนอก โดยใช้คำสั่ง w32tm /resync บน Domain Controller หรือ Client
สาเหตุของ Error
- Group Policy ตั้งค่าผิด – นโยบาย Windows Time Service ต้องแก้ไข
- Parameter ของ Windows Time Service ผิด – เปลี่ยนค่าใน Registry
- ปัญหาทั่วไปของ Windows Time Service – รันคำสั่งหรือ Restart Service
วิธีแก้ที่ 1: เปลี่ยน Group Policies
วิธีหลักที่ Microsoft แนะนำ ขั้นตอนต่างกันระหว่าง Domain Controller และ Local Computer
สำหรับ Domain Controller:
- Win+R → dsa.msc → Enter (Active Directory Users and Computers)
- คลิกขวา Container ที่มี Group Policy Object → Properties
- แท็บ Group Policy → เลือก Object → Edit
สำหรับ Local Computer:
- Win+R → gpedit.msc → Enter (Local Group Policy Editor)
ขั้นตอนต่อไปเหมือนกันทั้งสองกรณี:
- Computer Configuration → Administrative Templates → System → Windows Time Service
- คลิกโฟลเดอร์ Windows Time Service → ดูขวา
- Double-click Global Configuration Settings → เลือก Not Configured
- ขยาย Windows Time Service → คลิก Time Providers → มี 3 Keys:
Configure Windows NTP Client, Enable Windows NTP Client, Enable Windows NTP Server - Double-click ทุกตัว → เปลี่ยนเป็น Not Configured
- Apply → Restart → ทดสอบ
วิธีแก้ที่ 2: แก้ไข Registry Keys
ทำบน Host Computer ของ Workgroup/Homegroup
- แนะนำ Backup Registry ก่อน (ปลอดภัย)
- Win+R → regedit → ไปที่:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters - หา Entry Type ถ้าไม่มี → New > String Value ชื่อ Type → Modify
- Value data: NT5DS → OK → ยืนยัน Security Dialog
- Restart → ทดสอบ
วิธีแก้ที่ 3: รันคำสั่ง Windows Time Service
- ค้นหา Command Prompt → Run as Administrator
- หรือ Win+R → cmd → Ctrl+Shift+Enter
- รันคำสั่ง:
w32tm /config /manualpeerlist:time.windows.com,0x1 /syncfromflags:manual /reliable:yes /update - ทดสอบรัน
w32tm /resyncดูว่ายัง Error ไหม
วิธีแก้ที่ 4: Restart Windows Time Service
- Win+R → services.msc → Enter
- หา Windows Time Service → คลิกขวา Properties
- ถ้า Started → Stop → Start ใหม่
- Startup type: Automatic → OK
ถ้าเจอ Error 1079 (Account mismatch):
- Properties → แท็บ Log On → Browse
- พิมพ์ชื่อ Account → Check Names → OK → พิมพ์ Password (ถ้ามี) → OK