诊断Diagnostics

Diagnostics 指定是否将安装统计信息,例如状态报告和故障,发送给 Microsoft。Diagnostics specifies whether installation statistics, such as status reports and failures, are sent to Microsoft.

子元素Child Elements

设置Setting 描述Description
OptInOptIn 指定是否将安装统计信息发送给 Microsoft。Specifies whether to send installation statistic information to Microsoft.

有效配置阶段Valid Configuration Passes

windowsPEwindowsPE

父层次结构Parent Hierarchy

Microsoft-Windows-Setup | DiagnosticsMicrosoft-Windows-Setup | Diagnostics

适用于Applies To

有关受支持的 Windows 版本和体系结构,该组件支持的列表,请参阅Microsoft Windows 安装程序For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML 示例XML Example

以下 XML 输出显示了如何更改此设置,以便不发送任何信息。The following XML output shows how to change this setting so that no information is sent.

<Diagnostics>
   <OptIn>false</OptIn>
</Diagnostics>

Microsoft-Windows-SetupMicrosoft-Windows-Setup