Press the Windows Key and X at the same time. THis will bring up a list of options. Select Device Manager.
From the options then presented, select Sound, Video, Game Controller. Click on this - you will get two options. Select the one for Realtec Audio Codecs.
You should see a box with several tabs, the last of which is Power Managemenet. Select this one. You should see the option "allow the computer to turn off this device to save power".
Uncheck this box.
Unfortunately, I have not been able to find a way to make this stay permanently unchecked. But it will work for awhile.
N