Leave the PC plugged in to the mains while that battery is out, and after it's replaced, in case you have any custom BIOS settings.
And be very careful.
Or trawl through your bios settings and note them ALL down.
Then do leave the PC plugged in to the mains, with the power off, this will ensure it is earthed.