Microsoft KB Archive/310123

= Explanation of error codes generated by Device Manager in Microsoft Windows XP Professional =

Article ID: 310123

Article Last Modified on 12/1/2007

-

APPLIES TO


 * Microsoft Windows XP Professional x64 Edition
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



This article was previously published under Q310123



SUMMARY
This article lists the error codes that Device Manager may report and provides resolutions. To view the error codes, follow these steps:
 * 1) Click Start, click Run, and in the Open box, type control panel.
 * 2) In Control Panel, double-click System, click the Hardware tab, and then click Device Manager.
 * 3) Double-click a device type. For example, double-click Modems to see the devices in that category.
 * 4) Double-click a device to view its properties. If an error code has been generated, the code appears in the Device Status box that is on the General tab.



Codes 1 - 10
Code 1

This device is not configured correctly. (Code 1)

Recommended resolution

This device has no drivers installed or is incorrectly configured. Update the driver(s) by clicking Update Driver. This starts the Hardware Update wizard. If updating the driver does not work, see your hardware documentation for more information.

Code 3

The driver for this device might be corrupted, or your system may be running low on memory or other resources. (Code 3)

Recommended resolution

If the driver is corrupted, uninstall the driver and scan for new hardware to install the driver again. To scan for new hardware, click the Action menu in Device Manager, and then select Scan for hardware changes.

If the computer has insufficient memory to run the device, you can close some applications to make memory available. To check memory and system resources, right click My Computer, click Properties, click the Advanced tab, and then click Settings in Performance field.

You may have to install additional random access memory (RAM). On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 10

If the device has a FailReasonString value in its hardware key, that string appears as the error message. The driver or enumerator puts this registry string value there. If there is no FailReasonString in the hardware key, you receive the following error message:

This device cannot start. (Code 10)

Recommended resolution

Device failed to start. Click Update Driver to update the drivers for this device. On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

For more information about Code 10-related errors, click the following article number to view the article in the Microsoft Knowledge Base:

943104 Description of Code 10-related errors that Device Manager generates on Windows XP-based computers

Codes 11 - 20
Code 12

This device cannot find enough free resources that it can use. If you want to use this device, you will need to disable one of the other devices on this system. (Code 12)

Recommended resolution

Two devices have been assigned the same I/O ports, the same interrupt, or the same Direct Memory Access channel (either by the BIOS, the operating system, or a combination of the two). This error message can also appear if the BIOS did not allocate enough resources to the device (for example, if a universal serial bus (USB) controller is not an interrupt from the BIOS because of a corrupted Multiprocessor System (MPS) table).

You can use Device Manager to determine where the conflict is and disable the conflicting device. On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 14

This device cannot work properly until you restart your computer. (Code 14)

Recommended resolution

Click Start on the desktop, click Shut Down, and then select Restart in the Shut Down Windows to restart the computer.

Code 16

Windows cannot identify all the resources this device uses. (Code 16)

Recommended resolution

The device is only partially configured.

To specify additional resources for this device, click the Resources tab in Device Manager. If there is a resource with a question mark next to it in the list of resources assigned to the device, select that resource to assign it to the device. If the resource cannot be changed, click Change Settings. If Change Settings is unavailable, try clearing the Use automatic settings check box to make it available. If this is not a Plug and Play device, examine the hardware documentation for more information.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 18

Reinstall the drivers for this device. (Code 18)

The drivers for this device must be reinstalled.

Recommended resolution

Click Update Driver to start the Hardware Update Wizard. Alternately, you can uninstall the driver, and then click Scan for hardware changes to reload the drivers.

Code 19

Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged. To fix this problem you can first try running a Troubleshooting Wizard. If that does not work, you should uninstall and then reinstall the hardware device. (Code 19)

Recommended resolution

A registry problem was detected.

