MustReboot

MustReboot specifies whether to restart the computer immediately after setting it to audit mode Name.

Values

true

Immediately restarts the computer.

false

Does not immediately restart the computer. The new computer name cannot take effect until the computer is rebooted. This is the default value.

Valid Passes

auditSystem

Parent Hierarchy

Microsoft-Windows-Deployment | AuditComputerName | MustReboot

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

AuditComputerName