win10 0x8007042b 安装1803更新 失败 竟然是sougou 搜狗拼音 输入法的问题,。。。

win10 0x8007042b 安装1803更新 失败

怀着兴奋的心情安装最新的win10推送,,,不了, 好不容易要重启更新了,整整花费1小时后,忽然发现安装回滚了,正在恢复到以前的版本,那个纳闷啊,于是收到一个安装错误提示:

0x8007042b 安装失败

不服,继续安装连续8次还是这个错误,
360也卸载了,其他都卸载了,各种卸载,依然还是 0x8007042b 安装失败

蛋疼!

所以去微软官方查了查,细细察看找到了解决方案:
https://docs.microsoft.com/zh-cn/windows/deployment/upgrade/resolve-windows-10-upgrade-errors#upgrade-error-codes

例如,假设错误的错误代码是 0x8007042B - 0x2000D。 从 setuperr.log 文件中搜索“8007042B”将显示以下内容:
缩短以下文本中的几行以增强可读性。 将每一行开头的日期和时间(例如 2016-10-05 15:27:08)缩短到分钟和秒钟,将较长文本字符串的证书文件名缩短到“CN”。

setuperr.log 内容:
27:08, Error           SP     Error READ, 0x00000570 while gathering/applying object: File, C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN]. Will return 0[gle=0x00000570]
27:08, Error           MIG    Error 1392 while gathering object C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN]. Shell application requested abort![gle=0x00000570]
27:08, Error                  Gather failed. Last error: 0x00000000
27:08, Error           SP     SPDoFrameworkGather: Gather operation failed. Error: 0x0000002C
27:09, Error           SP     CMigrateFramework: Gather framework failed. Status: 44
27:09, Error           SP     Operation failed: Migrate framework (Full). Error: 0x8007042B[gle=0x000000b7]
27:09, Error           SP     Operation execution failed: 13. hr = 0x8007042B[gle=0x000000b7]
27:09, Error           SP     CSetupPlatformPrivate::Execute: Execution of operations queue failed, abandoning. Error: 0x8007042B[gle=0x000000b7]
第一行指示文件 C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN] 中有错误 0x00000570(如下所示):
27:08, Error           SP     Error READ, 0x00000570 while gathering/applying object: File, C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN]. Will return 0[gle=0x00000570]
错误 0x00000570 是 Win32 错误代码,对应于:ERROR_FILE_CORRUPT:文件或目录已损坏,无法读取。
因此,Windows 安装程序会失败,因为它无法迁移损坏的文件 C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18[CN]。 此文件是本地系统证书,可以安全删除。 在 setupact.log 文件中搜索其他详细信息,在与 setuperr.log 中的行具有相同时间戳的位置中找到了阶段“Shell application requested abort”。 我们怀疑此文件导致升级失败,上述内容证实了这一点:

Setupact.log 内容:
27:00, Info                   Gather started at 10/5/2016 23:27:00
27:00, Info [0x080489] MIG    Setting system object filter context (System)
27:00, Info [0x0803e5] MIG    Not unmapping HKCU\Software\Classes; it is not mapped
27:00, Info [0x0803e5] MIG    Not unmapping HKCU; it is not mapped
27:00, Info            SP     ExecuteProgress: Elapsed events:1 of 4, Percent: 12
27:00, Info [0x0802c6] MIG    Processing GATHER for migration unit: \UpgradeFramework (CMXEAgent)
27:08, Error           SP     Error READ, 0x00000570 while gathering/applying object: File, C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN]. Will return 0[gle=0x00000570]
27:08, Error           MIG    Error 1392 while gathering object C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN]. Shell application requested abort![gle=0x00000570]
27:08, Info            SP     ExecuteProgress: Elapsed events:2 of 4, Percent: 25
27:08, Info            SP     ExecuteProgress: Elapsed events:3 of 4, Percent: 37
27:08, Info [0x080489] MIG    Setting system object filter context (System)
27:08, Info [0x0803e5] MIG    Not unmapping HKCU\Software\Classes; it is not mapped
27:08, Info [0x0803e5] MIG    Not unmapping HKCU; it is not mapped
27:08, Info            MIG    COutOfProcPluginFactory::FreeSurrogateHost: Shutdown in progress.
27:08, Info            MIG    COutOfProcPluginFactory::LaunchSurrogateHost::CommandLine: -shortened-
27:08, Info            MIG    COutOfProcPluginFactory::LaunchSurrogateHost: Successfully launched host and got control object.
27:08, Error                  Gather failed. Last error: 0x00000000
27:08, Info                   Gather ended at 10/5/2016 23:27:08 with result 44
27:08, Info                   Leaving MigGather method
27:08, Error           SP     SPDoFrameworkGather: Gather operation failed. Error: 0x0000002C

此分析表明,通过删除 C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18[CN] 文件可解决 Windows 升级错误。 注意:在此示例中,未缩短的完整文件名是 C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18\be8228fb2d3cb6c6b0ccd9ad51b320b4_a43d512c-69f2-42de-aef9-7a88fabdaa3f。

就是说通过setuperr.log 这个文件能找到错误原因,于是用 “everything.exe” 全能搜索,直接搜索查看得到如下内容:

 [SetupPlatform.exe] winreHashWimFile: Failed to hash [C:\WINDOWS\System32\Recovery]: 0x5
2018-06-14 12:03:46, Error      [0x080831] MIG    CSIAgent: Invalid xml format: FormatException: Component with display name: Plugin/{C939EC0F-2F56-4CE8-AF56-2336596A5FA7} already loaded __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *)
2018-06-14 12:04:24, Error                 SP     Error WRITE, 0x00000055 while gathering/applying object: File, C:\Users\Administrator\AppData\LocalLow\SogouPY\Popup [config.ini]. Will return 0[gle=0x00000003]
2018-06-14 12:04:24, Error                 MIG    Error 85 while applying object C:\Users\Administrator\AppData\LocalLow\SogouPY\Popup [config.ini]. Shell application requested abort[gle=0x00000003]
2018-06-14 12:04:24, Error      [0x08097b] MIG    Abandoning apply due to error for object: C:\Users\Administrator\AppData\LocalLow\SogouPY\Popup [config.ini][gle=0x00000003]
2018-06-14 12:04:24, Error                        Apply failed. Last error: 0x00000000
2018-06-14 12:04:24, Error                 SP     pSPExecuteApply: Apply operation failed. Error: 0x0000002C
2018-06-14 12:04:24, Error                 SP     Apply: Migration phase failed. Result: 44
2018-06-14 12:04:24, Error                 SP     Operation failed: First boot apply. Error: 0x8007042B[gle=0x000000b7]
2018-06-14 12:04:24, Error                 SP     Operation execution failed: 13. hr = 0x8007042B
2018-06-14 12:04:24, Error                 SP     ExecuteOperations: Failed execution phase Post First Boot. Error: 0x8007042B
2018-06-14 12:04:24, Error                 SP     Operation execution failed.
2018-06-14 12:04:24, Error                 SP     CSetupPlatformPrivate::Execute: Failed to deserialize/execute post-FirstBoot operations. Error: 0x8007042B

**

error SogouPY 这就是搜狗拼音 的问题了,于是卸载了它,彻底清除了,

**

再次实验,安装成功
问题解决!完美收关!

还有一个问题就是:wireless驱动,也就是无线网卡驱动,我无线网卡没有插,所以检测不到驱动更新;在没有卸载无线网卡驱动前,是安装失败的,卸载以后立马就安装好了!

  • 3
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值