Microsoft Visual C++2013 Redistributable(X86) 安装失败 0x80070005-拒绝访问

问题

2019年6月27日星期四 上午7:02

我电脑上有六个版本的Microsoft Visual C;;运行库,有2013,2012和2017的64位和32位版本,在控制面板卸载任意一个都会提示0x80070005-拒绝访问 的错误。

错误日志如下:

[19D8:1C64][2019-06-27T14:49:53]i001: Burn v3.7.3424.0, Windows v10.0 (Build 17134: Service Pack 0), path: C:\ProgramData\Package Cache\61087a79-ac85-455c-934d-1fa22cc64f36}\vcredist_x86.exe, cmdline: '/uninstall -burn.unelevated BurnPipe.{BB42DA8E-CBCE-461F-9EBD-88ED8F922AC0} {CF8DE357-2A4D-44EC-855F-F14E85D34E6D} 13824'
[19D8:1C64][2019-06-27T14:49:53]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\zbin\AppData\Local\Temp\dd_vcredist_x86_20190627144953.log'
[19D8:1C64][2019-06-27T14:49:54]i100: Detect begin, 2 packages
[19D8:1C64][2019-06-27T14:49:54]i101: Detected package: vcRuntimeMinimum_x86, state: Absent, cached: Complete
[19D8:1C64][2019-06-27T14:49:54]i101: Detected package: vcRuntimeAdditional_x86, state: Absent, cached: Complete
[19D8:1C64][2019-06-27T14:49:54]i052: Condition 'VersionNT >= v6.0 OR (VersionNT = v5.1 AND ServicePackLevel >= 2) OR (VersionNT = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[19D8:1C64][2019-06-27T14:49:54]i199: Detect complete, result: 0x0
[19D8:1C64][2019-06-27T14:49:56]i200: Plan begin, 2 packages, action: Uninstall
[19D8:1C64][2019-06-27T14:49:56]i201: Planned package: vcRuntimeAdditional_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: Unregister
[19D8:1C64][2019-06-27T14:49:56]i201: Planned package: vcRuntimeMinimum_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: Unregister
[19D8:1C64][2019-06-27T14:49:56]i299: Plan complete, result: 0x0
[19D8:1C64][2019-06-27T14:49:56]i300: Apply begin
[3600:1188][2019-06-27T14:49:56]i360: Creating a system restore point.
[3600:1188][2019-06-27T14:49:56]i361: Created a system restore point.
[3600:1188][2019-06-27T14:49:56]e000: Error 0x80070005: Failed to open registration key.
[3600:1188][2019-06-27T14:49:56]e000: Error 0x80070005: Failed to suspend registration session.
[19D8:1C64][2019-06-27T14:49:56]e000: Error 0x80070005: Failed to resume registration session in per-machine process.
[19D8:1C64][2019-06-27T14:49:56]e000: Error 0x80070005: Failed to register bundle.
[19D8:1C64][2019-06-27T14:49:56]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart:  No

subinacl工具也设置过了权限,仍然无法删除

全部回复 (1)

2019年6月27日星期四 上午8:47

你好,

根据您的描述,80070005 拒绝访问通常都是因为设置了错误的安全防护权限或文件注册表访问权限导致系统文件无法正常升级。当安装Visual C;;的时候安装文件会写入一些注册表或者文件夹,当没有权限访问无法写入的时候,就会提示安装错误。请尝试通过 MSCONFIG.EXE 选择最小运行方式启动,排除所有第三方程序的影响,看看能否卸载成功。

https://support.microsoft.com/zh-cn/help/929135/how-to-perform-a-clean-boot-in-windows

第二可以先下载Microsoft Visual C;;2012 Redistributable(X86)的安装包,然后断开网络,进行一下离线卸载是否可以。

如果还是有问题,那么我想您需要使用process monitor这个工具来抓一下卸载过程中的过程,看是访问哪个注册表或者文件夹出现了权限的问题,然后重新给予权限。下方是process monitor的下载地址。

/en-us/sysinternals/downloads/procmon

希望对您有帮助,如果回答是有帮助的, 请将其标记为答案, 可以帮助其他有相同问题的社区成员, 并快速找到有用的答复。

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.