Tuesday, May 24, 2016

The problem while uprgading Windows Server 2016 TP4 to TP5 (BCD is invalid or corrupted)

I've got an error while upgrading Windows Server 2016 Technical Preview 4 (TP4) to Tech Preview 5 (TP5):

Something happened. Windows Server 2016 Technical Preview 5 installation has failed


Advanced error description can be found in the file:
C:\$WINDOWS.~BT\Sources\Panther\setuperr.log

In my case the file setuperr.log has the following content:

...
Error                 IBSLIB OSRollbackService::CBootFilesRestoreCheckpoint::Finalize: Failed to backup BCD database from "G:\Boot\BCD" to "C:\$WINDOWS.~BT\Sources\Rollback\Boot\BCD".[gle=0x00000006]
Error      [0x064199] IBSLIB SetCheckpoint(WinPEBootFilesRestoreCheckpoint): threw exception.: class RollbackException: RollbackException: Error(6), CSystemVolumeSelectionCheckpoint: Failed to backup BCD database. void __cdecl OSRollbackService::CBootFilesRestoreCheckpoint::Finalize(const unsigned short *,struct OSRollbackService::ICheckpointParameters *)[gle=0x00000006]