Nova Knowledgebase
Search:     Advanced search
Browse by category:
Glossary

Error Message: Cannot Install Hardware. An Error Occurred During the Installation of the Device

Views: 500
Votes: 0
After you upgrade your computer to Windows XP, and you try to install a device (such as a printer), you may receive the following error message:
Cannot install hardware.
An error occurred during the installation of the device.
The Data is invalid.

CAUSE

This issue may occur if the driver that is included with the device is incompatible with Windows XP.

RESOLUTION
Method 1: Install Windows service packsTo update Windows by installing the lates...

Method 1: Install Windows service packs

To update Windows by installing the latest service packs, visit the following Web site, and then select the version of Windows that you are using:
http://support.microsoft.com/sp (http://support.microsoft.com/sp)
After you install any available service packs, again try to install the device.

Method 2: Replace the Driver.cab file with the original version of the file from the Windows installation disk, and then remove and reinstall your hardware device

To resolve this issue, follow these steps:
  1. Restart the computer in Safe Mode.
  2. Rename the Driver.cab file that is in the following folder:
    C:\Windows\Driver cache\i386
    For example, rename the Driver.cab file as Driver.old.
  3. Insert the Windows XP CD-ROM into the CD-ROM or DVD-ROM drive.
  4. When the Welcome screen appears, click Perform additional tasks.
  5. Click Browse this CD, and then double-click the I386 folder.
  6. Click the Driver.cab file, and then on the Edit menu, click Copy.
  7. In Windows Explorer, open the following folder:
    C:\Windows\Driver cache\I386
  8. On the Edit menu, click Paste to paste the Driver.cab file in the C:\Windows\Driver cache\I386 folder.
  9. Remove the device that you tried to install.

    For example, if you received the error when you tried to install a printer, follow these steps to remove the printer:
    1. Click Start, click Control Panel, and then click Printers and Other Hardware.
    2. Click Printers and Faxes (or the icon representing the type of device that you want to remove).
    3. Right-click the printer that you want to remove, click Delete, and then click Yes to confirm deletion of that printer.
    -or-

    Use Device Manager to remove the device. For example, if you received the error when you tried to install a modem, follow these steps to remove the modem:
    1. Click Start, right-click My Computer, click Manage, and then click Device Manager.
    2. Expand Modems, select your modem, and then press DELETE. Click Yes to confirm.
  10. Restart the computer. Your new device should be detected and automatically installed.
You may also want to contact the device manufacturer to obtain the most recent drivers for your device. For information about how to contact your device manufacturer, visit the following Microsoft Web site:
http://support.microsoft.com/gp/vendors (http://support.microsoft.com/gp/vendors)
Others in this Category
document How Spam Works?
document Why the AntiSpam Don't Block all Spam?
document Difference Between Regular Mail and Electronic Mail?
document Access to the current record is denied. Validate your permission
document Computer is not responding
document Email Communication Problems
document Bad weather preparation for your PC
document Outlook Web Access - Red X in Body Section
document How to troubleshoot missing network connections icons in Windows Server 2003 and in Windows XP
document Mac OS X 10.1 or later: How to Connect to Windows File Sharing (SMB)
document Connecting Macintosh OS X 10.3 and Higher Clients to a Windows Small Business Server 2003 Network
document What is InstallShield Update Manager
document How Do I Install or Uninstall The Software Manager?
document How do I check my Software Version?
document Error 1603: Cannot install Flash Player 7
document The current time on this computer and the current time on the network are different. For more information about Date/Time Properties, see Help and Support. To log on, contact your system administrator.
document How to Merge Vendors in QuickBooks
document This portion of the Remote Web Workplace requires the Microsoft Remote Desktop ActiveX Control. Your browser's security settings may be preventing you from downloading ActiveX controls. Adjust these settings, and try to connect again.
document The installation source for this product is not available. Verify that the source exists and that you can access it.
document Missing DVD/CD ROM Drive
document Quick Launch settings are not saved; Search Assistant Toolbar in Taskbar
document How to cancel printing or to delete a print job that is stuck in the print queue in Windows XP
document This file does not have a program associated with it for performing this act
document This operation has been cancelled due to restrictions in effect on this computer.
document Registry Edits for Windows XP "Tweaks and Tips"
document When Performing Windows Updates Error number: 0×80070424