error ACCES DENIED when installing microsoft C++ runtime 2015

VRW 20 Reputation points
2023-01-31T15:08:06.06+00:00

I have a problem when I want to install the Microsoft C++ Runtime 2015 application, the problem is when I'm in setup it says error 0x80070005: Access Denied.

here is the logfile:

[0D60:0B80][2023-01-31T21:37:26]i001: Burn v3.10.4.4718, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Windows\Temp{B307784E-4537-45A2-9A3A-FE912593DBC8}.cr\VC_redist.x64.exe

[0D60:0B80][2023-01-31T21:37:26]i009: Command Line: '-burn.clean.room=C:\Users\USER\Downloads\VC_redist.x64.exe -burn.filehandle.attached=296 -burn.filehandle.self=304'

[0D60:0B80][2023-01-31T21:37:26]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\USER\Downloads\VC_redist.x64.exe'

[0D60:0B80][2023-01-31T21:37:26]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\USER\Downloads'

[0D60:0B80][2023-01-31T21:37:27]i000: Setting string variable 'WixBundleLog' to value 'C:\temp\dd_vcredist_amd64_20230131213727.log'

[0D60:0B80][2023-01-31T21:37:27]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.34.31931'

[0D60:0B80][2023-01-31T21:37:27]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'

[0D60:1244][2023-01-31T21:37:27]i000: Setting version variable 'WixBundleFileVersion' to value '14.34.31931.0'

[0D60:0B80][2023-01-31T21:37:27]i100: Detect begin, 11 packages

[0D60:0B80][2023-01-31T21:37:27]i000: Setting string variable 'Arm64_Check' to value 'AMD64'

[0D60:0B80][2023-01-31T21:37:27]i000: File search: windows_uCRT_DetectKey, did not find path: C:\Windows\system32\ucrtbase.dll

[0D60:0B80][2023-01-31T21:37:27]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\ucrtbase.dll

[0D60:0B80][2023-01-31T21:37:27]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0

[0D60:0B80][2023-01-31T21:37:27]e000: Error 0x80070003: Failed to get size of pseudo bundle: C:\ProgramData\Package Cache{e46eca4f-393b-40df-9f49-076faf788d83}\VC_redist.x64.exe

[0D60:0B80][2023-01-31T21:37:27]e000: Error 0x80070003: Failed to initialize package from related bundle id: {e46eca4f-393b-40df-9f49-076faf788d83}

[0D60:0B80][2023-01-31T21:37:27]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0D60:0B80][2023-01-31T21:37:27]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0D60:0B80][2023-01-31T21:37:27]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0D60:0B80][2023-01-31T21:37:27]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0D60:0B80][2023-01-31T21:37:27]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0D60:0B80][2023-01-31T21:37:27]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0D60:0B80][2023-01-31T21:37:27]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0D60:0B80][2023-01-31T21:37:27]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.

[0D60:0B80][2023-01-31T21:37:27]i103: Detected related package: {0D3E9E15-DE7A-300B-96F1-B4AF12B96488}, scope: PerMachine, version: 14.0.23026.0, language: 0 operation: MajorUpgrade

[0D60:0B80][2023-01-31T21:37:27]i103: Detected related package: {BC958BD2-5DAC-3862-BB1A-C1BE0790438D}, scope: PerMachine, version: 14.0.23026.0, language: 0 operation: MajorUpgrade

[0D60:0B80][2023-01-31T21:37:27]i103: Detected related package: {0D3E9E15-DE7A-300B-96F1-B4AF12B96488}, scope: PerMachine, version: 14.0.23026.0, language: 0 operation: MajorUpgrade

[0D60:0B80][2023-01-31T21:37:27]i103: Detected related package: {BC958BD2-5DAC-3862-BB1A-C1BE0790438D}, scope: PerMachine, version: 14.0.23026.0, language: 0 operation: MajorUpgrade

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: Windows81_x86, state: Absent, cached: None

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: Windows81_x64, state: Absent, cached: Complete

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: Windows8_x86, state: Absent, cached: None

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: Windows8_x64, state: Absent, cached: None

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: Complete

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: Complete

[0D60:0B80][2023-01-31T21:37:27]i101: Detected package: vcRuntime_arm64, state: Absent, cached: None

