System Clock Loses Time After Shutdown – Fix for RAM & MB

If your PC clock resets to 2000 or 2015 after power-off, the motherboard coin battery or quartz crystal is dying. Here's how to fix it step by step.

Quick Fix (30 Seconds) — Reseat or Replace CMOS Coin Battery

This is the culprit in 90% of cases. When the CR2032 battery (or CR2025 in some laptops) drops below 2.7 volts, the real-time clock (RTC) loses power during shutdown. Next boot, the BIOS loads default date — usually 2000 or 2015.

  1. Power off the PC and unplug the power cord.
  2. Open the side panel. Find the silver coin battery on the motherboard.
  3. Pop it out with a flathead screwdriver or your fingernail.
  4. Wait 30 seconds. Put it back in, positive side up.
  5. Plug in, boot, and set the time in BIOS (press Del/F2 during boot). Save and exit.

If it still resets after this? The battery is dead. Replace it with a fresh CR2032. Don't bother testing voltage with a multimeter — just swap it. Batteries cost $1-2.

Moderate Fix (5 Minutes) — Check for Corrupted RTC Data or Driver Issues

Sometimes the clock drifts (loses seconds per hour) even with a good battery. That's a different problem — the quartz oscillator crystal or a software bug.

On Windows 10/11:

  • Open Command Prompt as Admin.
  • Type w32tm /resync — this forces a time sync with an NTP server.
  • Then run w32tm /query /status to see if the clock is syncing properly.
  • If it says "The computer did not resync because no time data was available", your NTP service is blocked. Check Windows Firewall — allow UDP port 123 outbound.

On Linux (Ubuntu/Debian-based):

  • Check the RTC with sudo hwclock --show — compares system time to hardware clock.
  • If the hardware clock is off, set it: sudo hwclock --systohc (writes system time to RTC).
  • Also check timedatectl — ensure NTP is enabled (timedatectl set-ntp true).

Still drifting? The crystal oscillator on your motherboard is likely bad. This happens on older boards (5+ years) or cheap ones with poor QC. You'll need the next fix.

Advanced Fix (15+ Minutes) — Replace the Quartz Crystal or RTC Chip

This is for when the clock loses minutes per day and a new battery didn't help. The 32.768 kHz quartz crystal (usually a small silver cylinder with two legs) on the motherboard is failing. Or the RTC chip itself (often a Maxim DS1307 or similar) is dying.

  1. Power off, unplug, ground yourself.
  2. Locate the crystal on the motherboard — near the CMOS battery or the southbridge. It's about 1cm long, silver, cylindrical.
  3. Desolder it (use a soldering iron and solder wick). Replace with a new 32.768 kHz crystal — you can order one for $0.50 from Mouser or DigiKey.
  4. If you see a chip labeled DS1307 or similar near the battery, that's the RTC. Desolder and replace it — these cost $2-3.
  5. After replacement, boot and set the time. Run a stability test: leave the PC off for 24 hours, then check the clock. If it's within 1-2 seconds, you fixed it.

Note: This fix requires soldering skills. If you're not comfortable, replace the motherboard. It's cheaper than paying a technician to micro-solder a cheap board.

When to Give Up and Replace the Motherboard

If you did all three steps and the clock still drifts or resets, the problem is deeper — bad CMOS RAM (which stores clock settings) or a faulty RTC integrated into the chipset. On modern boards (Intel 100-series and newer), the RTC is inside the PCH or southbridge. You can't replace it. Just swap the board.

Also check: if the clock only resets after a power loss (unplugging the cord), but stays correct after a normal shutdown, your battery is fine. That's normal behavior. The battery only keeps time when the PC is off but plugged in? No — that's wrong. The battery keeps time even when unplugged. If it resets after being unplugged for 10 minutes, the battery is weak.

Quick Test Table

BehaviorMost likely causeFix
Clock resets to 2000 after shutdownDead CMOS batteryReplace CR2032
Clock loses 5-10 minutes per dayBad quartz crystalReplace crystal
Clock drifts only on Linux, fine on WindowsOS-specific NTP bugCheck timedatectl, disable rtc-hctosys
Clock resets after power cut, stays fine on normal shutdownBattery can't hold chargeReplace battery

One Weird Trick That Works (Sometimes)

If you're stuck and don't want to solder, try this: boot into BIOS, set the time, then unplug the PC from AC power for 30 minutes with the battery still in. This drains residual charge in the CMOS capacitor. Then plug back in, boot, and set the time again. It fixes a corrupted RTC state about 20% of the time. Worth a shot before buying parts.

Related Errors in Hardware – RAM & MB
0x0000001A BSOD Memory Management error on ASUS Z690 boards with DDR5 PCIe Lane Training Failure – The Real Fix Fix iPhone Touchscreen Drift Without Paying Apple Fix RAM Not Detected: Step-by-Step for Beginners

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.