Solved

How to Time Sync 2 Windows Server Computers

Posted on 2008-10-27
4
288 Views
Last Modified: 2013-12-23
Hi,

I have 2 Windows server computers (W2K and 2003) that are on a non-domain network. They are just standalone with access to the internet. I want to make sure both computers have always the exact same time.
Can you please provide the net time command to run to sync with a reliabe internet time server? Also, I want to add either add it to the autoexec.bat file (or equivalent) - please advise -  or to have a scheduled job to run every x days - please advise - to resync.

Thanks for your help.
0
Comment
Question by:drotkopf
  • 2
4 Comments
 
LVL 18

Expert Comment

by:flyingsky
ID: 22812632
0
 
LVL 57

Accepted Solution

by:
Pete Long earned 500 total points
ID: 22812697
sync them both to an external time source?

see my website here http://www.petenetlive.com/Tech/Windows/EventID/Events/time_events.htm Ignore the title I know your not in a domain :)

w32tm /config /manualpeerlist:ntp2d.mcc.ac.uk /syncfromflags:manual /reliable:yes /update

on both of them

then

net stop "windows time"
net start "windows time"
W32TM /resync

on both of them

Ensure TCP port 123 is open on the firewall!
0
 

Author Comment

by:drotkopf
ID: 22814734
What about this:
    net time /setsntp:time.nist.gov

And, how often should I run it?
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 22848416
ThanQ
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now