set UWPpath=Realtek_Audio Console_1.17.231.0_x64_2009250

@echo pnputil /add-driver "%~dp0Realtek\ExtRtk_9036.1\HDX_LenovoNExt_RTKGen3p1.inf"
pnputil /add-driver "%~dp0Realtek\ExtRtk_9036.1\HDX_LenovoNExt_RTKGen3p1.inf"

@echo pnputil /add-driver "%~dp0Realtek\Codec_9036.1\HDXNEC.inf" /install
pnputil /add-driver "%~dp0Realtek\Codec_9036.1\HDXNEC.inf" /install

@echo pnputil /add-driver "%~dp0Realtek\RealtekAPO2_822\RealtekAPO2.inf" /install
pnputil /add-driver "%~dp0Realtek\RealtekAPO2_822\RealtekAPO2.inf" /install

@echo pnputil /add-driver "%~dp0Realtek\RealtekHSA_231\RealtekHSA.inf" /install
pnputil /add-driver "%~dp0Realtek\RealtekHSA_231\RealtekHSA.inf" /install

@echo pnputil /add-driver "%~dp0Realtek\RealtekService_298\RealtekService.inf" /install
pnputil /add-driver "%~dp0Realtek\RealtekService_298\RealtekService.inf" /install


cd %~dp0%UWPpath%
Install_UWP_AsAdmin
