Avatar of pepps11976
pepps11976
 asked on

NTP Settings on a Domain controller

Hi All

I am having trouble getting the correct time om my DC it always seems to be 5 Minutes slow

i have edidted the following Reg Key with the following

Reg key: HKLM>SYSTEM>CurrentControlSet>services>W32Time>Parameters>NtpServer>chronos.csr.net,0x1

yet the time still appears to be wrong we are based in london and if i go to a website such as

http://www.timeanddate.com/

then my server will be 5 mins slow

Can anyone help

John
Windows Server 2003

Avatar of undefined
Last Comment
ArneLovius

8/22/2022 - Mon
IanTh

try pool.ntp.org I have found that is spot on
pepps11976

ASKER
Yes tried that and still seem to get the same time
SOLUTION
2Cs

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
pepps11976

ASKER
could you talk me through setting via command line?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
pepps11976

ASKER
ArneLovius

great thats done it where in the machine does it place all the ntp values ie: the registry?

john
2Cs

Yep.
ArneLovius

Yes, it sets the registry, but without having to manually edit the registry :-)

It also ensures that you won't get any typos in the configuration, apart from an incorrect hostname of course...
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
pepps11976

ASKER
Just one more question ArneLovius

If i try to add this to my other DC

and then do a w32tm /resync i get the following message

The Computer did not resync because no time data was availiable
IanTh

you have to wait a few minutes for ntp
ArneLovius

as IanTh said, you might have to wait a short time.

You can force this by stopping and starting the windows time service.

from an elevated command prompt

net stop w32time && net start w32time

Open in new window

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
2Cs

You should really only have your PDC going out to an external time source and then all other DC's syncing to your PDC.
pepps11976

ASKER
Thanks for your help Guys
ArneLovius

@2Cs In an AD environment I would have each DC run NTP, so that in the event of the PDC emulator role being moved to a different server for maintenance, it does not sync to itself.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
2Cs

@ArneLovius it is bad practice to advise every administrator to set all DC's to use external time sources. If you are moving a role then you would need to update GPO to reflect this anyway, so why not make the change if the role is going to be permanent.

Glad the issue is now resolve pepps.
IanTh

I wouldn't use ntp and pdc in the same domain that can cause problems
ArneLovius

I am only suggesting running NTP on the domain controllers, so that they will then advertise as a valid time source

If you have non Windows workstations, they can then use the Domain Controllers as NTP servers.

Windows workstations should usually use Windows time for time sync. An exception might  be if you needed a high accuracy time sync across workstations, in which case you might  operate an internal NTP service based on a low drift source such as a Caesium clock.
Your help has saved me hundreds of hours of internet surfing.
fblack61