bcdboot

Bcdboot utility

Bcdboot utility


bcdboot

  • C:\Windows\system32\bcdboot.exe /?

Output:


Bcdboot - Bcd boot file creation and repair tool.

The bcdboot.exe command-line tool is used to copy critical boot files to the
system partition and to create a new system BCD store.

bcdboot <source> [/l <locale>] [/s <volume-letter> [/f <firmware>]] [/v]
                 [/vbcd] [/m [{OS Loader ID}]] [/addlast] [/p] [/c]

  source     Specifies the location of the windows system root.

  /l         Specifies an optional locale parameter to use when
             initializing the BCD store. The default is US English.

  /s         Specifies an optional volume letter parameter to designate
             the target system partition where boot environment files are
             copied.  The default is the system partition identified by
             the firmware.

  /v         Enables verbose mode.

  /vbcd      Enables BCD logging.

  /m         If an OS loader GUID is provided, this option merges the
             given loader object with the system template to produce a
             bootable entry. Otherwise, only global objects are merged.

  /d         Specifies that the existing default windows boot entry
             should be preserved.

  /f         Used with the /s command, specifies the firmware type of the
             target system partition. Options for <firmware> are 'UEFI',
             'BIOS', or 'ALL'.

  /addlast   Specifies that the windows boot manager firmware entry
             should be added last. The default behavior is to add it
             first.

  /bcdclean  Clean the BCD Store. By default, simply removes any duplicate
             entries in the BCD. Can be followed by 'full'. In this case,
             each entry is scanned. If the corresponding device for that entry
             does not exist, the entry is deleted.

  /p         Specifies that the windows boot manager firmware entry
             position should be preserved. If entry does not exist,
             new entry will be added in the first position.

  /c         Specifies that any existing objects described by the template
             should not be migrated.

Examples: bcdboot c:\windows /l en-us
          bcdboot c:\windows /s h:
          bcdboot c:\windows /s h: /f UEFI
          bcdboot c:\windows /m {d58d10c6-df53-11dc-878f-00064f4f4e08}
          bcdboot c:\windows /d /addlast
          bcdboot c:\windows /p

Return Code: 87


C:\Windows\system32\bcdboot.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size248320bytes
Creation Time2022/07/08 08:47:14
LastWrite Time2022/07/08 08:47:14
ProductVersion10.0.19041.1
FileVersion10.0.19041.1 (WinBuild.160101.0800)
HashValue
MD5238d661d9f978588c3ffff5ddbe10c3d
SHA17860ed7ae4e758acbbb803e6aff0a6ccf3c02bdc
SHA224876361b04ef22c04378d662818f3f52a55a45885d157f3ec1d5f88ab
SHA256340b7df12c0afc58708a5adba76e702613dee6c8c30399920efe72146e7e44d7
SHA3848bce1ee69715a3a52fc2a404d75c7c94fa60849383116751040417a518f1b09fcb6eb13196167590a640f6676993fc8c
SHA5122d64267b4ba4d91ddf555ebf6b07a5f5f3a11fd327146d6a17d8168d6f73cfdf41587c40bc6c3ce9505f8a72cdd335b8b15d321af7d59c055ee8a406a8e5fb4e
Built with Hugo
Theme Stack designed by Jimmy