This can occur when more than one service is defined for a device, if there is a failure opening the service subkey, or if the driver name cannot be obtained from the service subkey. Try these options:

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard. Click Uninstall, and then click Scan for hardware changes to load a usable driver. Restart the computer in Safe Mode, and then select Last Known Good Configuration. This rolls back to the most recent successful registry configuration.

As a last resort, you can edit the registry directly. For more information, see the Registry Reference in the Microsoft Windows 2000 Server Resource Kit at the following Web site:

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/default.mspx?mfr=true

The registry information applies to Windows XP.

Codes 21 - 30
Code 21

Windows is removing this device. (Code 21)

Recommended resolution

Wait several seconds, and then refresh the Device Manager view. If the device appears, restart the computer.

Code 22

This device is disabled. (Code 22)

Recommended resolution

The device is disabled because a user disabled it by using Device Manager. Click Enable Device. This starts the Enable Device wizard.

Code 24

This device is not present, is not working properly, or does not have all its drivers installed. (Code 24)

Recommended resolution

The device does not appear to be present. The problem could be bad hardware, or a new driver might be needed.

Devices stay in this state if they have been prepared for removal. After you remove the device, this error disappears.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 28

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

Recommended resolution

To install the drivers for this device, click Update Driver. This starts the Hardware Update Wizard.

Code 29

This device is disabled because the firmware of the device did not give it the required resources. (Code 29)

Recommended resolution

Enable the device in the BIOS of the device. For information about how to make this change, see the hardware documentation or contact the hardware vendor.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Codes 31 - 40
Code 31

This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)

Recommended resolution

Windows cannot load the driver. Try updating the driver for this device. On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 32

A driver (service) for this device has been disabled. An alternate driver may be providing this functionality. (Code 32)

Recommended resolution

The start type for this driver is set to disabled in the registry. Uninstall the driver, and then click Scan for hardware changes to reinstall or upgrade the driver.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard. If the driver is required, and if reinstalling or upgrading does not work, change the start type in the registry using Registry Editor. For more information, see the Registry Reference in the Microsoft Windows 2000 Server Resource Kit at:

Code 33

Windows cannot determine which resources are required for this device. (Code 33)

Recommended resolution

The translator that determines the types of resources required by the device has failed.

Contact the hardware vendor, and configure or replace hardware.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 34

Windows cannot determine the settings for this device. Consult the documentation that came with this device and use the Resource tab to set the configuration. (Code 34)

Recommended resolution

The device requires manual configuration. Change the hardware settings by setting jumpers or running a vendor-supplied tool, and then use the Resources tab in Device Manager to configure the device.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 35

Your computer's system firmware does not include enough information to properly configure and use this device. To use this device, contact your computer manufacturer to obtain a firmware or BIOS update. (Code 35)

Recommended resolution

The Multiprocessor System (MPS) table, which stores the resource assignments for the BIOS, is missing an entry for your device and has to be updated.

Obtain a new BIOS from the system vendor.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 36

This device is requesting a PCI interrupt but is configured for an ISA interrupt (or vice versa). Please use the computer's system setup program to reconfigure the interrupt for this device. (Code 36)

Recommended resolution

Interrupt request (IRQ) translation failed.

Try using the BIOS setup tool to change settings for IRQ reservations (if such options exist). The BIOS might have options to reserve certain IRQs for peripheral component interconnect (PCI) or ISA devices. For more information about how to change BIOS settings, see the hardware documentation.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 37

Windows cannot initialize the device driver for this hardware. (Code 37)

Recommended resolution

The driver returned failure from its DriverEntry routine. Uninstall the driver, and then click Scan for hardware changes to reinstall or upgrade the driver.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 38

Windows cannot load the device driver for this hardware because a previous instance of the device driver is still in memory. (Code 38)

Recommended resolution

The driver could not be loaded because a previous instance is still loaded. Restart the computer.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 39

Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)

Recommended resolution

Reasons for this error include a driver that is not present; a binary file that is corrupted; a file I/O problem, or a driver that references an entry point in another binary file that could not be loaded.

Uninstall the driver, and then click Scan for hardware changes to reinstall or upgrade the driver.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 40

