• 0x80070005 error when trying to install vcredist2015_2017_2019_2022_x64.exe

    Home » Forums » AskWoody support » Windows » Windows 10 » Windows 10 version 22H2 » 0x80070005 error when trying to install vcredist2015_2017_2019_2022_x64.exe

    Author
    Topic
    #2529057

    I am trying to install Visual Studio vcredist2015_2017_2019_2022_x64.exe but I receive a 0x80070005 error. My log is listed below with the error in bold. Can someone help me resolve this issue?  Thank you.

     

    [27D8:14A8][2023-01-26T17:49:55]i001: Burn v3.7.3813.0, Windows v10.0 (Build 19045: Service Pack 0), path: C:\Users\Paul\Downloads\vc_redist.x64 (6).exe, cmdline: ”
    [27D8:14A8][2023-01-26T17:49:55]i000: Setting string variable ‘WixBundleLog’ to value ‘C:\Users\Paul\AppData\Local\Temp\dd_vcredist_amd64_20230126174955.log’
    [27D8:14A8][2023-01-26T17:49:55]i000: Setting string variable ‘WixBundleOriginalSource’ to value ‘C:\Users\Paul\Downloads\vc_redist.x64 (6).exe’
    [27D8:14A8][2023-01-26T17:49:55]i000: Setting string variable ‘WixBundleOriginalSourceFolder’ to value ‘C:\Users\Paul\Downloads\’
    [27D8:14A8][2023-01-26T17:49:55]i000: Setting string variable ‘WixBundleName’ to value ‘Microsoft Visual C++ 2015 Redistributable (x64) – 14.0.24212’
    [27D8:2718][2023-01-26T17:49:56]e000: Error 0x80070005: Failed to load theme controls.
    [27D8:2718][2023-01-26T17:49:56]e000: Error 0x80070005: Failed to create main window.
    [27D8:14A8][2023-01-26T17:49:56]i500: Shutting down, exit code: 0x5
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleAction = 5
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleCompressed = 1
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleElevated = 0
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleInstalled = 0
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleLog = C:\Users\Paul\AppData\Local\Temp\dd_vcredist_amd64_20230126174955.log
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleManufacturer = Microsoft Corporation
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleName = Microsoft Visual C++ 2015 Redistributable (x64) – 14.0.24212
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleOriginalSource = C:\Users\Paul\Downloads\vc_redist.x64 (6).exe
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleOriginalSourceFolder = C:\Users\Paul\Downloads\
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleProviderKey = {323dad84-0974-4d90-a1c1-e006c7fdbb7d}
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleTag =
    [27D8:14A8][2023-01-26T17:49:56]i410: Variable: WixBundleVersion = 14.0.24212.0
    [27D8:14A8][2023-01-26T17:49:56]i007: Exit code: 0x5, restarting: No

    Viewing 4 reply threads
    Author
    Replies
    • #2529251

      I cannot help you with this particular problem but I can highly recommend the VS Developer Community

      I’ve been using VS for years without any issues, but I had an installation update go wonky a few months back, and posted a grumpy complaint about the vague error message I’d received, expecting nothing much in return

      What I got instead was a member who took the problem, owned it, investigated it, and eventually helped solve it

      It would certainly be worth posting your problem there if nobody here at AW can help

      1 user thanked author for this post.
    • #2529369

      Try : Shutdown all instances of Visual Studio
      Delete %LocalAppData%\Microsoft\VisualStudio\15.0_f4938f75\privateregistry.bin file (the ID after 15.0_ may be different per machines)
      Start VS as normal user

      all credit for this should go to https://developercommunity.visualstudio.com/content/problem/31188/access-denied-error-1.html

      https://stackoverflow.com/questions/42902619/visual-studio-2017-hresult-0x80070005-e-accessdenied-on-project-creation

      1 user thanked author for this post.
    • #2529676

      That did not take care of the issue. I do not show this information located anywhere on my computer.

    • #2529685

      If  you are looking for the Microsoft Visual C++ Redistributable, try here:
      https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170

      Pick ARM, 32-bit (x86), or 64-bit (x64).

      Carpe Diem {with backup and coffee}
      offline▸ Win10Pro 2004.19041.572 x64 i3-3220 RAM8GB HDD Firefox83.0b3 WindowsDefender
      offline▸ Acer TravelMate P215-52 RAM8GB Win11Pro 22H2.22621.1265 x64 i5-10210U SSD Firefox106.0 MicrosoftDefender
      online▸ Win11Pro 22H2.22621.1413 x64 i5-9400 RAM16GB HDD Firefox112.0b3 MicrosoftDefender
    • #2529719

      0x80070005 – Access Denied

      This error occurs when Visual Studio can’t access one or more of the required installation files. This error may occur for any of the following reasons:

      An outside process, such as an antivirus or anti-malware application, has locked a Visual Studio installation file at the same time that Visual Studio is trying to install the file. To work around this issue, coordinate with your system administrator or other IT professional to make sure that these processes don’t lock Visual Studio files.

      The user who is trying to install Visual Studio doesn’t have administrator credentials on the computer. To successfully install Visual Studio, you must be logged in as an administrator.

      Permissions on some registry hives can prevent Visual Studio from installing successfully. To resolve this issue, see Solving setup errors by using the SubInACL tool.

      Common issues and workarounds in Visual Studio setup

      Windows 11 Pro version 22H2 build 22621.1483 + Microsoft 365 + Edge

      1 user thanked author for this post.
    Viewing 4 reply threads
    Reply To: 0x80070005 error when trying to install vcredist2015_2017_2019_2022_x64.exe

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: