Microsoft KB Archive/926173

= You cannot use the DevicePath registry entry to install drivers when you use the Sysprep tool to deploy Windows Vista =

Article ID: 926173

Article Last Modified on 12/20/2006

-

APPLIES TO


 * Windows Vista Enterprise
 * Windows Vista Ultimate
 * Windows Vista Business
 * Windows Vista Home Premium
 * Windows Vista Home Basic
 * Windows Vista Starter

-



SYMPTOMS
When you use the Sysprep tool to deploy Windows Vista, you cannot use the DevicePath registry entry to install out-of-box drivers.

Note The DevicePath registry entry is located in the following registry subkey:



CAUSE
This issue occurs because the Windows Vista Setup program does not use the DevicePath registry entry. Therefore, the drivers that you specify in this registry entry are not installed.

In earlier versions of Windows, the Setup program did use this registry entry.



WORKAROUND
To work around this issue, use one of the following methods.

Method 1: Install the drivers after the Setup program is complete
Use the path that is specified in DevicePath registry entry to install the drivers after the Setup program is complete. To do this, follow these steps:
 * 1) Log on to a deployed computer by using an account that has administrative credentials.
 * 2) Click Startvistastartbutton.jpg], right-click Computer, and then click Manage.
 * 3) Under System Tools, click Device Manager.
 * 4) In Device Manager, locate the device for which you added driver information to the DevicePath registry entry.
 * 5) Right-click the device, and then click Update Driver Software.
 * 6) Click Search automatically for update driver software.

Windows Vista uses the DevicePath registry entry to install the driver.

Method 2: Install the drivers during Setup by using an answer file
Use an answer file to install out-of-box drivers during Windows Setup. Specify the paths from which to install the drivers in the answer file. The drivers may be available locally or on a shared network resource. Also, specify the configuration passes in which to install the drivers.

You can add out-of-box drivers to the windowsPE, offlineServicing, or auditSystem configuration passes. By adding driver paths to the windowsPE configuration pass or to the offlineServicing configuration pass, you can add out-of-box drivers to the Windows image before the system starts. This lets you add startup-critical drivers to a Windows image. Adding drivers to the auditSystem configuration pass lets you add out-of-box drivers during audit mode. This lets you maintain a simple Windows image. You add only the drivers that are required for a specific hardware configuration.

For more information about how to add out-of-box drivers to an offline image, see the &quot;Add Device Drivers to an Offline Windows Image&quot; topic in the Windows Automated Installation Kit (Windows AIK) User's Guide. For more information about how to add drivers to the system in windowsPE or auditSystem configuration passes, see the &quot;Add Device Drivers During Windows Setup&quot; topic.

To obtain the Windows AIK User's Guide, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=993c567d-f12c-4676-917f-05d9de73ada4&displaylang=en

Keywords: kbtshoot kbprb KB926173

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.