Print | Rate this content

HP and Compaq Desktop PCs - Adding or Replacing a CD or DVD Drive

This document applies to HP and Compaq desktop computers with Windows 95, 98, Me, and XP.

This document provides step-by-step instructions to install, remove, or replace an IDE CD or DVD drive. The document also provides instructions for replacing an IDE drive with a Serial ATA (SATA) drive.

Print this document for reference after the computer is restarted or when an Internet connection is not available.

NOTE: HP cannot be held liable for damage resulting from incorrect installation of software or parts, or the installation of parts or software that were not supplied by HP.
NOTE: The images in this document might be different from the computer you are using.

Before you begin

  • You need a Phillips screwdriver, a medium flat-blade screwdriver, and a flashlight.

  • HP strongly recommends using an antistatic wrist strap and a conductive foam pad.

  • Find a clear, flat, stable work surface over a floor that is not carpeted.

  • If you are adding a drive to a computer that already has a CD or DVD drive, you might need an IDE cable with three connectors. Some computers use IDE cables with only two connectors, one for the motherboard connection and one for the drive.

  • If you are replacing an IDE drive with a Serial ATA (SATA) drive, you may need a PCI SATA controller card or a SATA to IDE adapter.

Video overview

View the following video before using the steps in this article.

NOTE: Your computer case is probably different than the computer in the video.

Get Macromedia Flash now.
To view the following movie you must have the Flash Player installed on your system.
Download Flash Now Non-HP site

Step 1: Removing the drive from Device Manager

If you are replacing an existing drive, before removing the hardware, remove the drive from Device Manager.

Use one of the following methods, depending on the version of Windows on your computer.

Windows XP

  1. Click Start , right-click My Computer , and then click Properties .

  2. Click the Hardware tab, and then click the Device Manager button.

  3. Click the plus sign (+ ) next to DVD/CD-ROM drives .

  4. Right-click the drive you want to remove.

    Figure 1: Finding the drive in Device Manager

    Finding the drive in Device Manager
  5. Click Uninstall .

  6. Close all programs and turn off the computer. Continue to the next Step .

Windows 95, 98, and Me

  1. Right-click the My Computer icon on the desktop.

  2. Click Properties in the menu that displays.

  3. Click the Device Manager tab.

  4. Click the plus sign (+ ) next to CD-ROM or DVD/CD-ROM drives .

  5. Right-click the drive you want to remove.

    Figure 2: Finding the drive in Device Manager

    Finding the drive in Device Manager
  6. Click Remove , and then click OK when the warning window displays.

  7. Close all programs and turn off the computer. Continue to the next Step .

Step 2: Opening the case

Use the following steps to open the case:

WARNING: The edges of metal panels can cut skin. Be careful not to slide skin along any interior metal edge of the computer.
CAUTION: This product contains components that can be damaged by electrostatic discharge (ESD). To reduce the chance of ESD damage, work over a noncarpeted floor, use a static dissipative work surface (such as a conductive foam pad), and wear an ESD wrist strap connected to a grounded surface.
  1. Unplug all cables from the back of the computer except the power cable. Write down each cable location as you remove it.

  2. Unplug the power cable. With the power cable removed, press the Power button on the front of the computer.

  3. Remove the screws that attach the side panel to the computer. Do not remove any other screws on the back of the computer, such as the power supply screws.

    Figure 3: Removing the side panel screws

    Removing the side panel screws
  4. Slide the left panel towards the back of the computer to remove it.

    Figure 4: Removing the side panel

    Removing the side panel
  5. If the front of the case prevents you from removing the drive, remove the front cover. You might need to remove the other side panel to access the front cover.

    Press in on the tabs attaching the front cover (three or four on each side), and gently pull it forward. Carefully remove any cables attached to the front cover.

    Figure 5: Removing the front cover

    Removing the front cover

Step 3: Removing the CD or DVD Drive

The following steps explain how to remove a drive you want to replace or upgrade. Skip to Step 4 if you are adding a new drive without removing an existing drive.

  1. Find the CD or DVD drive you want to replace, probably in a top bay towards the front of the computer.

  2. Disconnect the power cable and IDE interface cable from the back of the drive. Remember where each cable and connector goes because you must reconnect them to the new drive.

    Figure 6: Removing the drive cables

    Removing the cables

    There might also be a small audio cable connected to the drive. Detach this cable from the back of the drive.

  3. If the drive is attached to the case with screws, remove all screws on each side of the drive. Keep the screws because you will need them later.

    Figure 7: Removing the screws

    Removing the screws
  4. Slide the drive forward through the front of the computer and remove it.

    Figure 8: Removing the drive

    Removing the drive

