密碼 (microsoft-windows-setup-runasynchronous-runasynchronouscommand-credentials-password)

Password 指定用來驗證 Path所指定位置存取權的使用者帳戶密碼。

所有 RunAsynchronous 命令都會在系統內容中執行。

密碼

指定用於驗證之使用者帳戶的密碼。 密碼 是字串。

這種字串不支援空的元素。 請勿為這種字串建立空值。

有效的組態傳遞

windowsPE

父階層

microsoft-windows-setup- | RunAsynchronous | RunAsynchronousCommand | 憑據 | 密碼

套用至

如需此元件支援的 Windows 版本和架構清單,請參閱 microsoft-windows-setup-

XML 範例

下列 XML 輸出示範如何設定要執行的非同步命令。

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

認證