Additionally to all, what has been said before, I sadly must say, that sometimes a stage has been reached, where we simply cannot help anymore.
You have a massive issue with the detection or with the driver of your sound card. The possible solutions are very complex and figuring out, what exactly goes wrong is very difficult.
I can remember the trouble I had with my father’s system, the damn onboard sound had no installer for the driver, you had to manually install it. Even if you did it, it always said, that it couldn’t find some files. It was a pain.
General hardware issues are really hard to track down, in the end, a Windows reinstall probably will do the trick. *shrugs*
All I still can think of is, that you do what JM said, sometimes it also can help, if you disable the onboard soundchip in Bios, boot Windows and re-enable it in Bios again. If it’s a sound card, remove the card from your pc, boot Windows and plug it in again after you’ve shutdown Windows.
Doesn’t matter, which of both is the case, you should uninstall anything, which sounds like audio driver, from the Windows control panel first.