Start by deleting bad UEFI boot entries in firmware setup. If that fails, clear only the UEFI NVRAM variables, not the drive, then recreate the Windows or Linux boot entry. Handle this the wrong way and you can leave the PC unbootable or wipe working startup paths you did not mean to touch. This guide shows how to choose the right reset method and rebuild the boot path without wiping your data.

What corrupted UEFI NVRAM does

UEFI NVRAM stores boot variables, boot order, and boot entries such as Windows Boot Manager. When those variables are corrupted, the system may skip the drive, loop back into setup, or show missing boot options even though the operating system files are still on the disk.

UEFI NVRAM is not the same thing as CMOS or RTC settings. CMOS/RTC reset can clear time, date, and some firmware settings, but it does not always clear the UEFI variable store that holds boot entries.

What you will need

  • A known-good USB flash drive with Windows installation media or OEM recovery media, if the machine will not boot.
  • The exact model name of the motherboard or laptop, because menu labels and reset points change by model.
  • A way to access firmware setup, usually Del, F2, F10, Esc, or a boot-menu key.
  • If using Windows repair, access to Windows Recovery Environment or installation media.
  • For desktops, the motherboard manual for jumper or service-pin locations.
  • If Secure Boot or BitLocker is enabled, the recovery key and a plan to change firmware settings only when needed.

UEFI reset decision table

Symptom Access level Device type Safest path Stop and contact OEM support when
Boot entry missing, but setup opens Firmware menu access works Desktop or laptop Delete the broken boot entry, then rebuild boot files with bcdboot if Windows will not load Secure Boot blocks recovery media and you do not know the correct temporary change
System loops into setup after a failed firmware update Firmware menu access works Desktop or laptop Load firmware defaults, then recheck boot order and Secure Boot The board will not save changes or the firmware update failed partway
No boot entry, no setup access from keys No firmware menu access Desktop Use the motherboard jumper or service pins, or a CMOS/RTC power disconnect if the manual says that clears variables on that model The reset point is unknown, unlabeled, or absent
Windows Recovery still opens Recovery environment access works Desktop or laptop Use recovery command line and bcdboot to rebuild the EFI boot path BitLocker asks for a key you do not have
Repeated corruption after a firmware update Any access level Desktop or laptop Pause and verify power stability, then consider a vendor firmware update only if the OEM recommends it Firmware is already unstable or the vendor warns against recovery flashing

Can you reset UEFI NVRAM without opening the computer?

A BIOS setup menu lists default-loading and save-and-exit options
Load defaults and save & exit are the key menu actions here.

Yes, if firmware setup is reachable. The safest no-open method is to enter UEFI setup, delete the bad boot entries or load defaults, then save and reboot. On many systems, that clears the broken variables and restores the boot path without touching the drive.

Use this route first on laptops, mini PCs, and desktops that still show firmware menus. If the machine cannot reach setup, move to recovery media or a hardware reset method on supported desktops only.

  1. Enter firmware setup. Restart and press the startup key shown on screen, often Del, F2, F10, or Esc. If the system shows a one-time boot menu, use it to reach UEFI setup rather than booting the disk.
  2. Load defaults carefully. Look for Load Optimized Defaults, Setup Defaults, or a similar item under Exit or Save & Exit. This can clear bad variable data without erasing files, but it may also change Secure Boot, SATA mode, or fan settings.
  3. Delete broken boot entries. Find the boot list or boot options page and remove entries that point to the wrong disk or a missing path. If Windows Boot Manager is present and valid, keep it.
  4. Save and retest. Save changes, restart, and confirm whether the system boots normally. If it still drops back into setup, use recovery media and rebuild the EFI boot files.

Say your laptop still opens setup with F2, but the boot list only shows the internal SSD by model name and not Windows Boot Manager. Delete the stale entry and recreate the boot path from recovery. That is safer than random menu changes, because the files on the SSD remain intact.

How do you clear UEFI NVRAM from setup?

If the firmware menu is available, use the vendor’s reset option before touching hardware. Many systems expose one of three choices: load defaults, delete boot options, or clear NVRAM/variable storage. Check the wording in the manual for your exact model, because menus do differ.

  1. Open the boot menu first. If possible, choose the firmware entry from the boot menu rather than hammering random keys. That avoids changing the wrong screen on systems with multiple startup menus.
  2. Find reset or boot entries. Check pages named Boot, Startup, Exit, or Security. Look for options such as Load Setup Defaults, Delete Boot Option, or Reset Boot Order.
  3. Disable Secure Boot only if needed. If recovery media will not boot, temporarily disable Secure Boot, then re-enable it after repair. Secure Boot is a policy check, not proof of NVRAM corruption.
  4. Save and confirm. Write the changes, reboot, and check whether the firmware now sees the correct boot target. If boot options vanish again, move to recovery media and rebuild the EFI entry.

A common first-timer mistake is to assume pulling the motherboard battery alone will clear every corrupted UEFI NVRAM entry. On many boards it does not. If the board has separate NVRAM controls, use those first, because they target the variable store directly.