[0D60:0B80][2023-01-31T21:37:27]i052: Condition 'VersionNT >= v6.1' evaluates to true.

[0D60:0B80][2023-01-31T21:37:27]i199: Detect complete, result: 0x0

[0D60:1244][2023-01-31T21:37:33]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1

[0D60:0B80][2023-01-31T21:37:33]i200: Plan begin, 11 packages, action: Install

[0D60:0B80][2023-01-31T21:37:33]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.

[0D60:0B80][2023-01-31T21:37:33]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86

[0D60:0B80][2023-01-31T21:37:33]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to true.

[0D60:0B80][2023-01-31T21:37:33]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64

[0D60:0B80][2023-01-31T21:37:33]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.

[0D60:0B80][2023-01-31T21:37:33]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86

[0D60:0B80][2023-01-31T21:37:33]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.

[0D60:0B80][2023-01-31T21:37:33]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64

[0D60:0B80][2023-01-31T21:37:33]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.

[0D60:0B80][2023-01-31T21:37:33]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86

[0D60:0B80][2023-01-31T21:37:33]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.

[0D60:0B80][2023-01-31T21:37:33]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64

[0D60:0B80][2023-01-31T21:37:33]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.

[0D60:0B80][2023-01-31T21:37:33]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86

[0D60:0B80][2023-01-31T21:37:33]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.

[0D60:0B80][2023-01-31T21:37:33]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64

[0D60:0B80][2023-01-31T21:37:33]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.

[0D60:0B80][2023-01-31T21:37:33]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\temp\dd_vcredist_amd64_20230131213727_001_vcRuntimeMinimum_x64_rollback.log'

[0D60:0B80][2023-01-31T21:37:33]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\temp\dd_vcredist_amd64_20230131213727_001_vcRuntimeMinimum_x64.log'

[0D60:0B80][2023-01-31T21:37:33]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.

[0D60:0B80][2023-01-31T21:37:33]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\temp\dd_vcredist_amd64_20230131213727_002_vcRuntimeAdditional_x64_rollback.log'

[0D60:0B80][2023-01-31T21:37:33]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\temp\dd_vcredist_amd64_20230131213727_002_vcRuntimeAdditional_x64.log'

[0D60:0B80][2023-01-31T21:37:33]i052: Condition 'Arm64_Check = "ARM64"' evaluates to false.

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: Windows81_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register

[0D60:0B80][2023-01-31T21:37:33]i201: Planned package: vcRuntime_arm64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[0D60:0B80][2023-01-31T21:37:33]i299: Plan complete, result: 0x0

[0D60:0B80][2023-01-31T21:37:33]i300: Apply begin

[0D60:0B80][2023-01-31T21:37:33]i010: Launching elevated engine process.

[0D60:0B80][2023-01-31T21:37:33]i011: Launched elevated engine process.

[0D60:0B80][2023-01-31T21:37:34]i012: Connected to elevated engine.

[0EE4:0C80][2023-01-31T21:37:34]e000: Error 0x80070003: Failed to get size of pseudo bundle: C:\ProgramData\Package Cache{e46eca4f-393b-40df-9f49-076faf788d83}\VC_redist.x64.exe

[0EE4:0C80][2023-01-31T21:37:34]e000: Error 0x80070003: Failed to initialize package from related bundle id: {e46eca4f-393b-40df-9f49-076faf788d83}

[0EE4:0C80][2023-01-31T21:37:34]i358: Pausing automatic updates.

[0EE4:0C80][2023-01-31T21:37:40]w308: Automatic updates could not be paused due to error: 0x80070422. Continuing...

[0EE4:0C80][2023-01-31T21:37:40]i360: Creating a system restore point.

[0EE4:0C80][2023-01-31T21:37:42]i361: Created a system restore point.

[0EE4:0C80][2023-01-31T21:37:42]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{d4cecf3b-b68f-4995-8840-52ea0fab646e}, options: 0x7, disable resume: No

[0EE4:0C80][2023-01-31T21:37:42]i000: Caching bundle from: 'C:\Windows\Temp{C65F7C42-46D6-400B-BD81-5C65CD33A825}.be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache{d4cecf3b-b68f-4995-8840-52ea0fab646e}\VC_redist.x64.exe'

[0EE4:0C80][2023-01-31T21:37:42]i320: Registering bundle dependency provider: VC,redist.x64,amd64,14.34,bundle, version: 14.34.31931.0

