I have problem with my old PC. The battery is not working anymore. So time is not saved when PC is off. This is alternative for me to keep the PC time up to date by sync the time with nist time during start up.
First you need to set the nist time in your time setting.
– double click the time on bottom left
– choose internet time
– check the “Automatically synchronize with …”
– choose time.nist.gov from the drop down
– press ok
Create a batch file (.bat) that contains this command
and save it in C: (e.g. timesync.bat)
Create short cut of the file in your Start > All programs > Startup
With this every time your computer is turned on, your PC local time will be synced with nist internet time.