I came here looking for solutions to the same problem. I managed to fix the issue on my laptop doing the following.
- windows+r then type devmgmt.msc to open device manager
- find "Sound, Video and Game controllers" and right click uninstall audio device (for me it was Realtek).
- downloaded latest audio driver from realtek here Realtek Audio Drivers corresponding to my OS (64 bit windows)
- restart computer
- ran Realteks driver installer, it tried to uninstall driver again and i let it, computer restarted again
- now when I booted up sound was working and installer tried to finish installation which failed and audio was gone again
- went back to device manager via "Win+R" "devmgmt.msc and clicked "Scan for hardware changes" under the action menu.
After this final step my audio device showed up and driver was installed again and sound is working again
Tried this - did not work. I even went to my Manufactures MB Support and Driver Page to download their specific driver package and it still didn't work.