Group specifies the name of an existing local security group to which a new LocalAccount will be added during installation. You can add a user to multiple groups by entering multiple group names separated by semicolons.

The Microsoft-Windows-Shell-Setup component recognizes the following English group names and sets the appropriate localized group name, regardless of the default language of the Windows® image:

Specify the account names and group names by using language-neutral names. The language-neutral account and group names are specified in English—for example, Administrators, Power Users, and Guest. This is required because the shell account settings are processed before a default user interface (UI) language is applied to the computer.



Specifies the existing local security group for the local account. More than one group can be specified (separated by semicolons). Group_name is a string with a maximum length of 256 characters.

This string type supports empty elements.

Valid Passes



Parent Hierarchy

Applies To

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

  Copy Code
	<LocalAccount wcm:action="add">
		 <Description>Test account</Description>
		 <DisplayName>Admin/Power User Account</DisplayName>
		 <Group>Administrators;Power Users</Group>
	<LocalAccount wcm:action="add">
		 <Description>For testing</Description>
		 <DisplayName>Admin Account</DisplayName>

See Also