How to change system clock on a remote computer?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Quinn

    How to change system clock on a remote computer?

    What I want to do is:

    1, Get time from nist
    2, Sync my system time with nist time
    3, Sync all computers in the local network with my system.

    I did 1 and 2, but no ideas how to implement 3, can anyone give me some
    suggestions?

    Thanks.

    Quinn


  • Herfried K. Wagner [MVP]

    #2
    Re: How to change system clock on a remote computer?

    "Quinn" <qjia@yahoo.com schrieb:
    1, Get time from nist
    2, Sync my system time with nist time
    3, Sync all computers in the local network with my system.
    >
    I did 1 and 2, but no ideas how to implement 3, can anyone give me some
    suggestions?
    WMI + 'Win32_Operatin gSystem' + 'SetDateTime'.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    • Patrice

      #3
      Re: How to change system clock on a remote computer?

      You may want to check an admin group. This is something you should be able
      to do without programming (not well versed in admin but AFAIK you can
      configure a computer to get the nist time using the Control Panel and then
      client computers are kept in sync during the session opening and I'm not
      even sure you have to explicitely have a command in your connexion script to
      do so).

      There is no need to roll your own solution for this...

      --
      Patrice

      "Quinn" <qjia@yahoo.com a écrit dans le message de news:
      OpgUWwugIHA.443 6@TK2MSFTNGP02. phx.gbl...
      What I want to do is:
      >
      1, Get time from nist
      2, Sync my system time with nist time
      3, Sync all computers in the local network with my system.
      >
      I did 1 and 2, but no ideas how to implement 3, can anyone give me some
      suggestions?
      >
      Thanks.
      >
      Quinn
      >

      Comment

      Working...