Results 1 to 10 of 10

Thread: Time server

  1. #1
    New Lounger
    Join Date
    Nov 2002
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Time server

    How do I change the time on a workstation from my NT 4.0 server? I figured out how to get a new time from whatever I am in front of but I want to see if I can push a new time to a workstation.

  2. #2
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Time server

    Hi,
    The easiest way to do this is via the logon script. If you add a line like:
    net time servername /set
    to the script each workstation will synchronise with the server at logon.
    Hope that helps.
    Regards,
    Rory

    Microsoft MVP - Excel

  3. #3
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Time server

    The problem is that you have to execute the <font color=blue>NET TIME /DOMAIN /SET /YES</font color=blue> command on the workstation itself.

    Try getting PSEXEC from SysInternals, and you can use it to run the NET TIME command remotely, from your server or a workstation, using:

    <font color=blue>PSEXEC targetworkstation NET TIME /DOMAIN /SET /YES</font color=blue>
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  4. #4
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Time server

    John,
    If you put it in a login script it will execute on the workstation. That's half the point of a login script after all. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Regards,
    Rory

    Microsoft MVP - Excel

  5. #5
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Time server

    Yes, true -- but not what the OP wanted! (Or said he wanted! <img src=/S/duck.gif border=0 alt=duck width=23 height=23>)
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  6. #6
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Time server

    Well, technically it is pushing a time synch to the workstation from the server, just not doing it then and there! <img src=/S/hiding.gif border=0 alt=hiding width=70 height=24>
    There are also remote command line utilities in the Resource Kit (I think they're there in NT, they are in 2K) that should allow doing it immediately.
    Regards,
    Rory

    Microsoft MVP - Excel

  7. #7
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Time server

    I consider that you are guilty of both equivocation and casuistry, as is not surprising from your philosophical upbringing! <img src=/S/evilgrin.gif border=0 alt=evilgrin width=15 height=15>

    PS Did you ever participate in the now-ancient FidoNet Philosophy echo? For you may be interested/amused to read its rules, which I thought were fairly funny at the time (1991...). I will send them as a Private Message if you wish.
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  8. #8
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Time server

    Hey, I put the sophist in sophisticated! <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Yes, I'd be very interested in reading the rules (and finding out what it is!) - thanks.
    Regards,
    Rory

    Microsoft MVP - Excel

  9. #9
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Time server

    Sent to your AOL-address!
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  10. #10
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Time server

    Thanks. I'd say Rule 8.1 ("Use your common sense guys!") was the most important in any such forum - and a pretty good summary of the rules here! (Though many of the philosophers I've met suffer from a singular lack of that particular quality... <img src=/S/evilgrin.gif border=0 alt=evilgrin width=15 height=15>)
    Regards,
    Rory

    Microsoft MVP - Excel

Posting Permissions

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