After you install Windows 8.x or Windows 10, you may find the CD/DVD drive is not recognized. Resolution:
Open Command Prompt as an Administrator and run the following command:
reg.exe add "HKLM\System\CurrentControlSet\Services\atapi\Controller0" /f /v EnumDevice1 /t REG_DWORD /d 0x00000001
Reboot the system and verify if the problem has been resolved.
Via: blogs.technet.com