Boot into Safe Mode - (tap F8 twice per second during a restart; Choose option number three (3) in the Windows Startup dialog box using the arrow keys below the Delete key, and strike the Enter key; Click Ok when prompted);
Right click My Computer; Point to Properties; Click the Device Manager tab; Click the plus sign beside CDROM; Highlight each device inside CDROM, each in turn, and click the Add/Remove button until no main CDROM entry is present.
Repeat with each device below that, Display Adapters etc. (see exceptions below), removing all entries inside a main heading. If duplicates are present remove all those entries inside a main heading.
Do Not bother Hard Disk Controllers, System Devices, and USB controllers.
Restart via the Start button and Windows will redetect, refresh and only replace those devices needed. There is no use for 2 keyboards, CDROM etc. as those duplicates cause some of the errors you describe.
If the drive still does not work after doing the above, the CD drive may need replacing.