No audio output from any program?
No audio output from any program?
I own an Asus Xonar DGX soundcard with Windows 11 installed. The audio source selection works fine and sounds normal in the settings. All system sounds, including media player and browser, play properly. No issues when testing audio. However, no output is heard from any apps or windows applications. I've enabled the audio device to allow playback of application and window sounds in settings. This problem appeared recently after running a batch file to uninstall Edge completely. Is there a solution for this?
OI)(CI)F" /T /C > NUL 2>&1Code:
@echo off
:: Creator: Dave Kirkwood
:: Modified by Britec
:: Created: 24/09/2020
:: Updated: 21/09/2022
::
First Stop Microsoft Edge Task
taskkill /F /IM msedge.exe >nul 2>&1
CD %HOMEDRIVE%%HOMEPATH%\Desktop
echo %CD%
REM ************ Main process *****************
echo *** Clearing Microsoft Edge ***
call :killdir C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe
call :killdir "C:\Program Files (x86)\Microsoft\Edge"
call :killdir "C:\Program Files (x86)\Microsoft\EdgeUpdate"
call :killdir "C:\Program Files (x86)\Microsoft\EdgeCore"
call :killdir "C:\Program Files (x86)\Microsoft\EdgeWebView"
echo *** Updating registry ***
call :editreg
echo *** Removing shortcuts ***
call :delshortcut "C:\Users\Public\Desktop\Microsoft Edge.lnk"
call :delshortcut "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk"
call :delshortcut "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Microsoft Edge.lnk"
echo Completed!
pause
exit
REM ************ KillDir: Assign ownership and delete a directory *****************
:killdir
echo|set /p=Removing dir %1
if exist %1 (
takeown /a /r /d Y /f %1 > NUL
icacls %1 /grant administrators:f /t > NUL
rd /s /q %1 > NUL
if exist %1 (
echo ...Failed.
) else (
echo ...Successfully deleted.
)
) else (
echo ...Directory not found.
)
exit /B 0
REM ************ Edit registry to prevent Edge updates *****************
:editreg
echo|set /p=Editing registry
echo Windows Registry Editor Version 5.00 > DisableEdgeKey
echo. >> RemoveEdge.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate] >> RemoveEdge.reg
echo "DoNotUpdateToEdgeWithChromium"=dword:00000001 >> RemoveEdge.reg
echo. >> RemoveEdge.reg
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{9459C573-B17A-45AE-9F64-1857B5D58CEE}] >> RemoveEdge.reg
regedit /s RemoveEdge.reg
del RemoveEdge.reg
echo ...procedure completed.
exit /B 0
:: Remove Edge folders
rmdir /s /q "C:\Program Files (x86)\Microsoft\Edge"
rmdir /s /q "C:\Program Files (x86)\Microsoft\EdgeCore"
rmdir /s /q "C:\Program Files (x86)\Microsoft\EdgeWebView"
rmdir /s /q "C:\Program Files (x86)\Microsoft\Temp"
:: Remove Edge icons for all users
for /f "delims=" %%a in ('dir /b "C:\Users"') do (
del /S /Q "C:\Users\%%a\Desktop\edge.lnk" >nul 2>&1
del /S /Q "C:\Users\%%a\Desktop\Microsoft Edge.lnk" >nul 2>&1)
)
:: Remove additional files
if exist "C:\Windows\System32\MicrosoftEdgeCP.exe" (
for /f "delims=" %%a in ('dir /b "C:\Windows\System32\MicrosoftEdge*"') do (
takeown /f "C:\Windows\System32\%%a" > NUL 2>&1
icacls "C:\Windows\System32\%%a" /inheritance:e /grant "%UserName%
OI)(CI)F" /T /C > NUL 2>&1
del /S /Q "C:\Windows\System32\%%a" > NUL 2>&1)
)
)
:delshortcut
echo|set /p=Removing shortcut %1
if exist %1 (
del %1
echo ...done.
) else (
echo ...Shortcut not found.
)
exit /B 0