Path (microsoft-windows-pnpcustomizationsnonwinpe-driverpaths-pathandcredentials-path)
Path
是指向某个位置的本地或通用命名约定 (UNC) 路径,该路径包含要在 Windows 安装过程中提供的现成的驱动程序。 在 auditSystem 配置阶段中,这些驱动程序将复制到 Windows 安装的驱动程序存储中。
值
Path |
指定包含现成的驱动程序的本地或 UNC 路径。 在 auditSystem 配置阶段期间,会将此路径下的驱动程序复制到 Windows 安装的驱动程序存储区。 Path 是一个字符串,其最大长度为 259 个字符。 |
该字符串类型不支持空元素。 请勿为该设置创建空值。
有效配置阶段
auditSystem
offlineServicing
父层次结构
Microsoft-Windows-PnpCustomizationsNonWinPE | DriverPaths | PathAndCredentials | Path
应用于
有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-PnpCustomizationsNonWinPE。
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>