Share via


MustReboot

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

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 Configuration Passes

auditSystem

Parent Hierarchy

Microsoft-Windows-Deployment | AuditComputerName | MustReboot

Applies To

For a 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