I did have that problem on a previous PC. About half the time I got sound and half not. A reboot always seemed to work, however.
I traced it to the Windows Quick Start feature. If I unchecked it and opted for the ordinary "slow start" the sound worked every time - it did take longer to boot up, however.
I hope this helps,