[NAME]  This thread is 3 years old..! How do you know it's not a hardware failure? The optical drive uses separate lasers to read CDs and DVDs. So if the DVD laser died, it won't play DVDs but will still play CDs. And, Win 10 doesn't have a built-in DVD player. You have to install one yourself. There are quite a few free DVD players that work with Win 10, so I wouldn't buy Microsoft's DVD player for ~$15 from their store. VLC Player consistently gets very high marks in all the reviews. If you install a DVD player and it still won't play them, it could be a drive failure...
Both my wife and I have Dell desktops.  Ever since the Win 10 upgrade, we've lost use of the DVD play & record functions. I have tried rolling back the drivers (can't select "roll back drivers").  I've uninstalled the CD/DVD player and rebooted the computer.  I've tried all the "regedit" suggestions.  All to no avail. The CD player works perfectly, playing and recording.  In File Explorer, in My Computer, the DVD drive does not appear.  It appears in Device Manager and has no yellow exclamation mark.  When I attempt to update drivers, Win says drivers installed are the best. The drive is a TSST Corp DVD+- RW SH-216CB. I'm sure I'm not the only person with this issue, but I could not locate any thread about it. Thanks for any help.      
Win 10 & DVD functionality