If you wanted to
delete the copy of the BCD entry you created, you would simply run this:
Bcdedit /delete {8496b610-6ec8-11db-9581-0003ffaf0a2b}
Three important switches are associated with the bcdedit /delete command.
First, if you??™re trying to delete an entry with a well-known identifier??”for example,
{current}??”you also need to specify the /f switch to force the deletion. The other two
switches that accompany the /delete switch are /cleanup and /nocleanup. If you
don??™t specify either, the default is /cleanup, which not only deletes the entry from the
BCD, but also deletes any references to it, such as entries in the boot sequence and boot
menu order. If you insist that you want these entries to stay (not generally recommended),
you can specify the /nocleanup switch that deletes only the entry for the identifier
you specified and nothing else.
A few more switches for BCDEdit haven??™t been covered here, but they aren??™t frequently
used and are all listed in the BCDEdit help message. Microsoft did an exceptional
job with the help message for this command by providing detailed descriptions of
each command along with some easy to understand examples.
TIP If you want to learn more about BCDEdit, read through the entire help message for this
command.
Manipulating the BCD Using WMI As a heavy proponent of automation and scripting, I
was glad to see that Microsoft had built-in support for WMI to help manage the BCD.
Pages:
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60