Time & Clock · Windows 11
Fix a PC clock that drifts while the PC is running
A clock that loses or gains minutes while the PC stays on is usually a time service that has stopped syncing, a wrong time server, or a virtual machine host fighting Windows for the clock. Resync the service first, then check what is resetting it.
What you need
- The PC left on long enough to see the drift. Note roughly how far out the clock is and over how many hours. A few seconds a day is normal drift; minutes in a single day is the fault this guide covers.
- An internet connection. Windows syncs its clock from a time server online. Without a connection you can set the clock by hand, but it will drift again.
- An administrator account for the later steps. Restarting the Windows Time service and changing its start type needs admin rights. The Settings checks at the start do not.
Read the problem before you touch it
- Compare the clock against a known-good time. Open Settings > Time & language > Date & time and compare the time shown with a phone on mobile data. Note the difference in minutes. If the clock is wrong only after shutdown or sleep, that is a different fault — usually the small board battery — and this guide will not fix it.
- Check whether automatic time is actually on. On that same page, confirm Set time automatically and Set time zone automatically are both on, and that the time zone named is the one you are in. A correct clock set to the wrong zone looks wrong by whole hours, not by drifting minutes.
- Look for a pattern. Drift that grows steadily while you work points at sync failing. A clock that jumps by a round amount points at something else changing it — a dual-boot system, a virtual machine host, or a work tool that sets time for its own records. Note which pattern you have before changing anything.
The simple fixes, in order
- Force a sync from Settings. Stay on Settings > Time & language > Date & time, find Sync now under Additional settings, and select it. Microsoft covers these controls in Set time, date and time zone settings in Windows. If the time snaps to correct and stays correct for a day, the sync had simply stalled.
- Restart the PC and watch the first hour. A restart restarts the time service with everything else. If the clock is correct on sign-in and wrong again by the evening, the service is starting and then failing, which the advanced route below addresses.
- Turn automatic time off, set it once by hand, then turn it back on. Toggle Set time automatically off, set the correct time manually, then toggle it back on. This clears a stuck sync state in some builds. Judge it over a full day of normal use, not over five minutes.
The advanced route: the Windows Time service
- Check the Windows Time service is running and set to start automatically. Open the Services app, find Windows Time, and open its properties. The service should be running, with a start type that lets it start with Windows. If it is stopped or disabled — common after a tuning tool has been through the PC — start it, set it back, and force a sync from Settings again.
- Resync from an administrator terminal. Open Windows Terminal as administrator and run
w32tm /resync. The reply tells you whether the resync succeeded or failed. A failure naming the service points back to the step above; a failure naming the peer or the network points at the connection or at a blocked time server. Microsoft documents the Windows Time service tools in Windows Time service tools and settings. - Check for a second clock master. If the PC runs virtual machines, boots a second operating system, or joins a work network, that other system may be setting the clock on its own schedule. Disable time sync in the virtual machine host settings, or leave the work network's setting alone and raise it with whoever manages it — two masters will fight for as long as both are on.
End state
- The clock matches a known-good time source and is still correct after a full day of normal use.
- Set time automatically and Set time zone automatically are both on, with the correct zone named.
- The Windows Time service is running and a manual Sync now completes without an error.
When it goes wrong
- The clock is correct while running but wrong every morning. That pattern — wrong after shutdown, right after a sync — points at the board battery or a sleep-state fault, not the running drift covered here. The guide to a clock that is wrong after every shutdown covers that branch.
- Sync now fails with an error. Check the connection first, then the Windows Time service state above. A workplace firewall can also block time servers; on a managed PC, that setting belongs to the administrator.
- The time jumps by exactly one hour. That is a time zone or daylight saving problem, not drift. See the guide to wrong time after travel or a daylight saving change.
- Drift returns after a few days. Note how much it drifts per day. Steady small drift with a healthy service can mean the PC rarely reaches a time server — leave it on and connected overnight once and see whether a full sync holds.
Related fixes
-
Fix a PC clock that is wrong after every shutdown
The clock is right while you use the PC and wrong again after every shutdown. Separate a sync problem from a time zone problem from a fading battery.
-
Fix a blue screen with stop code CLOCK_WATCHDOG_TIMEOUT
This code means a processor core stopped responding to interrupts — Windows waited, the core never answered, and the system stopped to protect itself. The causes worth your time are heat, an unstable overclock, and old chipset or BIOS-level drivers, in roughly that order.
-
Fix a full-screen game that has no sound while desktop apps play sound normally
A game that goes silent only in full-screen, while music and videos play fine on the desktop, is usually sending its sound to a different output device or being blocked by exclusive-mode and volume-mixer settings. Set the game's output device explicitly first, check its per-app volume next, and turn off exclusive mode before reinstalling anything.
-
Fix a laptop whose fans run loud only while it is charging
Fans that spin up only on the charger usually mean the laptop is allowed to work harder while plugged in — a higher power mode, faster charging heat, or background work Windows postpones until AC power arrives. Match the plugged-in settings to the battery settings, then check what charging itself is adding.
Sources
- Microsoft Support, Set time, date and time zone settings in Windows — the automatic time, time zone and Sync now controls in Settings.
- Microsoft Learn, Windows Time service tools and settings — how the Windows Time service works and the w32tm commands that manage it.