time sync
Results 1 to 10 of 10

Thread: time sync

  1. #1
    Registered User Sneakers's Avatar
    Join Date
    Jul 2002
    Location
    a tiny server room
    Posts
    56

    Angry time sync

    Guys!

    I've stumbled on a touchy issue - my clients clocks are out of sync with my server.
    Now, i defenetly remember that in the good old 2ksbs the clock was forced upon the clients even if they chaged it! (wasn't it the NETCLOCK command in old good novell?).
    Is there a way to force my server clock on those winxp/2k/98 clients of mine before i'll be assasinated (when one of them will be "calendared-out-of-sync" with another)?!

  2. #2
    Banned Ya_know's Avatar
    Join Date
    Jun 2001
    Posts
    10,692
    net time \\servername /set /y

    Put that in your login scripts, if you are already using them for mapped drives.

  3. #3
    Registered User CeeBee's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    2,494
    The "net time" command will only work on NT/2K/XP if the user is a local admin, or if the user is given the privilege to change system time. It would be best to enable a NTP time server on the DC, then clients will then set the time from it.
    For 9x machines "net time" remains the way to go.
    Protected by Glock. Don't mess with me!

  4. #4
    Registered User jitBob's Avatar
    Join Date
    Aug 2001
    Location
    Woodinville, WA
    Posts
    4,244
    NET TIME \\servername /SET /YES
    The Moral Majority is neither.

    Master Sargent - WOTPP

  5. #5
    Banned Ya_know's Avatar
    Join Date
    Jun 2001
    Posts
    10,692
    Quote Originally Posted by jitBob
    NET TIME \\servername /SET /YES
    What, you didn't like the way I typed it out?

    Going with what CeeBee said, I think CeeBee's solution is worth looking into as well for the reasons stated (i.e. if no admin rights on a pc), with an alternate login script for the 9x boxes using the net time cmd.

  6. #6
    Registered User Sneakers's Avatar
    Join Date
    Jul 2002
    Location
    a tiny server room
    Posts
    56
    1) What if I will modify this on my server?

    2) If my users log in with the "net time" script and then change their clocks, until next reset their clock will be out of sync, right?

    3) Is directing the NTP to my router IP a good way to sync 'em?
    Last edited by Sneakers; June 30th, 2004 at 06:40 AM.

  7. #7
    Registered User CeeBee's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    2,494
    There is more to be set... Follow the articles in MSKB about enabling NTP. It's also a good idea to enable your server to syncronize with other NTP servers from internet (such as time.windows.com, nist.time.gov, etc).
    If you have NT4 clients, there is a w32time.exe utility that creates a service for time sync.
    Anyway clients have no reason to change the time and should not be given this right.
    Last edited by CeeBee; June 30th, 2004 at 06:44 AM.
    Protected by Glock. Don't mess with me!

  8. #8
    Registered User jitBob's Avatar
    Join Date
    Aug 2001
    Location
    Woodinville, WA
    Posts
    4,244
    Quote Originally Posted by Ya_know
    What, you didn't like the way I typed it out?

    Going with what CeeBee said, I think CeeBee's solution is worth looking into as well for the reasons stated (i.e. if no admin rights on a pc), with an alternate login script for the 9x boxes using the net time cmd.
    Alternatively you can place a batch file that runs the net time command in the startup group of the win98 boxes.
    The Moral Majority is neither.

    Master Sargent - WOTPP

  9. #9
    Banned Ya_know's Avatar
    Join Date
    Jun 2001
    Posts
    10,692
    Quote Originally Posted by jitBob
    Alternatively you can place a batch file that runs the net time command in the startup group of the win98 boxes.
    Ewwww, that stenches of decentralized administration...

  10. #10
    Registered User Sneakers's Avatar
    Join Date
    Jul 2002
    Location
    a tiny server room
    Posts
    56

    Thumbs up

    Enabling the NTP on the server and modifying the registry on all client computers to use the server for sync did it.
    Also wrote a batch file for those win98 clients.

    Server - change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\W32Tim e\Parameters
    NtpServer - time.windows.com or time.nist.gov (or whatever NTP server you wish)
    LocalNtp - change the DWORD value to 1 (comes disabled - 0 - when sbs 2003 is installed)
    Win2k Client - Type - change the REG_SZ value to NTP
    create a REG_SZ value named - NtpServer and give it your server name or IP as the value
    WinXP client - NtpServer - your server name or IP
    Thank you all, problem solved. :P

    BTW, have you noticed that if a client runs his clock 12 hours forward or backward the Net Time just won't agree to sync him?
    Last edited by Sneakers; June 30th, 2004 at 10:02 AM.

Similar Threads

  1. Time Travel...possible?
    By Low_Level_Owl in forum Tech Lounge & Tales
    Replies: 83
    Last Post: January 3rd, 2004, 04:08 AM
  2. Windows ME clock loses time, bios clock ok
    By Bob T in forum Tech-To-Tech
    Replies: 12
    Last Post: March 4th, 2003, 12:09 PM
  3. time sync
    By jmani in forum Novell
    Replies: 2
    Last Post: February 6th, 2002, 07:58 PM
  4. time sync between NT and UNIX box
    By pmetal in forum Windows NT/2000
    Replies: 2
    Last Post: April 11th, 2001, 07:14 AM
  5. [RESOLVED] Win 98SE Losing Time
    By Mr Cisco in forum Tech-To-Tech
    Replies: 8
    Last Post: January 24th, 2001, 12:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •