Solved

How to Time Sync 2 Windows Server Computers

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

821 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