路径 (microsoft-windows-pnpcustomizationswinpe-driverpaths-pathandcredentials-path)

Path 是指向某个位置的本地或通用命名约定 (UNC) 路径,该路径包含你想要在 Windows 安装过程中提供的现成的驱动程序。 在 windowsPE 配置阶段期间,会将这些驱动程序复制到 Windows 映像的驱动程序存储区。

Path

指定包含现成的驱动程序的本地或 UNC 路径。 在 windowsPE 配置阶段期间,会将此路径下的驱动程序复制到 Windows 映像的驱动程序存储区。

路径是一个字符串,其最大长度为 259 个字符。

该字符串类型不支持空元素。 请勿为该设置创建空值。

有效配置阶段

windowsPE

父层次结构

microsoft-windows-pnpcustomizationswinpe- | DriverPaths | PathAndCredentials | Path

应用于

有关此组件支持的受支持 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>

PathAndCredentials