How to clean up boot menu of Windows 10

  1. Run a terminal as administrator, e.g. by hitting Win+R, typing cmd and then Ctrl+Shift+Enter
  2. Run bcdedit /enum
  3. Try to identify the offending boot entry and copy its ID
  4. In case you are in a PowerShell, type cmd now to open a regular shell, as the next command doesn't work in PowerShell
  5. Run bcdedit /delete <id> /f where <id> is something like {asdf-01234-...}