認證 (microsoft-windows-setup-runasynchronous-runasynchronouscommand-credentials)
Credentials
會指定存取 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>