Look in Device Manager. You'll either see nothing or an entry with ! or ? next to it for the drive. Missing drivers are fairly common for folks upgrading. Worst case you can always buy an external CD/DVD drive for around $25.
`
Good luck.
Hi Guys just upgraded from windows 7 64bit to Windows 10 and it will not recognise CD Drive there is nothing wrong with the CD Drive as I rolled back to Windows 7 again for a short while and it worked perfectly can anyone shine some light on this annoying problem
Cheers.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic