網域Domain

Domain 指定用來驗證對所指定的位置存取帳戶的網域路徑Domain specifies the domain of the account used to authenticate access to the location specified by Path.

所有RunAsynchronous系統內容中執行的命令。All RunAsynchronous commands run in the system context.

Values

網域Domain

指定驗證的帳戶時所使用的網域名稱。Specifies the name of the domain used when authenticating an account. 網域是一個字串。Domain is a string.

此字串類型不支援空元素。This string type does not support empty elements. 請勿為此設定建立空值。Do not create an empty value for this setting.

有效的設定階段Valid Configuration Passes

windowsPEwindowsPE

父階層Parent Hierarchy

microsoft-windows-setup- | RunAsynchronous | RunAsynchronousCommand | Credentials | Domainmicrosoft-windows-setup- | RunAsynchronous | RunAsynchronousCommand | Credentials | Domain

套用至Applies To

如需支援的 Windows 版本和架構,此元件支援的清單,請參閱microsoft-windows-安裝程式-For the list of the supported Windows editions and architectures that this component supports, see microsoft-windows-setup-.

XML 範例XML Example

下列的 XML 輸出會顯示如何設定要執行的非同步命令。The following XML output shows how to configure asynchronous commands to run.

<RunAsynchronous>
   <RunAsynchronousCommand>
      <Order>1</Order>
      <Path>\\MyNetworkShare\MyApplication.exe</Path>
      <Description>DescriptionOfMyApplication</Description>
      <Credentials>
         <Domain>FabrikamDomain</Domain>
         <UserName>MyUserName</UserName>
         <Password>MyPassword</Password>
      </Credentials>
   </RunAsynchronousCommand>
   <RunAsynchronousCommand>
      <Order>2</Order>
      <Path>C:\AnotherApplication.exe</Path>
      <Description>DescriptionOfMyApplication</Description>
   </RunAsynchronousCommand>
</RunAsynchronous>

認證Credentials