HP · HP PC startup and diagnostic error codes

005: Real-time clock power loss: date and time invalid

Usually fixable yourselfLast checked: October 23, 2026

What does this code mean?

The PC's internal clock lost power, so the stored date and time are no longer valid. This usually points to a drained or worn-out CMOS/RTC coin battery.

Before you start

Back up important files before any big step such as a reset or restore. Don't download 'repair' programs suggested online; use only official tools from Microsoft, Apple, Google or your device maker. On work or school devices, ask your IT admin first.

Likely causes

  1. A weak or empty CMOS/RTC battery
  2. The PC was left without power for a long time
  3. Main battery fully drained on a notebook

Steps you can try

Did that fix it?

When to get help

On a notebook, have HP Support or an authorized service provider replace the RTC battery. On a desktop, follow your model's HP service guide or ask HP Support.

Differences between versions

The message alone is harmless; it only becomes a problem if it repeats.

Sources

This page is based on official sources from Microsoft, Apple, Google and other makers, written in our own words. Code meanings can differ between versions.