Domain Controller Time Sync Not Working
2 checking and correcting to time source.
Domain controller time sync not working. The result will display plus or minus hours minutes seconds fractions of seconds. If somebody changes those settings though all bets are off. So i tried running the following commands as admin w32tm query source to make sure it was getting the time from our domain controller then w32tm resync to sync the time both commands had no errors but the time didn t change.
Open an admin command prompt and run w32tm query source if anything other that a domain controller name is returned such as local cmos clock. When a machine is on the domain it will get its time from the pdc if you have a gpo which points to this dc directly or it will use the domain time sync hierarchy any domain controllers in the domain. This command doesn t do the sync it just displays how much time your server is off.
Domain joined computers should sync their time from a domain controller if this is not happening the below should help. The kcc configures the replication partners and the domain controllers connect to each other over the network to share any updates in domain data. The system time.
Run the following command to only check how much time your server is off from the global time authority. Not exactly the same problem i had but another solution can be exporting replication data to file from dc in another site and importing it when promoting the new dc. Domain controllers stay in sync with each other via replication.
On the server that net time identified nettimeserver primary domain controller right click on your powershell icon and choose run as administrator. Time sync for workstations is automatic. 1 make sure the windows time service is running and set to auto start.
I like your way as it is quicker but if moving a dc into another ad. This article details how to check if the domain controllers are in sync. Ive seen dcs in other sites work fine with normal promotion and ive seen them not work in normal promotion.