If I understand you correctly, the sound did work for a while under Windows 10? Is that correct?
What make and model machine do you have? Quite a few need new drivers that did not roll out with Windows 10, or don't even exist yet, but if your sound worked at all under Windows 10 it may be another issue.