Boot · Windows 11
Fix a PC that loses its firmware settings every time it is unplugged
Firmware settings that vanish whenever the cord comes out point to one small coin cell on the motherboard that keeps them alive while the PC is unplugged. Note every setting before you swap it, fit the new battery, and set the clock and boot order once — they should hold from then on.
What you need
- A new CR2032 coin cell. Nearly every desktop motherboard uses this size; read the printing on the old cell before buying if you want to be certain. They are cheap and sold everywhere batteries are.
- Photos of your current firmware settings. Walk every setup screen with a phone camera before you start — the swap wipes the settings one last time, and your photos are how you put them back.
- A screwdriver for the case. The battery sits on the motherboard, usually in plain sight once the side panel is off.
Read the problem before you touch it
- The pattern is the diagnosis. Settings survive restarts and shutdowns but reset when the cord comes out or the power strip is switched off. While the PC has wall power, the board feeds the settings memory itself; unplugged, only the coin cell does — and a dead cell means the settings die with the power. A clock that also resets to a years-old date is the same fault showing twice.
- Rule out the power strip first. If the PC is "unplugged" by a strip switch every night, test one night with the strip left on and the PC merely shut down. If the settings hold, the cell is weak rather than dead and the strip habit is what exposes it — the fix is still the cell, but now you know the trigger.
- Expect one more reset. Changing the battery clears the settings a final time. That is why the photos come first: boot order, drive mode, memory profile, and any fan or security settings you changed all need re-entering afterward. Microsoft's advanced troubleshooting for Windows startup problems explains how firmware boot settings decide what Windows can start from, which is why the boot order photo matters most.
The simple fixes, in order
- Photograph every firmware screen. Restart, enter setup with the key shown at startup (often Delete or F2), and photograph each page, including sub-pages you have changed. Note the boot order and the date and time explicitly.
- Swap the coin cell. Shut down, switch the power supply off, and unplug the cord. Open the case, find the coin cell in its round holder on the motherboard, press its retaining clip, and lift the old cell out. Press the new CR2032 in with the printed side facing the same way as the old one until it clicks.
- Set the clock and boot order first. Power on, enter setup, and set the correct date and time, then restore the boot order from your photos so your Windows drive comes first. Save and exit. A wrong clock alone causes a surprising amount of trouble in Windows, from failed sign-ins to broken secure websites.
- Restore the rest of your settings. Re-enter anything else your photos show — memory profile, drive controller mode, fan settings. If setup offers a settings profile or an export to USB, save your restored configuration there so the next battery change, years from now, is a two-minute job.
The advanced route
- Check the new cell is really being seen. If settings still vanish with a new battery, remove it and look at the holder: a bent contact, corrosion on the terminals, or a cell seated upside down all leave the board just as powerless. Clean light corrosion with a dry cloth and reseat the cell firmly.
- Check the clear-settings jumper. Motherboards have a jumper or pair of pins that clears firmware settings on purpose. If its cap is missing, misplaced, or sitting on the clear position — common after earlier servicing — the board clears itself at every power loss. Your motherboard manual shows the correct position.
- Enter setup from Windows if the startup key will not catch. Go to Settings > System > Recovery and use Advanced startup, then Troubleshoot > Advanced options > UEFI Firmware Settings. Microsoft lists this route among the recovery options in Windows, and it lands you in the same setup screens without timing a key press.
End state
- You unplug the PC for ten minutes, plug it back in, and every firmware setting is still as you left it.
- The firmware clock shows the correct date and time after that unplugged stretch.
- Windows starts normally from the first entry in the boot order, with no setup prompt on the way.
When it goes wrong
- Windows will not start after the swap. The reset changed the boot order or the drive controller mode. Go back into setup and compare against your photos — restore the original boot drive and controller mode and Windows will start as before.
- Settings hold while plugged in but the clock still drifts. A small drift of seconds is the clock itself, not the battery. A clock that resets to a fixed past date is the battery branch again — recheck the cell seating before buying another.
- A new cell dies again within months. That is not normal cell life, which is measured in years. Something on the board is draining it, and that is a motherboard fault rather than a battery one.
Related fixes
-
Fix a PC that boots into the BIOS setup screen every time instead of Windows
When a PC lands in BIOS setup on every start, the firmware is telling you it cannot find — or no longer trusts — something it needs to hand over to Windows. Work through the clock battery, the boot order, and the boot mode in that order and most machines go back to starting normally.
-
Fix a drive that Windows asks to scan and fix every time you plug it in
The scan-and-fix prompt appears when a drive's file system was left in a dirty state — usually removed without ejecting, or unplugged mid-write. Let Windows check it once, properly, and change the removal habit that keeps setting the flag; if the prompt survives a clean check, the drive itself needs attention.
-
Fix sound that switches to the monitor speakers every time an HDMI display connects
Every time an HDMI or DisplayPort monitor connects, Windows sees a new audio device and helpfully switches to it, even when the monitor speakers are weak or silent. Set your real speakers as the default and stop the new device taking over, then deal with the monitor device itself if it keeps winning.
-
Fix a PC whose clock is right in BIOS but wrong in Windows every boot
When the firmware clock is right and Windows is wrong by a clean number of hours on every boot, the hardware is fine — Windows is applying the wrong time zone or failing to sync. Correct the zone and force a time sync first, because a clock that resets in whole hours is a settings problem, not a dying battery.
Sources
- Microsoft Learn, Advanced troubleshooting for Windows startup problems — how firmware boot settings control the start of Windows.
- Microsoft Support, Recovery options in Windows — reaching UEFI Firmware Settings through Advanced startup.