Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


how can I fix the Domain/network time

Posted on 2010-08-25
Medium Priority
Last Modified: 2012-05-10
Do you know of a secure and accurate way of fixing the time on my Domain (2003 Server AD). All Workstations (XP SP 3) are showing 7 minutes behind the actual time. Is there a trust full time source that I can point my domain to.
Question by:ygatica
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 33523856
here are some lists of internet time servers:
you can use the net time command to sync your PC's with your DC.

Expert Comment

ID: 33523865
You can use any number of ntp servers.

Check out for a few.

I personly use

Accepted Solution

petelettin earned 1000 total points
ID: 33523933
there are ntp pools on the internet that you can point your time services at.

You need to point your AD controllers at one

query the current settings
net time /querysntp

net time /setsntp:""

As I think you're in th US use net time /setsntp:""

You may also need to allow ntp through your firewall
ntp uses UDP port 123

Pete :-)
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 57

Expert Comment

by:Mike Kline
ID: 33523969
The first thing is to make sure time is setup properly, take a look at Matt's (tigermatt on this site) great blog entry

NIST has good clocks

Navy clocks are also widely used

You can also sync time again using   w32tm /resync /rediscover

The key is set the PDC emulator to sync and let the windows time hierarchy take over from there.




Author Comment

ID: 33523997
My current SNTP value is,0x1 but the firewal point seems to make sense since a got a firewall change few moths ago and no settings where made on this. Probably this is the reason why my time is off. do you think?

Expert Comment

ID: 33524087
mkline71 is correct.  I would recommend following his instructino forst to ensure the DCs NTP is set up correctly.  I would also stress ensuring the DCs DNS is configured correctly.

I am wary about your firewall causing this issue.  If it was blocked the DC would have an incorrect time, but your Workstations would as well (since they are supposed to be syncing time from it.

I had a recent issue where my DC was not using itself as the primary DNS entry.

When y ou run w32tm /resync /rediscover on the DC do you get an error?

Expert Comment

ID: 33524437
The workstation set there time from the windows domain servers.

the cmd above wm32tm /resync /rediscover is also a method to set the time service and is the only way with server 2008.

look in the error log for messages relating to wm32tm this will tell you if it is connecting to time server.

I don't know what you use for a firewal but if you're as a**l as me everything is blocked going out except for the services I want to use.

look in the firewall log for ntp or the ADCs ip address

Pete :-)

Author Comment

ID: 33525665
Thank you for the great advice from all of you. I will take everything in consideration. My firewall is actually blocking everything out/in. I have specific rules for each service that i use but for some reason i forgot to set a rule for ntp trafic.

Expert Comment

ID: 33526580
If you add a rule allowing your PDC ntp access the time service will sort itself out in very short time.

As it's 7 minutes out it might not jump in 1 big step but take a couple of shorter steps over an hour or so.

I'm quite over the top with Time Services here, I have a pool of 5 linux ntp time servers and a couple of apple servers which get their times from some internet servers with atomic clocks. They work together to get an average time.

My network switches and 150+ servers of differing flavours get their times from these. Likewise the workstations get their times from the servers.

Pete :-)
LVL 39

Expert Comment

ID: 33528812
There is malicious code that looks for port 123 UDP.

Instead, you might consider a web based time service that still uses those clocks. Try Symmtime from symetricom. It uses port 80 for time. The only computer you should need it on is the PDCe of your domain. The rest should synch up to that DC.

Author Comment

ID: 33639676
After trying all the suggestions I believe that this is the one that fits my issue

thanks to all for your advice

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Let's recap what we learned from yesterday's Skyport Systems webinar.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question