[0EE4:0C80][2023-01-31T21:37:42]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{d4cecf3b-b68f-4995-8840-52ea0fab646e}, resume: Active, restart initiated: No, disable resume: No

[0EE4:131C][2023-01-31T21:37:42]i304: Verified existing payload: Windows81_x64 at path: C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu.

[0EE4:131C][2023-01-31T21:37:42]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache{CF4C347D-954E-4543-88D2-EC17F07F466F}v14.34.31931\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.

[0EE4:131C][2023-01-31T21:37:42]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache{CF4C347D-954E-4543-88D2-EC17F07F466F}v14.34.31931\packages\vcRuntimeMinimum_amd64\cab1.cab.

[0EE4:131C][2023-01-31T21:37:42]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache{EAE242B1-0A26-485A-BFEB-0292EE9F03CB}v14.34.31931\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.

[0EE4:131C][2023-01-31T21:37:42]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache{EAE242B1-0A26-485A-BFEB-0292EE9F03CB}v14.34.31931\packages\vcRuntimeAdditional_amd64\cab1.cab.

[0EE4:0C80][2023-01-31T21:37:42]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\3ACBF3890FC9C8A6F3D2155ECF106028E5F55164\packages\Patch\x64\Windows8.1-KB2999226-x64.msu" /quiet /norestart'

[0EE4:0C80][2023-01-31T21:37:42]e000: Error 0x80070005: Failed to set service start type.

[0EE4:0C80][2023-01-31T21:37:42]e000: Error 0x80070005: Failed to mark WU service to start on demand.

[0EE4:0C80][2023-01-31T21:37:42]e000: Error 0x80070005: Failed to ensure WU service was enabled to install MSU package.

[0EE4:0C80][2023-01-31T21:37:42]e000: Error 0x80070005: Failed to execute MSU package.

[0D60:0B80][2023-01-31T21:37:42]e000: Error 0x80070005: Failed to configure per-machine MSU package.

[0D60:0B80][2023-01-31T21:37:42]i319: Applied execute package: Windows81_x64, result: 0x80070005, restart: None

[0D60:0B80][2023-01-31T21:37:42]e000: Error 0x80070005: Failed to execute MSU package.

[0EE4:0C80][2023-01-31T21:37:42]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{d4cecf3b-b68f-4995-8840-52ea0fab646e}, resume: None, restart: None, disable resume: No

[0EE4:0C80][2023-01-31T21:37:42]i330: Removed bundle dependency provider: VC,redist.x64,amd64,14.34,bundle

[0EE4:0C80][2023-01-31T21:37:42]i352: Removing cached bundle: {d4cecf3b-b68f-4995-8840-52ea0fab646e}, from path: C:\ProgramData\Package Cache{d4cecf3b-b68f-4995-8840-52ea0fab646e}\

[0EE4:0C80][2023-01-31T21:37:42]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{d4cecf3b-b68f-4995-8840-52ea0fab646e}, resume: None, restart initiated: No, disable resume: No

[0D60:0B80][2023-01-31T21:37:42]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart: No

please HELP ME

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2023-02-01T06:33:02.4633333+00:00

    Hello VRW,

    Welcome to Microsoft Q&A forum.

    Please also try following suggestions:

    1. Go to Settings > Windows Update > and update Windows. Install any pending updated Windows components and packages.
    2. Try to run Windows Update Troubleshooter to fix any Windows Update errors.
    3. If you are using any antivirus, please try to disable it temporarily and retry installation. If you are using any extension/proxy or your machine is included in any policy group, please try to communicate with your administrator.

    BTW, please kindly check this document: 0x80070005 - Access Denied.

    Feel free to let us know if any of above suggestions works.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Philippe Levesque 5,836 Reputation points
    2023-01-31T15:19:06.1533333+00:00

    Hi, please make sure Windows Update is working properly and is not disabled.

    As stated here; [0EE4:0C80][2023-01-31T21:37:42]e000: Error 0x80070005: Failed to mark WU service to start on demand.

    0 comments No comments

  2. VRW 20 Reputation points
    2023-02-01T10:42:48.9966667+00:00

    thank you everyone,i fix it its by the adimistration system and windows update

    0 comments No comments

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.