1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 16:42:08 +02:00
tldr/pages/windows/bcdboot.md
2023-10-25 14:19:51 +02:00

632 B

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}}