Hey guys, sorry for resurrecting this post but I had the same issue I wanted to give an alternative to MrQ's application, as this is a really simple script you can run, the only requirement is devcon.exe which is easily obtainable.
First off, MS have removed the option to download devcon.exe on it's own, now it requires you to download a whole kit, but there is a way around this, I use elgato software to record gameplay and found that the soundcapture software requires devcon.exe, so if you have elgato software installed or if you decide to install it to get the devcon.exe, you just need to go to "C:\Program Files\Elgato\SoundCapture\Driver"
Just copy devcon.exe to your desktop, preferably in a folder, next you need the script, below I've provided two options,
Option 1: A vbscript which hides the command prompt window and runs the command as admin (which is required), so when you double click it and approve it, it will disable/enable your audio within seconds thus fixing the problem.
Option 2: Is a basic batch file with just the command in it, when running this you will have to manually RunAsAdmin, and it will popup on your screen for a moment while it runs.
Just make sure that the vbscript or the batch script is saved in the same folder/location as the devcon.exe file in order for it to work.
Copy the following to notepad and save it as AudioFix.vbs in the same location as devcon.exe
Or copy the following to notepad and save it as AudioFix.bat in the same location as devcon.exe
Set wShell = WScript.CreateObject ("WScript.Shell")
Set oShell = CreateObject("Shell.Application")
strArg = "for /f ""tokens=*"" %A IN ('devcon.exe find *Audio* ^| findstr ""Audio""') DO for /f ""tokens=1 delims=:"" %B IN (""%A"") DO for /f ""tokens=1,2,3 delims=\"" %C IN (""%B"") DO devcon.exe disable ""%C\%D"" & devcon.exe enable ""%C\%D"" "
oShell.ShellExecute "cmd.exe", "/C CD "& wShell.CurrentDirectory & " & " & strArg, "", "runas", 1
Set wShell = Nothing'
Set oShell = Nothing'
I hope this helps everyone with this audio issue, I personally use this without issues, but if you have any problems PM me.
for /f "tokens=*" %%A IN ('devcon.exe find *Audio* ^| findstr "Audio"') DO for /f "tokens=1 delims=:" %%B IN ("%%A") DO for /f "tokens=1,2,3 delims=\" %%C IN ("%%B") DO devcon.exe disable "%%C\%%D" & devcon.exe enable "%%C\%%D"