Back up the boot entry first
**bcdedit /enum {current}** prints the entry you are about to change, and **/export** stores the whole configuration. A typo in the identifier here costs more time than the backup takes.
bcdedit /enum {current}
bcdedit /export C:\bcd-before-safemode
Get-Item C:\bcd-before-safemode | Select-Object Name,Length