1) Go into device manager, under IDE ATA/ATAPI, uninstall both channels 0 and 1. Reboot immediately. When it reloads, your lost DVD player should now be there.
2) (not working)
Type cmd in windows search. right click on Command Prompt. Select Run as Administrator. Paste the following command and hit enter. Restart the Windows after that.
reg.exe add "HKLM\System\CurrentControlSet\Services\atapi\Controller0" /f /v EnumDevice1 /t REG_DWORD /d 0x00000001
3) Check the MS article https://support.microsoft.com/en-us/kb/314060