locked
Microsoft Visual C++ 0x80070005 - Access is denied RRS feed

  • Question

  • I cant install Microsoft Visual C++ couse of 0x80070005 error.

    I was googeling about 4 hours none of forms helped. So i made my own question.


    Here is log:

    [80E0:80E4][2014-12-01T22:07:27]i001: Burn v3.7.2002.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\nikita\Downloads\vcredist_x64 (7).exe, cmdline: ''
    [80E0:80E4][2014-12-01T22:07:27]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\nikita\AppData\Local\Temp\dd_vcredist_amd64_20141201220727.log'
    [80E0:80E4][2014-12-01T22:07:27]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\nikita\Downloads\vcredist_x64 (7).exe'
    [80E0:80E4][2014-12-01T22:07:27]w055: Could not load or read state file: C:\ProgramData\Package Cache\{51adbf11-493f-431c-a862-967a0fae2944}\state.rsm, error: 0x80070002.
    [80E0:80E4][2014-12-01T22:07:27]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.21005'
    [80E0:80E4][2014-12-01T22:07:27]i100: Detect begin, 2 packages
    [80E0:80E4][2014-12-01T22:07:27]i102: Detected related bundle: {2af972c7-13b0-4978-92a8-fee26a4fb4e9}, type: Upgrade, scope: PerMachine, version: 12.0.21005.1, operation: None
    [80E0:80E4][2014-12-01T22:07:27]i102: Detected related bundle: {7f51bdb9-ee21-49ee-94d6-90afc321780e}, type: Upgrade, scope: PerMachine, version: 12.0.21005.1, operation: None
    [80E0:80E4][2014-12-01T22:07:27]i102: Detected related bundle: {ce085a78-074e-4823-8dc1-8a721b94b76d}, type: Upgrade, scope: PerMachine, version: 12.0.21005.1, operation: None
    [80E0:80E4][2014-12-01T22:07:27]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: None
    [80E0:80E4][2014-12-01T22:07:27]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: None
    [80E0:80E4][2014-12-01T22:07:27]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
    [80E0:80E4][2014-12-01T22:07:27]i199: Detect complete, result: 0x0
    [80E0:80E4][2014-12-01T22:07:29]i200: Plan begin, 2 packages, action: Install
    [80E0:80E4][2014-12-01T22:07:29]i052: Condition 'VersionNT64' evaluates to true.
    [80E0:80E4][2014-12-01T22:07:29]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\nikita\AppData\Local\Temp\dd_vcredist_amd64_20141201220727_0_vcRuntimeMinimum_x64_rollback.log'
    [80E0:80E4][2014-12-01T22:07:29]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\nikita\AppData\Local\Temp\dd_vcredist_amd64_20141201220727_0_vcRuntimeMinimum_x64.log'
    [80E0:80E4][2014-12-01T22:07:29]i052: Condition 'VersionNT64' evaluates to true.
    [80E0:80E4][2014-12-01T22:07:29]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\nikita\AppData\Local\Temp\dd_vcredist_amd64_20141201220727_1_vcRuntimeAdditional_x64_rollback.log'
    [80E0:80E4][2014-12-01T22:07:29]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\nikita\AppData\Local\Temp\dd_vcredist_amd64_20141201220727_1_vcRuntimeAdditional_x64.log'
    [80E0:80E4][2014-12-01T22:07:29]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
    [80E0:80E4][2014-12-01T22:07:29]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
    [80E0:80E4][2014-12-01T22:07:29]i207: Planned related bundle: {2af972c7-13b0-4978-92a8-fee26a4fb4e9}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None
    [80E0:80E4][2014-12-01T22:07:29]i207: Planned related bundle: {7f51bdb9-ee21-49ee-94d6-90afc321780e}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None
    [80E0:80E4][2014-12-01T22:07:29]i207: Planned related bundle: {ce085a78-074e-4823-8dc1-8a721b94b76d}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None
    [80E0:80E4][2014-12-01T22:07:29]i299: Plan complete, result: 0x0
    [80E0:80E4][2014-12-01T22:07:29]i300: Apply begin
    [81F8:81FC][2014-12-01T22:07:30]i360: Creating a system restore point.
    [81F8:81FC][2014-12-01T22:08:12]i361: Created a system restore point.
    [81F8:81FC][2014-12-01T22:08:12]i320: Registering bundle dependency provider: {51adbf11-493f-431c-a862-967a0fae2944}, version: 12.0.21005.1
    [81F8:81FC][2014-12-01T22:08:12]e000: Error 0x80070005: Failed to write run key value.
    [81F8:81FC][2014-12-01T22:08:12]e000: Error 0x80070005: Failed to update resume mode.
    [81F8:81FC][2014-12-01T22:08:12]e000: Error 0x80070005: Failed to begin registration session.
    [80E0:80E4][2014-12-01T22:08:12]e000: Error 0x80070005: Failed to begin registration session in per-machine process.
    [80E0:80E4][2014-12-01T22:08:12]e000: Error 0x80070005: Failed to register bundle.
    [80E0:80E4][2014-12-01T22:08:12]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart:  No

    sorry for bad english
    Monday, December 1, 2014 9:21 PM

Answers

All replies

  • Hi,

    From the error message "Could not load or read state file: C:\ProgramData\Package Cache\{51adbf11-493f-431c-a862-967a0fae2944}\state.rsm, error: 0x80070002" and "Error 0x80070005", both of them are related with access.

    Please try right clicking on the installer and choosing the "run as admin" option again to reinstall.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, December 2, 2014 7:33 AM
  • tried 100 times doesen't work
    Tuesday, December 2, 2014 3:55 PM
  • Hi,

    Ok, I see. In the case, you could use the SubInACL tool to repair file and registry permissions. Please refer to this blog: http://blogs.msdn.com/b/astebner/archive/2006/09/04/solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions.aspx and check the steps there.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Anna Cc Friday, December 12, 2014 10:09 AM
    • Marked as answer by Anna Cc Monday, December 15, 2014 10:02 AM
    Monday, December 8, 2014 5:59 AM
  • This error occurs generally in Windows 8.

    The solution is to run the package manually:
        1. On Windows Explorer navigate to: "C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x86\"
        2. Double click the file: Windows8.1-KB2999226-x64.msu (or whatever you have as package)
        3. Follow the instalation process.

    The path "FC6260C33678BB17FB8B88536C476B4015B7C5E9" maybe the folder name is not the same as I'm showing here, but its pretty similar
    Wednesday, September 16, 2015 1:53 PM
  • Try installing the required microsoft update from https://www.python.org/ftp/python/3.5.0/amd64a4/

    I was getting similar error. Resolved it by installing the required update.


    Manish

    Monday, September 26, 2016 6:37 AM