How do you rebuild boot files after the reset?

When the drive is fine but the boot entry is gone, use Windows Recovery Environment or installation media and rebuild the EFI boot files with bcdboot. This writes a fresh Windows Boot Manager entry to the EFI System Partition, which is typically a FAT32 partition UEFI reads at startup.

If BitLocker is enabled, recovery may ask for the key before the command window opens. If Secure Boot blocks the media, temporarily disable it in firmware setup, then restore it after the repair.

  1. Boot into recovery media. Start from Windows installation media or the built-in recovery environment, then choose Repair your computer > Troubleshoot > Advanced options > Command Prompt.
  2. Identify the EFI partition. Run diskpart, then list vol. Find the FAT32 volume that is often around 100 to 300 MB on many systems, though sizes vary by model and installation.
  3. Assign a drive letter. In diskpart, select the EFI volume and assign a free letter such as S:. This gives bcdboot a target path.
  4. Rebuild the boot files. Run bcdboot C:\Windows /s S: /f UEFI, replacing C:\Windows if Windows is on a different volume letter in recovery. This creates the UEFI boot files and writes a new boot entry.
  5. Restart and verify. Remove the media, reboot, and confirm that Windows Boot Manager appears again in firmware and boots cleanly.

Suppose the recovery environment shows Windows on D: instead of C:. The command should match the actual Windows folder, so use bcdboot D:\Windows /s S: /f UEFI after confirming the EFI partition letter. The wrong source path is a common reason the repair appears to fail.

If that did not work, try this next

If the firmware menu reset and the recovery rebuild both fail, the next safer step is a hardware reset only on supported desktops. Use the motherboard’s jumper or service pins exactly as the manual describes, or follow the board-specific coin-cell battery removal method only if the manual says it clears the variable store on that model.

  1. Check the motherboard manual. Confirm the correct jumper, service pins, or battery procedure before opening the case. Do not rely on generic labels, because reset points differ by board.
  2. Remove power completely. Shut down, switch off the power supply, and unplug AC before touching any reset hardware. Wait the interval your manual specifies.
  3. Perform the reset exactly. Move the jumper, press the service pins, or disconnect the battery only as the manual directs. Wrong placement can do nothing, or in some cases prevent startup until the settings are corrected.
  4. Restore firmware settings. Power back on, enter setup, and recheck boot order, Secure Boot, and SATA mode. Then repeat the bcdboot repair if Windows still does not start.

Stop and contact OEM support if the system is a laptop with no user-serviceable reset access, if setup is frozen, or if the board’s reset point is unknown. A firmware update may help only when the vendor says the update fixes variable corruption and power is stable enough to complete it safely.

Common mistakes

Confusing CMOS reset with UEFI NVRAM clearing is the biggest one. CMOS may reset clock and settings while leaving boot variables behind, so the machine still cannot find Windows Boot Manager. Use the firmware menu or the board’s documented reset method when the goal is to clear boot variables.

Another common error is rebuilding boot files against the wrong partition. bcdboot must target the EFI System Partition, which is usually FAT32 and separate from the Windows volume.

Do not clear Secure Boot unless recovery media actually needs it. And do not assume clearing NVRAM erases personal files; it does not by itself, but it can remove the boot path and make the system seem dead until you recreate the entry.

Keep changes focused. If one setting restores booting, stop there and save a copy of the working firmware layout in your notes for next time.

Keep reading

Frequently asked questions

How do I manually clear UEFI NVRAM storage if it is corrupted?

Use firmware setup first: delete the broken boot entry or load defaults, then save and reboot. If that fails, use Windows Recovery Environment and run bcdboot C:\Windows /s S: /f UEFI after assigning the EFI partition a drive letter. On desktops with no setup access, use the board’s documented jumper or service pins.

What happens when UEFI NVRAM is corrupted?

The system may lose boot order, stop showing Windows Boot Manager, or loop back to setup instead of loading the operating system. The drive usually still contains your files and Windows installation. The problem is the boot variable store, not the data partition, so the fix is to restore the boot entry.

Will clearing NVRAM erase my files or Windows install?

No, clearing NVRAM does not wipe the disk. It removes or resets firmware boot variables, which can make Windows look missing until the boot path is rebuilt. After the reset, use recovery media and bcdboot to recreate the EFI boot files if Windows does not start on its own.

What keys or BIOS options clear NVRAM on my motherboard or laptop?

The startup keys are commonly Del, F2, F10, or Esc, but the exact one depends on the vendor. Inside setup, look for Load Setup Defaults, Reset Boot Options, or a boot-entry delete menu. Check the manual for your exact model before changing anything, because labels vary widely.

How can I rebuild boot entries after clearing UEFI NVRAM?

Boot to Windows Recovery Environment or installation media, open Command Prompt, identify the EFI System Partition with diskpart, and run bcdboot with the correct Windows path. A common command is bcdboot C:\Windows /s S: /f UEFI. If Secure Boot blocks the media, temporarily disable it and try again.