“Installation errors may occur because the security certificate updates that are required to install some Visual Studio components cannot be applied to this computer.”
You may receive the following warning message:
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 then click Continue to proceed with the Visual Studio installation, you may encounter the “Unable to locate package source errors” message about errors that are not resolved through the Download packages from the internet option. When the Visual Studio installation is complete, you receive the following message:
Setup Completed. However, not all features installed correctly.
You are also shown a list of multiple features that could not be installed because the system could find the specified files. To resolve the issue, try the following methods:
- Make sure that you are on a computer that is connected to the Internet. In some cases, Visual Studio can programmatically retrieve and 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 check the setting, open the Group Policy Editor (gpedit.msc). From the Local Group Policy Editor, under Computer Configuration, expand Administrative Templates, expand Internet Communication Management, and then click Internet Communication settings. The setting that controls automatic certificate updates is Turn off Automatic Root Certificates Update. For Visual Studio to automatically retrieve and apply the required certificates, this option should be set to Disabled.
- If Methods 1 and 2 do not resolve the issue, you can also try to manually install the required certificate updates. For information about how to obtain Windows update root certificates, see How to get a Root Certificate update for Windows.
If you already have Visual Studio installed, you can try to repair Visual Studio after you have tried one or more of these methods. This process tries to successfully install the features that did not install on the previous attempt. To repair Visual Studio, open Programs and Features (appwiz.cpl). In the Programs and Features window, right-click Visual Studio, select Change, and then click Repair to start the repair process.
Note This error applies only to Windows 7 Service Pack 1 (SP1). By default, Windows 8 and later versions of Windows have these certificate updates installed.