Using the BCD Editor

The BCD Editor (BCDEdit.exe) is the only tool that gives you direct access to view and manage the BCD data store. You can use BCDEdit to view the entries in the BCD store by following these steps:

1. Click Start, click All Programs, and then click Accessories.

2. Right-click Command Prompt and then select Run As Administrator.

3. Type bcdedit at the command prompt.

Example 23-1 shows an example of the output from BCDEdit. As the listing shows, the BCD store for this computer has three entries: one for the Windows Boot Manager, one for the Windows Legacy OS Loader, and one for the Windows Boot Loader.

Example 23-1. Examining the contents of the BCD data store

Windows Boot Manager identifier device description locale inherit default resumeobject displayorder toolsdisplayorder timeout

{9dea862c-5cdd-4e70-acc1-f32b344d4795}

partition=C:

Windows Boot Manager en-US

{7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e} {1cafd2e9-e035-11dd-bbf6-bdebeb67615f} {1cafd2e8-e035-11dd-bbf6-bdebeb67615f} {1cafd2ed-e035-11dd-bbf6-bdebeb67615f} {1cafd2e9-e035-11dd-bbf6-bdebeb67615f} {360a7720-e6ef-11dc-89b8-84b5c301f2c8} {b2721d73-1db4-4c62-bf78-c548a880142d} 30

Windows Legacy OS Loader

Identifier: Type: Device: Path:

Description: Boot debugger:

{ntldr} 10300006 partition=C: \ntldr

Earlier Version of Windows No

Windows Boot Loader identifier {1cafd2e9-e035-11dd-bbf6-bdebeb67615f}

device partition=C:

path \Windows\system32\winload.exe description Windows 7

locale en-US

inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}

recoverysequence {1cafd2f0-e035-11dd-bbf6-bdebeb67615f}

recoveryenabled Yes osdevice partition=C:

systemroot \Windows resumeobject {1cafd2e8-e035-11dd-bbf6-bdebeb67615f}

nx OptIn

The Windows Boot Loader entry has parameters that track the status of the no execute (NX) policy, integrity checking, kernel debugger mode, and Emergency Management Services (EMS). Although the Windows Boot Manager, Windows Legacy OS Loader, and Windows Boot Loader are the primary types of entries that control startup, the BCD also stores information about preoperating system boot environment utilities and settings. To view the BCD entries for utilities and settings, use the following command line:

bcdedit /enum all /v

This command line enumerates all BCD entries, regardless of their current state, and lists them in Verbose Mode. Example 23-2 shows the verbose entries. It is important to note that Verbose Mode provides the actual value of the GUIDs needed to manipulate entries in the BCD data store.

Example 23-2. Viewing extended BCD entries Windows Boot Manager identifier device description locale inherit default resumeobject displayorder toolsdisplayorder timeout

Windows Boot Loader identifier device path description locale inherit

{9dea862c-5cdd-4e70-acc1-f32b344d4795}

partition=C:

Windows Boot Manager en-US

{7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e} {1cafd2e9-e035-11dd-bbf6-bdebeb67615f} {1cafd2e8-e035-11dd-bbf6-bdebeb67615f} {1cafd2ed-e035-11dd-bbf6-bdebeb67615f} {1cafd2e9-e035-11dd-bbf6-bdebeb67615f} {360a7720-e6ef-11dc-89b8-84b5c301f2c8} {b2721d73-1db4-4c62-bf78-c548a880142d} 30

{1cafd2e9-e035-11dd-bbf6-bdebeb67615f} partition=C:

\Windows\system32\winload.exe

Windows 7

en-US

{6efb52bf-1766-41db-a6b3-0ee5eff72bd7}

recoverysequence {1cafd2f0-e035-11dd-bbf6-bdebeb67615f}

recoveryenabled Yes osdevice partition=C:

systemroot \Windows resumeobject {1cafd2e8-e035-11dd-bbf6-bdebeb67615f}

nx OptIn

Windows Boot Loader identifier {1cafd2e0-e035-11dd-bbf6-bdebeb67615f}

device ramdisk=[C:]\Recovery\1cafd2e0-e035-11dd-bbf6-bdebeb6761

5f\Winre.wim,{1cafd2e1-e035-11dd-bbf6-bdebeb67615f}

path \windows\system32\winload.exe description Windows Recovery Environment inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}

osdevice ramdisk=[C:]\Recovery\1cafd2e0-e035-11dd-bbf6-bdebeb6761

5f\Winre.wim,{1cafd2e1-e035-11dd-bbf6-bdebeb67615f}

systemroot \windows nx OptIn winpe Yes

Resume from Hibernate identifier {1cafd2e8-e035-11dd-bbf6-bdebeb67615f}

device partition=C:

path \Windows\system32\winresume.exe description Windows Resume Application locale en-US

inherit {1afa9c49-16ab-4a5c-901b-212802da9460}

filedevice partition=C:

filepath \hiberfil.sys debugoptionenabled No

Windows Memory Tester identifier {b2721d73-1db4-4c62-bf78-c548a880142d}

device partition=C:

path \boot\memtest.exe description Windows Memory Diagnostic locale en-US

inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}

badmemoryaccess Yes

Windows Legacy OS Loader identifier {466f5a88-0af2-4f76-9038-095b170dc21c}

device unknown path \ntldr description Earlier Version of Windows custom:45000001 1

custom:47000005 301989892

EMS Settings identifier {0ce4991b-e6b3-4b16-b23c-5e0d9250e5d9}

bootems

Debugger Settings identifier debugtype debugport baudrate

{4636856e-540f-4170-a130-a84776f4c654}

Serial

Was this article helpful?

0 0

Responses

  • kaisa
    What is resumeobject in bcd?
    7 years ago
  • WISEMAN BROCKHOUSE
    How to examine the contents of bcd?
    7 years ago
  • angelina
    How to optimize bcd using bcdedit?
    7 years ago

Post a comment