Trouble upgrading to W11 from W10, error 0x8007007f

Miko 0 Reputation points
2025-08-16T10:41:59.6266667+00:00

Hello,

I've been trying to update to windows 11 for the last three days without success. Windows's own updater failed with the error code 0x8007007f. Today, I tried using the installation assistant instead (opened as administrator). Unfortunately, the update still fails and my PC rolls back to W10. I've attached the setuperr.log below. Other things I've so far tried

  1. windows update troubleshooter
  2. SFC scannow
  3. DISM repair (no issues found)
  4. updated MOBO drivers and GPU drivers to newest non-beta version
  5. Deleted old windows profiles from PC via advanced system settings
  6. Ran setupdiag in online mode (Results at the very bottom).

Setuperr.log:

2025-08-16 11:34:06, Error CDeploymentSession::SetEcoQos(11153): Result = 0xD0000003

2025-08-16 11:34:06, Error CDeploymentSession::IsRangeRequestSupported(4504): Result = 0x80040154

2025-08-16 11:34:06, Error IsRangeRequestSupported failed with: [80040154 [Error,Facility=FACILITY_ITF,Code=340 (0x0154)]]. Setting RangeRequestSupported to FALSE

2025-08-16 11:34:07, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Suspend(1282): Result = 0xC1800104[gle=0x00000002]

2025-08-16 11:34:07, Error MOUPG CDlpTask::CheckUserInterruptEx(3094): Result = 0x800704D3

2025-08-16 11:34:07, Error MOUPG CDlpTask::CheckUserInterrupt(3147): Result = 0x800704D3

2025-08-16 11:34:07, Error MOUPG CSetupManager::ExecuteInstallMode(1055): Result = 0x800705BB

2025-08-16 11:34:07, Error MOUPG CSetupManager::ExecuteDownlevelMode(609): Result = 0x800705BB

2025-08-16 11:34:07, Error MOUPG CSetupManager::Execute(345): Result = 0x800705BB[gle=0x0000007f]

2025-08-16 11:34:07, Error MOUPG CSetupHost::Execute(517): Result = 0x800705BB[gle=0x0000007f]

2025-08-16 11:34:22, Error CONX Windows::Compat::Appraiser::RegistryMarkerOutputter::InitializeIndicatorsToRemoveDuplicates (465): Failed to find list table of indicators to remove duplicates, swallowing: [0x80070490].[gle=0x80070490]

2025-08-16 11:34:22, Error CONX Windows::Compat::Appraiser::RegistryMarkerOutputter::Initialize (348): Failed to initialize indicators to remove duplicates, swallowing: [0x80070490].[gle=0x80070490]

2025-08-16 11:34:36, Error Failed getting user languages for Sid: S-1-5-18: HRESULT_FROM_WIN32(ERROR_INVALID_DATA)

2025-08-16 11:34:41, Error CDeploymentSession::SetEcoQos(10708): Result = 0xD0000003

2025-08-16 11:34:41, Error CDeploymentSession::IsRangeRequestSupported(4339): Result = 0x80040154

2025-08-16 11:34:41, Error IsRangeRequestSupported failed with: [80040154 [Error,Facility=FACILITY_ITF,Code=340 (0x0154)]]. Setting RangeRequestSupported to FALSE

2025-08-16 11:36:25, Error CDeploymentSession::SetEcoQos(10708): Result = 0xD0000003

2025-08-16 11:38:45, Error DU DU::CDUSession::Search: Failed to set WU internal configuration property for targeted scans. hr = 0x80070057

2025-08-16 11:38:57, Error CONX Windows::Compat::Appraiser::RegistryMarkerOutputter::InitializeIndicatorsToRemoveDuplicates (465): Failed to find list table of indicators to remove duplicates, swallowing: [0x80070490].[gle=0x80070490]

2025-08-16 11:38:57, Error CONX Windows::Compat::Appraiser::RegistryMarkerOutputter::Initialize (348): Failed to initialize indicators to remove duplicates, swallowing: [0x80070490].[gle=0x80070490]

