Skip to content
PCFixWorkbench

Time and date · Windows 11

Fix a PC clock that is wrong after every shutdown

Written November 18, 2026

A clock that loses time only while the PC is off is telling you where the fault lives. While Windows runs, it can correct the clock from the internet. While the PC is shut down, a small battery on the motherboard keeps time — and when that battery fades, every morning starts with the wrong time, broken sign-ins, and web pages that refuse to load. Read how the clock is wrong first, fix the settings causes in minutes, and save the battery swap for the pattern that actually needs it.

What you need

Read how the clock is wrong

  1. Off by whole hours, with the minutes correct. That is a time zone problem, not a clock problem. The PC knows the right instant and is displaying it for the wrong place. Go straight to the time zone step below and skip everything else.
  2. Off by minutes, or drifting a little further each day. That is a sync problem. Windows is not correcting the clock, or is correcting it too rarely to keep up with a clock that naturally runs a little fast or slow.
  3. Reset to a fixed past date and time after the PC was fully shut down or unplugged. That is the battery pattern. The clock forgot everything while the power was off, which is exactly the job the motherboard battery exists to prevent. A restart that keeps the time, followed by a shutdown that loses it, confirms the split.

The simple fixes, in order

  1. Turn on automatic time and sync once by hand. Open Settings > Time & language > Date & time and turn on Set time automatically. Then use Sync now under Additional settings and watch the clock jump to the correct time. Microsoft lists the same date and time check among its standard fixes in Troubleshoot problems updating Windows, because a wrong clock breaks updates as well as browsers.
  2. Fix the time zone instead of the clock. On the same page, check the Time zone drop-down against where the PC actually is. If Set time zone automatically keeps choosing the wrong zone, turn it off and pick the zone yourself. Never compensate for a wrong zone by moving the clock by hand — the next sync moves it back, and the two settings fight forever.
  3. Shut down fully and test the pattern. Set the time correctly, shut the PC down for ten minutes with the power cable unplugged or the power supply switched off, and start it again. Disconnecting the power matters for this test: standby power from the wall can keep the clock running and mask a fading battery while the PC stays plugged in. A clock that survives this test with automatic time on was a settings problem. A clock that comes back wrong, with the same size of error every time, moves you to the sync and battery steps below.

Force a sync and check the time service

Automatic time only works while the Windows Time service runs. If Sync now fails, or the clock drifts again within a day, check the service and force a fresh sync from the command line.

  1. Check the Windows Time service, without expecting it to run constantly. Press Windows key + R, type services.msc, and press Enter. Find Windows Time in the list. Its normal startup type is Manual (Trigger Start), so a stopped status between syncs is expected and is not a fault on its own. Intervene only if Sync now fails or the service is disabled: if its startup type reads Disabled, open its Properties, set it back to Manual, and click Start, then try the sync again.
  2. Force a resync. Right-click the Start button, open Terminal (Admin), and run w32tm /resync. A successful run reports that it sent a resync command to the local computer. Follow it with w32tm /query /status, which shows the time source Windows is using and when it last synced successfully.
  3. Read a failure instead of repeating it. If the resync reports that no time data is available, the PC could not reach a time server — check the internet connection and try again on a different network if a restrictive network or VPN is in the way. Repeating the command on the same blocked connection changes nothing.

When the pattern points at the battery

If the service runs, syncs succeed, and the clock still resets to a past date whenever the PC spends time fully shut down or unplugged, the small battery that powers the clock while the PC is off is spent. On a desktop this is a simple swap. Power the PC down, unplug it, open the case, find the flat coin cell on the motherboard, note which way the printed side faces, swap in the new cell the same way up, and close up. The PC may show default firmware settings on the first start afterward; set the time in Windows once more and let automatic sync take over. On a laptop the same battery is often buried or soldered, and a repair shop is the sensible route — say clearly that the clock resets when the machine is off, because that sentence names the part.

End state

When it goes wrong

Related fixes

Sources