Check time source of server

Hi

We are using AD 2003 on Windows 2003 DC's.

I have a Windows 2008 SP2 server, Server1, that hosts an application - App1.

App1 on Server1 is giving me errors stating that the time synch is out compared with App2 on Server2, App3 on Server3 etc.

From what I understand, servers synch their time with local DC's, which in turn synch their time with the PDC Emulator.

Is there any way to check which DC Server1 is synching its time with? And how does it choose this DC [we have several DC's in the same AD site Server1].

Any help appreciated guys.
LVL 3
kam_ukAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

merowingerCommented:
ececute the command:
net time
This will deliver the specific time server. The DC which replies fastest is automatically taken in the same AD site, you cannot change this behaviour

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
Vaidas911Commented:
You can synchronize time with exact server using net time \\server /set /y
In some cases you might even use this command in schedulled script to execute every 5 minutes (default allowed time difference is 5 minutes).
TheMakCommented:
There's nothing you need to configure manually, except the PDC emulator,
The DC owning the PDC emulator role should be set to synchronize with a reliable time source.
Other DCs synchronize their time with the PDC emulator.
Other Domain members synchronizes their time with the DC authenticating them.
Make sure time on your PDC emulator is correct, and the rest will work fine.
If your router is running NTP, you can just configure the PDC to synchronize with it:
Open a command prompt, enter
net time /setsntp:IP Address of the router
net stop w32time
net start w32time
Check your event viewer after a short while, you should find an entry in the event log that it's now synchronizing the time with your router.

Windows Time Service
http://support.microsoft.com/?kbid=224799
http://support.microsoft.com/kb/816042/en-us

Regards,
kam_ukAuthor Commented:
Hmmmm

This is odd, if I run "net time" on Server1, then I am returned a DC that is from a different AD site.

If I check for Event ID 37 in the System Log, then I see entries from the local AD site, but these are only for last month, nothing for this month?
amnhtechCommented:
You can use the command w32tm /config /syncfromflags:domhier followed by w32tm /resync to make sure that something did not go wacky with the time sync on you server. The domhier flag tells it to sync from the domain hierarchy.  I find that the w32tm command is more reliable than net time.
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.