UEFI remove unwanted boot entries from BIOS solved easily

Page 4 of 7 FirstFirst ... 23456 ... LastLast

  1. Posts : 6
    Windows 10 Pro
       #31

    jimbo45 said:
    Hi there

    EFI boot is usually a file on an actual device which is readable and editable -- I think for MBR you will need to dump the first block from the device and also the BIOS MBR is actually a tiny program in one of the MOBO's chips -- a EPROM or whatever -- no idea at all how to read those but I'm sure there will be some here who can find ways of doing it.

    UEFI is actually easier to manage than the old MBR IMO !!!

    On linux systems all the files are usually on directory /efi/boot or /boot/efi with partition flags set to esp,boot

    Cheers
    jimbo
    OK, FINALLY I figured it out. It would appear as though the last few people who used UEFI Shells died years ago, and I'm the only one left. But in case there exists a person who owns a Dell XPS 17 L702x system, here's how you delete boot entries from the BIOS.

    Step 1. Download the Phoenix Technologies UEFI Shell: Dropbox - UefiShellX64.efi - Simplify your life

    Step 2. Format a USB flash drive in FAT32, and create a folder named "EFI", and inside that, create another folder named "boot".

    Step 3. Copy and paste the UEFI Shell utility into the boot folder, and rename the file "bootx64". The full path should look like this: EFI\boot\bootx64.efi

    Step 4. Reboot your computer, and rapidly tap the "F12" key on your keyboard until you get to the Boot Menu. Scroll down to "Setup" and hit Enter.

    Step 5. Now that you're in the BIOS, use the arrow keys on your keyboard to scroll to the Advanced tab. From there, scroll down to Boot Configuration. In Boot Configuration, set UEFI Boot to "Enabled" and Legacy Boot to "Disabled". Hit the Escape key to go back and then go to the Exit tab. Select the option to "Exit SAVING Changes", and go back to rapidly hitting that F12 key on your keyboard.

    Step 6. Once at the Boot Menu, select your USB Mass Storage Device, and you'll boot into the UEFI Utility.

    Step 7. From there, type: bcfg boot dump -b

    This will display a list of boot entries. Take careful note of the "Option" numbers, and make note of the one that you want to delete. In my case, it was Option 05 with a description of "RAID Array". DO NOT CONFUSE OPTION NUMBERS WITH THE BOOT HEX NUMBERS!!! For example, Option 05 had a hex number of "Boot000A". Others will have such numbers as "Boot0005". That is NOT the number you want. You want the option number. It's a two character number after the word "Option". Hit the "Enter" key until the list has fully displayed.

    Step 8. Once you know the Option number of which boot entry you want to delete, simply type this command:

    bcfg boot rm XX (where XX is the Option number of the entry you want to delete).

    For example, in my case, my RAID entry was Option 05. Therefore, my command looked like this:

    bcfg boot rm 05

    Step 9. Hold the power button to turn off your computer (I don't think there's a "shutdown" command for UEFI Shells).

    Step 10. Turn your computer back on, and go back to rapidly tapping that F12 key while doing it. Once at the Boot Menu, go back into Setup. Once in the BIOS, go back to the Advanced Tab, scroll down to Boot Configuration, Set UEFI Boot to "Disabled" and Legacy Boot to "Enabled". Don't forget to exit saving changes.

    And that should do the trick. Hopefully I helped at least one person with this post.
    Last edited by Crazy Gaston; 02 Aug 2020 at 18:33.
      My Computer


  2. Posts : 3,514
    Windows 10 Pro 64-bit 21H1 (May 2021 build 19043.1083)
       #32

    As far as I understand, we have to download a Linux distro and boot it in UEFI mode. Then use the appropriate commands in the terminal to delete unwanted UEFI entries.

    What about all of us that hate Linux, don't want to mess with the terminal, and only run Windows on our systems? Assuming I download the latest Windows 10 Recovery Tools and boot it in UEFI mode, how I remove unwanted UEFI entries? Can I use EasyUEFI for that?
      My Computer


  3. Posts : 6
    Windows 10 Pro
       #33

    spapakons said:
    As far as I understand, we have to download a Linux distro and boot it in UEFI mode. Then use the appropriate commands in the terminal to delete unwanted UEFI entries.

    What about all of us that hate Linux, don't want to mess with the terminal, and only run Windows on our systems? Assuming I download the latest Windows 10 Recovery Tools and boot it in UEFI mode, how I remove unwanted UEFI entries? Can I use EasyUEFI for that?
    Believe it or not, you should be able to use my method posted above, except you may have different steps when it comes to your BIOS. However, the steps regarding the EFI shell should be the same. EFI shells are something you boot into pre-operating system, so they're universal. Three notes I want to mention:

    #1. "Backspace" in that EFI shell doesn't work as expected, so if you make a typo, you're just going to have to hit Enter and re-type the command.

    #2. I found out there is a reboot command in EFI Shell (Step 9.). It's Ctrl+Alt+Delete. You can do that instead of hard powering off the system.

    #3. If the EFI Shell freezes on you (it froze on me once), just hard power off your system, and reboot back into your USB drive with the shell on it.

    But otherwise, my instructions should work with your (or any) system.
      My Computer


  4. Posts : 71
    Windows 10 Pro 64bit
       #34

    Pardon my ignorance, but where exactly do we type "delete"?

    jimbo45 said:
    Hi folks
    with UEFI if you've installed say some Linux versions and you don't want them any more you might still see these at boot if you go into your BIOS boot menu.

    Easy way to fix these i.e remove them

    1) Go into command mode (run as administrator)
    2) type bcdedit /enum firmware (space between enum and firmware

    3)Now you'll see a list

    4) To delete entries you don't want
    type bcdedit delete identifier where the identifier is shown in your list. Include the sigiddly braces { }

    Easy -- job done

    If you are worried about this just simply backup the EFI partition with Macrium - you don't need to back up the rest of the system. If boot fails because you deleted wrong entry simply restore the EFI partition (it's only 100MB or so - takes seconds with macrium and works -- I deliberately hosed up an entry to test this --restored partition and system booted fine).

    Cheers
    jimbo
      My Computer


  5. Posts : 18,432
    Windows 11 Pro
       #35

    danielson said:
    Pardon my ignorance, but where exactly do we type "delete"?
    Maybe this will help:

    UEFI  remove unwanted boot entries from BIOS solved easily-capture.jpg

    Of course, don't want to actually delete the Current entry, as that is the Windows I am booted into. But if you do have entries you want to delete, that is how you would do it. Take the identifier and put it after the bcdedit /delete command.
      My Computer


  6. Posts : 3,514
    Windows 10 Pro 64-bit 21H1 (May 2021 build 19043.1083)
       #36

    We are trying to remove UEFI boot entries from the hardware firmware. Not boot entries from Windows boot menu which is totally different. Be careful.
      My Computer


  7. Posts : 11,247
    Windows / Linux : Arch Linux
    Thread Starter
       #37

    spapakons said:
    We are trying to remove UEFI boot entries from the hardware firmware. Not boot entries from Windows boot menu which is totally different. Be careful.
    Hi there

    If using Linux you should be using the efibootmgr command --- sudo efibootmgr -b <Hex boot num> -B

    Just boot up any linux Live distro ---- forhet the Windows BCDEDIT method !!!!!

    This method (efibootmgr command) removes entries from the BIOS -- obviously you can't without an EPROM device remove stuff from hardware ROMS but the command will remove all boot entries from any boot devices on your system (HDD 's, etc).

    Cheers
    jimbo
      My Computer


  8. Posts : 3,514
    Windows 10 Pro 64-bit 21H1 (May 2021 build 19043.1083)
       #38

    Linux should work, but I would prefer a Windows utility that doesn't need to resort to the terminal (command prompt or Powershell)
      My Computer


  9. Posts : 71
    Windows 10 Pro 64bit
       #39

    spapakons said:
    Linux should work, but I would prefer a Windows utility that doesn't need to resort to the terminal (command prompt or Powershell)
    Stumbled upon Disk Genius (freeware) and it is good at working with boot menu:
    All-in-one Solution for Data Recovery, Partition Manager and Data Backup - DiskGenius
      My Computer


  10. Posts : 1
    Windows 10
       #40

    Found this discussion via search. I have a system that I dual boot with Windows 10 and Ubuntu Linux. I've used both Linux efibootmgr and Windows EasyUefi to delete entries from the UEFI boot menu. However, every time Windows 10 does any type of update, it re-adds all the boot entries it can find on the entire set of disks! (I have an SSD with both OSes and a hard disk with the original install of Windows and all the rest of my files.) Has anyone else experienced this, and more importantly, found a way to stop Windows from doing this?

    BTW, in my experience, EasyUefi does more harm than good. Whenever I used it, upon rebooting, I'd find that it added a whole bunch of entries that I hadn't. Linux efibootmgr seems to be the most reliable tool. Per this thread's recommendation, I downloaded Disk Genius and I'm going to give that a try.

    Thanks.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:52.
Find Us




Windows 10 Forums