Group
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
Group
specifies the local security group to which the domain account or the security group will be added. 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:
AccountOperators
Administrators
BackupOperators
CryptoOperators
DCOMUsers
Guests
IUsers
NetworkConfigurationOperators
PerfLoggingUsers
PerfMonitoringUsers
PowerUsers
PrintOperators
RemoteDesktopUsers
Replicator
SystemOperators
Users
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.
Values
Group_name |
Specifies the local security group to which the domain account or the security group will be added. 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
auditSystem
oobeSystem
Parent Hierarchy
Microsoft-Windows-Shell-Setup | UserAccounts | DomainAccounts | DomainAccountList | DomainAccount | Group
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 examples show how to use the Group setting to add domain groups to local security groups.
Example 1:
<DomainAccounts>
<DomainAccountList wcm:action="add">
<DomainAccount wcm:action="add">
<Group>Users</Group>
<Name>Domain Users</Name>
</DomainAccount>
<Domain>FabrikamDomain</Domain>
</DomainAccountList>
</DomainAccounts>
Example 2:
<DomainAccounts>
<DomainAccountList wcm:action="add">
<DomainAccount wcm:action="add">
<Group>Administrators</Group>
<Name>Domain Administrators</Name>
</DomainAccount>
<Domain>FabrikamDomain</Domain>
</DomainAccountList>
</DomainAccounts>