I have a single DC test environment at home and I am running on old hardware. One machine’s clock had gained 3 hours. That machine happened to be the domain controller. I am running Server 2012 R2 on all machines so i used powershell to run the following commands:
Check how far off the system time is from the ntp server at time.windows.com:
Tell the system it is okay to sync its time with time.windows.com
Force the system to sync its clock
All other servers/computers in the domain sync their time with the Domain Controller that holds the PDC emulator role. This should fix time issues across the domain if run on the correct DC.
Hope you find this helpful!
PS. Traditionally you can use the command:
to sync domain members with the DC holding the PDC role.
If that fails, you can force a sync to another server with either of these commands:
NET TIME \\<IP Address> /SET /Y
Very informative and helpful. Your examples helped me solve my issue with syncing my time from an external source.