Skip to content

Instantly share code, notes, and snippets.

@badvision
Created November 8, 2016 19:53
Show Gist options
  • Save badvision/fe36355fa33a5f770cc8f6c0920d84c1 to your computer and use it in GitHub Desktop.
Save badvision/fe36355fa33a5f770cc8f6c0920d84c1 to your computer and use it in GitHub Desktop.
When resuming from standby on a Surfacebook, HDMI audio becomes unavailable. Get devcon.exe from Microsoft's driver dev toolkit and run this bat script (as administrator!) to disable/enable the audio device.
cd "\Program Files (x86)\Windows Kits\10\Tools\x64"
devcon disable IntelAudio*8086*
devcon enable IntelAudio*8086*
@badvision
Copy link
Author

It works most of the time. If it fails, you can try running it again, do the process manually via the device manager, or lastly you could also just reboot (which is generally faster than digging around in the device manager if you have a SSD.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment