Home › Knowledgebase › KB-429

How to fix and reset the Windows Time service when your system clock is wrong or out of sync

Summary

This guide helps you troubleshoot and resolve: How to fix and reset the Windows Time service when your system clock is wrong or out of sync. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

If your Windows 11 computer is showing the wrong time, scheduled tasks are running at unexpected times, or you're seeing authentication errors when accessing websites and network resources, the Windows Time service is likely the culprit. The Windows Time service (also known as W32Time) keeps your system clock synchronised with internet time servers, which is essential for file timestamps, secure authentication, and reliable scheduled operations.

This guide walks you through diagnosing and resolving common Windows Time service issues, from quick fixes to more thorough troubleshooting steps.

Quick Fix Steps

Before diving into detailed troubleshooting, try these common fixes that resolve most Windows Time issues:

  1. Right-click the clock on your taskbar and select Adjust date and time.
  2. Toggle Set time automatically off, wait five seconds, then toggle it back on.
  3. If the time is still wrong, toggle Set time zone automatically off and confirm your time zone is correct.
  4. Restart your computer and verify the time is correct after reboot.

If these steps don't resolve the issue, continue to the detailed instructions below.

Detailed Instructions

Verify the Windows Time Service Is Running

  1. Press Win + R, type services.msc, and press Enter.
  2. Scroll down and locate Windows Time in the list.
  3. Confirm the Status column shows Running.
  4. If the service isn't running, right-click Windows Time and select Start.
  5. Double-click Windows Time and set the Startup type to Automatic.
  6. Click Apply, then OK.
If the service refuses to start, you may need to reset its dependencies. See the "Reset the Windows Time Service" section below.

Force a Manual Time Sync

You can manually trigger a sync with the default time server using Command Prompt:

  1. Click Start, type cmd, then right-click Command Prompt and select Run as administrator.
  2. Type the following command and press Enter:
    w32tm /resync
  3. You should see a message confirming the sync was successful.

If you receive an error, the service may not be running or there could be a network connectivity issue preventing contact with the time server.

Reset the Windows Time Service

If the service is stuck or failing to start, a full reset often resolves the problem:

  1. Open Command Prompt as administrator (as described above).
  2. Stop the Windows Time service by typing:
    net stop w32time
  3. Unregister the service from the system:
    w32tm /unregister
  4. Wait a few seconds, then re-register the service:
    w32tm /register
  5. Start the service again:
    net start w32time
  6. Force a sync:
    w32tm /resync
Closing the Command Prompt window or restarting your computer during this process can leave the service in an unregistered state. Let each command complete fully before proceeding.

Configure a Reliable Time Server

Sometimes the default time server is unreachable or slow to respond. Switching to a reliable alternative can help:

  1. Open Command Prompt as administrator.
  2. Type the following command to configure a new time server (this example uses time.windows.com):
    w32tm /config /manualpeerlist:"time.windows.com" /syncfromflags:manual /update
  3. Restart the Windows Time service:
    net stop w32time && net start w32time
  4. Force a sync:
    w32tm /resync

Other reliable time servers you can use include:

To use multiple servers for redundancy, separate them with spaces inside the quotes, for example: "time.windows.com pool.ntp.org".

Check Your Time Zone Settings

An incorrect time zone can make your clock appear wrong even when the time itself is accurate:

  1. Right-click the clock on your taskbar and select Adjust date and time.
  2. Under Time zone, confirm the correct region is selected (for example, (UTC+10:00) Canberra, Melbourne, Sydney).
  3. If you're unsure of your correct time zone, disable Set time zone automatically and select it manually.
  4. Ensure Set time automatically remains enabled.

Check for Network and Firewall Restrictions

Windows Time communicates with external servers over UDP port 123. If your network or security software is blocking this traffic, syncing will fail:

  1. Confirm your computer has an active internet connection.
  2. If you're on a corporate or managed network, ask your administrator whether outbound UDP port 123 is permitted.
  3. Temporarily disable any third-party firewall or security software and attempt a manual sync to test.
  4. If using a VPN, disconnect and try syncing again.
If you disable security software for testing, remember to re-enable it afterwards. Do not leave your system unprotected.

Troubleshooting

Diagnose Time Sync Issues with Verbose Logging

If the time still won't sync after the steps above, you can generate detailed logs to pinpoint the issue:

  1. Open Command Prompt as administrator.
  2. Stop the Windows Time service:
    net stop w32time
  3. Enable verbose logging:
    w32tm /debug /enable /file:C:\w32time.log /size:1000000 /entries:0-300
  4. Start the service and attempt a sync:
    net start w32time
    w32tm /resync
  5. Wait a minute, then open C:\w32time.log in Notepad to review the output.
  6. When finished, disable logging:
    w32tm /debug /disable

Common Error Messages and Solutions

"The Windows Time service is not running"

"An error occurred while Windows was synchronising with the time server"

"The computer did not resync because the time data was not within the acceptable range"

Check for Conflicting Software

Some third-party applications, particularly virtualisation software (such as VirtualBox or VMware) and older VPN clients, can interfere with the Windows Time service. If you recently installed new software and the time problems began around the same time, try temporarily uninstalling or disabling the suspect software to see if the issue resolves.

Virtualisation software often synchronises the guest machine's clock with the host, which can override Windows Time settings. Check your virtual machine settings and disable time synchronisation between host and guest if needed.

Verify the Time Service Configuration

You can check the current configuration of the Windows Time service to confirm it's set up correctly:

  1. Open Command Prompt as administrator.
  2. Type the following command and press Enter:
    w32tm /query /configuration
  3. Review the output to confirm the Type field shows NTP and the NtpServer field lists your configured time server.
  4. To check the current sync status, type:
    w32tm /query /status
  5. Look for the Source field to confirm which time server was last used successfully.

When to Seek Further Assistance

If you've tried all the steps above and your system clock is still incorrect, the issue may be caused by:

For hardware-related issues, consider contacting a computer technician. For domain-managed computers, speak with your IT administrator. If you suspect malware or system corruption, run a full scan with Windows Security or your preferred antivirus software.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket