Get Answers from our
Community of Computer Experts

I am trying to install Visual Studio but getting the error 0x80070005


2016/01/31 07:24
0 Like It
Firstly I am getting error 0x80072ee7 , then after some time this goes away and I get another error 0x80070005 and the installation stops.

I am 4 GB RAM and Windows 7 PC. All minimum requirements for VS2013 installation are met, but still error comes.
Why is this coming and how to overcome it quickly.
Operating System:
Uploaded files:
Answer this question
 
Answered by
Ryan B
2016/02/02 04:42

0 votes

0
0
Hi Shashikala,

Please follow the steps to solve the two errors.
Fix the 0x80072EE7 error.

Here's an easy fix.

To fix this problem automatically, click Download. In the File Download dialog box, click Run or Open, and then follow the steps in the easy fix wizard.
  • This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
  • If you’re not on the computer that has the problem, save the easy fix solution to a flash drive or a CD, and then run it on the computer that has the problem.
Source: https://support.micr...

Fix Error 0x80070005.
Error code 0x80070005 is also known as "ACCESS DENIED." It usually occurs when you lack file or registry permissions that are required to install the update. (Because file or registry permissions may be changed by malware, we recommend that you scan for malware after you repair the permissions.)

To resolve the issue, make sure that you are logged on as an administrator, and then install the updates again. If the problem continues, use the SubInACL tool to repair file and registry permissions. To do this, follow these steps:
  1. Download the SubInACL tool, and install it to the default path that is offered by the installer. The default path will be one of the following, depending on your version of Windows:
    • %ProgramFiles%\Windows Resource Kits\Tools (32-bit versions of Windows)
    • %ProgramFiles(x86)%\Windows Resource Kits\Tools (64-bit versions of Windows)
  2. Start Notepad, and then copy and paste the following commands:

    <code>@echo off
     
    setlocal
     
    echo.
    echo Determine whether we are on an 32 or 64 bit machine
    echo.
     
    if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%PROCESSOR_ARCHITEW6432%"=="" goto x86
     
    set ProgramFilesPath=%ProgramFiles(x86)%
     
    goto startResetting
     
    :x86
     
    set ProgramFilesPath=%ProgramFiles%
     
    :startResetting
     
    echo.
     
    if exist "%ProgramFilesPath%\Windows Resource Kits\Tools\subinacl.exe" goto filesExist
     
    echo ***ERROR*** - Could not find file %ProgramFilesPath%\Windows Resource Kits\Tools\subinacl.exe. Double-check that SubInAcl is correctly installed and re-run this script.
    goto END
     
    :filesExist
     
    pushd "%ProgramFilesPath%\Windows Resource Kits\Tools"
     
    subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f  /grant=system=f
    subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=administrators=f  /grant=system=f
    subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f  /grant=system=f
    subinacl.exe /subdirectories %windir% /grant=administrators=f /grant=system=f
     
    echo FINISHED.
    echo. 
    echo Press any key to exit . . .
    pause >NUL
     
    popd
     
    :END
     
    endlocal
  3. Save the file as Reset.cmd.
  4. Right-click the Reset.cmd file in File Explorer (in Windows 8.1 and Windows 8) or Windows Explorer (in Windows 7 and Windows Vista), and then click Run as administrator. In Windows XP, double-click the file in Windows Explorer.
  5. Wait until the execution finishes, and then try to install the update again.
Source: https://support.micr...


If you still have any concerns or inquiries, please don't hesitate to contact the support team here.

Regards,
RJ
Cancel
Cancel

 
Answered by
Lokesh Yadav
2016/07/18 11:31

0 votes

0
0
Hi Shashikala,

This error occurs when Visual Studio cannot 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 antimalware application, locked a Visual Studio installation file while Visual Studio was trying to install the file. To work around this issue, coordinate with your system administrator or other IT professional to make sure that Visual Studio files are not locked by these processes.
  • The user who is trying to install Visual Studio does not have administrator credentials on the computer. To successfully install Visual Studio, you must be logged in as an administrator.
So, you need to check the ACLs of  "%ProgramData%\Package Cache" and make sure that the directory is writable by Administrators.
Also make sure that the directory is writable by SYSTEM, Directory permissions are inherited on child objects and the directory is owned by Administrators.

The error meant you meet some permission error, add Administrators group to acl and granted them full control may help on your issue.

I hope this helps.

Regards,
Lokesh
Cancel
Cancel

Welcome to Reviversoft Answers
ReviverSoft Answers is a place to ask any question you have about your computer and have it answered by the expert community.
Post your question
Ask your question to the community now
Similar questions
When I connect an external microphone to the jack, it is not working. I can see it in the "Sound" tab, but the levels is very low. I have tried with several microphones.
VIEW ANSWERS
40
Show full question
Started happening about 3 weeks ago at the same time as I had the HD replaced.
VIEW ANSWERS
19
Show full question
mein pc ist put mochte nun reviversoft auf mein laptop registriren wie geht das und was muß ich tun
VIEW ANSWERS
19
Show full question
Having trouble with your PC?
Complete a free PC scan using Driver Reviver now.
Download
Start Free Scan
Copyright © 2025 Corel Corporation. All rights reserved. Terms Of Use | Privacy | Cookies
follow us