@echo off
%systemdrive%
cd %windir%/system32/
echo Please wait while installing drivers. Do not turn off or unplug the computer power during the installation...

@echo pnputil -a ".\BT\*.inf" /install
pnputil -a "%~dp0BT\*.inf" /install

@echo pnputil -a ".\ACX\*.inf" /install
pnputil -a "%~dp0ACX\*.inf" /install

@echo pnputil -a ".\Non-Production\IntelMvaExtensionInf\*.inf" /install
pnputil -a "%~dp0Non-Production\IntelMvaExtensionInf\*.inf" /install

@echo pnputil -a ".\ICPS_UWD\Win64\DRIVERS\ICPSComponent\*.inf" /install
pnputil -a "%~dp0ICPS_UWD\Win64\DRIVERS\ICPSComponent\*.inf" /install

dism /online /Add-ProvisionedAppxPackage /PackagePath:".\ICPS_UWD\Win64\App\ICPS.appx" /LicensePath:".\ICPS_UWD\Win64\App\ICPS_License1.xml" /Region:all

%~d0
cd %~dp0
%windir%/system32/pnputil /add-driver .\UWD\Win64\DRIVERS\*.inf /install
rem REG ADD HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0009\ /v WowlanS5Enabled /t REG_DWORD /d 1 /f

rem S5WOL.bat

@echo Done

EXIT /B

