{"id":27,"date":"2013-05-01T13:08:08","date_gmt":"2013-05-01T20:08:08","guid":{"rendered":"http:\/\/www.chuonthis.com\/tips\/2013\/05\/01\/visual-studio-2012-setup-engine-access-is-denied-error-0x80070005\/"},"modified":"2013-05-01T13:08:08","modified_gmt":"2013-05-01T20:08:08","slug":"visual-studio-2012-setup-engine-access-is-denied-error-0x80070005","status":"publish","type":"post","link":"https:\/\/chuonthis.com\/tips\/2013\/05\/01\/visual-studio-2012-setup-engine-access-is-denied-error-0x80070005\/","title":{"rendered":"Visual Studio 2012 Setup Engine: Access is Denied Error 0x80070005"},"content":{"rendered":"<p>Visual Studio 2012 installation was failing, seemed to take a long time on &#8220;Creating a system restore point.&#8221;  Eventually shows an error screen saying &#8220;Setup Engine: Access is Denied.&#8221; Log file in TEMP directory says:<\/p>\n<p><code>Error 0x80070005: Failed to write run key value.<br \/>\nError 0x80070005: Failed to update resume mode.<br \/>\nError 0x80070005: Failed to begin registration session.<br \/>\nError 0x80070005: Failed to begin registration session in per-machine process.<br \/>\nError 0x80070005: Failed to register bundle.<br \/>\n...<br \/>\nExit code: 0x643, restarting: No<\/code><\/p>\n<p>Lots of Googling only suggested running the setup as Administrator but that wasn&#8217;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&#8217;t help.  Checked permissions on the Run and RunOnce keys, looked normal.<\/p>\n<p><strong>Final solution:<\/strong> 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.  <strong>Check for any anti-malware or anti-virus services and temporarily stop them for the install!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visual Studio 2012 installation was failing, seemed to take a long time on &#8220;Creating a system restore point.&#8221; Eventually shows an error screen saying &#8220;Setup Engine: Access is Denied.&#8221; 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&hellip; <a class=\"continue-reading-link\" href=\"https:\/\/chuonthis.com\/tips\/2013\/05\/01\/visual-studio-2012-setup-engine-access-is-denied-error-0x80070005\/\">Continue reading <span class=\"screen-reader-text\">Visual Studio 2012 Setup Engine: Access is Denied Error 0x80070005<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-computers","entry"],"_links":{"self":[{"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":0,"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chuonthis.com\/tips\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}