Share via


Name

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

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.

Note

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

auditSystem

Parent Hierarchy

Microsoft-Windows-Deployment | AuditComputerName | Name

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