Microsoft KB Archive/837691

= Hardware devices not installed in Sysprep image =

Article ID: 837691

Article Last Modified on 3/16/2004

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-





SYMPTOMS
When you use the Microsoft System Preparation tool (Sysprep) to deploy a Sysprep image of Microsoft Windows XP to a computer, some devices may appear in Device Manager as not installed even when the driver for the device exists in the path that is set by the oempnpdriverspath entry in the Sysprep.inf.

If you double-click on a device in Device Manager, you receive the following error message in the Device status box on the General tab:

The drivers for this device are not installed. (Code 28)

Additionally, a yellow exclamation mark appears next to the device when you view it in Device Manager.



CAUSE
This problem occurs when you create a Sysprep image on a computer and then deploy that image to a computer that has the same type of hardware. Any devices that do not have their drivers installed will remain in this state after the deployment of the Sysprep image. The minisetup program that is used by Sysprep does not perform a full Plug and Play re-enumeration of all devices.



WORKAROUND
Before you run Sysprep to prepare a computer for duplication, remove any devices in device manager that are set to Code 28. To remove these devices, follow these steps:  Click Start, and then click Control Panel. Double-click Administrative Tools. Double-click Computer Management. Click Device Manager. Locate any device that has a yellow exclamation mark next to it. Verify that the device status for the device has the error message that is listed in the &quot;Symptoms&quot; section of this article. To do so: <ol style="list-style-type: lower-alpha;"> Right-click the device icon.</li> Click Properties.</li> The Device status box lists the error message:

The drivers for this device are not installed. (Code 28)

</li></ol> </li> Right-click the device icon, click Uninstall and then click OK.</li></ol>

Repeat steps 5 through 7 for each device that has the Code 28 error message.

Additional query words: Winxp

Keywords: kbprb KB837691

-

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

© Microsoft Corporation. All rights reserved.