@echo off
%windir%\system32\reg.exe query "HKU\S-1-5-19" >nul 2>&1 || (
echo /!\ Run as administrator /!\
echo.
echo Press any key to continue ...
pause >nul
exit
)
pushd %~dp0
pnputil /a Realtek\Codec_8975.1\HDXASUS.inf /i
pnputil /a Realtek\Codec_8975.1\HDXACPASUS.inf /i
pnputil /a Realtek\Codec_8975.1\HDXSSTASUS.inf /i
pnputil /a Realtek\ExtRtk_8975.1\HDX_AsusExt_XPERI_RTK.inf /i
pnputil /a Realtek\RealtekAPO_787\RealtekAPO.inf /i
pnputil /a Realtek\RealtekService_268\RealtekService.inf /i
pnputil /a Realtek\RealtekHSA_222\RealtekHSA.inf /i
pnputil /a Realtek\RealtekASIO_5\RealtekASIO.inf /i
pnputil /a ThirdParty\DTS\DTS_HPXv1_UWP_APO3x_Asus_EXT_1.1.1.0\dtsoemapo3hpxextpkg.inf /i
pnputil /a ThirdParty\DTS\DTS_UWP_APO3x_CORE_x64_1.1.2.0\dtsapo3.inf /i
pnputil /a ThirdParty\DTS\DTS_HPXv1_UWP_APO3x_HSA_SWC_2.1.0.0\dtsoemapo3hpxhsa.inf /i
shutdown /r /t 0