How to Set Windows Time Service
Set Domain Controller to sync Windows Time Service with HK Observatory's Network Time Service.
C:\w32tm /config /manualpeerlist:"stdtime.gov.hk,0x8" /syncfromflags:MANUAL /reliable:yes /update
Log Name: System
Source: Microsoft-Windows-Time-Service
Date: 9/12/2020 12:03:33 PM
Event ID: 35
Task Category: None
Level: Information
Keywords:
User: LOCAL SERVICE
Computer: server-a.domain.hk
Description:
The time service is now synchronizing the system time with the time source stdtime.gov.hk,0x8 (ntp.m|0x8|0.0.0.0:123->118.143.17.82:123) with reference id 1376882550. Current local stratum number is 2.
Source: Microsoft-Windows-Time-Service
Date: 9/12/2020 12:03:33 PM
Event ID: 35
Task Category: None
Level: Information
Keywords:
User: LOCAL SERVICE
Computer: server-a.domain.hk
Description:
The time service is now synchronizing the system time with the time source stdtime.gov.hk,0x8 (ntp.m|0x8|0.0.0.0:123->118.143.17.82:123) with reference id 1376882550. Current local stratum number is 2.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type
- NoSync: Does not synchronize time.
- NTP: Synchronizes time to the time sources specified in the Parameters\NtpServer entry.
- Nt5DS: Synchronizes time to the domain hierarchy.
- AllSync: Uses all synchronization mechanisms available.
References
Windows Time Service Concepts and Configuration
https://vmexpo.wordpress.com/2015/09/13/windows-time-service-concepts-and-configuration/
How to configure an authoritative time server in Windows Server
https://support.microsoft.com/en-hk/help/816042/how-to-configure-an-authoritative-time-server-in-windows-server
Windows Time service tools and settings
https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings
W32Time: Sync: SpecialPollInterval may be ignored on workgroup computers
https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/w32time-sync-specialpollinterval-ignored
https://vmexpo.wordpress.com/2015/09/13/windows-time-service-concepts-and-configuration/
How to configure an authoritative time server in Windows Server
https://support.microsoft.com/en-hk/help/816042/how-to-configure-an-authoritative-time-server-in-windows-server
Windows Time service tools and settings
https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings
W32Time: Sync: SpecialPollInterval may be ignored on workgroup computers
https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/w32time-sync-specialpollinterval-ignored
Update