Forum Discussion

Nobel_Baynes's avatar
Nobel_Baynes
Iron Contributor
Dec 25, 2024

Delete Linux boot options from Advanced Startup

A few months ago, I dual boot my PC with Ubuntu Linux. How can I remove this boot menu from advanced startup menu?

 

  • Alexanderx's avatar
    Alexanderx
    Iron Contributor

    You can remove boot entries using the bcdedit command from Command Prompt.
    Open Command Prompt as Administrator:
    Right-click the Start button and select "Windows Terminal (Admin)" or "Command Prompt (Admin)."
    View Current Boot Entries:
    Enter the following command to view all boot entries:
    bcdedit /enum
    Look for the entries that correspond to Ubuntu. They usually have a description containing "Ubuntu" or similar.

    Delete the Linux Boot Entry:
    Note the identifier (a long string of characters, e.g., {bootmgr} or something similar) of the Ubuntu entry you want to delete.
    Run the following command, replacing <identifier> with the one you noted:
    bcdedit /delete <identifier>

    Confirm Deletion:
    Run bcdedit /enum again to ensure that the Ubuntu entry has been removed.

Resources