Configure Local NTP Server

Change Windows Time service to AUTOMATIC

Enable NTP Server

Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\NtpServer” -Name “Enabled” -Value 1

Set Announce Flag

Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\services\W32Time\Config” -Name “AnnounceFlags” -Value 5

Configure External NTP servers

w32tm.exe /config /manualpeerlist:”0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org” /syncfromflags:manual /update

w32tm /config /reliable:yes

net stop w32time && net start w32time

Resync

w32tm /resync

Check Status

w32tm /query /peers

w32tm /query /status

Check Configuration

w32tm /query /configuration


Leave a Reply 0

Your email address will not be published. Required fields are marked *