Windows – Visual Studio 2012 installation (Access Denied)

visual studiovisual studio 2012windows

While installing Visual Studio 2012 in Windows 7 64-bit, the computer restarted (power failure), and after the install the folder "d:\Program Files (x86)\Microsoft Visual Studio 11.0" was gone. Now every time I run the installer, it starts installing and 5 seconds later I get the following message:

Setup Engine  
Access Denied  

Does anyone know how to clean everything (all directories and registry) so I can start over from the beginning?

Best Answer

Try this.

  1. Turn off the Antivirus temporarily.
  2. Turn off Windows Firewall.
  3. Clear %temp% folder.
  4. Gave Full control permissions to Everyone and current logged in user (Admin one) role to following paths:
    • C:\
    • C:\ProgramData
    • C:\ProgramData\Package Cache

Reference here

Related Question