Export (0) Print
Expand All

ComputerName

ComputerName specifies the computer name used to access the computer from the network.

Values

 

Computer_name

Specifies the computer name used to access the computer from the network. If ComputerName is missing, you must enter a computer name during Windows Welcome.

If you do not specify a value for ComputerName, you must enter a computer name during Windows Welcome.

If ComputerName is set to an asterisk (*) or is an empty string, a random computer name will be generated. If you set this value to an asterisk (*), a random computer name is generated. This random name has at most eight characters from the RegisteredOwner and/or RegisteredOrganization strings plus random characters.

Computer_name is a string with a maximum length of 15 characters.

This string type supports empty elements.

Valid Passes

Parent Hierarchy

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

The following XML output shows how to set the computer name.

<ComputerName>MyComputer</ComputerName>

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft