Megosztás a következőn keresztül:


OfflineUserAccounts

OfflineUserAccounts specifies local accounts to be created, domain accounts to be added, and the administrator password.

Child Elements

Setting Description
OfflineAdministratorPassword Specifies the administrator password for the computer and whether it is hidden in the unattended installation answer file.
OfflineDomainAccounts Specifies the details of domain accounts to be added to local security groups on the computer during installation.
OfflineLocalAccounts Specifies the details of local accounts to be created during installation.

Valid Configuration Passes

offlineServicing

Parent Hierarchy

Microsoft-Windows-Shell-Setup | OfflineUserAccounts

Applies To

Windows 10 for desktop editions (Home, Pro, Enterprise, and Education)

Windows Server 2016

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 OfflineUserAccounts.

<OfflineUserAccounts>
     <OfflineAdministratorPassword>
        <Value>[PasswordValue]</Value>
        <PlainText>[true/false]</PlainText>
     </OfflineAdministratorPassword>

     <OfflineLocalAccounts>
         <LocalAccount>
             <Password>
                 <Value>[PasswordValue]</Value>
                 <PlainText>[true/false]</PlainText>
             </Password>
             <Group>[groups]</Group>
             <Name>[user]</Name>
             <DisplayName>[userdisplayname]</DisplayName>
         </LocalAccount>
     </OfflineLocalAccounts>

     <OfflineDomainAccounts>
         <OfflineDomainAccount>
             <SID>[SID1]</SID>
             <Group>[groups]</Group>
         </OfflineDomainAccount>
         <OfflineDomainAccount>
             <SID>[SID2]</SID>
             <Group>[groups]</Group>
         </OfflineDomainAccount>
    </OfflineDomainAccounts>
</OfflineUserAccounts>

Microsoft-Windows-Shell-Setup