Set servers to sync time with a ntp server

Hi Experts,

We have set up an NTP server on our network. How do I get the other servers to sync their time to it?

I have opened the 'Date and Time Properties' window by clicking on the time in the bottom right of the screen. My intention was to the set the 'Server' value of the 'Internet Time' tab to something like 10.150.50.15:123 but was unable because the 'Internet Time' tab is not available. Why is this the 'Internet Time' tab not available?
DColinAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
on the Primary Domain Controller
  WMI Filter  
Select * from Win32_ComputerSystem where DomainRole = 5

Open in new window


sc stop W32Time
w32tm /config /manualpeerlist:10.150.50.15 /syncfromflags:manual /reliable:yes /update  
sc start W32Time

Open in new window

set a group policy to run this script on other machines in network
sc stop W32Time
w32tm /config /syncfromflags:domhier /update 
sc start W32Time

Open in new window

Create a GPO and link it to Domain Controllers organizational unit,     Edit the settings under: Computer Configuration\Administrative Templates\System\Windows Time Service\Time Providers then Global Configuration Settings
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tigermattCommented:
If you have a healthy time service, you only need to complete David's settings on the server holding the PDC emulator role in the forest root domain; all other DCs will automatically seek a more authoritative source of time through the domain hierarchy, and other member servers and workstations will then sync with one of the DCs, automatically and without further configuration.

There is no need to manually set NTP servers on all DCs, and I would typically recommend you don't go near the Group Policy settings for the Time Service, since in my experience these cause more harm than good when they are used inappropriately (up to and including the time sync failing altogether due to misuse or misunderstanding of those settings).

Do note also that in David's instructions, you must set a suitable NTP server in this line of the configuration:
w32tm /config /manualpeerlist:10.150.50.15 /syncfromflags:manual /reliable:yes /update 

Open in new window


and that if you have SLAs to satisfy, a freebie service you find on the Internet might not be suitable for your environment. [In many such cases, the systems are synced up with a local GPS clock.]

If you are not sure whether the time service configuration is "clean" on a box, then run the following commands to reset the configuration:

net stop w32time
w32tm /unregister
w32tm /register
net start w32time

Open in new window


This resets the configuration to use the domain hierarchy (domhier per David's post) and will mean no further configuration is required, except on the PDCe box.
0
Seth SimmonsSr. Systems AdministratorCommented:
Why is this the 'Internet Time' tab not available?

it's not available because the system is joined to a domain
by default it will get it's time from the domain controller holding the PDC emulator role
i've just configured that server to use an external time source and never had issues with clock skews

How to configure an authoritative time server in Windows Server
https://support.microsoft.com/en-us/kb/816042
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.