Key (microsoft-windows-pnpcustomizationswinpe-driverpaths-pathandcredentials-key)
Key
は、デバイス ドライバーのパスを識別する一意の文字列を指定します。
メモ Key
の値は、PathAndCredentials 要素の属性として応答ファイルに追加されます。 属性 wcm:keyValue
は、一意の各デバイス ドライバー パスを識別するために使用します。 たとえば、3 つの異なるデバイス ドライバーのパスを指定するには、Path1、Path2、Path3 の Key
個の値を使用します。
値
キー |
デバイス ドライバーのパスを識別する一意の文字列を指定します。 Key は文字列です。 |
この文字列の種類は空の要素をサポートしていません。 この設定で空の値を作成しないでください。
有効な構成パス
auditSystem
offlineServicing
[親階層]
microsoft-windows-pnpcustomizationswinpe- | DriverPaths | PathAndCredentials | Key
適用対象
サポートされている Windows のエディションと、このコンポーネントがサポートするアーキテクチャの一覧については、「microsoft-windows-pnpcustomizationswinpe-」をご覧ください。
XML の例
次の XML 出力では、デバイス ドライバーの 2 つの追加場所の UNC パスと、それらのパスへのアクセスに使用される資格情報が指定されます。
<DriverPaths>
<!-- First PathAndCredentials list item -->
<PathAndCredentials wcm:action="add" wcm:keyValue="Path1">
<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="Path2">
<Path>C:\Drivers</Path>
<Credentials>
<Domain>MyComputerName</Domain>
<Username>MyUsername</Username>
<Password>MyPassword</Password>
</Credentials>
</PathAndCredentials>
</DriverPaths>