If you have just upgraded to Windows 10, then it have something to do with the SATA or AHCI settings in the computer's BIOS.
I would suggest the following:
Firstly check that the SATA cables are connected correctly (if Desktop PC), and that the optical drive is getting power.
Upgrade the firmware for you PC / laptop / motherboard, including the BIOS, to latest version.
Check the PC / laptop / motherboard manufacturer's website for information regarding SATA and AHCI configuration for Windows 10. Then check the optical drive manufacturer's website for same.
Check the PC / laptop / motherboard manufacturer's website for any Windows 10 specific drivers. Then check the optical drive manufacturer's website for same.