A driver's attempt to add a device failed.

Error Code


Display Message (Windows 2000 and later versions of Windows)

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

Update the device driver.

Starting with Windows XP, this problem can only occur if the driver's AddDevice routine fails.

For Windows 2000, this problem can occur in any of the following cases:

  • The service key is corrupted.

  • The driver's image could not be loaded from the disk.

  • The driver's DriverEntry routine failed.

  • The driver could not unload because of a leaked reference.

  • The driver is a legacy driver that did not create device objects.

  • The driver's AddDevice routine failed.

To update a device driver, follow these steps:

  1. Open Device Manager.

  2. Right-click the icon that represents the device in the Device Manager window.

  3. On the menu that appears, click Update Driver to start the Hardware Update wizard.