Instructions on how to configure a Windows Server to be the Authoritative Time Server within a Domain.
- Run Regit and Navigate to the following Registry Subkey
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type
- Modify the value and set to NTP
- Navigate to the following Registry Subkey
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags
- Set the AnnounceFlags to a value of 5
- Navigate to the following Registry Subkey
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer
- Modify the DWORD value to 1 to enable the NTPServer
- Navigate to the following Registry Subkey
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
- Modify ntpserver and enter pool.ntp.org,0x1
- Navigate to the following Registry Subkey
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxPosPhaseCorrection
- Modify the MaxPosPhaseCorrection DWORD to be 3600 AKA 1 hour in seconds.
- Navigate to the following Registry Subkey
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxNegPhaseCorrection
- Modify the MaxNegPhaseCorrection DWORD to be 3600 AKA 1 hour in seconds.
- Close the Registry Editor.
Restart the Windows Time Service with the following command: net stop w32time && net start w32time
Refer to the commands.bat file in this repository for additional commands to troubleshoot Windows NTP issues on Domain Controllers and Windows Desktop editions.