Common issues and workarounds in Visual Studio setup
This article helps you resolve issues that occur when you install Microsoft Visual Studio.
Original product version: Visual Studio 2012, Visual Studio 2013, Visual Studio 2015
Original KB number: 2899270
Visual Studio can't be installed, and you receive an error message that contains one of the following errors:
- 0x80200010, 0x80072efe, or 0x80072ee7 - connectivity issue during download
- 0x80070005 - Access denied
- 0x80070643 - Installation cache or ISO is corrupted
- 0x800713ec - .NET Framework installation is in progress
- Multiple feature installation errors occur after warning about certificate updates is ignored in Visual Studio 2013 and 2015
If the Visual Studio installation issue that you're experiencing isn't listed, see More information for further helps.
To work around these issues, try one or more of the following methods:
0x80200010, 0x80072efe, or 0x80072ee7 - connectivity issue during download
These errors typically occur when the Visual Studio installer experiences issues that affect your Internet connection during the download of required components. When you receive one of these error messages, try again to install Visual Studio after your Internet connection improves. If you continue to see this error, try the following methods:
Install Visual Studio by using the
layoutswitch or an ISO file. For more information about how to do it, see Install Visual Studio 2015.
0x80070005 - Access Denied
This error occurs when Visual Studio can't 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 anti-malware application, has locked a Visual Studio installation file at the same time that Visual Studio is 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 aren't locked by these processes.
The user who is trying to install Visual Studio doesn't have administrator credentials on the computer. To successfully install Visual Studio, you must be logged in as an administrator.
Permissions on some registry hives can prevent Visual Studio from installing successfully. To resolve this issue, see Solving setup errors by using the SubInACL tool.
0x80070643 - Installation cache or ISO is corrupted
This error typically occurs when a file that is related to the installation becomes corrupted. You may experience this error when you install Visual Studio by using an ISO or DVD burned from ISO. You may also experience this error during a repair of Visual Studio.
Error when you install from an ISO or a DVD burned from an ISO
If you use an ISO file for your installation of Visual Studio, or if you use a digital video disc (DVD) that was burned from an ISO file, the ISO file may become corrupted during the download process. To resolve the issue, follow these steps:
Download and install the Microsoft File Checksum Integrity Verifier tool.
To use this tool, you must know the file path of the ISO file.
During the installation of the tool, you're prompted to provide a directory where the files are to be extracted.
The directory for later access. For example, you can extract the files to the
In a Command Prompt window, type the following command, and then press Enter.
<DIRECTORY_NAME>\fciv.exe -sha1 <ISO_NAME>
In this command, the <DIRECTORY NAME> placeholder is the folder to which you extracted the files, and the <ISO_NAME> placeholder is the path of the Visual Studio ISO file. For more information, see the ReadMe.htm file in the extraction directory.
Verify that the Secure Hash Algorithm 1 (SHA-1) value that is returned by the File Checksum tool matches the expected value. To determine the expected value, examine the folder to which you downloaded the ISO file.
The expected SHA-1 value is different for each download source.
If you downloaded the ISO file from MSDN, the SHA-1 value is provided in the Details section for each ISO file.
If you downloaded the ISO file from the Download Center, you can find the SHA-1 value by expanding the Install Instructions section of the product page.
If the expected SHA-1 value doesn't match the value that is returned by the File Checksum tool, the ISO file is corrupted. In this case, delete the file, and then download it again.
If you purchased the DVD from a retail store, you might also be able to download Visual Studio from the store's website. Then, use the license key that was provided together with the DVD to activate Visual Studio. Contact the retail store for more information about this process.
Error during a repair
If the error occurs when you try to repair Visual Studio, your installation cache may have become corrupted. To repair the cache, follow these steps:
Close Visual Studio.
To open an elevated Command Prompt, select Start, type cmd in the Start search box, right-click cmd.exe in the results list, and then select Run as administrator.
In the Command Prompt window, type cd C:\ProgramData\Package Cache, and then press Enter.
To clear the .msi and .cab files from the cache, type the following commands in the Command Prompt window, and press Enter after each command:
Delete /F /S *.msi Delete /F /S *.cab
Try again to repair Visual Studio.
0x800713ec - .NET Framework installation is in progress
This error typically occurs when an installation of the .NET Framework that is separate from Visual Studio is already in progress. Because many components of the Visual Studio installer depend on the .NET Framework, an attempt to install the .NET Framework while Visual Studio is being installed can cause unexpected behavior.
To work around this issue, wait for the .NET Framework installer to finish before you install Visual Studio.
Multiple feature installation errors occur after warning about certificate updates is ignored in Visual Studio 2013 and 2015
When you install Visual Studio on Windows 7, you receive the following warning:
Installation errors may occur because the security certificate updates that are required to install some Visual Studio components cannot be applied to this computer.
If you select Continue to proceed with the Visual Studio installation, you may encounter the Unable to locate package source errors that aren't resolved through the Download packages from the internet option. When the Visual Studio installation finishes, you see the following message:
Setup Completed. However, not all features installed correctly.
You're also shown a list of multiple features that couldn't be installed because the system can't find the specified file. To fix the issue, try the following methods:
Ensure that you are on a computer that's connected to the internet. In some cases, Visual Studio can programmatically retrieve and then apply the required certificate updates so that the affected features can be successfully installed.
Check the group policy setting on your computer that controls automatic certificate updates. To automatically retrieve and apply the required certificates, follow these steps:
Open the Local Group Policy Editor (gpedit.msc).
Expand Computer Configuration > Administrative Templates > System > Internet Communication Management, and then select Internet Communication settings.
Select Turn off Automatic Root Certificates Update > Disabled, and then select OK or Apply.
We recommend that you contact your system administrator before you modify any group policy setting.
If the above steps don't resolve the issue, you can also try to manually install the required certificate updates. For more information on how to obtain Windows update root certificates, see Configure Trusted Roots and Disallowed Certificates.
If you have already installed Visual Studio, try to repair Visual Studio after you've tried one or more of the above methods. This process tries to successfully install the features that weren't installed in the previous attempt. To repair Visual Studio, follow these steps:
Open Programs and Features (appwiz.cpl).
Right-click Visual Studio <VersionNumber>, select Change, and then select Repair to initiate the repair process.
This error applies only to Windows 7 Service Pack 1 (SP1). Windows 8 and later versions of Windows have these certificate updates installed by default.
If this article doesn't address the Visual Studio installation issue that you're experiencing, see Visual Studio setup Microsoft Q&A community or Visual Studio Setup and Installation forum. You may also post your issue along with the Visual Studio installation log file, to the community for further help.
For more steps on collecting the installation logs, see Troubleshoot installation or upgrade issues.