CD drive or DVD drive is missing or is not recognized by Windows or other programs

Symptoms

Your CD generate or DVD generate is losing or not identified by Windows or other applications, so you cannot perform or accessibility a CD or DVD. This problem may have happened after one of the following situations: 
  • You upgrade the Windows operating system.
  • You install or uninstall CD or DVD recording programs.
  • You uninstall Microsoft Digital Image.
You may see one of the following error messages:
  • One of the following error messages appears when you view the CD drive or the DVD drive in Device Manager.

    Error message 1
    The device is not working properly because Windows cannot load the drivers required for this device (Code 31).
    Error message 2
    A driver for this device was not required, and has been disabled (Code 32 or Code 31).
    Error message 3
    Your registry might be corrupted. (Code 19) 
  • An "error code 39" error message.
  • A message that resembles the following appears in the notification area:
    Windows successfully loaded the device driver for this hardware but cannot find the hardware device. (Code 41)

Resolution

To resolve the issue, use the following methods in the order that they are presented:

Method 1: Use the Fix it solution

To automatically resolve this issue, follow these steps:
  1. Go to the following Microsoft website, and then click Run now:
    Fix problems with CD or DVD drives that can’t read or write media
  2. In the File Download dialog box, click Run or Open, and then follow the steps in the wizard.

Method 2: Use the Hardware and Devices troubleshooter if you are running Windows 7 or Windows 8

To open the Hardware and Devices troubleshooter, follow these steps:
  1. Press the Windows logo key+R to open the Run dialog box.
  2. Type control in the Run dialog box, then press Enter.
  3. In the Search box in Control Panel, type troubleshooter, and then click Troubleshooting.
  4. Under the Hardware and Sound item, click Configure a device. If you are prompted to enter an administrator password or provide confirmation, type the password or provide confirmation.

Method 3: Manually fix corrupted registry entries

Important This section, method, or task contains actions that tell you how to alter the personal computer. However, serious problems might occur if you change the personal computer incorrectly. Therefore, make sure that you adopt these measures carefully. For added protection, back again up the personal computer before you change it. Then, you can recover the personal computer if a problem occurs. For more information about how to back again up and recover the personal computer, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back again up and recover the personal computer in Windows

This problem may be caused by two Operating system records that have become damaged. To use Registry Editor to delete the damaged Registry records, follow these steps:
  1. Press the Windows logo key+R to open the Run dialog box.
  2. Type regedit in the Run dialog box, then press Enter. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow
  3. In the navigation pane, locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}
  4. In the right pane, click UpperFilters.

    Note You may also see an UpperFilters.bak registry entry. You do not have to remove that entry. Click UpperFilters only. If you do not see the UpperFilters registry entry, you still might have to remove the LowerFilters registry entry. To do this, go to step 7.
  5. On the Edit menu, click Delete.
  6. When you are prompted to confirm the deletion, click Yes.
  7. In the right pane, click LowerFilters.

    Note If you do not see the LowerFilters registry entry, go to Method 4.
  8. On the Edit menu, click Delete.
  9. When you are prompted to confirm the deletion, click Yes.
  10. Exit Registry Editor.
  11. Restart the computer.

Method 4: Remove and reinstall the drivers

To do this, follow these steps:
  1. Press the Windows logo key+R to open the Run dialog box.
  2. Type devmgmt.msc in the Run dialog box, then press Enter. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow
  3. In Device Manager, expand DVD/CD-ROM drives, right-click the CD and DVD devices, and then click Uninstall.
  4. When you are prompted to confirm that you want to remove the device, click OK.
  5. Restart the computer.
After the computer restarts, the drivers will be automatically installed.

More information

Did this fix the problem?

 If the generate is detailed, try to perform or accessibility a CD or DVD. If the generate is not detailed, go to Next actions.

If you can perform or accessibility a CD or DVD, you are completed this content.

If you can't perform or accessibility a CD or DVD, you may have to re-install some applications. Some applications might not be able to use your CD or DVD generate until you re-install those applications. If the issue happens again when you set up or remove those applications, get in touch with the maker of the system to see if an upgrade is available that resolves the issue. Some illustrations of applications that might be impacted are:
  • iTunes software by Apple
  • Nero software by Nero Inc
  • Roxio Creator software by Sonic Solutions
  • Zune software by Microsoft
After reinstalling your programs, if you can play or access a CD or DVD, you are finished with this article.