Back up the boot configuration first
**bcdedit /export** writes the whole store to a file. Without it, a typo in the identifier list leaves a machine that boots nothing, and the repair needs a recovery drive.
bcdedit /export C:\bcd-backup-2026-10-31
Get-Item C:\bcd-backup-2026-10-31 | Select-Object Name,Length,LastWriteTime