2025-08-16 11:40:38, Error CONX Appraiser: ERROR,SdbpGetMatchingInfoBlocksInternal,2312,TAGREF array insufficient

2025-08-16 11:43:54, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll, {D26AA4A5-92AD-48DB-8D59-95EF0DCE6939}, 1) failed, hr=[0x8007007f].

2025-08-16 11:43:54, Error [0x080387] MIG Failure while calling IDiscovery->Discover for Plugin={ServerPath="Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll", CLSID={D26AA4A5-92AD-48DB-8D59-95EF0DCE6939}, ThreadingModel=Apartment, ExceptionHandling=Default}. Error: 0x8007007F

2025-08-16 11:43:56, Error SP pSPRemoveUpgradeRegTree: failed to delete reg tree HKLM\SYSTEM\Setup\Upgrade[gle=0x00000005]

2025-08-16 11:44:15, 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 *)

2025-08-16 11:56:27, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: ApplyUserRegWithFilter::InstallLayoutOrTipUserReg failed for (040b:0000040b:*;0804:{6A498709-E00B-4C45-A018-8F9E4081AE40}{82590C13-F4DD-44F4-BA1D-8667246FDF8E};0804:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{FA550B04-5AD7-411F-A5AC-CA038EC515D7};0809:00000809), user: (.DEFAULT)

2025-08-16 12:09:19, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!RemoveObsoleteCHSHKLMRegkey - fail to open regkey (software\Microsoft\CTF\TIP{E429B25A-E5D3-4D1F-9BE3-0C608477E3A1}\LanguageProfile\0x00000804) = 2

2025-08-16 12:09:19, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!ApplySuccess() remove HKLM Registries error

2025-08-16 12:09:21, Error [0x0808fe] MIG Plugin {ee036dc0-f9b7-4d2d-bb94-3dd3102c5804}: BRIDGEMIG: ParseRegistryIfBridgeExists: offline key (new) = '$OFFLINE_RW_810A4DCA$SYSTEM\Setup\Upgrade\Bridge'

2025-08-16 12:09:21, Error [0x0808fe] MIG Plugin {ee036dc0-f9b7-4d2d-bb94-3dd3102c5804}: BRIDGEMIG: ParseRegistryIfBridgeExists: query bridge presence key failed 0x139f, bridge present = 0

2025-08-16 12:09:29, Error [0x08038d] MIG Failure while calling IPostApply->ApplySuccess for Plugin={ServerPath="Microsoft-Windows-DirectoryServices-ADAM-Client\adammigrate.dll", CLSID={43CCF250-2A74-48c6-9620-FC312EC475D6}, ThreadingModel=Apartment, ExceptionHandling=Default}. Error: 0x80070002

2025-08-16 12:09:29, Error SP Error READ, 0x00000002 while gathering/applying object: apply-success, Action,CMXEXmlPlugin,C:$WINDOWS.~BT\Sources\ReplacementManifests,Microsoft-Windows-DirectoryServices-ADAM-Client\adammigrate.dll,{43CCF250-2A74-48c6-9620-FC312EC475D6},Apartment,Default. Will return 2[gle=0x000000cb]

2025-08-16 12:09:30, Error [0x0808fe] MIG Plugin {8707fcd0-e62a-4451-b224-7707ffe1c286}: WinsockMig: Namespace catalog is not equal so integration is required

2025-08-16 12:09:30, Error [0x0808fe] MIG Plugin {8707fcd0-e62a-4451-b224-7707ffe1c286}: WinsockMig: Upgrade of NSPs is now disabled when in offline mode

2025-08-16 12:09:30, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: ApplyUserRegWithFilter::InstallLayoutOrTipUserReg failed for (040b:0000040b:*), user: (S-1-0-0)

