Windows XP Professional: Device Driver Error Codes 45 – 49

In this article, we are going to cover the following for Device Driver error codes 45 – 49 on a Windows XP Professional computer:

  • How to view Device Driver error codes.
  • How to repair error code problems.

You can view and resolve these error codes by using the Device Manager utility. Therefore, let’s first go over the steps to open the Device Manager and view error codes.

Note: The steps to resolve errors, will be discussed with each error code later in the article.

Steps to open Device Manager and view error codes:

  1. Click the Start button, select Run, type sysdm.cpl in the Open box, and then click the OK button.
  2. Open the Hardware tab on the System Properties dialog box, and then click the Device Manager button.
  3. This displays the Device Manager window.

  4. Double-click on the device type to display the devices under it. For example, double-click Modems.
  5. Double-click a modem to open its properties dialog box.

If an error code for this device has been generated, it will be displayed in the Device Status box on the General tab.

Let’s now have a look at the causes of Device Driver error codes 45 through 49 and their solutions.

Code 45

The following error code is displayed if a device previously attached to the computer is no longer present.

Error Message:

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

This error code is just used to specify the disconnected status of the device and does not require you to resolve it. The error code resolves automatically when you connect the associated device to the computer.

Code 46

The following error code may be displayed when you try to use a device when Windows is shutting down.

Error Message:

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

This message does not require any solutions and the device should work fine when the system restarts.

Code 47

The following error code is displayed when you try to use your device in one of the following conditions:

  • You have already prepared your device for ejection by using the Safe Removal application.

Note: If you have any external device, such as a Pen drive or a USB mouse connected to your system the Safely Remove Hardware icon will be visible in the notification area of your taskbar.

  • You have physically ejected the device from the system.

Error Message:

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)


You can solve the problem by performing one of the following tasks:

  • Disconnect and then reconnect the device to the computer.
  • Ensure that the device is properly connected to the computer and then restart the system.
  • Open the device properties box from Device Manager and then click the Troubleshoot button on the General tab to launch the troubleshooting wizard. Follow the instructions in this wizard to diagnose the problem with your device and then resolve it.

Code 48

The following error code may be displayed if the driver for a device is not compatible with your Windows operating system or has some other problems.

Error Message:

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)


To solve this problem, try to obtain the latest version or the updated driver from the manufacturer of your hardware device and install it on your computer.

You may also troubleshoot the device for problems. To do this, open the faulty device’s properties box in Device Manager and then on the General tab, click the Troubleshoot button to launch the wizard that will enable you to troubleshoot your device. Follow the instructions in this wizard to diagnose the problem with the device and then resolve it.

Code 49

Error code 49 may be displayed if the system hive exceeds its maximum size and all new devices fail to work until this size is brought down:

Error Message:

Windows cannot start new hardware devices because the system hive is too large (exceeds the Registry Size Limit). (Code 49)“The system hive is apart of the Windows registry and is associated with files that comprise configuration information related to applications, user preferences, and devices on your computer.

This problem usually occurs if the devices that are no longer connected or installed on your computer are listed in the system hive.


In order to fix this problem you will have to locate these no longer used hardware devices in Device Manager and then uninstall them. To do this, perform the following steps:

  1. Click the Start button, select Run, type CMD in the Open box, and then click the OK button to display the Command Prompt window.
  2. At the prompt, type the following and press Enter.
  3. set devmgr_show_nonpresent_devices=1

  4. Open the Device Manager window.
  5. After setting the above environment variable, you will now be able to see your old and no longer used devices in the Device Manager window as well.

  6. To reduce the size of the system hive, remove all unwanted hardware devices from the computer. If there is some problem with a particular device, you may have to uninstall and reinstall it on the system.

Note: After you complete the above step, it is recommended that you use a reliable registry cleaner tool to scan and remove all unwanted data from the registry. Next, compress the registry by defragging it by using the registry defrag feature.

If the above tasks do not enable you to resolve error code 49, you may be forced to reinstall the operating system to resolve the error.

To prevent driver problems from occurring on your computer, it is recommended that you maintain a healthy and compact system registry. You can do this with the help of a reliable registry cleaner tool. You must also keep your Windows and device drivers updated with the latest security releases and patches.