Examples - Part 2

The previous page focused on creating objects in a store - this section details how to manage existing objects. All of these examples use the /store switch to specify BCD store C:\Boot\BCD. Don't forget to change the device/path when adapting these examples to your own system.

Delete an object

Run bcdedit /enum ALL /v [enter] to obtain the GUID value for the object you want to delete. Replace {guid} in the command(s) below with the GUID value of the object you want to delete from the BCD store.

Please refer to the delete command for a list of supported arguments.

Delete an object value

Run bcdedit /enum ALL /v [enter] to obtain the GUID value for the object you want to delete a value from and replace {guid} in the command below with the GUID value of the object. The following example will remove the osdevice value -

Please refer to the deletevalue command for a list of supported arguments.

Remove an object from the menu

Run bcdedit /enum ALL /v [enter] to obtain the GUID value for the object you want to remove from the menu and replace {guid} in the command(s) below with the GUID value of the object.

Please refer to the displayorder command for a list of supported arguments.

Set default menu item

Run bcdedit /enum ALL /v [enter] to obtain the GUID value for the object you want to set as the default boot option. Replace {guid} in the command(s) below with the GUID value of the object you want to set as default.