Before you begin
Note that disconnecting the so-called CMOS battery does not reset the BIOS settings or clear a BIOS password. In fact its only purpose is to maintain the real time clock when no other power source is available. The CMOS battery should last for around 10 years. If the computer forgets the date and time when you remove both the mains adapter and the main battery then you need to replace the CMOS battery.