Clear CMOS can reset many UEFI settings, but it usually does not remove a firmware password; only some boards clear that lock with a CMOS reset or a dedicated password jumper. A bad reset can short pins, damage a coin-cell holder, or wipe settings you need to boot. This guide shows the safest CMOS-reset steps, how to tell when they will not work, and the next recovery options.

What UEFI lockouts mean

UEFI and legacy firmware screens are compared side by side
UEFI firmware controls boot order and secure boot, and the settings option appears only on systems that support it.

Most PCs that shipped with Windows 8 or Windows 10 use UEFI firmware rather than legacy BIOS. That firmware controls boot order, secure boot, storage mode, and other board settings. If you forgot a UEFI password, the safest path depends on the device type: a desktop with a removable coin-cell battery, a desktop with a jumper, a laptop with an internal battery, or a compact system with a soldered battery or anti-tamper design.

Windows recovery options can help you reach firmware settings on supported PCs. They do not remove a firmware password by themselves. The UEFI Firmware Settings option appears only on systems that support UEFI.

What you'll need

  • The motherboard manual for the exact model
  • A flashlight
  • A nonconductive surface for the system parts
  • A Phillips screwdriver, if the case or battery compartment uses one
  • Your Windows sign-in and recovery access, if the PC still boots
  • Patience for a 1–5 minute battery wait on supported boards

Can Windows open UEFI settings?

Yes, if the PC still boots and supports UEFI. Windows can restart into Advanced startup, then Troubleshoot, then Advanced options, then UEFI Firmware Settings. That gets you into firmware setup without opening the case, but it does not clear a password on its own.

  1. Save and close all open apps. Only use this path on a working Windows install. A restart closes programs and will drop any unsaved changes.
  2. Open recovery. Go to Settings > Update & security > Recovery, then select Restart now under Advanced startup. On some systems, Shift + Restart does the same thing.
  3. Enter firmware setup. Choose Troubleshoot > Advanced options > UEFI Firmware Settings, then restart again if the option appears.
  4. Use Command Prompt if needed. Run shutdown.exe /r /o from Command Prompt to open Advanced startup when the Settings app will not open.

What if the UEFI option is missing?

That usually means the system is not UEFI-capable, or firmware setup is blocked in a way Windows cannot override. In that case, Windows recovery is not the next fix. Move to the hardware reset path or the vendor support path instead.

How do you clear CMOS safely?

A motherboard coin-cell battery sits in its holder beside a red arrow
The coin-cell battery is the part to remove before restoring default settings.

Clear CMOS only after full power removal. Clearing CMOS can restore BIOS default settings and may help with no-boot or no-display problems; on some boards, it may also clear a forgotten firmware password. On others, the password survives and the reset only returns settings such as boot order, date, time, and storage mode to default.

Desktop with a removable coin-cell battery

  1. Shut the system down. Turn the PC off completely, then unplug the AC cord. If the desktop has a rear power switch, turn that off too.
  2. Remove stored power. Press the power button once after unplugging so the board discharges. This lowers the chance of a short when you touch the battery or jumper.
  3. Lift the coin cell. Find the round CMOS battery on the motherboard, release the clip, and remove it. Do not pry against the holder with metal.
  4. Wait and reinstall. Leave it out for 1–5 minutes, then put it back with the correct side up. That wait is the battery method Intel lists for clearing defaults.

Desktop with a CMOS jumper

  1. Power down fully. Shut off the PC, unplug AC power, and discharge residual power with one press of the power button.
  2. Find the header. Use the motherboard manual to locate the jumper. Intel’s example uses a three-pin header near the battery, with the cap moving from 1–2 to 2–3.
  3. Move the cap briefly. Shift the jumper only as the manual shows, then return it to the default pins. A wrong move can leave the board unable to boot.
  4. Restore power. Reconnect the cord and power up. If the board still asks for a password, the jumper did not clear it.

Laptop with an internal battery

  1. Disconnect every power source. Shut the laptop down, unplug the charger, and remove the main battery only if it is removable.
  2. Open the service panel. Check the manual for the CMOS battery or reset pads. Many laptops hide the battery under the bottom cover, and some use a wired coin-cell pack.
  3. Remove the battery safely. Disconnect the small battery connector, then wait 1–5 minutes before reconnecting it. (Intel)
  4. Stop if the battery is soldered. If the manual shows a fixed battery or anti-tamper design, do not force it. That is a vendor-support case.

Compact or soldered-battery system

  1. Check the manual first. Small desktops, mini PCs, and all-in-one systems often hide reset pads or use vendor-specific pins instead of a standard battery or jumper.
  2. Avoid guessing. Do not short unknown pads or pry at glued parts. The wrong contact can damage the board or the battery pack.
  3. Use only documented reset points. If the manual lists a CMOS reset pin, follow that layout exactly. If it does not, stop and contact the vendor or board maker.