2025-08-16 12:09:32, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: ApplyUserRegWithFilter::InstallLayoutOrTipUserReg failed for (040b:0000040b:*;0804:{6A498709-E00B-4C45-A018-8F9E4081AE40}{82590C13-F4DD-44F4-BA1D-8667246FDF8E};0804:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{FA550B04-5AD7-411F-A5AC-CA038EC515D7};0809:00000809), user: (S-1-5-21-984853366-3088780893-3152260837-1001)

2025-08-16 12:10:51, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:10:51, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:10:51, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:10:51, Error [0x080387] MIG Failure while calling IDiscovery->Discover for Plugin={ServerPath="%SYSTEM32%\WSManMigrationPlugin.dll", CLSID={E550301A-B9D0-4ff9-B22A-BD4A1DD34C20}, ThreadingModel=Apartment, ExceptionHandling=Default}. Error: 0x8007007F

2025-08-16 12:10:51, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:10:51, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:10:51, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:10:51, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:10:51, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:10:51, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:10:52, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: ApplyUserRegWithFilter::InstallLayoutOrTipUserReg failed for (040b:0000040b:*;0804:{6A498709-E00B-4C45-A018-8F9E4081AE40}{82590C13-F4DD-44F4-BA1D-8667246FDF8E};0804:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{FA550B04-5AD7-411F-A5AC-CA038EC515D7};0809:00000809), user: (.DEFAULT)

2025-08-16 12:10:52, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:10:52, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:10:52, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:10:52, Error [0x08038b] MIG Failure while calling IPreApply->PreApply for Plugin={ServerPath="%SYSTEM32%\WSManMigrationPlugin.dll", CLSID={E550301A-B9D0-4ff9-B22A-BD4A1DD34C20}, ThreadingModel=Apartment, ExceptionHandling=Default}. Error: 0x8007007F

2025-08-16 12:10:52, Error SP Error READ, 0x0000007F while gathering/applying object: pre-apply, Action,CMXEXmlPlugin,C:$WINDOWS.~BT\Sources\ReplacementManifests,%SYSTEM32%\WSManMigrationPlugin.dll,{E550301A-B9D0-4ff9-B22A-BD4A1DD34C20},Apartment,Default. Will return 2[gle=0x000000cb]

2025-08-16 12:11:35, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!RemoveObsoleteCHSHKLMRegkey - fail to open regkey (software\Microsoft\CTF\TIP{E429B25A-E5D3-4D1F-9BE3-0C608477E3A1}\LanguageProfile\0x00000804) = 2

2025-08-16 12:11:35, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!ApplySuccess() remove HKLM Registries error

2025-08-16 12:11:35, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:11:35, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:11:35, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:11:35, Error [0x08038d] MIG Failure while calling IPostApply->ApplySuccess for Plugin={ServerPath="%SYSTEM32%\WSManMigrationPlugin.dll", CLSID={E550301A-B9D0-4ff9-B22A-BD4A1DD34C20}, ThreadingModel=Apartment, ExceptionHandling=Default}. Error: 0x8007007F

2025-08-16 12:11:35, Error SP Error READ, 0x0000007F while gathering/applying object: apply-success, Action,CMXEXmlPlugin,C:$WINDOWS.~BT\Sources\ReplacementManifests,%SYSTEM32%\WSManMigrationPlugin.dll,{E550301A-B9D0-4ff9-B22A-BD4A1DD34C20},Apartment,Default. Will return 2[gle=0x000000cb]

2025-08-16 12:11:36, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:11:36, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:11:36, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:11:36, Error [0x080390] MIG Failure while calling IPostApply->PostApply for Plugin={ServerPath="%SYSTEM32%\WSManMigrationPlugin.dll", CLSID={E550301A-B9D0-4ff9-B22A-BD4A1DD34C20}, ThreadingModel=Apartment, ExceptionHandling=Default}. Error: 0x8007007F

