Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- NET START XTU3SERVICE
- set rxtucli="C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\xtucli.exe"
- @echo off - Change cuv to your desired CPU undervolt and guv for GPU undervolt!
- set cuv=-50
- set guv=-50
- :menu
- cls
- echo TPD MENU
- echo ==========
- echo.
- echo 1 - Default (07.00 - 15.00) Watts
- echo 2 - Manual Input
- echo 3 - 08.00 Watts - 08.00 Watts
- echo 4 - 08.25 Watts - 08.25 Watts
- echo 5 - 09.00 Watts - 09.00 Watts
- echo 6 - 10.00 Watts - 10.00 Watts
- echo 7 - 11.00 Watts - 11.00 Watts
- echo 8 - 12.00 Watts - 12.00 Watts
- echo 9 - NEXT
- echo.
- echo Q - Quit
- choice /c:123456789Q>nul
- if errorlevel 9 goto 9w1
- if errorlevel 8 goto 8w1
- if errorlevel 7 goto 7w1
- if errorlevel 6 goto 6w1
- if errorlevel 5 goto 5w1
- if errorlevel 4 goto 4w1
- if errorlevel 3 goto 3w1
- if errorlevel 2 goto setmanual
- if errorlevel 1 goto 1w1
- echo CHOICE missing
- goto done
- :1w1
- %rxtucli% -t -id 48 -v 7
- %rxtucli% -t -id 47 -v 15
- goto done
- :2w1
- %rxtucli% -t -id 48 -v 8
- %rxtucli% -t -id 47 -v 8
- goto done
- :3w1
- %rxtucli% -t -id 48 -v 8.00
- %rxtucli% -t -id 47 -v 8.00
- goto done
- :4w1
- %rxtucli% -t -id 48 -v 8.25
- %rxtucli% -t -id 47 -v 8.25
- goto done
- :5w1
- %rxtucli% -t -id 48 -v 9
- %rxtucli% -t -id 47 -v 9
- goto done
- :6w1
- %rxtucli% -t -id 48 -v 10
- %rxtucli% -t -id 47 -v 10
- goto done
- :7w1
- %rxtucli% -t -id 48 -v 11
- %rxtucli% -t -id 47 -v 11
- goto done
- :8w1
- %rxtucli% -t -id 48 -v 12
- %rxtucli% -t -id 47 -v 12
- goto done
- :9w1
- goto tdpmenu2
- :tdpmenu2
- cls
- echo TPD MENU CONTINUED
- echo ==========
- echo.
- echo 1 - 02.00 Watts - 02.00
- echo 2 - 05.00 Watts - 05.00 Watts
- echo 3 - 05.00 Watts - 07.00 Watts
- echo 4 - 07.00 Watts - 08.50 Watts
- echo 5 - 08.00 Watts - 10.00 Watts
- echo 6 - 08.25 Watts - 09.50 Watts
- echo 7 - 09.00 Watts - 10.00 Watts
- echo 8 - 10.00 Watts - 12.00 Watts
- echo 9 - Display Current
- echo.
- echo Q - Quit
- choice /c:123456789Q>nul
- if errorlevel 9 goto 9w2
- if errorlevel 8 goto 8w2
- if errorlevel 7 goto 7w2
- if errorlevel 6 goto 6w2
- if errorlevel 5 goto 5w2
- if errorlevel 4 goto 4w2
- if errorlevel 3 goto 3w2
- if errorlevel 2 goto 2w2
- if errorlevel 1 goto 1w2
- echo CHOICE missing
- goto tdpmenu2
- :1w2
- %rxtucli% -t -id 48 -v 2
- %rxtucli% -t -id 47 -v 2
- goto done
- :2w2
- %rxtucli% -t -id 48 -v 5
- %rxtucli% -t -id 47 -v 5
- goto done
- :3w2
- %rxtucli% -t -id 48 -v 5
- %rxtucli% -t -id 47 -v 7
- goto done
- :4w2
- %rxtucli% -t -id 48 -v 7
- %rxtucli% -t -id 47 -v 8.5
- goto done
- :5w2
- %rxtucli% -t -id 48 -v 8
- %rxtucli% -t -id 47 -v 10
- goto done
- :6w2
- %rxtucli% -t -id 48 -v 8.25
- %rxtucli% -t -id 47 -v 9.5
- goto done
- :7w2
- %rxtucli% -t -id 48 -v 9
- %rxtucli% -t -id 47 -v 10
- goto done
- :8w2
- %rxtucli% -t -id 48 -v 10
- %rxtucli% -t -id 47 -v 12
- goto done
- :9w2
- %rxtucli% -t -id 34
- %rxtucli% -t -id 100
- %rxtucli% -t -id 48
- %rxtucli% -t -id 47
- goto choice2
- :done
- @echo Enable or change undervolt now?
- @echo (1) - Yes
- @echo (2) - No
- @echo (3) - Reset undervolt to 0
- choice /c:123>nul
- if errorlevel 3 goto uv3
- if errorlevel 2 goto uv4
- if errorlevel 1 goto uv1
- :uv1
- @ECHO CPU will be undervolted by %cuv%
- @ECHO CPU will be undervolted by %guv%
- %rxtucli% -t -id 34 -v %cuv%
- %rxtucli% -t -id 100 -v %guv%
- goto uv4
- :uv2
- :uv3
- @ECHO CPU and GPU undervolt will be set to 0.
- %rxtucli% -t -id 34 -v 0
- %rxtucli% -t -id 100 -v 0
- :uv4
- @echo Reapply undervolt now (if it didn't show it applied correctly)?
- @echo (1) - Yes
- @echo (2) - No
- choice /c:12>nul
- if errorlevel 2 goto uv5
- if errorlevel 1 goto uv1
- :uv5
- NET STOP XTU3SERVICE
- goto end1
- :setmanual
- cls
- @ECHO Enter Package TDP Value example 7.25 (Default is 7)
- echo.
- @ECHO OFF
- SET /P cputdp= TDP:
- @ECHO Setting TDP to %cputdp% Watts
- %rxtucli% -t -id 48 -v %cputdp%
- echo.
- echo.
- @ECHO OFF
- @ECHO Enter Short Package TDP Value example 10.5 (Default is 15)
- echo.
- @ECHO OFF
- SET /P cputdps= Short TDP:
- echo.
- @ECHO Setting TDP to %cputdps% Watts
- %rxtucli% -t -id 47 -v %cputdps%
- ECHO.
- ECHO.
- @ECHO OFF
- :choice
- set /P c=Do you want to set undervolt settings[Y/N]?
- if /I "%c%" EQU "Y" goto :sundervolt
- if /I "%c%" EQU "N" goto :stopxtu
- goto :choice
- :sundervolt
- @ECHO OFF
- @ECHO Enter your CPU undervolt in millivolts such as 50
- echo.
- @ECHO OFF
- SET /P cuv= CPU Undervolt:
- echo.
- @ECHO Setting CPU Undervolt to %cuv% MV
- %rxtucli% -t -id 34 -v -%cuv%
- @ECHO OFF
- echo.
- @ECHO Enter your GPU undervolt in millivolts such as 50
- echo.
- @ECHO OFF
- SET /P guv= GPU Undervolt:
- echo.
- @ECHO Setting GPU Undervolt to %guv% MV
- %rxtucli% -t -id 100 -v -%guv%
- @echo Reapply undervolt now (if it didn't show it applied correctly)?
- @echo (1) - Yes
- @echo (2) - No
- choice /c:12>nul
- if errorlevel 2 goto stopxtu
- if errorlevel 1 goto sundervolt
- :stopxtu
- :choice2
- set /P c=Do you want end the XTU Service (Values will still be applied to the system)[Y/N]?
- if /I "%c%" EQU "Y" goto :endxtu
- if /I "%c%" EQU "N" goto :end1
- goto :choice2
- :endxtu
- NET STOP XTU3SERVICE
- :end1
- TIMEOUT 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement