1. Open Task Scheduler:
Press
Win + R
to open the Run dialog.Type
taskschd.msc
and press Enter.
2. Create a new task:
Click on "Create Basic Task..." on the right side of the window.
3. Set up the task:
Name it something like "Time Sync on Startup".
For Trigger, select "When the computer starts".
For Action, select "Start a program".
4. Specify program/script:
In the Program/script field, type w32tm
. In Add arguments (optional), type /resync
.
The final setup should look something like this:
Program/script: w32tm
Add arguments (optional): /resync
This tells Windows to use its built-in time synchronization command (w32tm /resync
) whenever your computer starts.
Click Finish to create the task.
No comments:
Post a Comment