2025-08-16 12:11:36, Error SP Error READ, 0x0000007F while gathering/applying object: post-apply, Action,CMXEXmlPlugin,C:$WINDOWS.~BT\Sources\ReplacementManifests,%SYSTEM32%\WSManMigrationPlugin.dll,{E550301A-B9D0-4ff9-B22A-BD4A1DD34C20},Apartment,Default. Will return 2[gle=0x000000cb]

2025-08-16 12:11:37, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: ApplyUserRegWithFilter::InstallLayoutOrTipUserReg failed for (040b:0000040b:*), user: (S-1-0-0)

2025-08-16 12:11:37, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:11:37, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:11:37, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:11:38, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:11:38, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:11:38, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:11:39, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:11:39, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:11:39, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:11:39, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: ApplyUserRegWithFilter::InstallLayoutOrTipUserReg failed for (040b:0000040b:*;0804:{6A498709-E00B-4C45-A018-8F9E4081AE40}{82590C13-F4DD-44F4-BA1D-8667246FDF8E};0804:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{FA550B04-5AD7-411F-A5AC-CA038EC515D7};0809:00000809), user: (S-1-5-21-984853366-3088780893-3152260837-1001)

2025-08-16 12:11:39, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:11:39, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:11:39, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:55:59, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:55:59, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:55:59, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:55:59, Error [0x0808fe] MIG Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] Apply Wallpaper: failed (0x80070002)

2025-08-16 12:55:59, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]

2025-08-16 12:55:59, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]

2025-08-16 12:55:59, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\NewOS\Windows\system32\WSManMigrationPlugin.dll, {E550301A-B9D0-4FF9-B22A-BD4A1DD34C20}, 1) failed, hr=[0x8007007f].

2025-08-16 12:58:27, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll, {D26AA4A5-92AD-48DB-8D59-95EF0DCE6939}, 1) failed, hr=[0x8007007f].

2025-08-16 12:58:27, Error [0x080387] MIG Failure while calling IDiscovery->Discover for Plugin={ServerPath="Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll", CLSID={D26AA4A5-92AD-48DB-8D59-95EF0DCE6939}, ThreadingModel=Apartment, ExceptionHandling=Default}. Error: 0x8007007F

2025-08-16 12:59:21, Error SP BFSVC: USE_EX_BINS flag is specified, but 2023 cert is not in db

2025-08-16 12:59:23, Error SP BFSVC: AddBootmgrLast and PreserveBootOrder options are ignored when custom volume is specified

2025-08-16 13:02:33, Error SP BFSVC: AddBootmgrLast and PreserveBootOrder options are ignored when custom volume is specified

2025-08-16 13:03:15, Error [SetupPlatform.exe] System disks found


Separate Error log from setupdiag:

Error: 0x8007007f-0x2000a SetupDiag reports rollback failure found.

Last Phase = Safe OS

Last Operation = Run sysprep specialization offline on F:$WINDOWS.~BT\NewOS

Error = 0x8007007F-0x2000A

LogEntry: 2025-08-14 20:34:00, Error DISM DISM Sysprep Provider: PID=1624 TID=860 Failed to run sysprep platform actions. - Specialize(hr:0x8007007f)

Refer to "https://docs.microsoft.com/en-us/windows/desktop/Debug/system-error-codes" for error information.

Last Setup Phase:

Phase Name: Safe OS

Phase Started: 14.8.2025 20.21.23

Phase Ended: 1.1.0001 0.00.00

Phase Time Delta: 00:00:00

Completed Successfully? False
Last Setup Operation:

Operation Name: Run sysprep specialization offline on F:\$WINDOWS.~BT\NewOS

Operation Started: 14.8.2025 20.33.57

Operation Ended: 1.1.0001 0.00.00

Operation Time Delta: 0:00:00:00.0000000

Completed Successfully? False

