Server will not update time correctly

ryanrusty30
ryanrusty30 used Ask the Experts™
on
TIme on one of my servers is not staying synced

I run w32tm /query /source and get Local CMOS clock
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Need more info - you're clearly on a windows network.  If you have an Active Directory then you have a specific server that is designated as the PDC for your network.  That server should be configured to synchronize it's time with an outside time source.  All other servers should be synchronizing with that server.  Try these commands to set the proper config and force synchronization with the PDC:

w32tm /config /syncfromflags:domhier /update
net stop w32time
net start w32time

Author

Commented:
Hello Deb,

Yes windows 2012 environment, ran commands on the problem server and  i also just ran w32tm /query /source on our PDC and it too came back with Local CMOS time as its source.

Which is the opposite of what you explained it should be "communicating externally"

Can you please help me set the PDC to communicate externally with an outside time source?
Here's an article that walks through all the settings you need and/or may want to make on the PDC:

https://support.microsoft.com/en-us/help/816042/how-to-configure-an-authoritative-time-server-in-windows-server

It looks like someone in the past may have done the first part - configuring the server to use an internal clock.  DON'T do that, but follow the steps to configure the time server to use an external time source
.
There are a number of different external time sources that various admins use.  I use the following:  time.nist.gov, 0x1 on my servers.  This synchs with the National Institute of Standards time servers in a round-robin way that uses whichever server(s) are available at any given time.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial