This documentation is archived and is not being maintained.

Name

Name specifies the computer name to use during audit mode.

Values

 

name

Specifies the name of the computer. If you do not specify a name and the MustReboot setting is present, this setting is ignored. The name value is a string with a maximum length of 15 characters.

noteNote
If you do not specify this setting, the existing computer name is preserved. If you specify a new computer name, you might have to restart the computer for it to take effect. If additional processing is dependent on the new computer name, set the MustReboot value to true to restart the computer immediately.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes

Parent Hierarchy

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

Show: