域 (microsoft-runasynchronous-runasynchronouscommand-domain) Domain (microsoft-windows-setup-runasynchronous-runasynchronouscommand-credentials-domain)

Domain 指定帐户的域,该帐户用于验证对 Path指定的位置的访问。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-设置- | RunAsynchronous | RunAsynchronousCommand | 凭据 | microsoft-windows-setup- | RunAsynchronous | RunAsynchronousCommand | Credentials | Domain

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 microsoft-安装-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