Key specifies the unique string to identify the device-driver path.

The value for Key is added to the answer file as an attribute of the PathAndCredentials element. The attribute wcm:keyValue is used to identify each unique device-driver path. For example, you can specify three different device-driver paths by using the Key values of Path1, Path2, and Path3.



Specifies the unique string used to identify the device-driver path. Key is a string.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes



Parent Hierarchy

Applies To

For a list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-PnpCustomizationsWinPE.

XML Example

The following XML output specifies the UNC paths to two additional locations for device drivers and the credentials used to access those paths.

  Copy Code
<!-- First PathAndCredentials list item -->
   <PathAndCredentials wcm:action="add" wcm:keyValue="Path1">
<!-- Second PathAndCredentials list item -->
   <PathAndCredentials wcm:action="add" wcm:keyValue="Path2">

See Also