大网数据广告活动
启动与系统组件

Guidance for troubleshooting the installation of Windows features and roles

· 52CE 我爱测

Provides guidance to help troubleshoot issues when adding or removing roles and features in Windows.

[!div class="nextstepaction"] <a href="https://vsa.services.microsoft.com/v1.0/?partnerId=7d74cf73-5217-4008-833f-87a1a278f2cb&flowId=DMC&initialQuery=31806294" target='_blank'>Try our Virtual Agent</a> - It can help you quickly identify and fix Roles and Features related issues.

This guidance is designed to help troubleshoot issues when adding or removing roles and features in Windows.

Troubleshooting checklist

  1. Check errors in the Windows event log, especially the System event log and the Windows Setup event log. For example, navigate to the following location in Event Viewer and search for Event IDs in the range of 4000 to 4099.

    Applications And Services Logs\Microsoft\Windows\ServerManager-MultiMachine

  2. Try to add or remove a different role or feature. This method will help to determine if the issue is specific to a role or feature.

  3. Verify the state of the component store for any corruption.

    1. Run the following command to repair the Windows image. For more information, see Repair a Windows image.

      Dism /Online /Cleanup-Image /RestoreHealth

    2. The results are logged in the following log file:

      %windir%/Logs/CBS/CBS.log

    3. In the log file, search for the following line:

      Checking System Update Readiness

  4. After verifying the component store and fixing any corruption, run the SFC /scannow command at an elevated command prompt to scan and restore Windows files. For more information, see Use the System File Checker tool to repair missing or corrupted system files.

Common support scenarios

See the following list of common issues for scenario-specific guidance:

Issue or error Solution
Server Manager is collecting inventory data. The wizard will be available after data collection finishes. Server Manager can't be used to manage servers that are running a newer version of Windows Server than the version that is running Server Manager. For example, Server Manager running in Windows 8 as part of Remote Server Administration Tools can't be used to manage a server that's running Windows Server 2012 R2.
Error 0x00070543 when selecting Roles in Server Manager Error 0x00070543
Error 0x800706BE and can't view roles or features Error 0x800706BE
Error 0x800F0922 when trying to uninstall roles or features Error 0x800F0922
Error 0x800F081F when installing features Error 0x800F081F
Error 0x800F0818 and can't add roles or features Error 0x800F0818

For more information, see Install or uninstall roles, role services, or features.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for deployment-related issues.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors (upstream author metadata: kaushika-msft). 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
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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