I was wondering why one of my domain controllers was displaying the wrong time. I had previously configured that just the PDC should go outside the domain. So I ran w32tm /monitor
, the response was not really what I hoped
....
DC01.ad01.labs.virot.eu[[192.168.6.10]:123]:
ICMP: 1ms delay
NTP: -329.4844354s offset from DC02.ad01.labs.virot.eu
RefID: (unspecified / unsynchronized) [0x00000000]
Stratum: 0
For the domain controller in question I got the following line RefID: (unspecified / unsynchronized) [0x00000000]
. RefID should tell where the computer got it’s time from. In this case something was wrong, so I needed to reset the configuration.
This resets the configuration of the domain controller to take the time from the PDC of the forest root domain.
w32tm /config /syncfromflags:DOMHIER /update
Unless you have a to big time difference this command will update the configuration and trigger an automatic update. In my case the time was corrected directly.