CMOS reset decision table

A hand points to a laptop motherboard near the CMOS battery area
Disconnect the internal battery before waiting and returning the system to its original state.

Match the system type and symptom to the safest next move with this table. If the board manual conflicts with the table, follow the manual.

System type Symptom Safest next step What to avoid
Desktop with removable coin-cell battery Forgotten UEFI password, or settings need a reset Power off, unplug AC, remove the battery, wait 1–5 minutes, reinstall Prying the holder or reinstalling while the system is powered
Desktop with jumper Board has a labeled clear-CMOS header Move the jumper from 1–2 to 2–3 only as the manual shows, then return it Touching random pins or leaving the cap in the wrong position
Laptop with internal battery Access panel gives a documented battery connector or reset pad Unplug AC, remove the removable main battery if present, disconnect the internal battery, then wait 1–5 minutes Forcing covers, bending battery leads, or bypassing the service manual
Compact or soldered-battery system No obvious battery or jumper, or tamper seals are present Stop and use the manufacturer’s documented reset method Shorting unknown pads or opening sealed compartments without guidance
Any system Password remains after CMOS reset Use vendor support, motherboard support, or authorized service Repeated random resets that risk board damage

Will clearing CMOS remove a UEFI password?

Sometimes, but not reliably. Clearing CMOS can wipe firmware settings and restore defaults, and on some boards that also clears the password record. On other boards, the password is stored separately, so the system still blocks entry after a successful reset. If the password remains, the next safe move is vendor support.

  1. Try the approved reset once. Use the battery or jumper method that matches the board.
  2. Check for default behavior. If the date, time, boot order, or storage settings reset but the password prompt still appears, the lock survived the CMOS clear.
  3. Stop repeating hardware resets. More attempts add risk without increasing the chance of success.

Say your desktop boots to the password screen after a battery reset, but the clock has reset to a default year and the fan curve returned to stock. That split result means the CMOS clear worked for settings, yet the password was stored in a different place.

Suppose a laptop with a documented service battery still shows the same firmware prompt after a proper disconnect and 1–5 minute wait. That is the point to stop and use the maker’s support channel, not to start shorting pads on the mainboard.

Common mistakes

Most damage comes from rushing power removal or guessing at board layout. A clean reset is a careful reset. If the manual is missing, find the exact motherboard or laptop model before touching anything inside.

  • Leaving AC power connected while removing the battery
  • Skipping the discharge press after unplugging
  • Using a metal tool on the coin-cell holder
  • Moving a jumper without confirming the pin labels
  • Assuming a laptop uses the same layout as a desktop
  • Trying undocumented pads on compact systems
  • Expecting a CMOS clear to erase files on storage; it usually does not

Clearing CMOS normally affects firmware settings, not personal files or the Windows installation on the drive. You may still need to re-enter firmware after a reset because the board returns to default boot and hardware settings.

Keep reading

Frequently asked questions

How do I clear CMOS if I forgot my UEFI password?

Use the safest method your board documents: battery removal or a clear-CMOS jumper. On desktops, unplug AC first, remove the coin cell or move the jumper as labeled, wait 1–5 minutes for a battery reset, then restore power. If the password stays, stop and contact the vendor.

How long should I wait after removing the CMOS battery?

Wait 1–5 minutes before reinstalling it. That window is the battery-reset range Intel gives for its clear-CMOS guidance. Do not reconnect the battery immediately, and do not leave the system partially powered while the battery is out.

Can I reset UEFI settings from Windows without opening the PC?

Yes, if the PC supports UEFI and still boots into Windows. Go to Settings > Update & security > Recovery, choose Restart now, then Troubleshoot > Advanced options > UEFI Firmware Settings. You can also use shutdown.exe /r /o or Shift + Restart.

Where is the CMOS jumper on my motherboard?

It is usually a three-pin header near the battery, though the exact location varies by board. The motherboard manual is the only safe way to confirm it. Intel’s example uses positions 1–2 and 2–3, yet your board may label the pins differently or place the header elsewhere.

Will clearing CMOS erase my files or Windows?

No, not by itself. A CMOS reset changes firmware settings such as boot order, date, and device configuration. Your files and the Windows installation normally stay on the storage drive. Afterward, you may need to re-enter boot settings so the system starts from the correct drive.

What should I disconnect before removing the CMOS battery?

Shut the PC down, unplug the AC cord, and remove the main battery on a laptop if it is removable. Then press the power button once to discharge leftover power. Intel specifically says to disconnect the power cord before removing the battery.

Do I need to enter BIOS after clearing CMOS?

Yes, often you should. Clearing CMOS restores default firmware settings, so boot order, time, storage mode, and similar values may need to be checked again. On UEFI-capable PCs, use the firmware setup screen from the Advanced startup path to confirm the system still boots correctly.