Headsup: Windows 25H2 update repeatedly failing due to syncthing data directory

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.” and Abandoning apply.
    • (received this info only after starting a repair install with Windows11InstallationAssistant.exe and In-Place-Upgrade / repair install with win11 ISO file.)
  • The upgrade error log points to a failed migration of the files in the.stfolder structure 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: 0x00000000 2025-11-02 23:21:34, Error SP pSPExecuteApply: Apply operation failed. Error: 0x0000002C 2025-11-02 23:21:34, Error SP Apply (machine-independent apply, online phase): Migration phase failed. Result: 44, no specific error 2025-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 = 0x8007042B 2025-11-02 23:21:34, Error SP ExecuteOperations: Main operation execution failed. Error: 0x8007042B 2025-11-02 23:21:34, Error SP ExecuteOperations: Failed execution phase Pre OOBE Boot. Error: 0x8007042B 2025-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.

1 Like

I have found the SECOND BOOT failures are usually due to Avast (at least for me). I will uninstall the antivirus and then retry.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.