If see "CMOS fail" error message during boot up, this is not motherboard's physical problem.
It can be resolve by load optmized default setting for the BIOS.
You can press F3 key in BIOS by load the optmized default setting, then press F10 key to save and exit the BIOS.
After next boot up, there should be no CMOS fail error message in the POST screen.
Note: For older motherboard model, it will need to press F9 key to load the optmized default setting.