Windows cannot access this hardware because its service key information in the registry is missing or recorded incorrectly. (Code 40)

Recommended resolution

Information in the registry's service subkey for the driver is invalid.

Uninstall the driver, and then click Scan for hardware changes to load the driver again.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Codes 41 - 50
Code 41

Windows successfully loaded the device driver for this hardware but cannot find the hardware device. (Code 41)

Recommended resolution

A driver was loaded but Windows cannot find the device. This error occurs when Windows does not detect a non-Plug and Play device.

If the device was removed, uninstall the driver, install the device, and then click Scan for hardware changes to reinstall the driver. If the hardware was not removed, obtain a new or updated driver for the device.

If the device is a non-Plug and Play device, a newer version of the driver might be needed. To install non-Plug and Play devices, use the Add Hardware wizard. Click Performance and Maintenance on Control Panel, click System, and on the Hardware tab, click Add Hardware Wizard.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 42

Windows cannot load the device driver for this hardware because there is a duplicate device already running in the system. (Code 42)

Recommended resolution

A duplicate device was detected. This error occurs when a bus driver incorrectly creates two identically named children (bus driver error), or when a device with a serial number is discovered in a new location before it is removed from the old location.

Restart the computer.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 43

Windows has stopped this device because it has reported problems. (Code 43)

Recommended resolution

One of the drivers controlling the device notified the operating system that the device failed in some manner. For more information about how to diagnose the problem, see the hardware documentation.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 44

An application or service has shut down this hardware device. (Code 44)

Recommended resolution

Restart the computer.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 45

Currently, this hardware device is not connected to the computer. (Code 45)

Recommended resolution

To fix this problem, reconnect this hardware device to the computer.

The device is not present or was previously attached to the computer. If Device Manager is started with the environment variable DEVMGR_SHOW_NONPRESENT_DEVICES set to 1 (which means show these devices), any previously attached (NONPRESENT) devices are displayed in the device list and assigned this error code.

No resolution is necessary.

Code 46

Windows cannot gain access to this hardware device because the operating system is in the process of shutting down. (Code 46)

Recommended resolution

The hardware device should work correctly next time that you start the computer.

The device is not available because the system is shutting down.

This error code is only set when Driver Verifier is enabled and all applications have already been shut down.

No resolution is necessary.

Code 47

Windows cannot use this hardware device because it has been prepared for safe removal, but it has not been removed from the computer. (Code 47)

Recommended resolution

To fix this problem, unplug this device from the computer and then plug it in again.

The device has been prepared for ejection.

This error code occurs only if the user used the Safe Removal application to prepare the device for removal, or pressed a physical eject button. Restarting the computer brings the device online if the user does not want to eject from the dock.

Unplug the device, and then plug it in again. Alternately, restart the computer to make the device available.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 48

The software for this device has been blocked from starting because it is known to have problems with Windows. Contact the hardware vendor for a new driver. (Code 48)

Recommended resolution

Obtain and install a new or updated driver from the hardware vendor.

On the General Properties tab of the device, click Troubleshoot to start the Troubleshooting Wizard.

Code 49

Windows cannot start new hardware devices because the system hive is too large (exceeds the Registry Size Limit). (Code 49)

Recommended resolution

To fix this problem, you should first try uninstalling any hardware devices that you are no longer using. If that does not solve the problem, you will have to reinstall Windows.

The system hive has exceeded its maximum size and new devices cannot work until the size is reduced. The system hive is a permanent part of the registry associated with a set of files that contains information related to the configuration of the computer on which the operating system is installed. Configured items include applications, user preferences, devices, and so on. The problem might be specific devices that are no longer attached to the computer but are still listed in the system hive.

The solution is as stated in the Device Manager error code text. To view devices that are no longer attached to the computer, set the environment variable DEVMGR_SHOW_NONPRESENT_DEVICES to 1. Then run Device Manager to view, uninstall, and reinstall these devices. 