Command Line for Time Change/Update

For some computers that does not sync their clocks with internet time (NTP server), which means it's depending on the local CMOS clock (command: w32tm /query /status), which becomes inaccurate after a period of time (3-4 min offset in a few months),

but can change time from elevated level. A solution is to add a task scheduler to run a routine batch script (administrator level):

net time /set \\SPGNYAD01 /yes

This would sync the local clock to the server such as SPGNYAD01 that it has access to.

This entry was posted in Technical. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.