ResealReseal

Reseal 指示计算机下次启动时,计算机是在审核模式下运行,还是在 Windows 全新体验 (OOBE) 运行。Reseal indicates whether the computer runs in audit mode or Windows Out-of-Box Experience (OOBE) when the computer is next started. 有关模式的详细信息,请参阅 配置阶段For more information about modes, see Configuration Passes.

在 Windows 10 之前, Reseal 是一种特殊的设置,它导致在 auditSystem 或 oobeSystem 配置阶段中指定时,跳过相同配置阶段中的所有其他设置。Prior to Windows 10, Reseal was a special-case setting which caused all other settings in the same configuration pass to be skipped when specified in the auditSystem or oobeSystem configuration passes. 在 Windows 10 中,重新封装始终在同一配置阶段中的所有其他设置之后处理。In Windows 10, Reseal is always processed after all other settings in the same 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

  1. 处理 auditSystem 配置阶段中的所有其他设置。Processes all other settings in the auditSystem configuration pass.

  2. 准备 Windows 安装程序以启动 auditUser 配置阶段。Prepares Windows Setup to start the auditUser configuration pass.

  3. 立即关闭计算机,无最终用户交互。Shuts the computer down immediately with no end-user interaction.

auditSystemauditSystem

OOBEOOBE

falsefalse

  1. 处理 auditSystem 配置阶段中的所有其他设置。Processes all other settings in the auditSystem configuration pass.

  2. 启动 oobeSystem 配置阶段。Starts the oobeSystem configuration pass.

auditSystemauditSystem

OOBEOOBE

truetrue

  1. 处理 auditSystem 配置阶段中的所有其他设置。Processes all other settings in the auditSystem configuration pass.

  2. 准备 Windows 安装程序以启动 oobeSystem 配置阶段。Prepares Windows Setup to start the oobeSystem configuration pass.

  3. 立即关闭计算机,无最终用户交互。Shuts the computer down immediately with no end-user interaction.

auditUserauditUser

审核Audit

falsefalse

  1. 处理 auditUser 配置阶段中的所有其他设置。Processes all other settings in the auditUser configuration pass.

  2. 准备 Windows 安装程序以启动 auditSystem 配置阶段。Prepares Windows Setup to start the auditSystem configuration pass.

  3. 重新启动计算机。Restarts the computer.

auditUserauditUser

审核Audit

truetrue

  1. 处理 auditUser 配置阶段中的所有其他设置。Processes all other settings in the auditUser configuration pass.

  2. 准备 Windows 安装程序以启动 auditSystem 配置阶段。Prepares Windows Setup to start the auditSystem configuration pass.

  3. 立即关闭计算机,无最终用户交互。Shuts the computer down immediately with no end-user interaction.

auditUserauditUser

OOBEOOBE

falsefalse

  1. 处理 auditUser 配置阶段中的所有其他设置。Processes all other settings in the auditUser configuration pass.

  2. 准备 Windows 安装程序以启动 oobeSystem 配置阶段。Prepares Windows Setup to start the oobeSystem configuration pass.

  3. 重新启动计算机。Restarts the computer.

auditUserauditUser

OOBEOOBE

truetrue

  1. 处理 auditUser 配置阶段中的所有其他设置。Processes all other settings in the auditUser configuration pass.

  2. 准备 Windows 安装程序以启动 oobeSystem 配置阶段。Prepares Windows Setup to start the oobeSystem configuration pass.

  3. 立即关闭计算机,无最终用户交互。Shuts the computer down immediately with no end-user interaction.

oobeSystemoobeSystem

审核Audit

falsefalse

  1. 处理 oobeSystem 配置阶段中的所有其他设置。Processes all other settings in the oobeSystem configuration pass.

  2. 启动 auditSystem 配置阶段。Starts the auditSystem configuration pass.

oobeSystemoobeSystem

审核Audit

truetrue

  1. 处理 oobeSystem 配置阶段中的所有其他设置。Processes all other settings in the oobeSystem configuration pass.

  2. 准备 Windows 安装程序以启动 auditSystem 配置阶段。Prepares Windows Setup to start the auditSystem configuration pass.

  3. 立即关闭计算机,无最终用户交互。Shuts the computer down immediately with no end-user interaction.

oobeSystemoobeSystem

OOBEOOBE

falsefalse

启动 oobeSystem 配置阶段。Starts the oobeSystem configuration pass.

oobeSystemoobeSystem

OOBEOOBE

truetrue

  1. 处理 oobeSystem 配置阶段中的所有其他设置。Processes all other settings in the oobeSystem configuration pass.

  2. 准备 Windows 安装程序,以 (OOBE) 运行 Windows 全新体验。Prepares Windows Setup to run the Windows Out-of-Box Experience (OOBE).

  3. 立即关闭计算机,无最终用户交互。Shuts the computer down immediately with no end-user interaction.

子元素Child Elements

设置Setting 说明Description
ForceShutdownNowForceShutdownNow 指定在应用设置后是否立即关闭计算机 ModeSpecifies whether the computer shuts down immediately after the Mode setting is applied.
模式Mode 指定计算机是在审核模式下启动还是在 OOBE 中启动。Specifies whether the computer starts in audit mode or OOBE.

有效的配置阶段Valid Configuration Passes

auditSystemauditSystem

auditUserauditUser

oobeSystemoobeSystem

父层次结构Parent Hierarchy

Microsoft-Windows 部署 | 重新 封装Microsoft-Windows-Deployment | Reseal

应用于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>

Microsoft-Windows-DeploymentMicrosoft-Windows-Deployment