Mode (microsoft-windows-deployment-generalize-mode)

Mode indicates whether, after completing other tasks, the computer returns to audit mode, or is set to start the Windows Out-of-Box Experience (OOBE). For more information about modes, see Windows Setup Configuration Passes.

Generalize is a special-case setting. It is processed after all other settings in that configuration pass.

Values

Audit

Specifies that the computer starts in audit mode.

OOBE

Specifies that the computer starts the Windows Out-of-Box Experience (OOBE).

This is the default value.

The default value for Mode is OOBE.

Valid Configuration Passes

auditUser

Parent Hierarchy

Microsoft-Windows-Deployment | Generalize | Mode

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>
<Generalize>
   <ForceShutdownNow>true</ForceShutdownNow>
   <Mode>Audit</Mode>
</Generalize>

Reseal