Reseal

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.

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. 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 value Result

auditSystem

Audit

false

Starts the auditSystem configuration pass.

auditSystem

Audit

true

  1. Processes all other settings in the auditSystem configuration pass.

  2. Prepares Windows Setup to start the auditUser configuration pass.

  3. Shuts the computer down immediately with no end-user interaction.

auditSystem

OOBE

false

  1. Processes all other settings in the auditSystem configuration pass.

  2. Starts the oobeSystem configuration pass.

auditSystem

OOBE

true

  1. Processes all other settings in the auditSystem configuration pass.

  2. Prepares Windows Setup to start the oobeSystem configuration pass.

  3. Shuts the computer down immediately with no end-user interaction.

auditUser

Audit

false

  1. Processes all other settings in the auditUser configuration pass.

  2. Prepares Windows Setup to start the auditSystem configuration pass.

  3. Restarts the computer.

auditUser

Audit

true

  1. Processes all other settings in the auditUser configuration pass.

  2. Prepares Windows Setup to start the auditSystem configuration pass.

  3. Shuts the computer down immediately with no end-user interaction.

auditUser

OOBE

false

  1. Processes all other settings in the auditUser configuration pass.

  2. Prepares Windows Setup to start the oobeSystem configuration pass.

  3. Restarts the computer.

auditUser

OOBE

true

  1. Processes all other settings in the auditUser configuration pass.

  2. Prepares Windows Setup to start the oobeSystem configuration pass.

  3. Shuts the computer down immediately with no end-user interaction.

oobeSystem

Audit

false

  1. Processes all other settings in the oobeSystem configuration pass.

  2. Starts the auditSystem configuration pass.

oobeSystem

Audit

true

  1. Processes all other settings in the oobeSystem configuration pass.

  2. Prepares Windows Setup to start the auditSystem configuration pass.

  3. Shuts the computer down immediately with no end-user interaction.

oobeSystem

OOBE

false

Starts the oobeSystem configuration pass.

oobeSystem

OOBE

true

  1. Processes all other settings in the oobeSystem configuration pass.

  2. 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
ForceShutdownNow Specifies whether the computer shuts down immediately after the Mode setting is applied.
Mode Specifies whether the computer starts in audit mode or OOBE.

Valid Configuration Passes

auditSystem

auditUser

oobeSystem

Parent Hierarchy

Microsoft-Windows-Deployment | Reseal

Applies To

For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Deployment.

XML Example

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-Deployment