Jump to content
Toggle menu
  • 51 articles
  • 24 files
  • 4 users
  • 750 edits
Tech-Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Windows NTP Setup

From Tech-Wiki


Practical configuration and operational reference for Windows NTP Setup.

Procedure

Registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters

When the synchronization type is set to "NT5DS", Windows Time Service synchronizes its time resource with the network domain controller. Alternatively, setting the type attribute to "NTP" configures Windows Time Service to synchronize with a specified NTP time server. The NTP server is specified by either its Domain Name System (DNS) name or its IP address these are specified using the "NtpServer" value name.

To set manually:

w32tm /config /manualpeerlist:10.10.10.10 10.10.10.11
w32tm /config /syncfromflags:MANUAL

Then sync:

w32tm /resync
or
net stop w32time
net start w32time

To check:

w32tm /dumpreg /subkey:parameters
w32tm /monitor /computers:localhost
w32tm /stripchart /computer:<hostname of domain controller>
+offset means server is ahead of pc, - server is behind pc

See also