模式 (microsoft-windows 部署-通用化模式) Mode (microsoft-windows-deployment-generalize-mode)

Mode 指示在完成其他任务后,计算机是否返回到审核模式,或是否设置为启动 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

审核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.

的默认值 Modeoobe.xmlThe 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>

ResealReseal