Goto control panel, double click Administrative properties, when the thing comes up, click "Device Manager"
You will see all of the device listings there.
If you do not see the D Drive, on the Device Manager, look on the very top of the list.
At the top should be the main computer system, and underneath are all of the components (that i just told you about)
Right click on the computer symbol at the very top of the list, and click "Scan for hardware changes"
This not only scans for hardware changes, but also scans for anything that is connected to the PC but is not installed yet, so that should install the CD Drive back to normal.
If it doesn't, simply reply again and I will try to provide more assistance.