Archive for May 1st, 2013

Visual Studio 2012 Setup Engine: Access is Denied Error 0×80070005

Visual Studio 2012 installation was failing, seemed to take a long time on “Creating a system restore point.” Eventually shows an error screen saying “Setup Engine: Access is Denied.” Log file in TEMP directory says:

Error 0x80070005: Failed to write run key value.
Error 0x80070005: Failed to update resume mode.
Error 0x80070005: Failed to begin registration session.
Error 0x80070005: Failed to begin registration session in per-machine process.
Error 0x80070005: Failed to register bundle.
Exit code: 0x643, restarting: No

Lots of Googling only suggested running the setup as Administrator but that wasn’t helping. Before it fails, I guess it writes an entry in the Uninstall key and also the HKCR\Installer\Depedencies key. Tried clearing those out and also deleting any files in C:\ProgramData\Package Cache and C:\Temp but that didn’t help. Checked permissions on the Run and RunOnce keys, looked normal.

Final solution: Found out user had installed some anti-malware software (IObit Malware Fighter) that had a service running that was protecting the Run keys. Seems like a reasonable way to protect the system but it was getting in the way of the install! Others on the web suggested some anti-virus software like McAfee got in the way too. Check for any anti-malware or anti-virus services and temporarily stop them for the install!

6 comments May 1st, 2013 at 01:08pm


May 2013
« Dec   Aug »

Posts by Month

Posts by Category