This documentation is archived and is not being maintained.

Reseal

Reseal indicates whether the computer runs in audit mode or in OOBE mode when the computer is next started. For more information about modes, see Windows Setup Configuration Passes.

The following table provides scenarios for each combination of configuration pass, mode, and forced shutdown behavior.

 

Configuration pass Mode value ForceShutdownNow value Result

auditSystem

Audit

false

The auditSystem pass starts.

auditSystem

Audit

true

Prepares the operating system to start in auditSystem, and shuts the computer down immediately with no user interaction.

auditSystem

OOBE

false

The oobeSystem pass starts.

auditSystem

OOBE

true

Prepares the operating system to start in oobeSystem, and shuts the computer down immediately with no user interaction.

auditUser

Audit

false

The computer restarts into the auditSystem pass at the end of the auditUser pass.

auditUser

Audit

true

Prepares the operating system to start in auditSystem, and shuts the computer down immediately with no user interaction.

auditUser

OOBE

false

The operating system restarts into the oobeSystem pass at the end of the auditUser pass.

auditUser

OOBE

true

Prepares the operating system to start in oobeSystem, and immediately shuts the computer down without any end-user interaction at the end of the auditUser pass.

oobeSystem

Audit

false

The auditSystem pass starts.

oobeSystem

Audit

true

Prepares the operating system to start in auditSystem, and shuts the computer down immediately with no user interaction.

oobeSystem

OOBE

false

The oobeSystem pass starts.

oobeSystem

OOBE

true

Prepares the operating system to start in oobeSystem, and shuts the computer down immediately with no user interaction.

Reseal is a special-case setting. For the auditSystem and oobeSystem passes, it is manually processed before the actual configuration pass is instantiated. For example, if the configuration pass is auditSystem, Reseal is processed before instantiating the pass and determines whether oobeSystem runs instead and manages the transition. If the configuration pass is oobeSystem, this means that all remaining oobeSystem settings, such as FirstLogonCommands, are ignored if the Mode value is Audit and ForceShutdownNow is set to false.

For the auditUser pass, Reseal is processed after all other answer file settings in that pass.

Child Elements

 

ForceShutdownNow

Specifies whether the computer shuts down immediately after the Mode setting is applied.

Mode

Specifies the mode in which the computer will open: audit or OOBE.

The default value for Mode and ForceShutdownNow depends on the configuration pass that is running.

During the auditSystem configuration pass, the default values are:

During the oobeSystem configuration pass, the default values are:

During the auditUser configuration pass, if Mode is not specified, the computer will show the Sysprep user interface (UI).

Valid Passes

Parent Hierarchy

Applies To

For the list of the supported 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>

See Also

Show: