Avatar of grandrew
grandrew
Flag for United States of America asked on

NTP Time Server

I have configured a NTP time server on our domain controller per instructions from Microsoft's support site.  I made all those registry entries.  Now I am trying to find out how to insure our client PC's will poll that server at regular intervals to keep their time current.  I have been ready so much about this that my head is swimming and just need to know.
Windows Server 2012Active Directory

Avatar of undefined
Last Comment
Hello There

8/22/2022 - Mon
Hello There

You should run this command (once) to sync the time. Distribute it via startup script.
w32tm /config /syncfromflags:domhier /update

Also you can set up the time server in Group Policy: Computer Configuration > Policies > Administrative Templates > System > Windows Time Service > Time Providers > Enable the Configure Windows NTP Client policy and set your DC as the NTP Server.
grandrew

ASKER
I forgot to mention, that we are going to demote an old backup domain controller and when I do the net time command at my PC I get "current time at ... " shows the old domain controller.  How can I make sure this new one is the NTP server for the domain?
ASKER CERTIFIED SOLUTION
Hello There

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
grandrew

ASKER
So I am in the US, not Europe.  I would use 0.pool.ntp.org or 0.north-america.pool.ntp.org ?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Hello There

Exactly.
grandrew

ASKER
So do I create a login script or something to make this change on all clients.  We have 180 PC's.

net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /resync /rediscover
w32tm /config /syncfromflags:domhier /update
net stop w32time && net start w32time
Hello There

Yes. This is how we did it some time ago.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.