We help IT Professionals succeed at work.

NTP Settings on a Domain controller

pepps11976
pepps11976 asked
on
564 Views
Last Modified: 2012-06-27
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
Comment
Watch Question

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

Author

Commented:
Yes tried that and still seem to get the same time
2Cs
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
could you talk me through setting via command line?
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
ArneLovius

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

john
2Cs

Commented:
Yep.
CERTIFIED EXPERT

Commented:
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...

Author

Commented:
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

Commented:
you have to wait a few minutes for ntp
CERTIFIED EXPERT

Commented:
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

2Cs

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

Author

Commented:
Thanks for your help Guys
CERTIFIED EXPERT

Commented:
@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.
2Cs

Commented:
@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.

Commented:
I wouldn't use ntp and pdc in the same domain that can cause problems
CERTIFIED EXPERT

Commented:
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.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.