Computer

Create a Startup Task for Time Synchronization

steloflute 2025. 10. 7. 22:10

Open Task Scheduler: Press Win + R, type taskschd.msc, and press Enter.

Create a Basic Task: In the right-hand pane, click "Create Basic Task...".

Name the Task: Give it a name, such as "Time Sync on

Set Trigger: For the trigger, select "When the computer

Set Action: For the action, select "Start a

Specify Program/Script:
In the "Program/script" field, type w32tm.
In the "Add arguments (optional)" field, type /resync.

Finish: Click Finish to complete the task creation.
Troubleshooting:
Internet Connection: Make sure your computer is connected to the internet, as synchronization requires an internet connection.
Firewall: Check your firewall settings to ensure that UDP port 123 is not blocked, as this port is necessary for NTP (Network Time Protocol) to sync time.
CMOS Battery: A faulty CMOS battery can cause the system clock to lose time even when off, which can be a sign that the battery needs replacement.