Getting an error: 0x80070005 when trying to install Microsoft Visual C++ 2015-2019 14.28.29325

lettucedoctor2 1 Reputation point
2020-12-23T21:29:37.947+00:00

It keeps giving me access denied. I've ran it as admin and i've logged into the built in admin account and still get access denied when i try installing it from there. Ive tried to uninstall all older versions but i get access denied when trying to uninstall anything past the 2012 one. windows is up to date as well. anyone have any idea whats going on ? Would very much appreciate the help, thanks!

edit: i tried using SubInAcl and still no luck, turned off firewall and malwarebytes but still nothing.

log:
[21EC:2F8C][2020-12-23T12:54:37]i001: Burn v3.10.4.4718, Windows v10.0 (Build 18362: Service Pack 0), path: C:\Users\yyyyyy~1\AppData\Local\Temp{CC4E5B2B-7355-4585-8C54-859CD6637242}.cr\VC_redist.x86.exe [21EC:2F8C][2020-12-23T12:54:37]i009: Command Line: '"-burn.clean.room=C:\Users\yyyyyy\Downloads\VC_redist.x86.exe" -burn.filehandle.attached=644 -burn.filehandle.self=640' [21EC:2F8C][2020-12-23T12:54:37]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\yyyyyy\Downloads\VC_redist.x86.exe' [21EC:2F8C][2020-12-23T12:54:37]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\yyyyyy\Downloads\' [21EC:2F8C][2020-12-23T12:54:37]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\yyyyyy~1\AppData\Local\Temp\dd_vcredist_x86_20201223125437.log' [21EC:2F8C][2020-12-23T12:54:37]w055: Could not load or read state file: C:\ProgramData\Package Cache{d7a6435f-ac9a-4af6-8fdc-ca130d13fac9}\state.rsm, error: 0x80070002. [21EC:2F8C][2020-12-23T12:54:37]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29325' [21EC:2F8C][2020-12-23T12:54:37]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation' [21EC:0C3C][2020-12-23T12:54:37]i000: Setting version variable 'WixBundleFileVersion' to value '14.28.29325.2' [21EC:2F8C][2020-12-23T12:54:37]i100: Detect begin, 10 packages [21EC:2F8C][2020-12-23T12:54:37]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.18362.815' [21EC:2F8C][2020-12-23T12:54:37]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1 [21EC:2F8C][2020-12-23T12:54:37]i102: Detected related bundle: {e31cb1a4-76b5-46a5-a084-3fa419e82201}, type: Upgrade, scope: PerMachine, version: 14.24.28127.4, operation: MajorUpgrade [21EC:2F8C][2020-12-23T12:54:37]i102: Detected related bundle: {ec9c2282-a836-48a6-9e41-c2f0bf8d678b}, type: Upgrade, scope: PerMachine, version: 14.14.26405.0, operation: MajorUpgrade [21EC:2F8C][2020-12-23T12:54:37]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false. [21EC:2F8C][2020-12-23T12:54:37]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false. [21EC:2F8C][2020-12-23T12:54:37]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false. [21EC:2F8C][2020-12-23T12:54:37]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false. [21EC:2F8C][2020-12-23T12:54:37]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false. [21EC:2F8C][2020-12-23T12:54:37]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false. [21EC:2F8C][2020-12-23T12:54:37]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false. [21EC:2F8C][2020-12-23T12:54:37]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false. [21EC:2F8C][2020-12-23T12:54:37]i103: Detected related package: {644544A0-318A-344C-964C-4DBE2FB5F864}, scope: PerMachine, version: 14.14.26405.0, language: 0 operation: MajorUpgrade [21EC:2F8C][2020-12-23T12:54:37]i103: Detected related package: {2BCACFA1-2BE1-373C-9051-76A9661D9FC4}, scope: PerMachine, version: 14.14.26405.0, language: 0 operation: MajorUpgrade [21EC:2F8C][2020-12-23T12:54:37]i101: Detected package: Windows81_x86, state: Absent, cached: None [21EC:2F8C][2020-12-23T12:54:37]i101: Detected package: Windows81_x64, state: Absent, cached: None [21EC:2F8C][2020-12-23T12:54:37]i101: Detected package: Windows8_x86, state: Absent, cached: None [21EC:2F8C][2020-12-23T12:54:37]i101: Detected package: Windows8_x64, state: Absent, cached: None [21EC:2F8C][2020-12-23T12:54:37]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None [21EC:2F8C][2020-12-23T12:54:37]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None [21EC:2F8C][2020-12-23T12:54:37]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None [21EC:2F8C][2020-12-23T12:54:37]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None [21EC:2F8C][2020-12-23T12:54:37]i101: Detected package: vcRuntimeMinimum_x86, state: Absent, cached: None [21EC:2F8C][2020-12-23T12:54:37]i101: Detected package: vcRuntimeAdditional_x86, state: Absent, cached: None [21EC:2F8C][2020-12-23T12:54:37]i052: Condition 'VersionNT >= v6.0 OR (VersionNT = v5.1 AND ServicePackLevel >= 2) OR (VersionNT = v5.2 AND ServicePackLevel >= 1)' evaluates to true. [21EC:2F8C][2020-12-23T12:54:37]i199: Detect complete, result: 0x0 [21EC:0C3C][2020-12-23T12:54:38]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1 [21EC:2F8C][2020-12-23T12:54:38]i200: Plan begin, 10 packages, action: Install [21EC:2F8C][2020-12-23T12:54:38]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false. [21EC:2F8C][2020-12-23T12:54:38]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86 [21EC:2F8C][2020-12-23T12:54:38]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false. [21EC:2F8C][2020-12-23T12:54:38]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64 [21EC:2F8C][2020-12-23T12:54:38]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false. [21EC:2F8C][2020-12-23T12:54:38]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86 [21EC:2F8C][2020-12-23T12:54:38]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false. [21EC:2F8C][2020-12-23T12:54:38]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64 [21EC:2F8C][2020-12-23T12:54:38]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false. [21EC:2F8C][2020-12-23T12:54:38]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86 [21EC:2F8C][2020-12-23T12:54:38]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false. [21EC:2F8C][2020-12-23T12:54:38]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64 [21EC:2F8C][2020-12-23T12:54:38]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false. [21EC:2F8C][2020-12-23T12:54:38]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86 [21EC:2F8C][2020-12-23T12:54:38]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false. [21EC:2F8C][2020-12-23T12:54:38]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64 [21EC:2F8C][2020-12-23T12:54:38]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x86' to value 'C:\Users\yyyyyy~1\AppData\Local\Temp\dd_vcredist_x86_20201223125437_000_vcRuntimeMinimum_x86_rollback.log' [21EC:2F8C][2020-12-23T12:54:38]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x86' to value 'C:\Users\yyyyyy~1\AppData\Local\Temp\dd_vcredist_x86_20201223125437_000_vcRuntimeMinimum_x86.log' [21EC:2F8C][2020-12-23T12:54:38]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x86' to value 'C:\Users\yyyyy~1\AppData\Local\Temp\dd_vcredist_x86_20201223125437_001_vcRuntimeAdditional_x86_rollback.log' [21EC:2F8C][2020-12-23T12:54:38]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x86' to value 'C:\Users\yyyyyy~1\AppData\Local\Temp\dd_vcredist_x86_20201223125437_001_vcRuntimeAdditional_x86.log' [21EC:2F8C][2020-12-23T12:54:38]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [21EC:2F8C][2020-12-23T12:54:38]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [21EC:2F8C][2020-12-23T12:54:38]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [21EC:2F8C][2020-12-23T12:54:38]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [21EC:2F8C][2020-12-23T12:54:38]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [21EC:2F8C][2020-12-23T12:54:38]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [21EC:2F8C][2020-12-23T12:54:38]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [21EC:2F8C][2020-12-23T12:54:38]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [21EC:2F8C][2020-12-23T12:54:38]i201: Planned package: vcRuntimeMinimum_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register [21EC:2F8C][2020-12-23T12:54:38]i201: Planned package: vcRuntimeAdditional_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register [21EC:2F8C][2020-12-23T12:54:38]i207: Planned related bundle: {e31cb1a4-76b5-46a5-a084-3fa419e82201}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None [21EC:2F8C][2020-12-23T12:54:38]i207: Planned related bundle: {ec9c2282-a836-48a6-9e41-c2f0bf8d678b}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None [21EC:2F8C][2020-12-23T12:54:38]i299: Plan complete, result: 0x0 [21EC:2F8C][2020-12-23T12:54:38]i300: Apply begin [21EC:2F8C][2020-12-23T12:54:38]i010: Launching elevated engine process. [21EC:2F8C][2020-12-23T12:54:39]i011: Launched elevated engine process. [21EC:2F8C][2020-12-23T12:54:40]i012: Connected to elevated engine. [2D34:2F50][2020-12-23T12:54:40]i358: Pausing automatic updates. [2D34:2F50][2020-12-23T12:54:40]i359: Paused automatic updates. [2D34:2F50][2020-12-23T12:54:40]i360: Creating a system restore point. [2D34:2F50][2020-12-23T12:54:40]i361: Created a system restore point. [2D34:2F50][2020-12-23T12:54:40]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{d7a6435f-ac9a-4af6-8fdc-ca130d13fac9}, options: 0x4, disable resume: No [2D34:2F50][2020-12-23T12:54:40]i320: Registering bundle dependency provider: VC,redist.x86,x86,14.28,bundle, version: 14.28.29325.2 [2D34:2F50][2020-12-23T12:54:40]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{d7a6435f-ac9a-4af6-8fdc-ca130d13fac9}, resume: Active, restart initiated: No, disable resume: No [2D34:2F50][2020-12-23T12:54:40]e000: Error 0x80070005: Failed to write run key value. [2D34:2F50][2020-12-23T12:54:40]e000: Error 0x80070005: Failed to update resume mode. [2D34:2F50][2020-12-23T12:54:40]e000: Error 0x80070005: Failed to begin registration session. [21EC:2F8C][2020-12-23T12:54:40]e000: Error 0x80070005: Failed to begin registration session in per-machine process. [21EC:2F8C][2020-12-23T12:54:40]e000: Error 0x80070005: Failed to register bundle. [21EC:2F8C][2020-12-23T12:54:40]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart: No

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,760 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,050 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
    2020-12-24T04:10:38.49+00:00

    Hi @lettucedoctor2 ,

    Thank you for reporting it in Microsoft Q&A.

    From looking at your log, I found another error message: Could not load or read state file: C:\ProgramData\Package Cache{d7a6435f-ac9a-4af6-8fdc-ca130d13fac9}\state.rsm, error: 0x80070002.

    Please check if you have necessary permissions to C:\ProgramData\Package Cache and C:\Users\Temp. The necessary permissions are as follows:
    Administrators group: Full access
    SYSTEM account: Full access
    Everyone group: Read & Execute
    Users group: Read & Execute

    Do you have specialized anti-virus, app-blocker, or GPO phased permission software installed that maybe be denying access to this location?
    If so, please temporarily disable them and re-run the VC_redist.exe as administrator.

    Sincerely,
    Anna

    • If the answer 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.

Your answer

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