To remove boot options on startup, you need to edit the system's boot configuration using built-in tools like msconfig on Windows or efibootmgr on Linux—this prevents non-essential or duplicate entries from appearing in the boot menu, speeding up startup and avoiding accidental misboots. No special tools are required beyond administrator or root access, and a working system that can boot normally.
What You'll Need
- A Windows PC (for
msconfig) or Linux machine (forefibootmgr) - Administrator or root privileges
- Basic familiarity with command-line tools (optional but helpful)
- A USB drive or installation media (only for recovery if something goes wrong)
Step-by-Step
- Verify the current boot entries:
- On Windows: Press
Win + R, typemsconfig, and press Enter. Go to the Boot tab. You’ll see a list of operating systems and their labels. Take note of which entries you want to keep (e.g., your main Windows installation). - On Linux (UEFI systems): Open a terminal and run
sudo efibootmgr. This displays your current boot order, including numbers (e.g.,Boot0001), labels (e.g.,Ubuntu,Windows Boot Manager), and status (\*\*= active,..= inactive). Identify the entries you want to remove (e.g., old OS installs or duplicate entries).
- On Windows: Press
- Remove boot entries on Windows:
- In the
msconfigBoot tab, select the entry you want to delete (e.g., an old Windows version or a duplicate). - Click Delete. Confirm if prompted. Repeat for each unwanted entry.
- Ensure the correct default OS is selected (highlighted with a star), and set the Timeout to 0 or 3 seconds if you want minimal delay.
- Click Apply > OK, then restart your PC.
- In the
- Remove boot entries on Linux:
- To delete an entry, run
sudo efibootmgr -b XXXX -B, replacingXXXXwith the boot number (e.g.,0001). For example:sudo efibootmgr -b 0001 -B. - Verify removal by re-running
sudo efibootmgr. The entry should no longer appear. - Important: Only delete entries you’re certain are unnecessary. Deleting the wrong one (e.g., your current OS) may prevent booting.
- To delete an entry, run
- Confirm the changes:
- Restart your PC and watch the boot menu (if visible). It should now show fewer or no extra options.
- If no boot menu appears at all, your system may be set to boot directly—this is normal if the timeout is 0.
Common Mistakes
- Deleting the wrong OS entry: Especially on multi-boot systems (e.g., Windows + Linux), it’s easy to confuse duplicate labels like “Windows Boot Manager” appearing twice. Always note the boot number and label before deleting.
- Skipping verification: Not running
efibootmgragain after deletion on Linux, or not checking the Boot tab after saving on Windows, can leave hidden duplicates. - Removing the only working entry: If you delete your active OS entry, your PC may fail to boot. This is why having recovery media is critical.
- Ignoring UEFI vs. Legacy BIOS: On older systems using Legacy BIOS (not UEFI),
efibootmgrwon’t work—you’d needbcdeditor third-party tools instead. Most post-2012 PCs use UEFI.
Tips
- Backup first: On Windows, run
bcdedit /export C:\BCD_Backupin an elevated Command Prompt to save your boot configuration. On Linux, back up the EFI System Partition (ESP) withsudo dd if=/dev/sda1 of=~/esp_backup.img bs=512(replacesda1with your ESP device). - Use descriptive names: If you keep multiple entries (e.g., for testing), rename them in
msconfig(Windows) or viaefibootmgr -n XXXX -l "New Label"(Linux) to avoid confusion. - Set a short timeout: After cleanup, lower the boot timeout to 1–3 seconds to reduce startup delay without hiding the menu entirely.
- Check for hidden entries: On Windows, some boot entries are hidden by default. Run
msconfig> Boot tab > check Make all entries visible to reveal them before deleting.
Troubleshooting
- PC won’t boot after deletion: Insert your Windows installation USB or Linux live USB, boot from it, and use Repair your computer > Startup Repair (Windows) or reinstall the bootloader (Linux:
sudo grub-install /dev/sdafollowed bysudo update-grub). - Entries reappear after reboot: This often happens if another OS (e.g., a dual-boot Linux) automatically regenerates its boot entry. On Linux, check
/etc/default/gruband ensureGRUB_DISABLE_OS_PROBER=falseis not causing duplicates. Runsudo update-grubto refresh the menu. - “Bootmgr is missing” error on Windows: Boot from installation media, open Command Prompt, and run:
bootrec /fixmbr, thenbootrec /fixboot, thenbootrec /rebuildbcd. - Cannot find the Boot tab in
msconfig: On Windows 11 22H2 and newer, the Boot tab is removed from the GUI. Usemsconfig> Tools tab > select Open System Configuration > Boot tab. Alternatively, usebcdeditin an elevated Command Prompt: list entries withbcdedit /enum all, then delete withbcdedit /delete {GUID} /f. - Linux
efibootmgrcommand not found: Install theefibootmgrpackage (e.g.,sudo apt install efibootmgron Debian/Ubuntu). Ensure your system uses UEFI—runls /sys/firmware/efi; if empty, you’re on Legacy BIOS and need GRUB tools instead.
Frequently Asked Questions
Can I remove a boot entry without deleting the operating system?
Yes—removing a boot entry only deletes the firmware’s reference to it. The OS files remain on disk but won’t appear in the boot menu. To fully remove the OS, you must delete its partition and files separately.Will removing boot options speed up startup?
Only slightly. A cleaner boot menu reduces menu display time, but the real speed gain comes from disabling unnecessary startup programs (via Task Manager > Startup on Windows) or services—not from removing boot entries.Can I restore a deleted boot entry?
Yes. On Windows, usebcdedit to recreate the entry with the correct GUID, or run bootrec /rebuildbcd to detect OS installations automatically. On Linux, reinstall the bootloader (e.g., sudo grub-install + update-grub) to regenerate entries.
Why do boot entries keep duplicating?
This commonly happens after Windows updates (which create a new entry for rollback) or when reinstalling Linux alongside Windows. To prevent it, disable automatic OS detection in GRUB by settingGRUB_DISABLE_OS_PROBER=true in /etc/default/grub and running sudo update-grub.