I need the script to automate Time Server update. I suspect the internal battery that keeps time up-to-date is dead and I don't want to change the battery because I'll discard the laptop soon for a new one.
Every time i start-up, I must - Right-click > Adjust date/time (Taskbar) > Internet Time Setting > "Synchronize with an internet time server" and click "Update now" to update the time. Once updated, the time runs correctly throughout because I edited the number of SpecialPollInterval in the registry to poll time server every 660 seconds.
Could someone please give me a VB script and how to use it. Or if there's another way possible, let me know. I'm tired of doing this manually in each Startup and sometimes I do forget, only to be reminded after a software stops working due to the wrong time. The worse is to send outdated emails.