Remove old EFI entries from Boot Menu

Moderator: sjj1805

Post Reply
User avatar
sjj1805
Posts: 1127
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

Remove old EFI entries from Boot Menu

Post by sjj1805 » Sat Dec 01, 2018 12:38 am

In my case it happened when I removed everything Ubuntu related from the drive after a failed install. A BIOS has some NAND ram where it stores information about all those bootloaders. Often forgetting to delete it when you remove a system. To purge this list we will use a special utility for that. In Linux, that is efibootmgr, but as currently I don’t have Ubuntu installed, we’ll use Windows. In Windows the utility is called bcedit.exe
Run it with this command.

Code: Select all

bcdedit /enum firmware
It will produce a list of all entries in the BCD store. Export the list

Code: Select all

bcdedit /export newbcd
and make a backup copy just in case.

Code: Select all

copy newbcd bcdbackup
Now copy and paste the IDs of the unused entries and delete them one at a time by this command.

Code: Select all

bcdedit /store newbcd /delete {….-….-….}
After you removed all unwanted, save the file with this command.

Code: Select all

bcdedit /import newbcd /clean
That’s it. You won’t see those entries anymore on next reboot.

Post Reply