Windows for home | Windows 11 | Install and upgrade
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Ramesh Srinivasan 173.7K Reputation points Volunteer Moderator
    2025-08-16T13:16:24.24+00:00

    Looks like C:\Windows\system32\WSManMigrationPlugin.dll is missing.

    From admin Command Prompt, run these two commands:

    dism /online /cleanup-image /restorehealth
    
    sfc /scannow
    

    Once done, share the two most recent CBS logs from the following folder:

    c:\windows\logs\cbs
    

    Zip the files and share the archive on OneDrive.


  2. Ramesh Srinivasan 173.7K Reputation points Volunteer Moderator
    2025-08-17T07:36:15.8266667+00:00

    The DLL is intact. I'd delete the following folders and re-run the Windows 11 setup.

    C:\$WINDOWS.~BT
    
    C:\$WINDOWS.~WS
    
    C:\ESD
    

    Additional note

    Here are some suggestions before attempting the in-place upgrade.

    Step 1: Enable Memory Integrity

    Go to Windows SecurityDevice securityCore isolation detailsMemory integrity.

    If it shows any incompatible drivers, post the screenshot here.

    Step 2: Turn off 3rd party services

    To avoid third-party software interference, perform a clean boot on the system before running the setup. A clean boot is a process of starting Windows without loading any third-party applications or services. For more information, please refer to the Microsoft article.

    How to perform a clean boot in Windows - Microsoft Support

    IMPORTANT: Step 3 in the above link is very important. You need first to enable "Hide all Microsoft Services" before clicking "Disable all".

    Step 3: Uninstall third-party antivirus

    Uninstall third-party antivirus software if installed; you can reinstall it after the upgrade. After uninstalling it, restart Windows.

    Step 4: Check for Feature update safeguard holds

    It's a good idea to check for gated blocks before upgrading the OS.

    Open admin Command Prompt and run these two commands:

    CompatTelRunner.exe -m:appraiser.dll -f:DoScheduledTelemetryRun
    

    After the above command completes, run the following:

    schtasks.exe /Run /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
    

    After three minutes, run the following command:

    REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TargetVersionUpgradeExperienceIndicators" /s
    

    Copy the output of the last command and post the output here.


  3. Ramesh Srinivasan 173.7K Reputation points Volunteer Moderator
    2025-08-17T09:36:59.8966667+00:00

    Please do the following:

    1] Backup the registry using Acelogix Regbak.


    2] Run the fixlist below.

    • Download fixlist.txt
    • Save Fixlist.txt to the same folder as FRST64.exe.
    • Close all programs.
    • Launch the Farbar Scanner tool and click "Fix".
    • Restart Windows when prompted.
    • Upload the output log file (FixLog.txt) to your OneDrive.

    NOTE: The fixlist.txt script was written specifically for this user and for use on that particular machine. It is not recommended to run it on another machine, and don't run the same fixlist.txt more than once.

    *The fixlist removes some outdated drivers and refreshes the 24H2 compatibility assessment.


  4. Miko 0 Reputation points
    2025-08-17T13:33:52.23+00:00

    All went well. Here is the fixlog: https://1drv.ms/t/c/de9e7dfaec14f2ef/EY3hpYsLhmBIkydlTypjEw0BPoDuDzDwPO_U_-y1dlKKFw?e=JFP8BaCore isolation memory integrity is now on. I will continue with the steps 2 and 3. Tomorrow. By the way, does it matter whether I do the Windows 11 upgrade via the installation assistant or the windows update tab built-in? The former is somewhat more reliable, right?

    Capture_core_isolation

    0 comments No comments

  5. Ramesh Srinivasan 173.7K Reputation points Volunteer Moderator
    2025-08-17T13:38:57.8666667+00:00

    Great. It ran well. IMO, the ISO is better because you can use it for subsequent installation attempts without needing to download the whole package (5 GB) again.


    Hope everything goes well. In case the setup doesn't succeed, we may need to remove one or more drivers (depending upon the error code reported), but in a phased manner.


    For now, you can leave Avast as it is. Unless it creates problems during the setup, it can be there.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.