We aren't currently running SNTP on the Unix server. It is running TRU64. SNTP appears to be an application that we purchase. Is that correct?
Main Topics
Browse All TopicsHi,
Can anyone tell me how best to cause my windows server to synch it's clock up with our Unix server? I was thinking like a batch job that would run each morning.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I haven't used it but this seems to be an open source implementation of SNTP
http://sourceforge.net/pro
More information:
I think I needed to run the command with /set and /y on the end. I did that, and got the message:
System error 5 has occured. Access is denied. Do I need to have our Windows admin. person do somethign to allow the clock set? I tried the command net time /setsntp:time.windows.com /set /y. That gave me the same error.
You shouldn't have to use /set and /yes. These are used when querying other Windows devices if you aren't using SNTP. What level of access do you have to the Windows device? By default, Power Users and Administrators will have access to change the system time, but this user right can be modified. See the article below:
http://support.microsoft.c
As for the command, you should be able to use what PeteLong entered previously. The important thing to remember is that this will not affect the system time immediately. SNTP is controlled by the Windows Time service; if you want to force a time sync, you can restart the Windows Time service or execute 'w32tm /resync' (I think this appies to 2K as well, but should definitely be accurate for XP and 2K3). As an ongoing item, it will sync periodically so that the time will be maintained without your intervention (or a scheduled task of some sort). For more information about the Windows Time service, see the following articles:
http://www.microsoft.com/w
http://support.microsoft.c
http://www.microsoft.com/t
My desktop PC (Win-xp) is able to execute the command to get the time from that server with no problems. When I log onto the server (Win-2k) however (admin or user) I get the error:
System error 5 has occurred.
Access is denied.
It is interesting that my desktop can synch, but the server cannot. We are both on the same domain. Do you have suggestions for something I could check on the server, or does this have to be specifcaly an issue with which users are allowed to get the time off of the TRU64 Unix machine?
What command are you trying to execute when you receive the access denied error? You should have your sys admin check to see who has the SeSystemTime privilege. On Win2K, you should be able to do this by opening the Local Security Policy from Administrative Tools. Browse to Local Policies->User Rights Assignment->Change the system time. Good luck.
Hi EShapley,
Take a look at the following post:
http://www.experts-exchang
Hopefully that will help you out. Obviously in your case you would replace TIME.NIST.GOV with the IP Address of your Unix box.
Then restart the "Windows Time" service on your windows box.
By default the w32tm service with sync every 45 minutes until it hits three sucessful syncs in a row, then it switches to every 8 hours.
http://support.microsoft.c
Thanks,
Andrew
Business Accounts
Answer for Membership
by: PeteLongPosted on 2005-05-03 at 11:49:55ID: 13920572
providing the UNIX server is running SNTP
on the windows server run the following
net time /setsntp:<ip of unix box>