HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

bcdboot — Configure or repair boot files. More information: <https://learn.microsoft.com/windows-hardware/manu

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandrepairbcdbootfilesconfigurebootclimore
windows

Problem

How to use the bcdboot command: Configure or repair boot files. More information: <https://learn.microsoft.com/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di>.

Solution

bcdboot — Configure or repair boot files. More information: <https://learn.microsoft.com/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di>.

Initialize the system partition by using BCD files from the source Windows folder:
bcdboot {{C:\Windows}}


Enable [v]erbose mode:
bcdboot {{C:\Windows}} /v


Specify the volume letter of the [s]ystem partition:
bcdboot {{C:\Windows}} /s {{S:}}


Specify a [l]ocale:
bcdboot {{C:\Windows}} /l {{en-us}}


Specify a [f]irmware type while copying the boot files to a specified volume:
bcdboot {{C:\Windows}} /s {{S:}} /f {{UEFI|BIOS|ALL}}

Code Snippets

Initialize the system partition by using BCD files from the source Windows folder

bcdboot {{C:\Windows}}

Enable [v]erbose mode

bcdboot {{C:\Windows}} /v

Specify the volume letter of the [s]ystem partition

bcdboot {{C:\Windows}} /s {{S:}}

Specify a [l]ocale

bcdboot {{C:\Windows}} /l {{en-us}}

Specify a [f]irmware type while copying the boot files to a specified volume

bcdboot {{C:\Windows}} /s {{S:}} /f {{UEFI|BIOS|ALL}}

Context

tldr-pages: windows/bcdboot

Revisions (0)

No revisions yet.