Computer clock drifts on standby. Can I make Windows synchronize time on every wakeup?



In today’s technology-driven world, computers need to be kept up to date in order to ensure maximum efficiency. One aspect of this is making sure that the computer clock is accurate, as time is a critical factor in many functions. Unfortunately, computer clocks can drift over time, especially if the computer is in standby mode for prolonged periods of time. This can lead to a variety of problems, such as applications not running properly or data integrity issues.

Fortunately, there is a way to make sure that Windows synchronizes the time on every wake up or resume from standby. This is done using the Windows Task Scheduler. The Task Scheduler allows users to set up tasks that will run at certain times or in certain conditions. In this case, we can set up a task that will run every time the computer wakes up or resumes from standby. This task will then run a command to synchronize the computer clock with a reliable time server.

To set up this task, open the Task Scheduler by typing “Task Scheduler” into the Windows search box. Then, click on the Create Task option in the Actions pane on the right side of the window.

In the General tab, give the task a name that describes what it does, such as “Synchronize Clock on Wake Up”. Then, select the “Run whether user is logged on or not” option and select the “Run with highest privileges” checkbox.

Next, switch to the Triggers tab and click the New button. Select the “On an event” option and then enter “Power” in the Log field. Then, select “Resume from standby” in the Event Source field and press OK. This will cause the task to run every time the computer wakes up or resumes from standby.

Finally, switch to the Actions tab and click the New button. Then, enter “cmd” in the Program/script field and “/c w32tm /resync” in the Add arguments field. This will cause the command prompt to run the w32tm command with the /resync argument, which will synchronize the computer clock with a reliable time server. Then, press OK to save the task.

Now, every time the computer wakes up or resumes from standby, the task will run and synchronize the clock. This will ensure that the clock is always accurate and that applications and data integrity aren’t affected by drifting times.

Overall, the Windows Task Scheduler is a powerful tool that can be used to automate a variety of tasks. In this case, it can be used to make sure that the computer clock is always accurate by synchronizing it with a reliable time server on every wake up or resume from standby. This will help to ensure maximum efficiency and data integrity.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo