路徑Path
Path
是本機或通用命名慣例 (UNC) 路徑,以包含您想要在 Windows 安裝期間提供的全新的裝置驅動程式的位置。Path
is a local or Universal Naming Convention (UNC) path to a location that contains out-of-box device drivers that you want to make available during Windows Setup. 在 windowsPE 設定階段中,這些驅動程式會複製到 Windows 映像的驅動程式存放區中。During the windowsPE configuration pass, these drivers are copied to the driver store of the Windows image.
值Values
PathPath |
指定的本機或 UNC 路徑,包含立即可用的驅動程式。Specifies the local or UNC path that contains out-of-box drivers. 在 windowsPE 設定階段中,此路徑中的驅動程式會複製到 Windows 映像的驅動程式存放區中。During the windowsPE configuration pass, drivers in this path are copied to the driver store of the Windows image. 路徑是最大長度為 259 個字元的字串。Path is a string with a maximum length of 259 characters. |
此字串類型不支援空元素。This string type does not support empty elements. 請勿為此設定建立空值。Do not create an empty value for this setting.
有效的設定階段Valid Configuration Passes
windowsPEwindowsPE
父階層Parent Hierarchy
microsoft-windows-pnpcustomizationswinpe- | DriverPaths | PathAndCredentials | Pathmicrosoft-windows-pnpcustomizationswinpe- | DriverPaths | PathAndCredentials | Path
套用至Applies To
如需支援的 Windows 版本和架構,此元件支援的清單,請參閱microsoft-windows-pnpcustomizationswinpe-。For the list of the supported Windows editions and architectures that this component supports, see microsoft-windows-pnpcustomizationswinpe-.
XML 範例XML Example
下列的 XML 輸出指定的裝置驅動程式和用來存取這些路徑的認證的其他位置的 UNC 路徑。The following XML output specifies the UNC paths to additional locations for device drivers and the credentials used to access those paths.
<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>