[模式]Mode

Mode 指出在完成其他工作之後,電腦是否回到 audit 模式,或設定為啟動 Windows 全新體驗 (OOBE) 。Mode indicates whether, after completing other tasks, the computer returns to audit mode, or is set to start the Windows Out-of-Box Experience (OOBE). 如需模式的詳細資訊,請參閱 Windows 安裝程式設定階段For more information about modes, see Windows Setup Configuration Passes.

Generalize 這是特殊案例的設定。Generalize is a special-case setting. 它會在該設定階段中的所有其他設定之後處理。It is processed after all other settings in that configuration pass.

Values

AuditAudit

指定電腦在 audit 模式下啟動。Specifies that the computer starts in audit mode.

OOBEOOBE

指定電腦 (OOBE) 啟動 Windows 全新體驗。Specifies that the computer starts the Windows Out-of-Box Experience (OOBE).

這是預設值。This is the default value.

的預設值 ModeOOBEThe default value for Mode is OOBE.

有效的設定階段Valid Configuration Passes

auditUserauditUser

父階層Parent Hierarchy

Microsoft-Windows-部署 | 一般化 | 模式Microsoft-Windows-Deployment | Generalize | Mode

套用至Applies To

如需此元件所支援的 Windows 版本和架構清單,請參閱 Microsoft windows-部署For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Deployment.

XML 範例XML Example

下列 XML 輸出顯示沒有非同步或同步命令的部署。The following XML output shows a deployment with no asynchronous or synchronous commands.

<AuditComputerName>
   <MustReboot>true</MustReboot>
   <Name>MyComputer</Name>
</AuditComputerName>
<ExtendOSPartition>
   <Extend>true</Extend>
</ExtendOSPartition>
<Generalize>
   <ForceShutdownNow>true</ForceShutdownNow>
   <Mode>Audit</Mode>
</Generalize>

重新封裝Reseal