Mode

Mode indicates the mode in which the computer will start: audit or OOBE. For more information about modes, see the Windows Setup Configuration Passes topic.

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 computer 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, the Reseal setting is processed before instantiating the pass. It determines whether oobeSystem runs instead and manages the transition. For the auditUser pass, it is processed after all other answer file settings in that pass.

Values

Audit

Specifies that the computer starts in audit mode.

OOBE

Specifies that the computer starts in OOBE mode.

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

auditSystem

auditUser

oobeSystem

Parent Hierarchy

Microsoft-Windows-Deployment | Reseal | Mode

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

Concepts

Reseal