-
Notifications
You must be signed in to change notification settings - Fork 0
/
SVC Split Thresholding.bat
33 lines (32 loc) · 1.16 KB
/
SVC Split Thresholding.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
echo Enter the amount of RAM that you have. (Example: 4GB, 6GB, 8GB, 16GB, 32GB, 64GB)
echo.
echo.
set choice=
set /p choice=Amount of RAM:
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='4GB' goto :4GBRam
if '%choice%'=='6GB' goto :6GBRam
if '%choice%'=='8GB' goto :8GBRam
if '%choice%'=='16GB' goto :16GBRam
if '%choice%'=='32GB' goto :32GBRam
if '%choice%'=='64GB' goto :64GBRam
ECHO "%choice%" is not valid, try again
:4GBRam
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control" /v "SvcHostSplitThresholdInKB" /t REG_DWORD /d "68764420" /f
exit
:6GBRam
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control" /v "SvcHostSplitThresholdInKB" /t REG_DWORD /d "103355478" /f
exit
:8GBRam
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control" /v "SvcHostSplitThresholdInKB" /t REG_DWORD /d "137922056" /f
exit
:16GBRam
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control" /v "SvcHostSplitThresholdInKB" /t REG_DWORD /d "376926742" /f
exit
:32GBRam
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control" /v "SvcHostSplitThresholdInKB" /t REG_DWORD /d "861226034" /f
exit
:64GB
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control" /v "SvcHostSplitThresholdInKB" /t REG_DWORD /d "1729136740" /f
exit