ForceShutdownNow (microsoft-windows-deployment-generalize-forceshutdownnow)

ForceShutdownNow specifies whether the computer shuts down immediately after the generalize configuration pass is complete. For more information about modes, see Windows Setup Configuration Passes.

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

Values

true

The computer shuts down immediately after the Mode setting is applied.

false

The computer does not shut down immediately after the Mode setting is applied.

This is the default value.

Valid Configuration Passes

auditUser

Parent Hierarchy

Microsoft-Windows-Deployment | Generalize | ForceShutdownNow

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