Author Options:

How to i make a Bat file to Temporally change my computers system time? Answered

I was wondering if there was a way to make a bat file that changes your computers clock for 60 seconds and still updates the right time after (synced with the internet time)  so that I would not slowly loose time on my computer when i run the bat file.



The forums are retiring in 2021 and are now closed for new topics and comments.

6 years ago

I am not a "Windows guy" but I found the following link which shows how to enable/disable automatic time in a batch file. You will also need a command to set the time which is in the second link - don't forget to enable the timerserver after you are done. (The commands may not work with your version of windows, I always find it hard to get good Windows information without a specific windows version)


http://www.wikihow.com/Change-the-Computer-Time-an... (method 2)

Good luck!