set UWPpath=Realtek_Audio Console_1.36.273.0_x64

@echo pnputil /add-driver "%~dp0Win64\Realtek\ExtRtk_9373.1\HDX_LenovoNExt_RTKGen3p1.inf"
pnputil /add-driver "%~dp0Win64\Realtek\ExtRtk_9373.1\HDX_LenovoNExt_RTKGen3p1.inf"

@echo pnputil /add-driver "%~dp0Win64\HDXNEC.inf" /install
pnputil /add-driver "%~dp0Win64\HDXNEC.inf" /install

@echo pnputil /add-driver "%~dp0Win64\Realtek\RealtekUAPO2_32\RealtekUAPO2.inf" /install
pnputil /add-driver "%~dp0Win64\Realtek\RealtekUAPO2_32\RealtekUAPO2.inf" /install

@echo pnputil /add-driver "%~dp0Win64\Realtek\RealtekHSA_273\RealtekHSA.inf" /install
pnputil /add-driver "%~dp0Win64\Realtek\RealtekHSA_273\RealtekHSA.inf" /install

@echo pnputil /add-driver "%~dp0Win64\Realtek\RealtekService_539\RealtekService.inf" /install
pnputil /add-driver "%~dp0Win64\Realtek\RealtekService_539\RealtekService.inf" /install


cd %~dp0%UWPpath%
Install_UWP_AsAdmin.bat
