Examples - Part 4

This page covers some less common usage examples -

All of the commands listed in this section are referenced in the built in help topics in bcdedit.exe. The appendices of this guide contains a comprehensive list of these help topics for the following versions of BCDEdit -

Please do familiarise yourself with these help topics as they may well contain information you require for less commonly used settings/setups.


DISPLAYBOOTMENU

The BCD boot menu may not be displayed during the Windows boot process - even if a timeout value is specified. If the displayorder element in the Windows Boot Manager object only contains one object (one GUID entry) then this item will automatically be loaded without displaying the menu.

It's possible to force the display of the boot menu even if it contains only one entry in the displayorder by setting the DISPLAYBOOTMENU element. The data type for this element is a Boolean value - TRUE (use 1, ON, YES, TRUE) or FALSE (0, OFF, NO, FALSE).

Use the following command syntax to force the display of the boot menu -
bcdedit /set {bootmgr} displaybootmenu on[enter]


{fwbootmgr}

The {fwbootmgr} object can be used to modify or display the Firmware Boot Manager menu stored in NVRAM.

To display applications in the Firmware Boot Menu use the following command -
bcdedit /enum FIRMWARE[enter]

The following output was obtained after running bcdedit /enum FIRMWARE[enter] on a Virtual Machine with Windows 8.1 installed -

The following bcdedit commands are supported when editing the Firmware Boot Menu -

The following example will change the default timeout to 15 seconds -
bcdedit /set {fwbootmgr} timeout 15[enter]

Multiboot systems may contain more than one boot manager. To ensure that the Windows Boot Manager option is displayed first, use the following command -
bcdedit /set {fwbootmgr} displayorder {bootmgr} /addfirst[enter]

To add a third party Boot Manager option to the boot menu display, use the following command syntax (where {GUID} is the GUID value for the relevant boot manager) -
bcdedit /set {fwbootmgr} displayorder {GUID} /addlast[enter]

To boot a third party Boot Manager option on the next boot only, the BOOTSEQUENCE element can be used with the following command syntax (where {GUID} is the GUID value for the relevant boot manager) -
bcdedit /set {fwbootmgr} bootsequence {GUID}[enter]


novesa/novga

In some scenarios Windows might not boot if a videocard is not available (e.g. on some Servers). See here -

"For a long time I have been using linux PXE scripts to fix servers which dont have any video cards and its worked perfectly until we started getting pushed to use WinPE. If the sled is plugged into the chassis I can PXE boot just fine with either linux or WinPe. The problem however is when we take it back to the troubleshooting station to run diagnostics on it via WinPE it wont work. It loads the image and then fails, i believe because it doesnt have any video. Installing a video card is out of the question. I got it to load temporarily while useing the /quietboot option on the BCD file. However the results are inconsistant. I need to do more to either suppress the video, or alter the conditions so that it doesnt get hung up on it. Any Ideas?"

The poster of the above question was able to overcome this issue by setting the novesa element in the relevant object. Note that the novesa element has been deprecated in operating systems newer than Windows 8 and replaced with novga

novesa

novga