AccountDataAccountData

AccountData 指定加入網域時使用的帳戶資料。AccountData specifies account data used when joining a domain.

如需使用布建來加入網域的相關資訊,請參閱 MSDN 主題: NetJoinFor information about joining a domain using Provisioning, see the MSDN topic, NetJoin.

若要產生 AccountData 資訊:To generate the AccountData information:

  1. 使用命令:Use the command:

    djoin.exe /provision/domain domainname/machine machinename/savefile filenamedjoin.exe /provision /domain domainname /machine machinename /savefile filename

    範例:Example:

    djoin.exe /provision /domain contoso.com /machine machinename /savefile AccountData.txt
    
  2. 將 AccountData.txt 的內容複寫並貼到回應檔案。Copy and paste the contents of AccountData.txt to the answer file.

Values

AccountDataAccountData

指定加入網域時使用的帳戶資料。Specifies account data used when joining a domain.

AccountData 是字串。AccountData is a string.

這種字串支援空的元素。This string type supports empty elements.

有效的設定階段Valid Configuration Passes

offlineServicingofflineServicing

父階層Parent Hierarchy

Microsoft-Windows-microsoft-windows-unattendedjoin | OfflineIdentification | 布建 Provisioning | AccountDataMicrosoft-Windows-UnattendedJoin | OfflineIdentification | Provisioning | AccountData

套用至Applies To

傳統型版本的 Windows 10 (家用版、專業版、企業版和教育版)Windows 10 for desktop editions (Home, Pro, Enterprise, and Education)

Windows Server 2016Windows Server 2016

如需此元件支援的支援的 Windows 版本和架構清單,請參閱 Microsoft windows-microsoft-windows-unattendedjoinFor a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-UnattendedJoin.

XML 範例XML Example

下列 XML 輸出顯示如何設定布建設定。The following XML output shows how to set the Provisioning settings.

<OfflineIdentification>
   <Provisioning>
      <AccountData>BASE64-ENCODED-BLOB</AccountData>   
   </Provisioning>
</OfflineIdentification>