Sean’s HowTo: Enable a Windows 2003 Server as an NTP Server

Base reference if you are interested:

Debug logging:

Enabling the NTP Server on a Windows 2003 Server:

1. Make sure value TYPE is NTP in: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParametersType

2. Set Announceflags to 5: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfigAnnounceFlags

3. Make sure NTP is enabled (should be 1): HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpServer

4. Set the time sources for external time. The value for NTPSERVER in HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParametersNtpServer will be, for our purposes, “,0x1,0x1,0x1,0x1,0x1”

5. Set the Max Positive and Negative Time Correction. Set decimal values for both (HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfigMaxPosPhaseCorrection) and (HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfigMaxNegPhaseCorrection) to be 3600 (1 hour)

6. Do the following to restart Windows Time: net stop w32time && net start w32time

7. You should see successful Event ID 37 (ya, I’m happy with the entered time source) and ID 35 (now synchronizing). Interestingly, I found that it tried the 3rd one first and never bothered synchronizing with the others, at least right away…

Powered by

Sponsored by Major Change (.com), the Online Change Register