Symptoms
When you install Visual Studio online, the process fails with the following error:
Package 'Microsoft.VisualStudio.Devenv.MSI' fails to install, Return Code 1625.
Cause
Error code 1625: This installation is prohibited by system policy.
The authorization level returned by the Software Restriction Policy is 0x0 (returned status 0x800b010c). 0x800b010c usually means that a required certificate is revoked.
Installation isn't allowed under the Software Restriction Policy. Windows Installer can only install unrestricted items.
Resolution
To resolve the error, follow these steps:
- Open the Control Panel on your machine.
- Select Network and Internet > Internet Options.
- In the Internet Options window, select Content.
- Under the Certificates section, select Certificates.
- In the Certificates window, select Untrusted Publishers.
- Look for any revoked certificates in the list. If you find a revoked certificate, select it and select the Remove button to remove it from the list.
- After removing the revoked certificate, close the Certificates window and the Internet Options window.
Next, follow these steps to repair your Visual Studio installation using the Visual Studio Installer:
- Launch the Visual Studio Installer on your machine.
- In the Visual Studio Installer window, locate your installed version of Visual Studio.
- Select the three dots (...) button next to the Visual Studio installation and select Repair.
- Follow the prompts to complete the repair process. The installer can repair your Visual Studio installation and resolve any issues related to the failed package installation.
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
