If you are sure it's a software issue (why?) going back to factory conditions surely helps. There might be other ways, such as installing a Windows 10 driver for the sound, but nothing in your post gives any clue and moreover, a CD-ROM drive doesn't need any driver except the one that came with Windows.
Anyway, I'd try System Restore first, if possible.