locked
Difference between Bootrec /RebuildBCD VS. BCDEdit RRS feed

  • Question

  • Whats the difference between doing this:

    bcdedit /export C:\BCDbackup

    attrib bcd -s -h -r

    ren c:\boot\bcd bcd.old

    bootrec /RebuildBcd

    and this:

    Bcdboot C:\windows /s c: /f SYS 

    Don't both of these essentially do the same thing? i.e., repair/create/write a new system store BCDstore?

    Bcdboot can repair the system partition. If the system partition has been corrupted, you can use BCDBoot to recreate the system partition files by using new copies of these files from the Windows partition. I assume this actually means create a new system store BCDstore?

    TIA


    • Edited by rocketjetz Friday, June 7, 2019 11:41 PM
    Friday, June 7, 2019 11:40 PM

Answers

  • Hi,

     

    BCDBoot copies the boot files from the Windows partition to the EFI System partition and creates the BCD store in the same partition.

     

    I hope this will help.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by rocketjetz Thursday, June 13, 2019 7:21 PM
    Monday, June 10, 2019 6:28 AM
  • I mounted my EFI ESP System Partition temporarily and took a look around. 

    there's an X:\EFI

    there's an X:\EFI\Microsoft\Boot

    there's an X: \EFI\Microsoft\Recovery

    there's an X:\Boot

    So I'm going to mark this as answered.

    • Marked as answer by rocketjetz Friday, June 14, 2019 2:38 PM
    Friday, June 14, 2019 2:38 PM

All replies

  • BCDBoot is a command-line tool used to configure the boot files on a PC or device to run the Windows operating system.

    BCDEdit is a command-line tool for managing Boot Configuration Data (BCD).

    BCDEdit can be used for a variety of purposes, including creating new stores, modifying existing stores, adding boot menu options, and so on.

     Kindly go through the following references:

    BCDBoot Command-Line Options

    BCDEdit Command-Line Options


    S.Sengupta,Microsoft MVP Windows and Devices for IT, Windows Insider MVP

    Saturday, June 8, 2019 1:33 AM
  • Bcdboot can repair the system partition. If the system partition has been corrupted, you can use BCDBoot to recreate the system partition files by using new copies of these files from the Windows partition.

    Is the system partition they are talking about here the EFI ESP aka Efi System Partition?

    Exactly what system partition files are being created/copied by this command?

    TIA

    Saturday, June 8, 2019 6:00 AM
  • Hi,

     

    BCDBoot copies the boot files from the Windows partition to the EFI System partition and creates the BCD store in the same partition.

     

    I hope this will help.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by rocketjetz Thursday, June 13, 2019 7:21 PM
    Monday, June 10, 2019 6:28 AM
  • Hi,

     

    Was your issue solved?

     

    If the reply helped you, please remember to mark it as an answer.

     

    If no, please reply and tell us the current situation in order to provide further help.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, June 13, 2019 9:49 AM
  • I mounted my EFI ESP System Partition temporarily and took a look around. 

    there's an X:\EFI

    there's an X:\EFI\Microsoft\Boot

    there's an X: \EFI\Microsoft\Recovery

    there's an X:\Boot

    So I'm going to mark this as answered.

    • Marked as answer by rocketjetz Friday, June 14, 2019 2:38 PM
    Friday, June 14, 2019 2:38 PM