Windows 1909 upgrade to 20H2 sccm task sequece fails

LAri 1 Reputation point
2021-04-22T05:30:34.227+00:00

I have few PC that fails to install 20H2 version with SCCM task sequence but has been working fine over 100 PC already.
BIOS and all drivers has been updated to all of these PC to support Windows upgrade and the software installed on them are exactly the same (healtcare organisation).

Panther setuperr.log show following info that I can not figure out why it is failing.

Error [0x080389] MIG Failure while calling IDiscovery->Gather for Plugin={ServerPath="Microsoft-Windows-AppX-Deployment-server\AppxUpgradeMigrationPlugin.dll", CLSID={AE27C1A6-25F2-45FD-9A28-081B81F29E0A}, ThreadingModel=Apartment}. Error: 0x800705B4
Error MIG Error 0x000005B4 while executing critical action Action,CMXEPlugin,C:\$WINDOWS.~BT\Sources\ReplacementManifests,Microsoft-Windows-AppX-Deployment-Server\AppxUpgradeMigrationPlugin.dll,{AE27C1A6-25F2-45FD-9A28-081B81F29E0A},Apartment. Migration will abort[gle=0x000000cb]
Error Gather failed. Last error: 0x00000000
Error SP pSPDoMainGather: Gather operation failed. Error: 0x0000002C
Error SP CGatherData: Migration phase failed. Status: 44[gle=0x00000002]
Error SP Operation failed: Gather data, scope: EVERYTHING. Error: 0x8007042B[gle=0x000000b7]
Error SP CSetupPlatform::ResurrectAutomation: Failed to resurrect automation: 0x80070002[gle=0x00000002]
Error MIG Ignoring replacement manifest with no settingsVersionRange or versionRange attribute in migration element: Microsoft-Windows-Container-Manager
Error [0x080831] MIG CSIAgent: Invalid xml format: FormatException: "script" attribute is mandatory. class Mig::CMXEMerge *__cdecl Mig::CMXEMigrationXml::LoadMerge(class UnBCL::XmlNode *,int,class Mig::CMXEMigrationXml *,class Mig::CMXEXmlComponent *)
Error [0x080831] MIG CSIAgent: Invalid xml format: FormatException: "script" attribute is mandatory. class Mig::CMXEMerge *__cdecl Mig::CMXEMigrationXml::LoadMerge(class UnBCL::XmlNode *,int,class Mig::CMXEMigrationXml *,class Mig::CMXEXmlComponent *)
Error [0x080366] MIG String or RParan expected. Script MigXmlHelper.RelativeMove('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Holographic\DisplayThrottling [Enabled]',
'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Holographic\DisplayThrottling [ThrottleFramerate]')
Error [0x080831] MIG CSIAgent: Invalid xml format: FormatException: Callback entry point MigXmlHelper.RelativeMove('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Holographic\DisplayThrottling [Enabled]',
'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Holographic\DisplayThrottling [ThrottleFramerate]') not found. __cdecl Mig::CMXEScriptCaller::CMXEScriptCaller(class UnBCL::String *,class Mig::CMXEMigrationXml *,class Mig::CMXEXmlComponent *)
Error MIG CMXEPlugin::StopTimedExecution: AppxUpgradeMigrationPlugin.dll:Gather - plugin call timed out
Error [0x080389] MIG Failure while calling IDiscovery->Gather for Plugin={ServerPath="Microsoft-Windows-AppX-Deployment-Server\AppxUpgradeMigrationPlugin.dll", CLSID={AE27C1A6-25F2-45FD-9A28-081B81F29E0A}, ThreadingModel=Apartment}. Error: 0x800705B4
Error MIG Error 0x000005B4 while executing critical action Action,CMXEPlugin,C:\$WINDOWS.~BT\Sources\ReplacementManifests,Microsoft-Windows-AppX-Deployment-Server\AppxUpgradeMigrationPlugin.dll,{AE27C1A6-25F2-45FD-9A28-081B81F29E0A},Apartment. Migration will abort[gle=0x000000cb]
Error Gather failed. Last error: 0x00000000
Error SP pSPDoMainGather: Gather operation failed. Error: 0x0000002C
Error SP CGatherData: Migration phase failed. Status: 44[gle=0x00000002]
Error SP Operation failed: Gather data, scope: EVERYTHING. Error: 0x8007042B[gle=0x000000b7]
Error SP COperationQueue::Sort: Could not find an execution phase for 50[gle=0x00000002]
Error SP Operations can no longer be sorted following an attempt to retry a failed operation.[gle=0x00000002]
Error SP ExecuteOperations: Failed execution phase Finalize. Error: 0x8007042B
Error MOUPG MoSetupPlatform: Finalize reported failure!
Error MOUPG MoSetupPlatform: Using action error code: [0x8007042B]
Error MOUPG CDlpActionFinalize::ExecuteSetupPlatformFinalize(1120): Result = 0x8007042B
Error MOUPG CDlpActionFinalize::ExecuteRoutine(510): Result = 0x8007042B
Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Execute(493): Result = 0x8007042B
Error MOUPG CDlpTask::ExecuteAction(3300): Result = 0x8007042B
Error MOUPG CDlpTask::ExecuteActions(3454): Result = 0x8007042B
Error MOUPG CDlpTask::Execute(1631): Result = 0x8007042B
Error MOUPG CSetupManager::ExecuteTask(2630): Result = 0x8007042B
Error MOUPG CSetupManager::ExecuteTask(2593): Result = 0x8007042B
Error MOUPG CSetupManager::ExecuteInstallMode(944): Result = 0x8007042B
Error MOUPG CSetupManager::ExecuteDownlevelMode(410): Result = 0x8007042B
Error MOUPG CSetupManager::Execute(295): Result = 0x8007042B
Error MOUPG CSetupHost::Execute(433): Result = 0x8007042B
Error MOUPG CSetupHost::ExecuteDiagnosticAnalysis(1567): Result = 0x80004003

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
600 questions
No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Simon Ren-MSFT 13,221 Reputation points Microsoft Employee
    2021-04-22T08:24:28.827+00:00

    Hi,

    Thanks for posting in Microsoft MECM Q&A forum.

    1,It's firstly recommended to examine the smsts.log on the target system to see if there is any further information. Please refer to:
    SCCM: How to copy SMSTS.log when a Task Sequence fails

    2,Please help try to remove any anti-virus or any other incompatible software, then try upgrading again. The first easy troubleshooting step we can do at this point is to launch setup.exe from the hidden C:\$WINDOWS.~BT directory. After going through the first screens, the setup will warn us about those incompatible apps. If we don't want to run the setup.exe, we can refer to the hidden C:\$WINDOWS.~BT\Sources\Panther\CompatData[date-time].xml. We’ll have a couple of Compatdata.xml files, usually, the most recent one will contain the information you need. Please check if there is a faulty application and give setup the instruction to stop.

    3,Follow below steps to delete cached files, then try upgrading again:
    a. Empty the SCCM Cache
    b. Delete the content of C:\WINDOWS\SoftwareDistribution\Download folder
    c. Delete the C:\$WINDOWS.~BT folder (hidden)
    d. Initiate a Software Update Deployment Evaluation Cycle and Software Update Scan Cycle
    e. Wait a couple of minute for the scan to complete and retry the deployment

    Thanks for your time.

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments

  2. LAri 1 Reputation point
    2021-04-23T12:41:39.86+00:00
    1. I have read all the smsts-log, there is nothing that help to identify why it fails.
    2. AV is MS Defender and it has not been effecting 1000 other PC upgrade. Where is that SETUP.EXE in C:\$WINDOWS.~BT folders?
      Compatdata.xml has no info, earlier there was information that BIOS needed to update and that has been done already.

    I have also download the full ISO from volume licensing center and run that installation with same result, it run at the end to reboot the PC, but when it reboots the upgrade has not happen, and no information why.

    1. Done all that several times, no help.

  3. Colin Ford 1,026 Reputation points
    2021-04-27T04:23:33.39+00:00

    Are you using the latest Windows 10 media? It is continuously updated with compat and setup fixes.

    No comments

  4. Mark Nicholls 1 Reputation point
    2021-06-01T07:58:14.48+00:00

    I have a similar issue with "MIG CMXEPlugin::StopTimedExecution: AppxUpgradeMigrationPlugin.dll:Gather - plugin call timed out"

    It seems to be related to how many user profiles are on the computer. I had nearly all the upgrades fail on this. We have a lot of users on them.

    I set the policy to delete local profiles after a certain date and the upgrades all succeeded in test collection. On the computers it does not, it still has a lot of user profiles.

    I read some stuff about having many different windows apps versions in lots of different profiles can cause this issue?

    I don't want to delete most profiles just to upgrade windows, is no one else seeing this?

    No comments