Solved

sync time

Posted on 2004-10-27
349 Views
Last Modified: 2010-04-19
I have 3 servers and want to sync time from one server.  also I want the clients to pull time from the server.  Currently I have the net time \\servername /set /yes line on my logon script.  I just want to verify that I have is set correctly.  What will I need to so on the "server" that the script is refering to to ensure that the time is syncing from an outside resource?
0
Question by:dtooth71
    3 Comments
     
    LVL 4

    Accepted Solution

    by:
    dtooth71,

    You can set all those ntp settings through either group policy or the registry.  Here's a link that'll help you out.  As for ensuring that it's working, you'll get entries in your event log for time syncs (w32time in the system event log).  Or you can run a 3rd party app that sync's with the same time source and see if it has to make a large adjustment.  There are several free programs out there that you can install.  We used to use an old one called d4 or 4d that worked well, but I don't remember where we got it from and I don't see it doing a google search, but it seemed to be a good one, if you can find it.  It was designed, I believe, for nt4 but it worked on our pre-domain 2000 servers.

    http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/ws03mngd/26_s3wts.mspx#EFAA

    As for your clients, run that bat manually with a pause at the end of the bat or within a command line window so you can see whether it was successful.  Or you can just bring up both the server's and client's clocks and see if they're the same.  Or modify that bat to write the results to a text file that you can check to see if it was successful.  This assumes you're not running AD.  If you are, the clients should sync with the pdc-emulator automatically, and you'll get w32time events on all your computers that you can verify.

    Good Luck!
    0
     

    Author Comment

    by:dtooth71
    good post> although I am recieving an error in my events that states
    source: w32time
    eventid: 38
    time prvider cannot be reached or is currently recieving invalid time data from ntp2.usno.navy.mil

    has anyone seen this before?
    0
     
    LVL 4

    Expert Comment

    by:WerewolfTA
    We're also hitting one of the navy's atomic clocks and that message will frequently popup.  Let it run for a day or 2 and you should see success and failure messages intermingled in there.  At least for AD, as long as everything's sync'd with each other, it should be ok.  Hopefully, your server can keep good enough time that it won't get too far off if it can't reach a time server for a few days.  If all you get are failure messages, though, then there's a definite problem.  Check the usual:  ports on the firewall are opened, you have good net connectivity, that's the right name for the ntp server, etc.

    As for the deeper question as to why it sometimes can't connect... I haven't looked into it, but I have my suspicions.  Network congestion?  the remote server's slammed?  Too many users streaming media? C'est la vie.
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
    Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    913 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