How to change system clock on a remote computer?

  • Thread starter Thread starter Quinn
  • Start date Start date
Q

Quinn

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
 
Quinn said:
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_OperatingSystem' + 'SetDateTime'.
 
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...
 
Back
Top