Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PoSh script to restart drivers for HDMI sound
$devcon = "C:\Program Files (x86)\Windows Kits\8.1\Tools\x64\devcon.exe"
$audioID = "@HDAUDIO\FUNC_01&VEN_8086&DEV_2807&SUBSYS_80860101&REV_1000\4&36161A1D&0&0001"
$displayID = "@PCI\VEN_8086&DEV_0A16&SUBSYS_130D1043&REV_09\3&11583659&0&10"
. $devcon enable $audioID
. $devcon enable $displayID
. $devcon restart $audioID
. $devcon restart $displayId
Read-Host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.