Share via

Automatic Windows Resync time after reboot setup

Anonymous
2023-10-23T22:01:19+00:00

Hi Microsoft!

I have a Windows computer that upon reboot, the time is often wrong, this may be due to my computer lacking a CMOS battery, (the reason that I have the CMOS battery removed is that I want my computer to turn on when there is power from the wall, I see no option to turn that function on in BIOS, so the only way to make it turn on is to pull out that CMOS battery out) Ok, so obviously clock is messed up upon reboot, however, my computer is plugged into my router and there is definitely a way to make windows auto sync time after reboot so everything works, not me manually going to setting and make it resync.

I am here for a solution,

Tomi

Windows for home | Windows 11 | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

9 answers

Sort by: Most helpful
  1. Anonymous
    2023-10-24T09:01:43+00:00

    Hi

    Welcome to Microsoft community.

    You can set up a task in Task Scheduler to automatically synchronize the time whenever your computer starts. Here's how:

    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.

    Now, every time you start your computer, Windows should automatically sync its clock with Microsoft's time server.

    Please note that for this setup to work, your PC needs to have an active internet connection at startup.

    Please let me know if you need any further assistance. Thank you. 

    Best regards

    Derrick Qian | Microsoft Community Support Specialist

    100+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-05-31T23:06:20+00:00

    The way I got it working is by making the Windows Time service automatically start, and setting the timesync to trigger on login.

    I also found w32tm requires admin privileges to run, tick the box of Properties>General>Run with highest privileges

    8 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-04-18T16:07:40+00:00

    This assumes that "Windows Time" service is running, which for some is not... so this service does not work as correctly as described. Can someone answer why?

    5 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-06-19T21:27:27+00:00

    I also found w32tm requires admin privileges to run, tick the box of Properties>General>Run with highest privileges

    Ticking the Properties > General > Run with highest privileges checkbox is important. That fixed it for me. Nicelly spotted @Yannick van Dolen, thanks!

    4 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-02-05T03:43:21+00:00

    Halo I wanti to synchronous to PC time

    3 people found this answer helpful.
    0 comments No comments