Hi,
From your issue description, I understand that You are getting Error code 39. The drivers for CD rom drive is corrupted**.**Please let me know if you are not facing this issue.
I would suggest you to try the steps from the following link:
Your CD drive or DVD drive is missing or is not recognized by Windows or other programs
http://support.microsoft.com/kb/982116
Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article:Back up the registry in Windows 7
Hope this information is helpful and do let us know if you need further assistance with Windows in future. We will be glad to assist.