大网数据广告活动
Web服务器与PHP

Visual Studio Online Installation Fails with Error 1625

· 52CE 我爱测

Helps resolve the error 1625 that occurs when you install Visual Studio using the online installer.

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:

  1. Open the Control Panel on your machine.
  2. Select Network and Internet > Internet Options.
  3. In the Internet Options window, select Content.
  4. Under the Certificates section, select Certificates.
  5. In the Certificates window, select Untrusted Publishers.
  6. 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.
  7. 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:

  1. Launch the Visual Studio Installer on your machine.
  2. In the Visual Studio Installer window, locate your installed version of Visual Studio.
  3. Select the three dots (...) button next to the Visual Studio installation and select Repair.
  4. 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.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 12/27/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。