Hardware devices not installed in Sysprep image

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
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:
  1. Click Start, and then click Control Panel.
  2. Double-click Administrative Tools.
  3. Double-click Computer Management.
  4. Click Device Manager.
  5. Locate any device that has a yellow exclamation mark next to it.
  6. Verify that the device status for the device has the error message that is listed in the "Symptoms" section of this article.To do so:
    1. Right-click the device icon.
    2. Click Properties.
    3. The Device status box lists the error message:
      The drivers for this device are not installed. (Code 28)
  7. Right-click the device icon, click Uninstall and then click OK.
Repeat steps 5 through 7 for each device that has the Code 28 error message.
Winxp
Properties

Article ID: 837691 - Last Review: 12/08/2015 06:29:08 - Revision: 1.2

Microsoft Windows XP Home Edition, Microsoft Windows XP Professional

  • kbnosurvey kbarchive kbprb KB837691
Feedback