This topic has not yet been rated - Rate this topic

DomainAccounts

Updated: August 1, 2012

Applies To: Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Vista

DomainAccounts specifies the details of domain accounts to be added to local security groups on the computer during installation.

 

DomainAccountList

Specifies the domains and the domain accounts to be created.

auditSystem

oobeSystem

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

The following XML output shows how to set UserAccounts.

<UserAccounts>
   <DomainAccounts>
      <DomainAccountList wcm:action="add">
         <DomainAccount wcm:action="add">
            <Name>account1</Name>
            <Group>Fabrikam\Group1</Group>
         </DomainAccount>
         <DomainAccount wcm:action="add">
            <Name>account2</Name>
            <Group>Fabrikam\Group2</Group>
         </DomainAccount wcm:action="add">
         <Domain>domain1</Domain>
      </DomainAccountList>
      <DomainAccountList wcm:action="add">
         <DomainAccount wcm:action="add">
            <Name>account3</Name>
            <Group>Fabrikam\Group2</Group>
         </DomainAccount wcm:action="add">
         <Domain>domain2</Domain>
     </DomainAccountList>
   </DomainAccounts>
</UserAccounts>

See Also

Concepts

UserAccounts

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.