Sync with nist time during windows startup

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 from the drop down
– press ok

Create a batch file (.bat) that contains this command
w32tm /resync

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.

Leave a Reply

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