“模式”Mode
Mode
与 ForceShutdownNow 设置一起使用,以指示计算机是在审核模式下启动,还是在 (OOBE) 的现成体验下启动。Mode
is used with the ForceShutdownNow setting to indicate whether the computer starts in audit mode or Out-of-Box-Experience (OOBE). 有关模式的详细信息,请参阅 配置阶段 主题。For more information about modes, see the Configuration Passes topic.
Reseal
是特殊情况下的设置。Reseal
is a special-case setting. 它在配置阶段中的任何其他设置之前进行处理。It is processed before any other setting in the configuration pass. 在某些情况下,它会指示 Windows 安装程序处理或忽略该配置阶段中的所有其他设置,然后再开始另一个配置阶段。In some scenarios, it instructs Windows Setup either to process or to ignore all other settings in that configuration pass before starting another configuration pass. 下表提供了配置阶段、模式和强制关闭行为的每个组合的方案。The following table provides scenarios for each combination of configuration pass, mode, and forced-shutdown behavior. 当配置阶段有多个结果时,该表会按它们发生的顺序列出结果。When a configuration pass has more than one result, the table lists the results in the order that they take place.
配置阶段Configuration pass | 模式值Mode value | ForceShutdownNow 值ForceShutdownNow value | 结果Result |
---|---|---|---|
auditSystemauditSystem |
审核Audit |
falsefalse |
启动 auditSystem 配置阶段。Starts the auditSystem configuration pass. |
auditSystemauditSystem |
审核Audit |
truetrue |
警告
Caution
不支持。Unsupported. 请勿使用。Do not use. 将计算机设置为重新启动循环。Sets the computer into a loop of reboots. |
auditSystemauditSystem |
OOBEOOBE |
falsefalse |
|
auditSystemauditSystem |
OOBEOOBE |
truetrue |
|
auditUserauditUser |
审核Audit |
falsefalse |
|
auditUserauditUser |
审核Audit |
truetrue |
|
auditUserauditUser |
OOBEOOBE |
falsefalse |
|
auditUserauditUser |
OOBEOOBE |
truetrue |
|
oobeSystemoobeSystem |
审核Audit |
falsefalse |
|
oobeSystemoobeSystem |
审核Audit |
truetrue |
|
oobeSystemoobeSystem |
OOBEOOBE |
falsefalse |
启动 oobeSystem 配置阶段。Starts the oobeSystem configuration pass. |
oobeSystemoobeSystem |
OOBEOOBE |
truetrue |
警告
Caution
不支持。Unsupported. 请勿使用。Do not use. 将计算机设置为重新启动循环。Sets the computer into a loop of reboots. |
值Values
审核Audit |
指定计算机在审核模式下启动。Specifies that the computer starts in audit mode. |
OOBEOOBE |
指定计算机在 OOBE 模式下启动。Specifies that the computer starts in OOBE mode. |
(无值/默认值) (no value / default) |
|
有效的配置阶段Valid Configuration Passes
auditSystemauditSystem
auditUserauditUser
oobeSystemoobeSystem
父层次结构Parent Hierarchy
Microsoft-Windows 部署 | 重新 封装 | 模式Microsoft-Windows-Deployment | Reseal | 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>
<Reseal>
<ForceShutdownNow>true</ForceShutdownNow>
<Mode>Audit</Mode>
</Reseal>