how can I fix the Domain/network time

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.
Who is Participating?
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 :-)
here are some lists of internet time servers:
you can use the net time command to sync your PC's with your DC.
John KratzerCommented:
You can use any number of ntp servers.

Check out for a few.

I personly use
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Mike KlineCommented:
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.



ygaticaAuthor Commented:
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?
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?
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 :-)
ygaticaAuthor Commented:
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.
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 :-)
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.
ygaticaAuthor Commented:
After trying all the suggestions I believe that this is the one that fits my issue

thanks to all for your advice
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.