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

Visual Studio Installation Stops on Windows 10 21H2

· 52CE 我爱测

Helps resolve an error that occurs when you install Visual Studio using the online installer on a Windows 10, version 21H2 machine.

Symptoms

When you install Visual Studio on a Windows 10, version 21H2 machine, it stops during the installation of package 10, and you see the following message in the event viewer for setup.exe:

Log Name: Application
Source: Application Hang
Event ID: 1002
Task Category: Hanging Events
Level: Error
Keywords: Classic
User: N/A
Description: The program setup.exe version 3.4.2246.31370 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.
Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Hang"/> <EventID Qualifiers="0">1002</EventID>

This issue can also occur if the Visual Studio Installer is corrupt or fails to launch.

Resolution

To resolve the issue, follow these steps:

  1. Uninstall the Visual Studio Installer application.
  2. Delete the folder and its contents located at C:\Program Files (x86)\Microsoft Visual Studio\Installer.
  3. Go to the Visual Studio page and download the edition that you're using.
  4. Run the Visual Studio setup as an administrator.

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)

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

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