Solved

How to Time Sync 2 Windows Server Computers

Posted on 2008-10-27
4
286 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Resolve DNS query failed errors for Exchange
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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

7 Experts available now in Live!

Get 1:1 Help Now