Unable to install Microsoft Visual C++ 2015, 2013, 2012... But can install C++ 2010? Error code 0x80070005.

I use Windows 7 64 Bit Ultimate Edition

When I try to install Microsoft Visual C++ 2015, 2013, 2012, I get an error 'Failed to install', error Code 0 x 80070005 - access denied

Then I looked on this Forum-https://blogs.msdn.microsoft.com/astebner/2006/09/04/solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions/

I downloaded the 'Subinacl' tool and installed on the default path.

I followed all the steps, step 8, "he says in the cmd prompt, type reset.cmd and press ENTER to run the SubInACL tool."

Then I type reset.cmd in command prompt... it shows an error

"Did not find file C:\Program Files \Windows Resource Kits\Tools\subinacl.exe. Recheck Subinacl is correctly installed and re - run this script.

Then I checked in the Explorer, the folder is there and the subinacl.exe is also in the tools folder, but why cmd does not detect it?

Help, please!

Hello

Just to confirm, did you run the reset.cmd as administrator? Otherwise, make sure you do by right-clicking on the reset.cmd and clicking "Run as Administrator".

Try to follow these steps to confirm that guest check the correct folder (again, the subinacl.exe should be in the folder "C:\Program Files (x 86) \Windows Resource Kits\Tools\"):

  1. Open command prompt
  2. Copy and paste the following commands at the command prompt:
  • set ProgramFilesPath = % ProgramFiles (x 86) %
  • CD "%ProgramFilesPath%\Windows Resource Kits\Tools\"
  • dir

The last command will show you the files in the folder "C:\Program Files (x 86) \Windows Resource Kits\Tools\. Try to check the list if you see subinacl.exe.

If you can see subinacl.exe on the list, then we will modify the code for your reset.cmd and circumventing the conditional statement to check if the file exists.

As noted above, he must remove the part inside the red zone of your reset.cmd. Then, replace it with the line "goto filesExist" in order to bypass the file check (as we have already manually verified the existence of the said folder).

It should instead look like this:

Try to run her updated the reset.cmd and see if it works. If ever you still encounter an error when executing the command, then I suggest to post your query in our TechNet forums for technical support advanced about your concern.

Thank you.

Tags: Windows

Similar Questions

Maybe you are looking for