@echo off
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"=""
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
pushd "%CD%"
CD /D "%~dp0"
:--------------------------------------
:powercfg -s 381b4222-f694-41f0-9685-ff5bb260df2e
cd "C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client"
XtuCLI.exe -t -id 48 -v 47.00
XtuCLI.exe -t -id 47 -v 55.00
XtuCLI.exe -t -id 49 -v 1
XtuCLI.exe -t -id 66 -v 96.00
XtuCLI.exe -t -id 84 -v 128.00
XtuCLI.exe -t -id 29 -v 35.00
XtuCLI.exe -t -id 30 -v 34.00
XtuCLI.exe -t -id 31 -v 32.00
XtuCLI.exe -t -id 32 -v 32.00
XtuCLI.exe -t -id 3489660933 -v 32.00
XtuCLI.exe -t -id 59 -v 12.50