Step 4: Installing a new drive

Use the following steps to install a new drive into the computer:

  1. If the drive bay is covered by a bay insert, remove the bay insert using the following instructions:

    1. Slide the tip of a flat blade screwdriver in between the side of the bay insert and the body of the computer.

    2. Using the screwdriver, apply light pressure to one side of the bay insert while pulling it out slightly.

    3. Do the same thing on the other side, and remove the bay insert.

      Figure 9: Removing the bay insert

      Removing the bay insert
  2. Align the new drive in the bay opening and slide it in until it is even with the front of the computer, aligning the screw holes in the drive with the holes in the computer. If the drive attaches to the computer with a plastic latch, snap and lock it into place.

    Figure 10: Aligning the holes

    Aligning the holes
  3. If the drive is attached using screws, attach the drive to the drive bay using all the screws. CD and DVD drives are susceptible to vibration so it is important to seat all screws snugly against the metal drive bay.

    Figure 11: Attaching the drive

    Drive screws

Follow the instructions for the type of drive you are installing.

Installing an IDE drive

  1. Make sure the new drive is set to Cable Select or CS. Most new drives are already set to Cable Select.

    If the drive is not set to Cable Select, change it to Cable Select.

    If you do not know which pins represent Cable Select, check the labeling on the drive, looking for CS. If the drive is not labeled, see the drive documentation.

    Figure 12: Cable Select setting

    Cable Select setting
  2. Connect the end of the IDE ribbon cable into the IDE interface connector on the back of the drive as follows:

    • If there is only one CD or DVD drive in the computer, connect the IDE ribbon cable using the last connector (Master).

    • If there are two CD or DVD drives in the computer, connect the IDE ribbon cable using the unused connector.

    Figure 13: IDE cable

    IDE cable
    1 - Slave connector (or second drive)
    2 - Master connector (first drive)
  3. If the IDE cable was removed from the motherboard, connect the other end of the IDE cable into the motherboard. Be careful not to dislodge the other cables, and make sure that the IDE cable fits snugly into its connector. Use a flashlight to make this easier.
  4. Connect the power cable and sound cable (if used), into the back of the drive. Be careful not to dislodge any other cables.

    NOTE: It might be helpful to detach the drive and slide it forward a little while connecting the cables. After attaching all the cables, slide the drive back, and fasten it into place.

Installing a Serial ATA (SATA) drive

If you are installing a Serial ATA drive as a replacement for an IDE drive, check the motherboard for an open Sata slot. If the motherboard does not have an open Sata slot, you can purchase and install a PCI SATA controller card or a SATA to IDE adapter.

If using a PCI SATA controller card, connect the Serial ATA cable from the drive to a SATA slot on the controller card.

If using a SATA to IDE adapter, follow the instructions for the adapter.

Step 5: Replacing the covers

  1. If the front cover was removed, connect any cables to the front cover, and align the tabs on the front cover with the holes in the front of the computer. Snap the front cover into place.

    Figure 14: Aligning the front cover

    Aligning the front cover
  2. Replace a side panel by matching the side panel tabs with the tab openings in the case.

    Figure 15: Matching the side panel tabs

     Matching the side panel tabs
  3. Insert the side panel and slide it forward.

    Figure 16: Replacing the side panel

    Replacing the side panel
  4. Fasten the screws to secure the side panel. Repeat for the other panel.

    Figure 17: Securing the side panel

    Securing the side panel

Step 6: Installing drivers for the new drive

  1. Connect all cables and turn on the computer.

    Windows opens and finds the new hardware.

  2. If a new drive was installed, see the instructions that came with the drive.

  3. If a window displays requesting help finding particular files, browse the following folders, one at a time, until the lost file is found:

    • C:\i386

    • C:\Windows\inf

    • C:\Windows\options\cabs

    • C:\Windows\system

    • C:\Windows\system32

  4. Restart the computer and test the new drive.

NOTE: If a CD-RW or DVD-RW drive is installed, the computer might recognize it as a CD-ROM drive until CD writing software is installed.

Provide feedback

Please rate the information on this page to help us improve our content. Thank you!