Export (0) Print
Expand All

Mode

Updated: August 1, 2012

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

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 is a special-case setting. It is processed before any other setting in the configuration pass. 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 value Result

auditSystem

Audit

false

Starts the auditSystem configuration pass.

auditSystem

Audit

true

CautionCaution
Unsupported. Do not use. Sets the computer into a loop of reboots.

auditSystem

OOBE

false

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

  2. Starts the oobeSystem configuration pass.

auditSystem

OOBE

true

  1. Ignores 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. Ignores all other settings in the oobeSystem configuration pass.

  2. Starts the auditSystem configuration pass.

oobeSystem

Audit

true

  1. Ignores 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

CautionCaution
Unsupported. Do not use. Sets the computer into a loop of reboots.

 

Audit

Specifies that the computer starts in audit mode.

OOBE

Specifies that the computer starts in OOBE mode.

(no value / default)

  • During the auditSystem configuration pass, if Mode is not specified, then Mode defaults to Audit.

  • During the auditUser configuration pass, if Mode is not specified, then the computer shows the Sysprep tool's user interface (UI), prompting the user to select between Audit or OOBE mode.

  • During the oobeSystem configuration pass, if Mode is not specified, then Mode defaults to OOBE.

auditSystem

auditUser

oobeSystem

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

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft