UEFI boot entries tell your computer’s firmware which operating systems, bootloaders, or devices it can start. Over time, an entry may remain after you uninstall an operating system, replace a drive, or reinstall Windows or Linux. The result can be a confusing startup menu with duplicate or invalid choices.
To clear UEFI boot entries, first identify the unwanted entry, then remove it using your firmware’s setup screen or an operating-system tool such as Windows BCDEdit or Linux efibootmgr. The right method depends on your computer and operating system. Most importantly, do not delete entries just because their names are unfamiliar: removing the active Windows Boot Manager or Linux bootloader entry can make your system difficult to start.
What Is a UEFI Boot Entry?
A UEFI boot entry is a record stored in the computer’s firmware settings, usually in nonvolatile memory called NVRAM. It points the firmware to a bootloader, often on an EFI System Partition (ESP), and may include the disk or partition where that bootloader is located. Examples include Windows Boot Manager, a Linux distribution’s bootloader, and network or USB boot options.
A boot entry is not the same thing as the bootloader file it points to. Deleting an entry removes the firmware’s shortcut; it does not necessarily delete the operating system, its EFI files, or its partitions. Likewise, deleting files from an EFI System Partition does not always remove the corresponding firmware entry.
That distinction matters when cleaning up a boot menu. If you remove an entry but leave its files behind, the files may remain unused. If you delete the files but keep the entry, the firmware may show an option that fails when selected. Choose the cleanup you actually need, and treat firmware entries and EFI files as separate tasks.
Before You Clear UEFI Boot Entries
Prepare before changing firmware settings. A few checks can help prevent an accidental loss of access to your operating system or recovery tools.
- Write down or photograph the current boot entries and their order.
- Identify the entry used to start your current operating system. On many Windows PCs, this is Windows Boot Manager.
- Back up important files and make sure you have any needed recovery media or device-encryption recovery key.
- Use an administrator account for Windows commands and a suitable administrator or root account for Linux commands.
- Remove only entries you can confidently identify as obsolete. If you are unsure, research the exact entry name before deleting it.
Do not clear every UEFI entry as a quick fix. A firmware reset, NVRAM wipe, or deletion of the wrong bootloader entry can change how your computer starts. It can also affect custom boot settings, dual-boot configurations, or access to recovery tools. If your goal is simply to change which operating system starts first, changing the boot order is safer than deleting entries.
Method 1: Remove a Boot Entry in UEFI Setup
Many computers let you view or remove boot options directly in their UEFI setup utility. This is often the simplest method when the firmware provides a clear “Delete Boot Option” or similar control.
- Restart the computer and open UEFI setup. The startup screen may identify the required key, commonly F2, Delete, Esc, or F10. The key varies by manufacturer.
- Open a section named Boot, Boot Options, Boot Manager, or a similar label.
- Review the listed entries and confirm which one is obsolete. Record the current boot order before changing it.
- Select the unwanted entry and choose the firmware’s delete or remove command, if available.
- Save the change and restart. Confirm that the correct operating system still starts.
UEFI menus differ across manufacturers, and some do not offer a way to delete individual entries. If the setup utility has no removal option, use the appropriate operating-system method below. Avoid options such as “delete all boot options,” “clear NVRAM,” or “restore factory defaults” unless you understand their effects. Restoring defaults can change more than the boot menu, including device settings and security options.
Method 2: Clear a UEFI Boot Entry in Windows
Windows includes BCDEdit, a command-line utility for managing boot configuration data. On a UEFI computer, it can display firmware boot entries and remove a selected entry. Run commands carefully: deleting the wrong identifier can affect startup.
- Start Windows using an account with administrator privileges.
- Open the Start menu, search for Command Prompt or Windows Terminal, and select Run as administrator.
- Enter this command to list firmware entries:
bcdedit /enum firmware
Review the output. Each entry has a description and an identifier, typically shown as a GUID in braces. Locate the obsolete entry by checking its description and other details. Do not assume that an unfamiliar description is safe to remove, and do not select the Windows Boot Manager entry that starts your current installation.
Once you have verified the exact identifier, delete only that entry by substituting its identifier for {identifier} in this command:
bcdedit /delete {identifier} /f
For example, the command uses the complete GUID shown by BCDEdit in place of {identifier}. Do not copy an example GUID from another computer; identifiers are specific to the system. After deleting the entry, restart and check that Windows still boots and that the unwanted option is gone.
If you get an access or permissions error, confirm that the command window is elevated. If the entry cannot be identified confidently, stop rather than trying several deletion commands. You can also use the UEFI setup screen or seek help from the computer manufacturer. BCDEdit is powerful, and changing unrelated boot configuration data can cause startup problems.
Method 3: Remove a UEFI Boot Entry in Linux
On many Linux systems, the efibootmgr utility can display and manage UEFI boot entries. The computer must be running in UEFI mode, and the firmware’s EFI variables must be accessible. If the command is not installed, install it using your distribution’s package manager.
First, display the current entries and boot order:
sudo efibootmgr -v
The output usually includes entry numbers such as Boot0002, descriptions, device paths, and a BootOrder line. Match the number to the unwanted entry by checking its description and details. Take care not to confuse the entry number with another number in the output.
To delete a verified entry, use its four-digit hexadecimal number. For example, if the obsolete entry is Boot0007, run:
sudo efibootmgr -b 0007 -B
Replace 0007 with the actual entry number on your system. Then run sudo efibootmgr -v again to confirm the entry is gone and review the boot order. The -B option deletes the specified boot entry; do not use it with the number of the bootloader you rely on to start Linux.
If you only want to change which valid entry starts first, use efibootmgr’s boot-order option instead of deleting an entry. For example, after confirming the correct entry numbers, you can set an order with a command in this format:
sudo efibootmgr -o 0003,0001
Use the numbers that exist on your computer and put them in the desired order. Changing the order is usually preferable when you want to keep multiple operating systems available. If Linux does not show EFI variables or efibootmgr reports that EFI variables are unsupported, check whether the computer was started in UEFI mode before making further changes.
Do You Need to Delete EFI Files Too?
Removing a UEFI boot entry does not automatically remove the bootloader files from the EFI System Partition. For many people, leaving a small amount of unused bootloader data is harmless. If you also want to remove files left by an uninstalled operating system, identify the correct EFI folder and partition first.
The EFI System Partition may contain folders for more than one operating system, as well as vendor or recovery tools. Deleting the wrong folder can make another operating system or recovery feature unbootable. Back up the partition before changing its contents, and do not format the entire EFI System Partition as a way to remove one stale entry. If you are unsure which files belong to which operating system, remove only the verified firmware entry and leave the files alone.
Why Do Deleted UEFI Entries Come Back?
An entry may reappear after a restart or operating-system update for several reasons. Firmware can automatically detect a bootloader on a connected drive, and an installer or bootloader repair tool may recreate its entry. A removable USB drive or external disk can also add a boot option while connected.
- Disconnect USB drives and external storage, then check the boot menu again.
- Confirm that you removed the exact entry you intended to remove.
- Check whether an operating-system update or boot repair recreated the entry.
- Review the firmware menu for automatic boot-device discovery or a manufacturer-specific boot setting.
If the same option returns, deleting it repeatedly may not solve the underlying cause. The firmware may be finding a valid bootloader file and registering it again. Determine which disk and EFI file the entry points to before considering any further cleanup.
Troubleshooting After Removing a Boot Entry
If the computer no longer starts the expected operating system, first open UEFI setup and check whether the correct boot option remains available. Make sure the system drive is connected and that its bootloader entry has not been disabled or moved below another device in the boot order. If the operating system is still installed, recovery media may be able to repair its boot files or recreate an entry.
For a Windows PC, use Windows installation or recovery media to access startup repair if normal startup fails. For Linux, use a distribution’s live USB or recovery tools to inspect the EFI System Partition and reinstall or restore the appropriate bootloader. The exact repair procedure depends on the operating system, distribution, and disk layout, so avoid running commands copied from a different setup without verifying their effects.
If the firmware menu itself is behaving unexpectedly, consult the computer or motherboard manufacturer’s instructions. Avoid clearing the Secure Boot keys or resetting all firmware settings as a first response; those actions are different from removing one boot entry and may introduce additional startup or security issues.
Frequently Asked Questions
Does clearing a UEFI boot entry uninstall an operating system? No. It removes a firmware shortcut, not the operating system or its disk partitions. Uninstalling an operating system requires a separate process.
Is it safe to delete duplicate boot entries? It can be safe when you have confirmed which entry is stale and which one is used to start the system. Similar names do not guarantee that two entries are identical, so verify their details before removing one.
Should I delete an entry or change the boot order? Change the boot order if you want to keep an operating system available but stop it from starting first. Delete an entry only when you are confident it is no longer needed.
Can I clear all UEFI boot entries? Usually, that is not a good idea. The computer may lose the entry needed to start its operating system, and recovery may require boot repair or manual firmware changes. Remove only specific, verified obsolete entries.
Conclusion
To clear UEFI boot entries safely, identify the unwanted option, preserve the entry your computer needs to start, and use the method that fits your system. Remove an entry through UEFI setup when that option is available, use elevated BCDEdit commands on Windows, or use efibootmgr on Linux. If you only want a different startup choice, change the boot order instead. Careful identification and a quick verification after restarting can help you clean up a UEFI boot menu without losing access to your operating system.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.