tl;dr: there apparently is a bug in the win11 25H2 upgrade, that makes it fail when a syncthing folder is present. Remove the syncthing share temporarily to successfully upgrade.
I ran into this issue on a desktop running windows 11 and a syncthing-synchronized directory.
To spare you the research effort if you encounter a failing win11 25H2 upgrade, here’s my current information:
- The upgrade fails with
0x8007042b - 0x4000D, “In der Phase SECCOND_BOOT ist während des Vorgangs MIGRATE_DATA ein Fehler aufgetreten.”andAbandoning apply.- (received this info only after starting a repair install with
Windows11InstallationAssistant.exeand In-Place-Upgrade / repair install with win11 ISO file.)
- (received this info only after starting a repair install with
- The upgrade error log points to a failed migration of the files in the
.stfolderstructure of the syncthing shared folder:c:$WINDOWS.~BT\Sources\Panther\setuperr.log:2025-11-02 23:21:34, Error MIG Error 1921 while applying object C:\Users\dr\Vorlagen.stfolder[syncthing-folder-c822e6.txt]. Shell application requested abort[gle=0x00000781]2025-11-02 23:21:34, Error [0x08097b] MIG Abandoning apply due to error for object: C:\Users\dr\Vorlagen.stfolder[syncthing-folder-c822e6.txt][gle=0x00000781]2025-11-02 23:21:34, Error Apply failed. Last error: 0x000000002025-11-02 23:21:34, Error SP pSPExecuteApply: Apply operation failed. Error: 0x0000002C2025-11-02 23:21:34, Error SP Apply (machine-independent apply, online phase): Migration phase failed. Result: 44, no specific error2025-11-02 23:21:34, Error SP Operation failed: Machine-independent apply. Error: 0x8007042B[gle=0x000000b7]2025-11-02 23:21:34, Error SP Operation execution failed: 13. hr = 0x8007042B2025-11-02 23:21:34, Error SP ExecuteOperations: Main operation execution failed. Error: 0x8007042B2025-11-02 23:21:34, Error SP ExecuteOperations: Failed execution phase Pre OOBE Boot. Error: 0x8007042B2025-11-02 23:21:34, Error SP Operation execution failed.2025-11-02 23:21:34, Error SP CSetupPlatformPrivate::Execute: Failed to deserialize/execute pre-OOBEBoot operations. Error: 0x8007042B - Temporarily removing the syncthing directory for doing the upgrade allows the upgrade to go through.
I doubt this is an issue with syncthing, as it just creates regular files here (or am i missing something?)
If someone has the energy to report a bug to microsoft, feel free & let us know here.