Well sometimes its not a 2032, button cell. Sometimes it can be a 3V lithium battery pack or a 2032 heatshrinked with a small connector extending out such as in some laptops. Most of the time its a 2032 especially if a desktop computer. If its a laptop though they have been known to have special battery packs tucked off to the side or a special soldered on lithium.
Many years ago.... I had a 286 12Mhz that had a barrel type lithium battery that was dead that was soldered direct to the motherboard. I ended up cutting the flat wings off the battery and getting a 2 x AA battery holder at Radio Shack with 2 x 1.5V batteries and with correct polarity + to + and - to - soldered the wires to the leg posts where the battery use to be. Then tie wrapped the battery compartment to the inside of the case.... later I found out that there was a 3V battery back for CMOS available that used Velcro that I could have used. But the 3V battery pack worked to not lose BIOS config and date/time back when BIOS's were not auto detection for hard drive parameters and so each boot was a pita having to tell it how many heads and how many cylinders, etc