For the these steps solved the issue
To remove and reinstall IDE/ATAPI driver, follow these steps:
From Start, search for Device Manager. Open Device Manager from the search results, and select the View menu. Choose Show Hidden Devices.
Expand IDE/ATAPI Controllers, and then:
Select and right-click ATA Channel 0, and then click Uninstall
Select and right-click ATA Channel 1, and then click Uninstall
Select and right-click Standard Dual Channel PCI IDE Controller, and then click Uninstall
If there are additional entries, right-click them and then choose Uninstall
Reboot the device.
After the computer restarts, the drivers will be automatically installed.
If your problem is not solved, try the next method.
source:https://support.microsoft.com/en-in/help/314060/your-cd-or-dvd-drive-is-not-recognized-by-windows-or-other-programs