PathAndCredentials (microsoft-windows-pnpcustomizationswinpe-driverpaths-pathandcredentials)
PathAndCredentials
是列表项类型,指定全新设备驱动程序附加位置的本地路径或通用命名约定 (UNC) 路径,以及用于访问该路径的凭据(可选)。
子元素
设置 | 说明 |
---|---|
凭据 | 指定用于访问 Path 指定的路径的凭据。 (可选) |
键 | 指定驱动程序路径的唯一字符串标识符。 |
Path | 指定本地路径或 UNC 路径,其中包含复制到 Windows 映像的附加全新设备驱动程序。 |
有效配置阶段
windowsPE
父层次结构
Microsoft-Windows-PnpCustomizationsWinPE | DriverPaths | PathAndCredentials
应用于
有关此组件支持的受支持 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-PnpCustomizationsWinPE。
XML 示例
以下 XML 输出指定设备驱动程序两个附加位置的 UNC 路径,以及用于访问这些路径的凭据。
<DriverPaths>
<!-- First PathAndCredentials list item -->
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
<Path>\\myFirstDriverPath\DriversFolder</Path>
<Credentials>
<Domain>MyDomain</Domain>
<Username>MyUsername</Username>
<Password>MyPassword</Password>
</Credentials>
</PathAndCredentials>
<!-- Second PathAndCredentials list item -->
<PathAndCredentials wcm:action="add" wcm:keyValue="2">
<Path>C:\Drivers</Path>
<Credentials>
<Domain>MyComputerName</Domain>
<Username>MyUsername</Username>
<Password>MyPassword</Password>
</Credentials>
</PathAndCredentials>
</DriverPaths>