Here are a few different things you can try
CD/DVD drive not recognized in Windows 10
I recently ran into a problem where my DVD drive was missing from the list of devices in My Computer on Windows. It was there before, but had simply disappeared! After some research, I found a few solutions that worked.
Unfortunately, the solutions are different depending on the operating system you are using: XP, Vista or Windows 7/8/10. I will try to list as many solutions as possible for this problem and which operating system it applies to.
You will often see a message like this in Device Manager about your CD/DVD drive: