Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time synch problem

Status
Not open for further replies.

Billsg

Technical User
Feb 28, 2007
18
US
My windows 2003 domain controller is 5 minutes behind and because of this all the workstations are 5 minutes behind.
I have checked the timezone. How can I correct it.
In other words how can I check from where its syncing its time. Could it be BIOS time?
 
NET TIME /QUERYSNTP

That should tell you which server is providing SNTP time services. Then you can use NET TIME /SETSNTP:<SERVER> to tell windows where to set the time from.
 
And this is probably not your issue, but you never know - I had my PDC Emulator running off a DC that was running in a virtual machine. The PHYSICAL server's clock was off by 5 minutes and regardless of what time I set the system to sync with, the physical server's time is what it took - I had to disable time synching with the VM in Virtual Server before the problem was resolved.
 
its telling me its from time.windows.com on the domain controller and the workstations. So could you advise me how can I correct the domain time.
Thanks
 
Type this at the command line:

Code:
NET TIME /SET /YES

That will sync the time with whatever you have set as the time server. If that fails, try changing your time server to either tick.usno.navy.mil or tock.usno.navy.mil using the command:

Code:
NET TIME /SETSNTP:(tick|tock).usno.navy.mil

Then try the sync command above again. I don't know if you can reach those time servers from outside the United States, but I'd imagine that you could.
 
I have set the time server to tick.usno.navy.mil and did NET TIME /SET /YES but its still showing the same time
 
ok it worked after i have restarted w32time service. But anyone could suggest how i can push that time to each workstation from the server
 
Workstations get their time automatically sync'd from the PDC emulator of a domain. As MeenSeen suggests, Reboots should resync the workstations, or you can run NET TIME /SET \\SERVERNAME to manually sync them (you will need appropriate rights to change the system time - most standard users do NOT have this right).
 
I usually make sure that the "NET TIME /SET" line is the first one in all the log-on scripts on the domain. You might also want to look at setting up a cron job or scheduled task to re-sync your DC's time with the server every day or week.
 
NET TIME /SET doesn't do much good if you don't have the rights to change the time. You're not running with users as local admins are you?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top