다음을 통해 공유


Mode

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

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>

See Also

Concepts

Reseal