O G
asked on
Time is off on computers on the domain
I recently took over a client and not too familiar with their setup. They have Server 2016 DC, AD, DHCP, DNS, File and Print. Time on all of the computers in the domain is off. How can i sync everyone's computers with correct network time?
You pays your money and you takes your choice when it comes to time synchronization across a domain.
CASE A: If you use a local time server and require all systems to set from that server, then the times will be synchronized but there's no guarantee it will be correct. This appears to be what you're encountering. The time must be correct on the time server; if not, everybody has the wrong time and that can be catastrophic in environments where timestamps matter. And if the time server fails, nobody knows what time it is and the individual system clocks start to drift.
CASE B: If you use a public time server net such as 0.us.pool.ntp.org, or a high-reliability Stratum 2 server the times on each system will be close to correct but not exactly synchronized. On the other hand, the network time servers are always available (unless you lose internet connectivity) and are always very close to correct.
CASE A: If you use a local time server and require all systems to set from that server, then the times will be synchronized but there's no guarantee it will be correct. This appears to be what you're encountering. The time must be correct on the time server; if not, everybody has the wrong time and that can be catastrophic in environments where timestamps matter. And if the time server fails, nobody knows what time it is and the individual system clocks start to drift.
CASE B: If you use a public time server net such as 0.us.pool.ntp.org, or a high-reliability Stratum 2 server the times on each system will be close to correct but not exactly synchronized. On the other hand, the network time servers are always available (unless you lose internet connectivity) and are always very close to correct.
ASKER
Thank Dariusz and Dr. Klahn for your answers. How can i identify what NTP setup this environment has?
Issue on domain controller below commands and paste results:
w32tm /query /suorce
w32tm /query /peers
w32tm /query /suorce
w32tm /query /peers
As per https://blogs.technet.micr osoft.com/ nepapfe/20 13/03/01/i ts-simple- time-confi guration-i n-active-d irectory/
Find PDC emulator: on a Root Domain DC run
Run the following command on the PDC emulator:
Once done, restart W32Time service.
Run the following command on all other DCs (that are not PDC):
NOTE: all w32tm commands are to be executed from an elevated command prompt by a Domain Admin of the relevant domain.
Find PDC emulator: on a Root Domain DC run
netdom query fsmo
Run the following command on the PDC emulator:
w32tm /config /manualpeerlist:timeserver /syncfromflags:manual /reliable:yes /update
(where timeserver is a –space delimited– list of your time source servers)Once done, restart W32Time service.
Run the following command on all other DCs (that are not PDC):
w32tm /config /syncfromflags:domhier /update
Once done, restart W32Time service.NOTE: all w32tm commands are to be executed from an elevated command prompt by a Domain Admin of the relevant domain.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thank you everyone!
https://blogs.technet.microsoft.com/nepapfe/2013/03/01/its-simple-time-configuration-in-active-directory/