In order to fix the issue, I suggest you run the Fix It utility provided by Microsoft. It is developed to diagnose and repair all major CD or DVD drive issues. If this doesn't work, go to Start, type regedit and open the tool. Navigate to HKEY-LOCAL-MACHINE > SYSTEM > CurrentControlSet > Control > Class > {4D36E965-E325-11CE-BFC1-08002BE10318}, select the UpperFilters and LowerFilters entries from the right window, go to Edit tab and click Delete. Confirm the process and restart your computer.
Another solution is to reinstall the CD/DVD drive. For this purpose, right-click on computer icon, select Manage and open Device Manager. Expand the Disk drives list, right-click on the driver and select Uninstall. After that, reboot your PC and click Scan for hardware changes icon from Device Manager.