Why is computer asking for the time and date each time it boots?

Updated: 03/06/2020 by Computer Hope
Simulated clock face representing time.

A computer prompting for the date and time each time it boots is caused when the CMOS (complementary metal-oxide semiconductor) or RTC (Real-Time Clock) battery being bad or needing to be charged.

Charge the battery

Before replacing your battery, try leaving your computer on for two full days. Sometimes, this can recharge the battery and prevent the issue from occurring.

Windows 95 and older computers

If you are running Microsoft Windows 95, Windows 3.x, or MS-DOS, verify that the computer has an autoexec.bat and config.sys file. If this file is missing, it needs to be recreated or restored from a backup.

Replace the battery

Panasonic CR2032 CMOS battery.
Note

Older computers using an Intel 80286 and lower processor do not have a CMOS or RTC battery, which means the time and date must be set each time the computer starts.

If you have a computer later than an 80286, the CMOS or RTC battery has died. You may contact your computer or motherboard manufacturer to purchase a replacement battery. Or, if you have a coin cell battery on your motherboard, you may also want to find a replacement online or through a local electronics store.