bcdedit command to create a new boot entry in UEFI setup

user789TL 1 Reputation point
2022-11-30T14:27:25.473+00:00

Hi,

I came across this link How remedy situation with two EFI partitions on one drive? on another QnA site where the user claims that following command using bcdedit will create a new boot entry in UEFI menu.

bcdedit /create /d "NAME" /application firmware
[note down the GUID of the new entry]
bcdedit /set [THE_GUID] device partition=Z:
bcdedit /set [THE_GUID] path \EFI\whatever\grubx64.efi

However bcdedit /create /d "NAME" /application firmware is not accepted.
It says The application type switch specified is not valid.

What is wrong with that command, can someone explain.
It seems there's no such option?

I am interested to know if this command is valid. I know different ways to add boot entry to UEFI menu.
Thanks

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,146 questions
0 comments No comments
{count} votes