OptInOptIn

OptIn 指定是否要將安裝的統計資料傳送給 Microsoft。OptIn specifies whether installation statistics are sent to Microsoft.

Values

truetrue

指定安裝統計資料會傳送給 Microsoft。Specifies that installation statistics are sent to Microsoft.

falsefalse

指定安裝統計資料不會傳送給 Microsoft。Specifies that installation statistics are not sent to Microsoft. 這是預設值。This is the default value.

有效的設定階段Valid Configuration Passes

windowsPEwindowsPE

父階層Parent Hierarchy

microsoft-windows-setup- | Diagnostics | OptInmicrosoft-windows-setup- | Diagnostics | OptIn

套用至Applies To

如需支援的 Windows 版本與此元件支援的架構,請參閱microsoft-windows-安裝程式-For a 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>

診斷Diagnostics