NTP Active Directory

Hi,

I am trying to get the domain controllers to update to the correct time via the ntp server.  I have  added it in the registry key for ntp the source ip, it shows in this format:   xxx.xxx.xxx.x , 0x9 .  What is th 0x9 represent?  Also, the time is not updating.  I have verified connectivity to the resource.

thanks
Jack_son_Asked:
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.

Kerem ERSOYPresidentCommented:
Hi,
Once you've setup the NTP server it does not mean that the Domain controller would start to update from it. You shuld make the initial synchronization manually and it would then start to synchronize with the NTP Source.

Please follow this TechNet article here. It shows hoe to perform the initial synchronziation. The problem here is NTP would not strt synchronization if time difference is too big.

You can find the flags after the time server here

This article over MSDN has the meaning of all the flags.

Cheers,
K.
0
Jack_son_Author Commented:
thanks; this is all set, although the time is still not correct.  Looks like it is using NTP now in the registry on the PDC.  Will it take time to update?
0
Kerem ERSOYPresidentCommented:
You're welcome. Are you sure your Time Zone is configured properly? This being said clients do synchronization when you logon/reboot or periodically over the server. To do it manually you can use this command:

w32tm /resync

Open in new window


Cheers,
K.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Jack_son_Author Commented:
yes; I am actually just looking at the time on the DC.  Right now it shows this when I run the resync command:

The computer did not resync because no time data was available.
0
frankhelkCommented:
Hmmm ... W32time, the timekeeping service in Windows. I experienced enough trouble with that piece of crap when in NTP mode to avoid using it whenever I can.

My recommendation:

Use a Windows port of the classic *ix NTP service, sync a master (or two, three) with an external source (i.e. from pool.ntp.org) and sync the clients and DCs to the master. The NTP service software is free. Easy to install and configure, works like a charm and is stable as a rock. And it is nicer when it comes to one of the rare cases of troubleshooting.

See this article for the "How To".

The NTP service has a low ressource footprint, therefore the NTP functionality could be hooked onto existing machines or VM's like webservers, ftp servers, mailservers or database hosts - even in a DMZ - without visible performance impact.

If securtity is an issue, you might as well place radio controlled clock appliances into your LAN who serve time very reliable and precise.
0
Kerem ERSOYPresidentCommented:
When you say time is wrong over PDC what do you mean? Some hours? minutes?

Are you clients logging in to the domain or do they belong to some own workgroup ?
0
Jack_son_Author Commented:
no, its a domain and the time is wrong.  I need the PDC (primary domain controller) to sync with an external NTP server versus its internal clock.
0
frankhelkCommented:
Maybe I repeat myself, but that's a classic case for a classic NTP client ... give it a try.
0
Kerem ERSOYPresidentCommented:
When you run these commands:

> net stop w32time
> w32tm /config /syncfromflags:manual /manualpeerlist:”0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org” /reliable:yes
> net start w32time

Open in new window


I guess this should work.

Cheers,
K.
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
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
Software Firewalls

From novice to tech pro — start learning today.