assuming your CD-ROM drive is on your Secondary IDE channel, go to device manager, select the Secondary IDE Channel and Uninstall it. then reboot. Windows should re-detect the Secondary Channel and the CD-ROM drive on it.
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the land of Mordor, where the Shadows lie
M.C. Escher - Reptilien