0% found this document useful (0 votes)
421 views166 pages

!source Code

The document is a batch script for the EXM Free Tweaking Utility v8.0, designed to optimize Windows settings and create system restore points. It includes features for enabling ANSI escape sequences, checking for administrative privileges, and downloading resources. The script also provides user prompts and warnings regarding the use of the utility and its potential impacts on the system.

Uploaded by

surati1730
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
421 views166 pages

!source Code

The document is a batch script for the EXM Free Tweaking Utility v8.0, designed to optimize Windows settings and create system restore points. It includes features for enabling ANSI escape sequences, checking for administrative privileges, and downloading resources. The script also provides user prompts and warnings regarding the use of the utility and its potential impacts on the system.

Uploaded by

surati1730
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

@echo off

::Exm free tweaking utility v8.0 | Made and distributed by EXM TWEAKS, S.R.O. ®
2025
if not "%1" == "max" start /MAX cmd /c %0 max & exit/b
@echo off
:: Color Codes
set w=#[97m
set p=#[95m
set b=#[96m
set o=#[1m

:: Enabling ANSI Escape Sequences


[Link] add "HKCU\CONSOLE" /v "VirtualTerminalLevel" /t REG_DWORD /d "1" /f > nul

::Enabling Delayed Expansion


setlocal EnabledelayedExpansion > nul
cls

for /f %%i in ('wmic path Win32_UserAccount where name^="%username%" get sid ^|


findstr "S-"') do set "USER_SID=%%i"

::Enabling Restore points


chcp 437 >nul 2>&1
powershell -NoProfile Enable-ComputerRestore -Drive 'C:\' >nul 2>&1
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v
"RPSessionInterval" /f >nul 2>&1
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v
"DisableConfig" /f >nul 2>&1
[Link] add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v
"SystemRestorePointCreationFrequency" /t REG_DWORD /d 0 /f >nul 2>&1
chcp 65001 >nul 2>&1
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo. %p%███████╗██╗ ██╗███╗ ███╗
███████╗██████╗ ███████╗███████╗ ██╗ ██╗████████╗██╗██╗ ██╗████████╗██╗ ██╗
█████╗ █████╗
echo. %p%██╔════╝╚██╗██╔╝████╗ ████║
██╔════╝██╔══██╗██╔════╝██╔════╝ ██║ ██║╚══██╔══╝██║██║ ██║╚══██╔══╝╚██╗ ██╔╝
██╔══██╗ ██╔══██╗
echo. %p%█████╗ ╚███╔╝ ██╔████╔██║ █████╗
██████╔╝█████╗ █████╗ ██║ ██║ ██║ ██║██║ ██║ ██║ ╚████╔╝
╚█████╔╝ ██║ ██║
echo. %p%██╔══╝ ██╔██╗ ██║╚██╔╝██║ ██╔══╝
██╔══██╗██╔══╝ ██╔══╝ ██║ ██║ ██║ ██║██║ ██║ ██║ ╚██╔╝
██╔══██╗ ██║ ██║
echo. %p%███████╗██╔╝╚██╗██║ ╚═╝ ██║ ██║
██║ ██║███████╗███████╗ ╚██████╔╝ ██║ ██║███████╗██║ ██║ ██║
╚█████╔╝██╗╚█████╔╝
echo. %p%╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝
╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝
╚════╝ ╚═╝ ╚════╝ %b%
echo.
╔════════════════════════════════════════════════════╗
echo. ║

echo. ║
%w% Checking for Administrative Privelages... %b% ║
echo. ║

echo.
╚════════════════════════════════════════════════════╝
timeout /t 1 /nobreak > NUL

rmdir %SystemDrive%\Windows\system32\adminrightstest >nul 2>&1


mkdir %SystemDrive%\Windows\system32\adminrightstest >nul 2>&1
if %errorlevel% neq 1 goto welcome
) ELSE (
cls
timeout /t 1 /nobreak > NUL
chcp 437 >nul 2>&1
powershell -NoProfile -NonInteractive -Command start -verb runas "'%~s0'" >nul 2>&1
chcp 65001 >nul 2>&1
:rmenu
cls
echo.
echo.
echo.
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════════════════════════"%w%
echo.
%W% Exm is not running as Admin!
echo.
echo. %W% Please close
the utility and run it as administrator so the optimizations can apply properly!
echo.
echo.
%W% If you want to Exit press X
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════════════════════════"%w%
echo.
echo. %W% If that doesnt
work, you can press U to disable UAC, after that restart your pc and utility should
work
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════════════════════════"%w%

set /p input=:
if /i %input% == X exit
if /i %input% == U start
[Link]
32226198
)
) ELSE (
echo Invalid Input & goto rmenu
%b%
:welcome
CLS
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
%W% EXM FREE TWEAKING UTILITY VERSION 8.0
echo.
echo.
%p% ██╗ ██╗███████╗██╗ █████╗ █████╗ ███╗ ███╗███████╗
echo.
%p% ██║ ██╗ ██║██╔════╝██║ ██╔══██╗██╔══██╗████╗ ████║██╔════╝
echo.
%p% ╚██╗████╗██╔╝█████╗ ██║ ██║ ╚═╝██║ ██║██╔████╔██║█████╗
echo.
%p% ████╔═████║ ██╔══╝ ██║ ██║ ██╗██║ ██║██║╚██╔╝██║██╔══╝
echo.
%p% ╚██╔╝ ╚██╔╝ ███████╗███████╗╚█████╔╝╚█████╔╝██║ ╚═╝ ██║███████╗
echo.
%p% ╚═╝ ╚═╝ ╚══════╝╚══════╝ ╚════╝ ╚════╝ ╚═╝ ╚═╝╚══════╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════════════════════"%w%
echo.
%o% Warning
echo.
echo. We are not responsible for any
problems/Damages with your PC this may cause, if you encounter any, don't be afraid
to reach out in our discord server
echo.
echo. It's prohibited to resell any of
our free tools, it will lead to consequences, the utility is open sourced and the
code may be used for non profit
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════════════════════"%w%
echo.
Instructions * Faq
echo.
echo. Press a NUMBER on your keyboard
followed by ENTER to select an option, Please Read All warnings, don't just blindly
press buttons without reading.
echo.
echo. You can find the tutorial,
more information about the utility and much more in the EXM Tweaks Discord Server
([Link]/exm)
echo.
echo. Made
and distributed by EXM TWEAKS, S.R.O. ® 2024 * Version 8.0 * Updated 12th of
January
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════════════════════"%w%
echo.
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
echo.
pause > nul
CLS

:: Restore Point
:restorepoint
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
%W% EXM FREE TWEAKING UTILITY VERSION 8.0
echo.
echo. %p%██████╗ ███████╗
██████╗████████╗ █████╗ ██████╗ ███████╗ ██████╗ █████╗ ██╗███╗ ██╗████████╗
echo. %p
%██╔══██╗██╔════╝██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔════╝
██╔══██╗██╔══██╗██║████╗ ██║╚══██╔══╝
echo. %p%██████╔╝█████╗
╚█████╗ ██║ ██║ ██║██████╔╝█████╗ ██████╔╝██║ ██║██║██╔██╗██║ ██║
echo. %p%██╔══██╗██╔══╝
╚═══██╗ ██║ ██║ ██║██╔══██╗██╔══╝ ██╔═══╝ ██║ ██║██║██║╚████║ ██║
echo. %p%██║
██║███████╗██████╔╝ ██║ ╚█████╔╝██║ ██║███████╗ ██║ ╚█████╔╝██║██║ ╚███║
██║
echo. %p%╚═╝
╚═╝╚══════╝╚═════╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚════╝ ╚═╝╚═╝ ╚══╝
╚═╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════════════════════"%w%
echo.
%w% Do you want to Create a Restore Point?
echo.
echo.
echo.
%p%[%w%1%p%]%w% Make A restore Point %p%[%w%2%p%]%w% Skip
echo.
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════════════════════"%w%
echo. %W% Allows you
to revert your PC to the same settings as it was when making the restore point
echo. %W% You
can use a restore point later on in the utility, if you wish to do so
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════════════════════"%w%
echo.

set /p input=:
if /i %input% == 1 goto createRP
if /i %input% == 2 goto resources
::secretskiptomenu
if /i %input% == m goto menu
) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
goto restorepoint

:createRP
cls
echo.
echo.
echo.
echo. %p%██████╗
███████╗ ██████╗████████╗ █████╗ ██████╗ ███████╗ ██████╗ █████╗ ██╗███╗
██╗████████╗
echo. %p
%██╔══██╗██╔════╝██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔════╝
██╔══██╗██╔══██╗██║████╗ ██║╚══██╔══╝
echo. %p
%██████╔╝█████╗ ╚█████╗ ██║ ██║ ██║██████╔╝█████╗ ██████╔╝██║
██║██║██╔██╗██║ ██║
echo. %p
%██╔══██╗██╔══╝ ╚═══██╗ ██║ ██║ ██║██╔══██╗██╔══╝ ██╔═══╝ ██║
██║██║██║╚████║ ██║
echo. %p%██║
██║███████╗██████╔╝ ██║ ╚█████╔╝██║ ██║███████╗ ██║ ╚█████╔╝██║██║ ╚███║
██║
echo. %p%╚═╝
╚═╝╚══════╝╚═════╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚════╝ ╚═╝╚═╝ ╚══╝
╚═╝
echo.
echo. %w% Creating a restore point... %b%
chcp 437 >nul
powershell "Checkpoint-Computer -Description 'EXM Tweaks Restore Point'
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('Restore point completed successfully,
press "OK" to continue', 'Exm Tweaking Utility', 'Ok',
[[Link]]::Information);}"
chcp 65001 >nul
cls
goto :resources
:resources
::making exm folder
md C:\exm
cls
chcp 437 >nul 2>&1
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('Downloading resources (power plan, Nvidia
profile inspector & more, Press "OK" To continue)', 'Exm Tweaking Utility', 'Ok',
[[Link]]::Information);}"
chcp 65001 >nul 2>&1
cls
::Downloading power plan, autoruns, nvidia profile inspector, NVPI config, &
Windows update blocker
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo. %p%██████╗
███████╗ ██████╗ █████╗ ██╗ ██╗██████╗ █████╗ ███████╗ ██████╗
echo. %p
%██╔══██╗██╔════╝██╔════╝██╔══██╗██║ ██║██╔══██╗██╔══██╗██╔════╝██╔════╝
echo. %p
%██████╔╝█████╗ ╚█████╗ ██║ ██║██║ ██║██████╔╝██║ ╚═╝█████╗ ╚█████╗
echo. %p
%██╔══██╗██╔══╝ ╚═══██╗██║ ██║██║ ██║██╔══██╗██║ ██╗██╔══╝ ╚═══██╗
echo. %p%██║
██║███████╗██████╔╝╚█████╔╝╚██████╔╝██║ ██║╚█████╔╝███████╗██████╔╝
echo. %p%╚═╝
╚═╝╚══════╝╚═════╝ ╚════╝ ╚═════╝ ╚═╝ ╚═╝ ╚════╝ ╚══════╝╚═════╝
echo.
echo. %w% Downloading Resources Used by the tool... (You can find them in the C:\
exm folder, they are all trusted apps used by thousands of people) %b%
echo.
chcp 437 >nul 2>&1
curl -g -k -L -# -o "%temp%\[Link]"
"[Link]
/[Link]"
cls
Powershell -NoProfile Expand-Archive '%temp%\[Link]' -DestinationPath 'C:\exm'
>nul 2>&1
cls

powershell "& {Add-Type -AssemblyName [Link];


[[Link]]::Show('Downloaded resources successfully, Press
"OK" To continue to the menu! ', 'Exm Tweaking Utility', 'Ok',
[[Link]]::Information);}"
chcp 65001 >nul 2>&1

goto menu

:soon
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto menu

:restore
cls
[Link]
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto menu

:Menu
chcp 65001 >nul 2>&1
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo. %p%███████╗██╗ ██╗███╗ ███╗
███████╗██████╗ ███████╗███████╗ ██╗ ██╗████████╗██╗██╗ ██╗████████╗██╗ ██╗
█████╗ █████╗
echo. %p%██╔════╝╚██╗██╔╝████╗ ████║
██╔════╝██╔══██╗██╔════╝██╔════╝ ██║ ██║╚══██╔══╝██║██║ ██║╚══██╔══╝╚██╗ ██╔╝
██╔══██╗ ██╔══██╗
echo. %p%█████╗ ╚███╔╝ ██╔████╔██║
█████╗ ██████╔╝█████╗ █████╗ ██║ ██║ ██║ ██║██║ ██║ ██║ ╚████╔╝
╚█████╔╝ ██║ ██║
echo. %p%██╔══╝ ██╔██╗ ██║╚██╔╝██║
██╔══╝ ██╔══██╗██╔══╝ ██╔══╝ ██║ ██║ ██║ ██║██║ ██║ ██║ ╚██╔╝
██╔══██╗ ██║ ██║
echo. %p%███████╗██╔╝╚██╗██║ ╚═╝ ██║
██║ ██║ ██║███████╗███████╗ ╚██████╔╝ ██║ ██║███████╗██║ ██║ ██║
╚█████╔╝██╗╚█████╔╝
echo. %p%╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝
╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝
╚════╝ ╚═╝ ╚════╝ %b%
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════"%w%
echo.
echo. %p%[%w%1%p%]%w%
General System Optimizations %p%[%w%2%p%]%w% Power Optimizations
%p%[%w%3%p%]%w% Mouse and Keyboard Optimizations
echo.
echo. %p%[%w%4%p%]%w% GPU
Optimizations %p%[%w%5%p%]%w% CPU Optimizations
%p%[%w%6%p%]%w% USB Optimizations
echo.
echo. %p%[%w%7%p%]%w%
System Debloat %p%[%w%8%p%]%w% Storage Optimizations
%p%[%w%9%p%]%w% Memory Optimizations
echo.
echo. %p%[%w%10%p%]%w%
Fix Corrupted Files %p%[%w%11%p%]%w% Uninstall Useless Apps
%p%[%w%12%p%]%w% PC clean
echo.
echo. %p%%p%%p%%p%
%p%[%w%13%p%]%w% EXM Network Tweaking Utility
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════"%w%
echo.
echo. %p%[%w%F%p%]%w%
Fixes %p%[%w%W%p%]%w% Completely Optimize Your PC
%p%[%w%P%p%]%w% Use Restore Point
echo.
echo. %p%[%w%R%p%]%w%
Reverts %p%[%w%X%p%]%w% Exit The Utility
%p%[%w%E%p%]%w% EXM Tweaks Discord
echo.
echo.
echo. %p%%p%%p%%w%
Made and distributed by EXM TWEAKS, S.R.O. ® 2024 * Version 8.0 * Updated 14th of
January 2025
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════════"%w%

set /p input=:
if /i %input% == 1 goto 1
if /i %input% == 2 goto 2war
if /i %input% == 3 goto 3
if /i %input% == 4 goto 4
if /i %input% == 5 goto 5war
if /i %input% == 6 goto 6
if /i %input% == 7 goto 7war
if /i %input% == 8 goto 8
if /i %input% == 9 goto 9
if /i %input% == 10 goto 10
if /i %input% == 11 goto 11
if /i %input% == 12 goto 12
if /i %input% == 13 goto 13

if /i %input% == F goto E
if /i %input% == P goto Restore
if /i %input% == R goto Reverts
if /i %input% == X goto Exit
if /i %input% == W start [Link]
if /i %input% == E start [Link]

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 1
goto RedirectMenu

:RedirectMenu
cls
goto menu

:Refresh
echo %w% - Loading ...%b%
cls
md C:\exm >nul 2>&1
echo %w% - Refreshing exm resource folder %b%
timeout /t 1 /nobreak > NUL
del /s /q C:\exm >nul 2>&1

goto :resources

:Reverts
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo. %p%
██████╗ ███████╗██╗ ██╗███████╗██████╗ ████████╗
echo. %p%
██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝
echo. %p%
██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║
echo. %p%
██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║
echo. %p% ██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║
echo. %p% ╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════"%w%
echo. If you want to
revert absolutely everything, please use a restore point
echo.
echo.
echo. %p%[%w
%1%p%]%w% Revert General Category
echo.
echo. %p%[%w
%2%p%]%w% Revert Mouse and keyboard Category
echo.
echo. %p%[%w
%4%p%]%w% Revert Ram/Memory Category
echo.
echo. %p%[%w
%5%p%]%w% Revert GPU Category (coming soon)
echo.
echo. %p%[%w
%6%p%]%w% Revert CPU Category
echo.
echo. %p%[%w
%7%p%]%w% Revert USB Category
echo.
echo. %p%[%w
%8%p%]%w% Revert Power Category
echo.
echo. %p%[%w
%9%p%]%w% Revert Debloat Category
echo.
echo. %p%[%w
%10%p%]%w% Revert Storage Category
echo.
echo. %p%[%w
%11%p%]%w% Revert Network Utility
echo.
echo. %p%[%w
%12%p%]%w% Revert Uninstall
echo.
echo.
echo.
echo. %p
%[%w%M%p%]%w% Back to menu
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════"
echo. %W% Allows you
to revert all tweaks from certain categories
echo. %W% Its still reccomended to
use a restore point if you want to get rid of the tweaks completely
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════"
echo.
set /p input=:
if /i %input% == 1 goto revertgeneral
if /i %input% == 2 goto revertkeyboard
if /i %input% == 3 goto revertwindows
if /i %input% == 4 goto revertram
if /i %input% == 5 goto reverts
if /i %input% == 6 goto revertcpu
if /i %input% == 7 goto revertusb
if /i %input% == 8 goto revertpower
if /i %input% == 9 goto revertdebloat
if /i %input% == 10 goto revertstorage
if /i %input% == 11 goto revertnet
if /i %input% == M cls & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto :e

:exit
cls
echo.
echo.
chcp 437 >nul 2>&1
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('! Make sure to restart your pc after
using, so the tweaks properly apply !, thanks for using the exm utility. Press "ok"
to exit', 'Exm Tweaking Utility', 'Ok',
[[Link]]::Information);}"
timeout /t 1 /nobreak > nul
chcp 65001 >nul 2>&1
pause > nul
cls
exit

:11
cls
echo.
echo.
echo.
echo. %p%██╗
██╗███╗ ██╗██╗███╗ ██╗ ██████╗████████╗ █████╗ ██╗ ██╗
echo. %p%██║
██║████╗ ██║██║████╗ ██║██╔════╝╚══██╔══╝██╔══██╗██║ ██║
echo. %p%██║
██║██╔██╗██║██║██╔██╗██║╚█████╗ ██║ ███████║██║ ██║
echo. %p%██║
██║██║╚████║██║██║╚████║ ╚═══██╗ ██║ ██╔══██║██║ ██║
echo. %p
%╚██████╔╝██║ ╚███║██║██║ ╚███║██████╔╝ ██║ ██║ ██║███████╗███████╗
echo. %p% ╚═════╝
╚═╝ ╚══╝╚═╝╚═╝ ╚══╝╚═════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
%w%
echo.
echo. %p
%[%w%1%p%]%w% Uninstall Windows Preinstalled Apps
echo.
echo. %p
%[%w%2%p%]%w% Uninstall Useless Apps Via settings
echo.
echo. %p
%[%w%3%p%]%w% Uninstall Microsoft edge
echo.
echo. %p
%[%w%4%p%]%w% Uninstall Cortana / Copilot
echo.
echo.
echo.
%p%[%w%R%p%]%w% Revert
echo.
echo.
%p%[%w%M%p%]%w% Back to menu
echo.
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
echo. %W% Please
select your Windows Version to apply the appropriate FSO setting
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
echo.
set /p input=:
if /i %input% == 1 goto U1
if /i %input% == 2 goto U2
if /i %input% == 3 goto U3
if /i %input% == 4 goto U4
if /i %input% == R goto revertapps
if /i %input% == M cls & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto 9

:u4
echo %w% - Uninstalling Cortana / Copilot%b%

chcp 437 >nul


timeout /t 1 /nobreak > NUL
Powershell -Command "Get-appxpackage -allusers *Microsoft.549981C3F5F10* | Remove-
AppxPackage"
Powershell -Command "Get-AppxPackage [Link] |
Remove-AppxPackage"
timeout /t 1 /nobreak > NUL
chcp 65001 >nul
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:u4
:uninstall
cls
echo.
echo.
echo.
echo. %p%
███████╗██████╗ ██████╗ ███████╗
echo. %p%
██╔════╝██╔══██╗██╔════╝ ██╔════╝
echo. %p%
█████╗ ██║ ██║██║ ██╗ █████╗
echo. %p%
██╔══╝ ██║ ██║██║ ╚██╗██╔══╝
echo. %p%
███████╗██████╔╝╚██████╔╝███████╗
echo. %p%
╚══════╝╚═════╝ ╚═════╝ ╚══════╝
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo.
echo. %p%[%w
%1%p%]%w% Uninstall microsoft edge
echo.
echo. %p%[%w%M
%p%]%w% Skip and go Back to menu
echo.
echo.
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo. %W%Completely uninstalls
microsoft edge, there is a revert for this
echo. %W% But unfortunatly the
revert doesnt work 100% of the time
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo.
echo.
set /p input=:
if /i %input% == 1 goto edgingoff
if /i %input% == M CLS & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenue
:RedirectMenu
cls
goto :edging

:edgingoff
echo %w% - Disabling Microsoft edge %b%
taskkill /f /im [Link] >nul 2>&1
taskkill /f /im [Link] /fi "IMAGENAME eq [Link]" >nul 2>&1
taskkill /f /im [Link] /fi "IMAGENAME eq [Link]" >nul 2>&1
echo Deleting Edge Directories.
rd /s /q "C:\Program Files (x86)\Microsoft\Edge" >nul 2>&1
rd /s /q "C:\Program Files (x86)\Microsoft\EdgeCore" >nul 2>&1
rd /s /q "C:\Program Files (x86)\Microsoft\EdgeUpdate" >nul 2>&1
rd /s /q "C:\Program Files (x86)\Microsoft\EdgeWebView" >nul 2>&1
rd /s /q "C:\Program Files (x86)\Microsoft\Temp" >nul 2>&1
echo Deleting Microsoft Edge Shortcuts.
del "C:\Users\Public\Desktop\Microsoft [Link]" >nul 2>&1
del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Microsoft [Link]" >nul
2>&1
del "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\
Microsoft [Link]" >nul 2>&1
cls

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto uninstall

:edgingon
echo %w% - Reinstalling Microsoft edge (may not work 100% of the time, if it
doesnt, reinstall it) %b%
chcp 437 >nul
powershell:Start-Process -FilePath winget -ArgumentList "install --force --accept-
source-agreements --accept-package-agreements --silent [Link] " -
NoNewWindow
chcp 65001 >nul
cls
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto uninstall

:revertapps
CLS
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██╗███████╗██████╗ ████████╗
echo. %p
%██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝
echo. %p
%██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║
echo. %p
%██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║
echo. %p%██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║
echo. %p%╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
echo.
echo.
echo %w% - Redownload default windows apps (Errors may show, thats because the app
that the command is trying to install is already installed, so dont worry)%b%
chcp 437 > nul
Powershell -Command "Get-AppxPackage -allusers | foreach {Add-AppxPackage -register
“$($_.InstallLocation)\[Link]” -DisabledevelopmentMode}"

powershell:Start-Process -FilePath winget -ArgumentList "install --force --accept-


source-agreements --accept-package-agreements --silent [Link] " -
NoNewWindow
chcp 65001 > nul
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto menu
:U2
start ms-settings:appsfeatures
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto uninstall

:U1
chcp 437 >nul
CLS
echo.
echo.
echo [ 0% ]
echo.
echo %w%- Uninstalling BingWeather (Removing Preinstalled Apps) %b%
[Link] -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [== 3.5% ]
echo.
echo %w%- Uninstalling GetHelp (Removing Preinstalled Apps) %b%
[Link] -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [==== 7.0% ]
echo.
echo %w%- Uninstalling Getstarted (Removing Preinstalled Apps) %b%
[Link] -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [===== 10.5% ]
echo.
echo %w%- Uninstalling Messaging (Removing Preinstalled Apps) %b%
[Link] -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [====== 14.5% ]
echo.
echo %w%- Uninstalling Messaging (Removing Preinstalled Apps) %b%
[Link] -command "& {Get-AppxPackage *Microsoft.Microsoft3DViewer* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [======== 18.0% ]
echo.
echo %w%- Uninstalling MicrosoftSolitaireCollection (Removing Preinstalled Apps) %b
%
PowerShell -command "& {Get-AppxPackage *[Link]* |
Remove-AppxPackage}
CLS

echo.
echo.
echo [========== 21.5% ]
echo.
echo %w%- Uninstalling MicrosoftStickyNotes (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [============ 24.5% ]
echo.
echo %w%- Uninstalling [Link] (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [============== 27.0% ]
echo.
echo %w%- Uninstalling OneConnect (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [=============== 28.5% ]
echo.
echo %w%- Uninstalling People (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-AppxPackage}
CLS

echo.
echo.
echo [================== 30.5% ]
echo.
echo %w%- Uninstalling Print3D (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *Microsoft.Print3D* | Remove-AppxPackage}
CLS
echo.
echo.
echo [=================== 32.0% ]
echo.
echo %w%- Uninstalling SkypeApp (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-AppxPackage}
CLS

echo.
echo.
echo [==================== 34.0% ]
echo.
echo %w%- Uninstalling WindowsAlarms (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [===================== 35.2% ]
echo.
echo %w%- Uninstalling WindowsCamera (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [====================== 37.5% ]
echo.
echo %w%- Uninstalling windowscommunicationsapps (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* |
Remove-AppxPackage}
CLS

echo.
echo.
echo [======================= 38.8% ]
echo.
echo %w%- Uninstalling WindowsMaps (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [======================== 40.0% ]
echo.
echo %w%- Uninstalling WindowsFeedbackHub (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [========================= 42.2% ]
echo.
echo %w%- Uninstalling WindowsSoundRecorder (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [========================= 44.5% ]
echo.
echo %w%- Uninstalling YourPhone (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-AppxPackage}
CLS

echo.
echo.
echo [=========================== 47.0% ]
echo.
echo %w%- Uninstalling ZuneMusic (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-AppxPackage}
CLS

echo.
echo.
echo [=========================== 49.0% ]
echo.
echo %w%- Uninstalling HEIFImageExtension (Removing Preinstalled Apps) %b%

PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-


AppxPackage}
CLS

echo.
echo.
echo [=============================51.0% ]
echo.
echo %w%- Uninstalling WebMediaExtensions (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [=============================53.5%== ]
echo.
echo %w%- Uninstalling WebpImageExtension (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *[Link]* | Remove-
AppxPackage}
CLS

echo.
echo.
echo [=============================56.7%==== ]
echo.
echo %w%- Uninstalling 3dBuilder (Removing Preinstalled Apps) %b%
PowerShell -command "& {Get-AppxPackage *Microsoft.3dBuilder* | Remove-AppxPackage}
CLS

echo.
echo.
echo [=============================59.5%====== ]
echo.
echo %w%- Uninstalling bing (Removing Preinstalled Apps) %b%
PowerShell -Command "Get-AppxPackage -allusers *bing* | Remove-AppxPackage"
CLS

echo.
echo.
echo [=============================62.0%======== ]
echo.
echo %w%- Uninstalling bingfinance (Removing Preinstalled Apps) %b%
PowerShell -Command "Get-AppxPackage -allusers *bingfinance* | Remove-AppxPackage"
CLS

echo.
echo.
echo [=============================65.5%========== ]
echo.
echo %w%- Uninstalling bingsports (Removing Preinstalled Apps) %b%
PowerShell -Command "Get-AppxPackage -allusers *bingsports* | Remove-AppxPackage"
CLS

echo.
echo.
echo [=============================69.0%============ ]
echo.
echo %w%- Uninstalling CommsPhone (Removing Preinstalled Apps) %b%
PowerShell -Command "Get-AppxPackage -allusers *CommsPhone* | Remove-AppxPackage"
CLS

echo.
echo.
echo [=============================75.0 %============= ]
echo.
echo %w%- Uninstalling Drawboard PDF (Removing Preinstalled Apps) %b%
PowerShell -Command "Get-AppxPackage -allusers *Drawboard PDF* | Remove-
AppxPackage"
CLS

echo.
echo.
echo [=============================79.5%%=============== ]
echo.
echo %w%- Uninstalling Sway (Removing Preinstalled Apps) %b%
PowerShell -Command "Get-AppxPackage -allusers *Sway* | Remove-AppxPackage"
CLS

echo.
echo.
echo [=============================85.0%%=================== ]
echo.
echo %w%- Uninstalling WindowsAlarms (Removing Preinstalled Apps) %b%
PowerShell -Command "Get-AppxPackage -allusers *WindowsAlarms* | Remove-
AppxPackage"
CLS

echo.
echo.
echo [=============================90.5%%===================== ]
echo.
echo %w%- Uninstalling WindowsPhone (Removing Preinstalled Apps) %b%
PowerShell -Command "Get-AppxPackage -allusers *WindowsPhone* | Remove-AppxPackage"
CLS

echo.
echo.
echo [=============================93.5%%===================== ]
echo.
echo %w%- Uninstalling WindowsPhone (Removing Preinstalled Apps) %b%
PowerShell -Command "Get-AppxPackage -allusers *WindowsPhone* | Remove-AppxPackage"
CLS

echo.
echo.
echo [=============================100.0%%=======================]
echo %w%- Finished! %b%
chcp 65001 >nul
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto uninstall

:net
:13
:nmenu
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo. %p% ███████╗██╗ ██╗███╗
███╗ ███╗ ██╗███████╗████████╗ ██╗ ██╗████████╗██╗ ██╗ ██╗████████╗██╗
██╗ ██████╗ █████╗
echo. %p%
██╔════╝╚██╗██╔╝████╗ ████║ ████╗ ██║██╔════╝╚══██╔══╝ ██║ ██║╚══██╔══╝██║ ██║
██║╚══██╔══╝╚██╗ ██╔╝ ╚════██╗ ██╔══██╗
echo. %p% █████╗ ╚███╔╝
██╔████╔██║ ██╔██╗██║█████╗ ██║ ██║ ██║ ██║ ██║ ██║ ██║ ██║
╚████╔╝ ███╔═╝ ██║ ██║
echo. %p% ██╔══╝ ██╔██╗
██║╚██╔╝██║ ██║╚████║██╔══╝ ██║ ██║ ██║ ██║ ██║ ██║ ██║ ██║
╚██╔╝ ██╔══╝ ██║ ██║
echo. %p% ███████╗██╔╝╚██╗██║
╚═╝ ██║ ██║ ╚███║███████╗ ██║ ╚██████╔╝ ██║ ██║ ███████╗██║ ██║
██║ ███████╗██╗╚█████╔╝
echo. %p% ╚══════╝╚═╝ ╚═╝╚═╝
╚═╝ ╚═╝ ╚══╝╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
╚══════╝╚═╝ ╚════╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════════════════════════════════════════════"%w%
echo.
echo.
%p%%w%%p%%w% %p%[%w%T%p%]%w% Tutorial
echo.
echo.
%p%%w%%p%%w% %p%[%w%B%p%]%w% Bufferbloat Test
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════════════════════════════════════════════"%w%
echo.
echo.
%p%%w%%p%%w% %p%[%w%A%p%]%w% Apply all (1-12)
echo.
echo. %p%[%w
%1%p%]%w% Set DNS, Local, Hosts, and NetBT priorities %p%[%w%2%p%]%w%
Set Network Throttling Index
echo.
echo. %p%[%w
%3%p%]%w% Set MaxUserPort, TcpTimedWaitDelay, and DefaultTTL %p%[%w%4%p%]%w%
Tweak TCP Settings and disable limiting
echo.
echo. %p%[%w
%5%p%]%w% Tweak MTU Settings %p%[%w%6%p%]%w%
Configure offload and network settings
echo.
echo. %p%[%w
%7%p%]%w% Disable IPv6 %p%[%w%8%p%]%w%
Disable Internet Probing
echo.
echo. %p%[%w
%9%p%]%w% Disable Internet addons %p%[%w%10%p%]%w%
Disable Nagiles Algorithm
echo.
echo. %p%[%w
%11%p%]%w% Enable Task Offload %p%[%w%12%p%]%w%
Optimize MLD , ICMP Chimney, DCA, and More
echo.
echo. %p%[%w
%13%p%]%w% Set a QOS Policy %p%[%w%14%p%]%w%
Optimize NIC Settings
echo.
echo.
%p%%w%%p%%w% %p%[%w%15%p%]%w% Toggle bufferbloat
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════"%w%
echo.
echo. %p%[%w%R
%p%]%w% Revert All %p%[%w%M%p%]%w% Back
to menu
echo.
echo. %w%
Made and distributed by EXM TWEAKS, S.R.O. ® 2025 * Version 2.0 * Updated 9th of
January 2025
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════════════════════════════════════════"%w%
echo.
echo.

set /p input=:
if /i %input% == A goto nALL
if /i %input% == 1 goto n1
if /i %input% == 2 goto n2
if /i %input% == 3 goto n3
if /i %input% == 4 goto n4
if /i %input% == 5 goto n5
if /i %input% == 6 goto n6
if /i %input% == 7 goto n7
if /i %input% == 8 goto n8
if /i %input% == 9 goto n9
if /i %input% == 10 goto n10
if /i %input% == 11 goto n11
if /i %input% == 12 goto n12
if /i %input% == 13 goto qos
if /i %input% == 14 goto n14
if /i %input% == 15 goto n15

if /i %input% == T start [Link]


if /i %input% == R goto Revertnet
if /i %input% == B START [Link]
if /i %input% == M goto Menu

) ELSE (
echo %w%- Invalid Input %b% & goto MisspellRedirect

:MisspellRedirect
cls
echo %w%- Misspell Detected %b%
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto nmenu

:nALL
cls
echo.
echo.
echo.
echo. %p%███╗
██╗███████╗████████╗ ██╗ ██╗ █████╗ ██████╗ ██╗ ██╗
echo. %p%████╗
██║██╔════╝╚══██╔══╝ ██║ ██╗ ██║██╔══██╗██╔══██╗██║ ██╔╝
echo. %p
%██╔██╗██║█████╗ ██║ ╚██╗████╗██╔╝██║ ██║██████╔╝█████═╝
echo. %p
%██║╚████║██╔══╝ ██║ ████╔═████║ ██║ ██║██╔══██╗██╔═██╗
echo. %p%██║
╚███║███████╗ ██║ ╚██╔╝ ╚██╔╝ ╚█████╔╝██║ ██║██║ ╚██╗
echo. %p%╚═╝
╚══╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
echo.
echo.
echo.
echo %w% Enabling Task Offloads%b%
netsh int ip set global taskoffload=enabled >nul 2>&1
echo.
echo %w% - Setting Network Throttling Index%b%
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile" /v "NetworkThrottlingIndex" /t REG_DWORD /d 0xffffffff /f
echo.
echo %w% - Setting MaxUserPort, TcpTimedWaitDelay, and DefaultTTL...%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v
"MaxUserPort" /t REG_DWORD /d 65534 /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v
"TcpTimedWaitDelay" /t REG_DWORD /d 30 /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v
"DefaultTTL" /t REG_DWORD /d 64 /f
echo.
echo %w% - Configuring TCP settings and MTU with netsh (it will show an error on 2
of them if you have wifi or ethernet disabled)%b%
netsh int tcp set supplemental internet congestionprovider=ctcp
netsh interface ipv4 set subinterface "Wi-Fi" mtu=1500 store=persistent
netsh interface ipv6 set subinterface "Wi-Fi" mtu=1500 store=persistent
netsh interface ipv4 set subinterface "Ethernet" mtu=1500 store=persistent
netsh interface ipv6 set subinterface "Ethernet" mtu=1500 store=persistent
echo.
chcp 437 >nul 2>&1
echo %w% - Configuring offload and network settings %b%
[Link] Set-NetOffloadGlobalSetting -ReceiveSegmentCoalescing disabled
[Link] Set-NetOffloadGlobalSetting -ReceiveSideScaling disabled
[Link] Set-NetOffloadGlobalSetting -Chimney disabled
[Link] Disable-NetAdapterLso -Name *
[Link] Disable-NetAdapterChecksumOffload -Name *
chcp 65001 >nul 2>&1
echo.
echo %w% - Disabling ipv6%b%
[Link] add "HKLM\SYSTEM\ControlSet001\services\TCPIP6\Parameters" /v
"DisabledComponents" /t REG_DWORD /d 255 /f
echo.
echo %w%- Disabling Active Probing%b%
[Link] add "HKLM\System\ControlSet001\services\NlaSvc\Parameters\Internet" /v
"EnableActiveProbing" /t REG_DWORD /d 0 /f
echo.
echo %w%- Disabling Internet addons
rem Set registry values for Ext Settings
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF90-7B36-11D2-B20E-00C04F983E60}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF90-7B36-11D2-B20E-00C04F983E60}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{2933BF91-7B36-11D2-B20E-00C04F983E60}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF91-7B36-11D2-B20E-00C04F983E60}" /v "Version" /t REG_SZ /d "*" /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF94-7B36-11D2-B20E-00C04F983E60}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF94-7B36-11D2-B20E-00C04F983E60}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{3050F819-98B5-11CF-BB82-00AA00BDCE0B}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{3050F819-98B5-11CF-BB82-00AA00BDCE0B}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{333C7BC4-460F-11D0-BC04-0080C7055A83}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{333C7BC4-460F-11D0-BC04-0080C7055A83}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{373984C9-B845-449B-91E7-45AC83036ADE}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{373984C9-B845-449B-91E7-45AC83036ADE}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{6BF52A52-394A-11D3-B153-00C04F79FAA6}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{6BF52A52-394A-11D3-B153-00C04F79FAA6}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{884E2049-217D-11DA-B2A4-000E7BBB2B09}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{884E2049-217D-11DA-B2A4-000E7BBB2B09}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{884E2051-217D-11DA-B2A4-000E7BBB2B09}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{884E2051-217D-11DA-B2A4-000E7BBB2B09}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{88D96A05-F192-11D4-A65F-0040963251E5}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A05-F192-11D4-A65F-0040963251E5}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{88D96A06-F192-11D4-A65F-0040963251E5}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A06-F192-11D4-A65F-0040963251E5}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{88D96A07-F192-11D4-A65F-0040963251E5}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A07-F192-11D4-A65F-0040963251E5}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{88D96A08-F192-11D4-A65F-0040963251E5}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A08-F192-11D4-A65F-0040963251E5}" /v "Version" /t REG_SZ /d "*" /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A0A-F192-11D4-A65F-0040963251E5}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A0A-F192-11D4-A65F-0040963251E5}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{8E4062D9-FE1B-4B9E-AA16-5E8EEF68F48E}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{8E4062D9-FE1B-4B9E-AA16-5E8EEF68F48E}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{D2517915-48CE-4286-970F-921E881B8C5C}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{D2517915-48CE-4286-970F-921E881B8C5C}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{EE09B103-97E0-11CF-978F-00A02463E06F}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{EE09B103-97E0-11CF-978F-00A02463E06F}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F32-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F32-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F33-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F33-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F34-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F34-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F35-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F35-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F36-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F36-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F39-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F39-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F6D90F12-9C73-11D3-B32E-00C04F990BB4}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F6D90F12-9C73-11D3-B32E-00C04F990BB4}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F6D90F14-9C73-11D3-B32E-00C04F990BB4}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F6D90F14-9C73-11D3-B32E-00C04F990BB4}" /v "Version" /t REG_SZ /d "*" /f

rem Set registry values for Ext Stats


[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{2933BF90-7B36-11D2-B20E-00C04F983E60}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{2933BF91-7B36-11D2-B20E-00C04F983E60}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{2933BF94-7B36-11D2-B20E-00C04F983E60}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{3050F819-98B5-11CF-BB82-00AA00BDCE0B}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{333C7BC4-460F-11D0-BC04-0080C7055A83}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{373984C9-B845-449B-91E7-45AC83036ADE}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{6BF52A52-394A-11D3-B153-00C04F79FAA6}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{884E2049-217D-11DA-B2A4-000E7BBB2B09}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{884E2051-217D-11DA-B2A4-000E7BBB2B09}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A05-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A06-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A07-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A08-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A0A-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{8E4062D9-FE1B-4B9E-AA16-5E8EEF68F48E}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{D2517915-48CE-4286-970F-921E881B8C5C}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{EE09B103-97E0-11CF-978F-00A02463E06F}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F32-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F33-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F34-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F35-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F36-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F39-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F6D90F12-9C73-11D3-B32E-00C04F990BB4}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F6D90F14-9C73-11D3-B32E-00C04F990BB4}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
echo.
echo %w% - Disabling Nagiles algorithm %b%
sc config Winmgmt start= demand >nul 2>&1
sc start Winmgmt >nul 2>&1
echo %w% - Enabling TCPNoDelay %b%
for /f %%q in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do [Link]
add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%q" /v
TCPNoDelay /t REG_DWORD /d "1" /f
echo %w% - Enabling TCP Ack Frequency %b%
for /f %%q in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do [Link]
add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%q" /v
TcpAckFrequency /t REG_DWORD /d "1" /f
echo %w% - Disabling TCP Del AckTicks %b%
for /f %%q in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do [Link]
add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%q" /v
TcpDelAckTicks /t REG_DWORD /d "0" /f
echo.
echo %w% Optimizing MLD and ICMP%b%
netsh int ip set global dhcpmediasense=disabled >nul 2>&1
netsh int ip set global mediasenseeventlog=disabled >nul 2>&1
netsh int ip set global mldlevel=none >nul 2>&1
netsh int ip set global icmpredirects=disabled >nul 2>&1
netsh int tcp set global chimney=enabled >nul 2>&1
netsh int tcp set global dca=enabled >nul 2>&1
netsh int tcp set global netdma=disabled >nul 2>&1
netsh int tcp set global rsc=disabled >nul 2>&1
netsh int tcp set global maxsynretransmissions=2 >nul 2>&1
netsh int tcp set global timestamps=disabled >nul 2>&1
netsh int tcp set global ecncapability=disabled >nul 2>&1
netsh int tcp set heuristics disabled >nul 2>&1
netsh int tcp set heuristics wsh=disabled >nul 2>&1
netsh int tcp set security mpp=disabled >nul 2>&1
netsh int tcp set security profiles=disabled >nul 2>&1
echo.
echo %w% - Disabling TCP heuristics / Disabling Network Limiting %b%
netsh int tcp set heuristics Disabled

echo.
echo.
echo.
echo. %b
%╔═══════════════════════════════════════════════════════════════╗
echo. %b
%║ %w% * Operation Completed * Press any key to continue... %b%║
echo. %b
%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto NMenu

:revertnet
CLS
echo.
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██╗███████╗██████╗ ████████╗██╗███╗ ██╗ ██████╗
echo. %p
%██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝██║████╗ ██║██╔════╝
echo. %p
%██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║ ██║██╔██╗██║██║ ██╗
echo. %p
%██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║ ██║██║╚████║██║ ╚██╗
echo. %p%██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║ ██║██║ ╚███║╚██████╔╝██╗██╗██╗
echo. %p%╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚══╝ ╚═════╝ ╚═╝╚═╝╚═╝
echo.
echo.

:: Addons
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF90-7B36-11D2-B20E-00C04F983E60}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF90-7B36-11D2-B20E-00C04F983E60}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF91-7B36-11D2-B20E-00C04F983E60}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF91-7B36-11D2-B20E-00C04F983E60}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF94-7B36-11D2-B20E-00C04F983E60}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF94-7B36-11D2-B20E-00C04F983E60}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{3050F819-98B5-11CF-BB82-00AA00BDCE0B}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{3050F819-98B5-11CF-BB82-00AA00BDCE0B}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{333C7BC4-460F-11D0-BC04-0080C7055A83}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{333C7BC4-460F-11D0-BC04-0080C7055A83}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{373984C9-B845-449B-91E7-45AC83036ADE}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{373984C9-B845-449B-91E7-45AC83036ADE}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{6BF52A52-394A-11D3-B153-00C04F79FAA6}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{6BF52A52-394A-11D3-B153-00C04F79FAA6}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{884E2049-217D-11DA-B2A4-000E7BBB2B09}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{884E2049-217D-11DA-B2A4-000E7BBB2B09}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{884E2051-217D-11DA-B2A4-000E7BBB2B09}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{884E2051-217D-11DA-B2A4-000E7BBB2B09}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A05-F192-11D4-A65F-0040963251E5}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A05-F192-11D4-A65F-0040963251E5}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A06-F192-11D4-A65F-0040963251E5}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A06-F192-11D4-A65F-0040963251E5}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A07-F192-11D4-A65F-0040963251E5}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A07-F192-11D4-A65F-0040963251E5}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A08-F192-11D4-A65F-0040963251E5}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A08-F192-11D4-A65F-0040963251E5}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A0A-F192-11D4-A65F-0040963251E5}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A0A-F192-11D4-A65F-0040963251E5}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{8E4062D9-FE1B-4B9E-AA16-5E8EEF68F48E}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{8E4062D9-FE1B-4B9E-AA16-5E8EEF68F48E}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{D2517915-48CE-4286-970F-921E881B8C5C}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{D2517915-48CE-4286-970F-921E881B8C5C}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{EE09B103-97E0-11CF-978F-00A02463E06F}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{EE09B103-97E0-11CF-978F-00A02463E06F}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F32-C551-11D3-89B9-0000F81FE221}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F32-C551-11D3-89B9-0000F81FE221}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F33-C551-11D3-89B9-0000F81FE221}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F33-C551-11D3-89B9-0000F81FE221}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F34-C551-11D3-89B9-0000F81FE221}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F34-C551-11D3-89B9-0000F81FE221}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F35-C551-11D3-89B9-0000F81FE221}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F35-C551-11D3-89B9-0000F81FE221}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F36-C551-11D3-89B9-0000F81FE221}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F36-C551-11D3-89B9-0000F81FE221}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F39-C551-11D3-89B9-0000F81FE221}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F39-C551-11D3-89B9-0000F81FE221}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F6D90F12-9C73-11D3-B32E-00C04F990BB4}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F6D90F12-9C73-11D3-B32E-00C04F990BB4}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F6D90F14-9C73-11D3-B32E-00C04F990BB4}" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F6D90F14-9C73-11D3-B32E-00C04F990BB4}" /v "Version" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{2933BF90-7B36-11D2-B20E-00C04F983E60}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{2933BF91-7B36-11D2-B20E-00C04F983E60}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{2933BF94-7B36-11D2-B20E-00C04F983E60}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{3050F819-98B5-11CF-BB82-00AA00BDCE0B}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{333C7BC4-460F-11D0-BC04-0080C7055A83}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{373984C9-B845-449B-91E7-45AC83036ADE}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{6BF52A52-394A-11D3-B153-00C04F79FAA6}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{884E2049-217D-11DA-B2A4-000E7BBB2B09}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{884E2051-217D-11DA-B2A4-000E7BBB2B09}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A05-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A06-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A07-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A08-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A0A-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{8E4062D9-FE1B-4B9E-AA16-5E8EEF68F48E}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{D2517915-48CE-4286-970F-921E881B8C5C}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{EE09B103-97E0-11CF-978F-00A02463E06F}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F32-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F33-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F34-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F35-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F36-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F39-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F6D90F12-9C73-11D3-B32E-00C04F990BB4}\iexplore" /v "Flags" /f >nul 2>&1
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F6D90F14-9C73-11D3-B32E-00C04F990BB4}\iexplore" /v "Flags" /f >nul 2>&1

::DnsPriority
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v
"DnsPriority" /f >nul 2>&1
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v
"LocalPriority" /f >nul 2>&1
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v
"HostsPriority" /f >nul 2>&1
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v
"NetbtPriority" /f >nul 2>&1

::Network Throttling Index


reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile" /v "NetworkThrottlingIndex" /f >nul 2>&1

:: MaxUserPort, TcpTimedWaitDelay, and DefaultTTL


reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v
"MaxUserPort" /f >nul 2>&1
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v
"TcpTimedWaitDelay" /f >nul 2>&1
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v
"DefaultTTL" /f >nul 2>&1

::TCP Hueretics
netsh int tcp set heuristics Enabled >nul 2>&1

:: TCP settings and MTU with netsh


netsh int tcp set supplemental internet congestionprovider=default >nul 2>&1
netsh interface ipv4 set subinterface "Wi-Fi" mtu=1492 store=persistent >nul 2>&1
netsh interface ipv6 set subinterface "Wi-Fi" mtu=1280 store=persistent >nul 2>&1
netsh interface ipv4 set subinterface "Ethernet" mtu=1500 store=persistent >nul
2>&1
netsh interface ipv6 set subinterface "Ethernet" mtu=1280 store=persistent >nul
2>&1

:: Active Probing
[Link] add "HKLM\System\ControlSet001\services\NlaSvc\Parameters\Internet" /v
"EnableActiveProbing" /t REG_DWORD /d 1 /f >nul 2>&1

chcp 65001 >nul 2>&1


:: Disable Task Offloads
netsh int ip set global taskoffload=enabled >nul 2>&1

:: offload and network settings


chcp 437 >nul 2>&1
[Link] Set-NetOffloadGlobalSetting -ReceiveSegmentCoalescing enabled >nul
2>&1
[Link] Set-NetOffloadGlobalSetting -ReceiveSideScaling enabled >nul 2>&1
[Link] Set-NetOffloadGlobalSetting -Chimney enabled >nul 2>&1
[Link] Enable-NetAdapterLso -Name * >nul 2>&1
[Link] Enable-NetAdapterChecksumOffload -Name * >nul 2>&1
chcp 65001 >nul 2>&1

:: Re-enable Nagle's Algorithm, reset Interface Metric


for /f %%q in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do (
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
Interfaces\%%q" /v InterfaceMetric /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
Interfaces\%%q" /v TCPNoDelay /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
Interfaces\%%q" /v TcpAckFrequency /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
Interfaces\%%q" /v TcpDelAckTicks /f
)>nul 2>&1

:: MLD
netsh int ip set global dhcpmediasense=enabled >nul 2>&1
netsh int ip set global mediasenseeventlog=enabled >nul 2>&1
netsh int ip set global mldlevel=default >nul 2>&1
netsh int ip set global icmpredirects=enabled >nul 2>&1
netsh int tcp set global chimney=disabled >nul 2>&1
netsh int tcp set global dca=disabled >nul 2>&1
netsh int tcp set global netdma=enabled >nul 2>&1
netsh int tcp set global rsc=enabled >nul 2>&1
netsh int tcp set global maxsynretransmissions=5 >nul 2>&1
netsh int tcp set global timestamps=enabled >nul 2>&1
netsh int tcp set global ecncapability=enabled >nul 2>&1
netsh int tcp set heuristics enabled >nul 2>&1
netsh int tcp set heuristics wsh=enabled >nul 2>&1
netsh int tcp set security mpp=enabled >nul 2>&1
netsh int tcp set security profiles=enabled >nul 2>&1

for /f %%n in ('Reg query "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-


E325-11CE-BFC1-08002bE10318}" /v "*SpeedDuplex" /s ^| findstr "HKEY"') do (
[Link] delete "%%n" /v "AdvancedEEE" /f
[Link] delete "%%n" /v "*EEE" /f
[Link] delete "%%n" /v "EEE" /f
[Link] delete "%%n" /v "EnablePME" /f
[Link] delete "%%n" /v "EEELinkAdvertisement" /f

[Link] delete "%%n" /v "AutoPowerSaveModeEnabled" /f


[Link] delete "%%n" /v "DisableDelayedPowerUp" /f
[Link] delete "%%n" /v "AutoDisableGigabit" /f
[Link] delete "%%n" /v "EnableGreenEthernet" /f
[Link] delete "%%n" /v "EnableSavePowerNow" /f
[Link] delete "%%n" /v "EnablePowerManagement" /f
[Link] delete "%%n" /v "NicAutoPowerSaver" /f
[Link] delete "%%n" /v "PowerDownPll" /f
[Link] delete "%%n" /v "PowerSavingMode" /f
[Link] delete "%%n" /v "ReduceSpeedOnPowerDown" /f
[Link] delete "%%n" /v "S5NicKeepOverrideMacAddrV2" /f

[Link] delete "%%n" /v "EnableDynamicPowerGating" /f


[Link] delete "%%n" /v "EnableConnectedPowerGating" /f

[Link] delete "%%n" /v "GigaLite" /f


[Link] delete "%%n" /v "ULPMode" /f

[Link] delete "%%n" /v "EnableWakeOnLan" /f


[Link] delete "%%n" /v "WakeOnDisconnect" /f
[Link] delete "%%n" /v "*WakeOnMagicPacket" /f
[Link] delete "%%n" /v "S5WakeOnLan" /f
[Link] delete "%%n" /v "*WakeOnPattern" /f
[Link] delete "%%n" /v "WakeOnLink" /f
[Link] delete "%%n" /v "WolShutdownLinkSpeed" /f

[Link] delete "%%n" /v "JumboPacket" /f

[Link] delete "%%n" /v "TransmitBuffers" /f


[Link] delete "%%n" /v "ReceiveBuffers" /f

[Link] delete "%%n" /v "IPChecksumOffloadIPv4" /f


[Link] delete "%%n" /v "LsoV1IPv4" /f
[Link] delete "%%n" /v "LsoV2IPv4" /f
[Link] delete "%%n" /v "LsoV2IPv6" /f
[Link] delete "%%n" /v "PMARPOffload" /f
[Link] delete "%%n" /v "PMNSOffload" /f
[Link] delete "%%n" /v "TCPChecksumOffloadIPv4" /f
[Link] delete "%%n" /v "TCPChecksumOffloadIPv6" /f
[Link] delete "%%n" /v "UDPChecksumOffloadIPv6" /f
[Link] delete "%%n" /v "UDPChecksumOffloadIPv4" /f

[Link] delete "%%n" /v "RSS" /f


[Link] delete "%%n" /v "*FlowControl" /f
[Link] delete "%%n" /v "FlowControlCap" /f
[Link] delete "%%n" /v "RxAbsIntDelay" /f
[Link] delete "%%n" /v "TxIntDelay" /f
[Link] delete "%%n" /v "TxAbsIntDelay" /f
[Link] delete "%%n" /v "FatChannelIntolerant" /f
)

netsh int tcp set global autotuninglevel=normal

echo.
echo.
echo.
echo. %b
%╔═══════════════════════════════════════════════════════════════╗
echo. %b%║%w%
* Reverted all network tweaks, press any key to continue... %b%║
echo. %b
%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto nmenu

:n11
echo %w% Enabling Task Offloads%b%
netsh int ip set global taskoffload=enabled >nul 2>&1
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto NMenu

:n15
cls
echo.
echo.
echo.
echo. %p%██████╗ ██╗
██╗███████╗███████╗███████╗██████╗ ██████╗ ██╗ █████╗ █████╗ ████████╗
echo. %p%██╔══██╗██║
██║██╔════╝██╔════╝██╔════╝██╔══██╗██╔══██╗██║ ██╔══██╗██╔══██╗╚══██╔══╝
echo. %p%██████╦╝██║ ██║█████╗
█████╗ █████╗ ██████╔╝██████╦╝██║ ██║ ██║███████║ ██║
echo. %p%██╔══██╗██║ ██║██╔══╝
██╔══╝ ██╔══╝ ██╔══██╗██╔══██╗██║ ██║ ██║██╔══██║ ██║
echo. %p%██████╦╝╚██████╔╝██║ ██║
███████╗██║ ██║██████╦╝███████╗╚█████╔╝██║ ██║ ██║
echo. %p%╚═════╝ ╚═════╝ ╚═╝ ╚═╝
╚══════╝╚═╝ ╚═╝╚═════╝ ╚══════╝ ╚════╝ ╚═╝ ╚═╝ ╚═╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════════"%w%
echo.
echo. %p%[%w%1%p%]%w
% Less bufferbloat but lower network speed
echo.
echo. %p%[%w%2%p%]%w
% Normal speed and normal bufferbloat (default)
echo.
echo.
echo.
%p%[%w%M%p%]%w% Back to menu
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════"%w%
echo. This will either enable or
disable autotuning depending on the option you choose
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════"%w%

set /p input=:
if /i %input% == 1 goto disableautotuning
if /i %input% == 2 goto enableautotuning
if /i %input% == M goto nmenu
) ELSE (
echo %w%- Invalid Input %b% & goto MisspellRedirect

:MisspellRedirect
cls
echo %w%- Misspell Detected %b%
timeout 2
goto RedirectMenu

:RedirectMenu
goto n15

:disableautotuning
echo %w% - Disabling autotuning%b%
netsh int tcp set global autotuninglevel=disabled
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto NMenu

:enableautotuning
echo %w% - Enabling autotuning%b%
netsh int tcp set global autotuninglevel=normal
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto NMenu

:n6
echo %w% -Configuring offload and network settings %b%
chcp 437 >nul 2>&1
[Link] Set-NetOffloadGlobalSetting -ReceiveSegmentCoalescing disabled
[Link] Set-NetOffloadGlobalSetting -ReceiveSideScaling disabled
[Link] Set-NetOffloadGlobalSetting -Chimney disabled
[Link] Disable-NetAdapterLso -Name *
[Link] Disable-NetAdapterChecksumOffload -Name *
chcp 65001 >nul 2>&1
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto NMenu

:n12
echo %w% Optimizing MLD and ICMP%b%
netsh int ip set global dhcpmediasense=disabled >nul 2>&1
netsh int ip set global mediasenseeventlog=disabled >nul 2>&1
netsh int ip set global mldlevel=none >nul 2>&1
netsh int ip set global icmpredirects=disabled >nul 2>&1
netsh int tcp set global chimney=enabled >nul 2>&1
netsh int tcp set global dca=enabled >nul 2>&1
netsh int tcp set global netdma=disabled >nul 2>&1
netsh int tcp set global rsc=disabled >nul 2>&1
netsh int tcp set global maxsynretransmissions=2 >nul 2>&1
netsh int tcp set global timestamps=disabled >nul 2>&1
netsh int tcp set global ecncapability=disabled >nul 2>&1
netsh int tcp set heuristics disabled >nul 2>&1
netsh int tcp set heuristics wsh=disabled >nul 2>&1
netsh int tcp set security mpp=disabled >nul 2>&1
netsh int tcp set security profiles=disabled >nul 2>&1

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto NMenu

:n1
echo %w% - Setting DNS, Local, Hosts, and NetBT priorities...%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v
"DnsPriority" /t REG_DWORD /d 6 /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v
"LocalPriority" /t REG_DWORD /d 4 /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v
"HostsPriority" /t REG_DWORD /d 5 /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v
"NetbtPriority" /t REG_DWORD /d 7 /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto NMenu

:n2
echo %w% - Setting Network Throttling Index%b%
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile" /v "NetworkThrottlingIndex" /t REG_DWORD /d 0xffffffff /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto NMenu

:n3
echo %w% - Setting MaxUserPort, TcpTimedWaitDelay, and DefaultTTL...%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v
"MaxUserPort" /t REG_DWORD /d 65534 /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v
"TcpTimedWaitDelay" /t REG_DWORD /d 30 /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v
"DefaultTTL" /t REG_DWORD /d 64 /f
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
echo."
pause > nul
cls
goto NMenu

:n4
chcp 437 >nul 2>&1
echo %w% - Configuring TCP settings with PowerShell%b%
[Link] Set-NetTcpSetting -SettingName internet -EcnCapability enabled
[Link] Set-NetTcpSetting -SettingName internet -Timestamps enabled
[Link] Set-NetTcpSetting -SettingName internet -MaxSynRetransmissions 2
[Link] Set-NetTcpSetting -SettingName internet -NonSackRttResiliency
disabled
[Link] Set-NetTcpSetting -SettingName internet -InitialRto 2000
[Link] Set-NetTcpSetting -SettingName internet -MinRto 300

echo %w% - Disabling TCP heuristics / Disabling Network Limiting %b%


netsh int tcp set heuristics Disabled
[Link] Set-NetTCPSetting -SettingName internet -ScalingHeuristics disabled

chcp 65001 >nul 2>&1


echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
echo.
pause > nul
cls
goto NMenu
:n7
chcp 437 >nul 2>&1
echo %w% - Disabling ipv6%b%
[Link] add "HKLM\SYSTEM\ControlSet001\services\TCPIP6\Parameters" /v
"DisabledComponents" /t REG_DWORD /d 255 /f
chcp 65001 >nul 2>&1
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto NMenu

:n5
chcp 437 >nul 2>&1
echo %w% - Configuring TCP settings and MTU with netsh %b%
netsh int tcp set supplemental internet congestionprovider=ctcp
netsh interface ipv4 set subinterface "Wi-Fi" mtu=1500 store=persistent
netsh interface ipv6 set subinterface "Wi-Fi" mtu=1500 store=persistent
netsh interface ipv4 set subinterface "Ethernet" mtu=1500 store=persistent
netsh interface ipv6 set subinterface "Ethernet" mtu=1500 store=persistent
chcp 65001 >nul 2>&1
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto NMenu

:n10

echo %w% - Disabling Nagiles algorithm %b%


sc config Winmgmt start= demand >nul 2>&1
sc start Winmgmt >nul 2>&1

echo %w% - Enabling TCPNoDelay %b%


for /f %%q in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do [Link]
add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%q" /v
TCPNoDelay /t REG_DWORD /d "1" /f
echo %w% - Enabling TCP Ack Frequency %b%
for /f %%q in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do [Link]
add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%q" /v
TcpAckFrequency /t REG_DWORD /d "1" /f
echo %w% - Disabling TCP Del AckTicks %b%
for /f %%q in ('wmic path win32_networkadapter get GUID ^| findstr "{"') do [Link]
add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\%%q" /v
TcpDelAckTicks /t REG_DWORD /d "0" /f

echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto NMenu

:n14
chcp 437 >nul 2>&1
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('!WARNING! You can only use this if you are
on ethernet, if you are on wifi, press "N" on the next page', 'Exm Tweaking
Utility', 'Ok', [[Link]]::Information);}"
chcp 65001 >nul 2>&1

:nicethernet
cls
echo.
echo.
echo.
echo.
%p%███╗ ██╗██╗ █████╗
echo.
%p%████╗ ██║██║██╔══██╗
echo.
%p%██╔██╗██║██║██║ ╚═╝
echo.
%p%██║╚████║██║██║ ██╗
echo.
%p%██║ ╚███║██║╚█████╔╝
echo.
%p%╚═╝ ╚══╝╚═╝ ╚════╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══"%w%
echo.
ONLY DO THIS ON ETHERNET
echo.
echo. %p%[%w%1%p%]%w% Optimize
NIC Settings %p%[%w%2%p%]%w% Revert NIC settings
echo.
echo.
echo.
%p%[%w%M%p%]%w% Back to menu
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══"%w%
echo. Optimizes NIC (network
interface card settings) to decrease ping and help your network
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════"%w%

set /p input=:
if /i %input% == 1 goto nic
if /i %input% == 2 goto revertnic
if /i %input% == M goto nmenu
) ELSE (
echo %w%- Invalid Input %b% & goto MisspellRedirect

:MisspellRedirect
cls
echo %w%- Misspell Detected %b%
timeout 2
goto RedirectMenu

:RedirectMenu
goto nicethernet

:revertnic
echo %w% - Reverting NIC Settings... %b%

for /f %%n in ('Reg query "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-


E325-11CE-BFC1-08002bE10318}" /v "*SpeedDuplex" /s ^| findstr "HKEY"') do (
[Link] delete "%%n" /v "AdvancedEEE" /f
[Link] delete "%%n" /v "*EEE" /f
[Link] delete "%%n" /v "EEE" /f
[Link] delete "%%n" /v "EnablePME" /f
[Link] delete "%%n" /v "EEELinkAdvertisement" /f

[Link] delete "%%n" /v "AutoPowerSaveModeEnabled" /f


[Link] delete "%%n" /v "DisableDelayedPowerUp" /f
[Link] delete "%%n" /v "AutoDisableGigabit" /f
[Link] delete "%%n" /v "EnableGreenEthernet" /f
[Link] delete "%%n" /v "EnableSavePowerNow" /f
[Link] delete "%%n" /v "EnablePowerManagement" /f
[Link] delete "%%n" /v "NicAutoPowerSaver" /f
[Link] delete "%%n" /v "PowerDownPll" /f
[Link] delete "%%n" /v "PowerSavingMode" /f
[Link] delete "%%n" /v "ReduceSpeedOnPowerDown" /f
[Link] delete "%%n" /v "S5NicKeepOverrideMacAddrV2" /f

[Link] delete "%%n" /v "EnableDynamicPowerGating" /f


[Link] delete "%%n" /v "EnableConnectedPowerGating" /f

[Link] delete "%%n" /v "GigaLite" /f


[Link] delete "%%n" /v "ULPMode" /f

[Link] delete "%%n" /v "EnableWakeOnLan" /f


[Link] delete "%%n" /v "WakeOnDisconnect" /f
[Link] delete "%%n" /v "*WakeOnMagicPacket" /f
[Link] delete "%%n" /v "S5WakeOnLan" /f
[Link] delete "%%n" /v "*WakeOnPattern" /f
[Link] delete "%%n" /v "WakeOnLink" /f
[Link] delete "%%n" /v "WolShutdownLinkSpeed" /f

[Link] delete "%%n" /v "JumboPacket" /f


[Link] delete "%%n" /v "TransmitBuffers" /f
[Link] delete "%%n" /v "ReceiveBuffers" /f

[Link] delete "%%n" /v "IPChecksumOffloadIPv4" /f


[Link] delete "%%n" /v "LsoV1IPv4" /f
[Link] delete "%%n" /v "LsoV2IPv4" /f
[Link] delete "%%n" /v "LsoV2IPv6" /f
[Link] delete "%%n" /v "PMARPOffload" /f
[Link] delete "%%n" /v "PMNSOffload" /f
[Link] delete "%%n" /v "TCPChecksumOffloadIPv4" /f
[Link] delete "%%n" /v "TCPChecksumOffloadIPv6" /f
[Link] delete "%%n" /v "UDPChecksumOffloadIPv6" /f
[Link] delete "%%n" /v "UDPChecksumOffloadIPv4" /f

[Link] delete "%%n" /v "RSS" /f


[Link] delete "%%n" /v "*FlowControl" /f
[Link] delete "%%n" /v "FlowControlCap" /f
[Link] delete "%%n" /v "RxAbsIntDelay" /f
[Link] delete "%%n" /v "TxIntDelay" /f
[Link] delete "%%n" /v "TxAbsIntDelay" /f
[Link] delete "%%n" /v "FatChannelIntolerant" /f
)
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto NMenu

:nic

echo %w%- Disabling EEE (Energy Efficient Ethernet) %b%


for /f %%n in ('Reg query "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-
E325-11CE-BFC1-08002bE10318}" /v "*SpeedDuplex" /s ^| findstr "HKEY"') do (
[Link] add "%%n" /v "AdvancedEEE" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "*EEE" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "EEE" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "EnablePME" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "EEELinkAdvertisement" /t REG_SZ /d "0" /f
echo %w%- Disabling Power Saving Modes, Power Managment and Much more %b%
[Link] add "%%n" /v "AutoPowerSaveModeEnabled" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "DisabledelayedPowerUp" /t REG_SZ /d "2" /f
[Link] add "%%n" /v "AutoDisablingGigabit" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "EnableGreenEthernet" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "EnableSavePowerNow" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "EnablePowerManagement" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "NicAutoPowerSaver" /t REG_SZ /d "2" /f
[Link] add "%%n" /v "PowerDownPll" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "PowerSavingMode" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "ReduceSpeedOnPowerDown" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "S5NicKeepOverrideMacAddrV2" /t REG_SZ /d "0" /f
echo %w%- Disabling Power Gating %b%
[Link] add "%%n" /v "EnabledynamicPowerGating" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "EnableConnectedPowerGating" /t REG_SZ /d "0" /f
echo %w%- Disabling Giga Lite %b%
[Link] add "%%n" /v "GigaLite" /t REG_SZ /d "0" /f
echo %w%- Disabling Ultra Low Power Mode %b%
[Link] add "%%n" /v "ULPMode" /t REG_SZ /d "0" /f
echo %w%- Disabling WakeOns %b%
[Link] add "%%n" /v "EnableWakeOnLan" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "WakeOnDisconnect" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "*WakeOnMagicPacket" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "S5WakeOnLan" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "*WakeOnPattern" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "WakeOnLink" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "WolShutdownLinkSpeed" /t REG_SZ /d "2" /f
echo %w%- Disabling Jumbo Frame/Packet %b%
[Link] add "%%n" /v "JumboPacket" /t REG_SZ /d "1514" /f
echo %w%- Configuring Buffer Sizes %b%
[Link] add "%%n" /v "TransmitBuffers" /t REG_SZ /d "2048" /f
[Link] add "%%n" /v "ReceiveBuffers" /t REG_SZ /d "1024" /f
echo %w%- Configuring and Disabling Offloads %b%
[Link] add "%%n" /v "IPChecksumOffloadIPv4" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "LsoV1IPv4" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "LsoV2IPv4" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "LsoV2IPv6" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "PMARPOffload" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "PMNSOffload" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "TCPChecksumOffloadIPv4" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "TCPChecksumOffloadIPv6" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "UDPChecksumOffloadIPv6" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "UDPChecksumOffloadIPv4" /t REG_SZ /d "0" /f
echo %w%- Enabling RSS in NIC %b%
[Link] add "%%n" /v "RSS" /t REG_SZ /d "1" /f
[Link] add "%%n" /v "*NumRssQueues" /t REG_SZ /d "2" /f
[Link] add "%%n" /v "RSSProfile" /t REG_SZ /d "3" /f
echo %w%- Disabling Flow Control %b%
[Link] add "%%n" /v "*FlowControl" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "FlowControlCap" /t REG_SZ /d "0" /f
echo %w%- Removing Interrupt Delays %b%
[Link] add "%%n" /v "RxAbsIntDelay" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "TxIntDelay" /t REG_SZ /d "0" /f
[Link] add "%%n" /v "TxAbsIntDelay" /t REG_SZ /d "0" /f
echo %w%- Removing Adapter Notification Sending %b%
[Link] add "%%n" /v "FatChannelIntolerant" /t REG_SZ /d "0" /f
)

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto NMenu
:n8
chcp 437 >nul 2>&1
echo %w%- Disabling Active Probing%b%
[Link] add "HKLM\System\ControlSet001\services\NlaSvc\Parameters\Internet" /v
"EnableActiveProbing" /t REG_DWORD /d 0 /f
chcp 65001 >nul 2>&1

echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto NMenu

:n9
chcp 437 >nul 2>&1
echo %w%- Disabling Internet addons
rem Set registry values for Ext Settings
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF90-7B36-11D2-B20E-00C04F983E60}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF90-7B36-11D2-B20E-00C04F983E60}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{2933BF91-7B36-11D2-B20E-00C04F983E60}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF91-7B36-11D2-B20E-00C04F983E60}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{2933BF94-7B36-11D2-B20E-00C04F983E60}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{2933BF94-7B36-11D2-B20E-00C04F983E60}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{3050F819-98B5-11CF-BB82-00AA00BDCE0B}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{3050F819-98B5-11CF-BB82-00AA00BDCE0B}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{333C7BC4-460F-11D0-BC04-0080C7055A83}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{333C7BC4-460F-11D0-BC04-0080C7055A83}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{373984C9-B845-449B-91E7-45AC83036ADE}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{373984C9-B845-449B-91E7-45AC83036ADE}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}" /v "Version" /t REG_SZ /d "*" /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{6BF52A52-394A-11D3-B153-00C04F79FAA6}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{6BF52A52-394A-11D3-B153-00C04F79FAA6}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{884E2049-217D-11DA-B2A4-000E7BBB2B09}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{884E2049-217D-11DA-B2A4-000E7BBB2B09}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{884E2051-217D-11DA-B2A4-000E7BBB2B09}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{884E2051-217D-11DA-B2A4-000E7BBB2B09}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{88D96A05-F192-11D4-A65F-0040963251E5}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A05-F192-11D4-A65F-0040963251E5}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{88D96A06-F192-11D4-A65F-0040963251E5}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A06-F192-11D4-A65F-0040963251E5}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{88D96A07-F192-11D4-A65F-0040963251E5}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A07-F192-11D4-A65F-0040963251E5}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{88D96A08-F192-11D4-A65F-0040963251E5}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A08-F192-11D4-A65F-0040963251E5}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{88D96A0A-F192-11D4-A65F-0040963251E5}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{88D96A0A-F192-11D4-A65F-0040963251E5}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{8E4062D9-FE1B-4B9E-AA16-5E8EEF68F48E}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{8E4062D9-FE1B-4B9E-AA16-5E8EEF68F48E}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{D2517915-48CE-4286-970F-921E881B8C5C}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{D2517915-48CE-4286-970F-921E881B8C5C}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{EE09B103-97E0-11CF-978F-00A02463E06F}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{EE09B103-97E0-11CF-978F-00A02463E06F}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F32-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F32-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F33-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F33-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F34-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F34-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F35-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F35-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F36-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F36-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F5078F39-C551-11D3-89B9-0000F81FE221}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F5078F39-C551-11D3-89B9-0000F81FE221}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F6D90F12-9C73-11D3-B32E-00C04F990BB4}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F6D90F12-9C73-11D3-B32E-00C04F990BB4}" /v "Version" /t REG_SZ /d "*" /f

[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\


Settings\{F6D90F14-9C73-11D3-B32E-00C04F990BB4}" /v "Flags" /t REG_DWORD /d 1 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\
Settings\{F6D90F14-9C73-11D3-B32E-00C04F990BB4}" /v "Version" /t REG_SZ /d "*" /f

rem Set registry values for Ext Stats


[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{2933BF90-7B36-11D2-B20E-00C04F983E60}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{2933BF91-7B36-11D2-B20E-00C04F983E60}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{2933BF94-7B36-11D2-B20E-00C04F983E60}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{3050F819-98B5-11CF-BB82-00AA00BDCE0B}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{333C7BC4-460F-11D0-BC04-0080C7055A83}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{373984C9-B845-449B-91E7-45AC83036ADE}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{6BF52A52-394A-11D3-B153-00C04F79FAA6}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{884E2049-217D-11DA-B2A4-000E7BBB2B09}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{884E2051-217D-11DA-B2A4-000E7BBB2B09}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A05-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A06-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A07-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A08-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{88D96A0A-F192-11D4-A65F-0040963251E5}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{8E4062D9-FE1B-4B9E-AA16-5E8EEF68F48E}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{D2517915-48CE-4286-970F-921E881B8C5C}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{EE09B103-97E0-11CF-978F-00A02463E06F}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F32-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F33-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F34-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F35-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F36-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F5078F39-C551-11D3-89B9-0000F81FE221}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F6D90F12-9C73-11D3-B32E-00C04F990BB4}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\
{F6D90F14-9C73-11D3-B32E-00C04F990BB4}\iexplore" /v "Flags" /t REG_DWORD /d 4 /f
chcp 65001 >nul 2>&1

echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto NMenu

:qos
cls
echo.
echo.
echo.
echo. %p%
██████╗ █████╗ ██████╗ ██████╗ █████╗ ██╗ ██╗ █████╗ ██╗ ██╗╗
echo. %p
%██╔═══██╗██╔══██╗██╔════╝ ██╔══██╗██╔══██╗██║ ██║██╔══██╗╚██╗ ██╔╝
echo. %p
%██║██╗██║██║ ██║╚█████╗ ██████╔╝██║ ██║██║ ██║██║ ╚═╝ ╚████╔╝
echo. %p
%╚██████╔╝██║ ██║ ╚═══██╗ ██╔═══╝ ██║ ██║██║ ██║██║ ██╗ ╚██╔╝
echo. %p%
╚═██╔═╝ ╚█████╔╝██████╔╝ ██║ ╚█████╔╝███████╗██║╚█████╔╝ ██║
echo. %p%
╚═╝ ╚════╝ ╚═════╝ ╚═╝ ╚════╝ ╚══════╝╚═╝ ╚════╝ ╚═╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════════════════════"%w%
echo. If
the number 4 fix doesnt work, you will have to unfortunatly skip this step
echo.
echo.
echo. %p%[%w%1%p%]%w%
Start PSCHED %p%[%w%2%p%]%w% Enable MS-Pacer %p%[%w%3%p%]%w%
Open GPEDIT
echo.
echo.
echo. %p%%w%%p%%w%
%p%[%w%4%p%]%w% Download GPEDIT (only Run this if you cant open GPEDIT)
echo.
echo.
echo. %p%%w%%p%%w%
%p%[%w%M%p%]%w% Back to menu
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════════════════════"%w%
echo. %W%QoS policy
defines throttling limits determines the rate of outbound network traffic
echo. %W% It basically will make
it so your router will prioritize that task over others, decreasing your ping by a
lot
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════════════════════"%w%
echo.

set /p input=:
if /i %input% == 1 goto q1
if /i %input% == 2 goto q2
if /i %input% == 3 goto q3
if /i %input% == 4 goto q4
if /i %input% == M goto nmenu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto qos

:q2
chcp 437 >nul 2>&1
echo %w%- Enabling MSPacer %b%
powershell -NoProfile -Command "Enable-NetAdapterBinding -Name "*" -ComponentID
ms_pacer"
chcp 65001 >nul 2>&1
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto :qos

:q1
echo %w%- Enabling PSCHED %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Psched" /v "Start" /t REG_DWORD
/d "1" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto :qos

:q3
echo %w%- Start GPEDIT %b%
start [Link]
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto :qos

:q4
chcp 437 >nul 2>&1

start
[Link]
56946
echo %w% This fix takes you to a discord message in my discord server
([Link]/exm)%B%

chcp 65001 >nul 2>&1


echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto :qos

:8
:storage
cls
echo.
echo.
echo. %p%
██████╗████████╗ █████╗ ██████╗ █████╗ ██████╗ ███████╗
echo. %p
%██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██╔════╝ ██╔════╝
echo. %p%╚█████╗ ██║
██║ ██║██████╔╝███████║██║ ██╗ █████╗
echo. %p% ╚═══██╗ ██║
██║ ██║██╔══██╗██╔══██║██║ ╚██╗██╔══╝
echo. %p%██████╔╝ ██║
╚█████╔╝██║ ██║██║ ██║╚██████╔╝███████╗
echo. %p%╚═════╝ ╚═╝
╚════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
%w%
echo.
echo. %p%[%w
%1%p%]%w% Trim/Defragment Drives
echo.
echo. %p%[%w
%2%p%]%w% Enable User Write Cache
echo.
echo. %p%[%w
%3%p%]%w% Disable SSD Power Savings
echo.
echo. %p%[%w
%4%p%]%w% Optimize NVME Settings
echo.
echo.
echo. %p%
[%w%M%p%]%w% Back to menu
echo.
echo. %p%
[%w%R%p%]%w% Revert
echo.
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
echo. %W% Trim and Defragment Your
Driver and apply a few extra storage optimizations
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
echo.
set /p input=:
if /i %input% == 1 goto s1
if /i %input% == 2 goto s2
if /i %input% == 3 goto s3
if /i %input% == 4 goto s4
if /i %input% == R goto revertstorage
if /i %input% == M cls & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto 8

:revertstorage
CLS
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██╗███████╗██████╗ ████████╗
echo. %p
%██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝
echo. %p
%██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║
echo. %p
%██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║
echo. %p%██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║
echo. %p%╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
echo.
echo.
echo %w% - Enabling SSD Power Savings %b%
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SD\IdleState\1" /v "IdleExitEnergyMicroJoules" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SD\IdleState\1" /v "IdleExitLatencyMs" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SD\IdleState\1" /v "IdlePowerMw" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SD\IdleState\1" /v "IdleTimeLengthMs" /t REG_DWORD /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\1" /v "IdleExitEnergyMicroJoules" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\1" /v "IdleExitLatencyMs" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\1" /v "IdlePowerMw" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\1" /v "IdleTimeLengthMs" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\2" /v "IdleExitEnergyMicroJoules" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\2" /v "IdleExitLatencyMs" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\2" /v "IdlePowerMw" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\2" /v "IdleTimeLengthMs" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\3" /v "IdleExitEnergyMicroJoules" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\3" /v "IdleExitLatencyMs" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\3" /v "IdlePowerMw" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
Storage\SSD\IdleState\3" /v "IdleTimeLengthMs" /t REG_DWORD /f

echo %w% - User Write Cache %b%


For /f "Delims=" %%k in ('[Link] Query HKLM\SYSTEM\CurrentControlSet\Enum /f
"{4d36e967-e325-11ce-bfc1-08002be10318}" /d /s^|Find "HKEY"') do (
[Link] delete "%%k\Device Parameters\Disk" /v UserWriteCacheSetting /f
[Link] add "%%k\Device Parameters\Disk" /v CacheIsPowerProtected /t REG_DWORD /d 1
/f
)

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:s3
echo %w% - Disabling SSD Power Savings %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SD\IdleState\1" /v "IdleExitEnergyMicroJoules" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SD\IdleState\1" /v "IdleExitLatencyMs" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SD\IdleState\1" /v "IdlePowerMw" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SD\IdleState\1" /v "IdleTimeLengthMs" /t REG_DWORD /d "4294967295" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\1" /v "IdleExitEnergyMicroJoules" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\1" /v "IdleExitLatencyMs" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\1" /v "IdlePowerMw" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\1" /v "IdleTimeLengthMs" /t REG_DWORD /d "4294967295" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\2" /v "IdleExitEnergyMicroJoules" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\2" /v "IdleExitLatencyMs" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\2" /v "IdlePowerMw" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\2" /v "IdleTimeLengthMs" /t REG_DWORD /d "4294967295" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\3" /v "IdleExitEnergyMicroJoules" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\3" /v "IdleExitLatencyMs" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\3" /v "IdlePowerMw" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\Storage\
SSD\IdleState\3" /v "IdleTimeLengthMs" /t REG_DWORD /d "4294967295" /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto 8

:s1
cls
start [Link]
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto 8

:s2
cls
echo %w% - Enabling User Write Cache %b%
For /f "Delims=" %%k in ('[Link] Query HKLM\SYSTEM\CurrentControlSet\Enum /f
"{4d36e967-e325-11ce-bfc1-08002be10318}" /d /s^|Find "HKEY"') do (
[Link] add "%%k\Device Parameters\Disk" /v UserWriteCacheSetting /t REG_DWORD /d 1
/f
[Link] add "%%k\Device Parameters\Disk" /v CacheIsPowerProtected /t REG_DWORD /d 1
/f
)

echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto 8

:s4
echo %w% - Applying NVME Tweaks%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"QueueDepth" /t REG_DWORD /d "64" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"NvmeMaxReadSplit" /t REG_DWORD /d "4" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"NvmeMaxWriteSplit" /t REG_DWORD /d "4" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"ForceFlush" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"ImmediateData" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"MaxSegmentsPerCommand" /t REG_DWORD /d "256" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"MaxOutstandingCmds" /t REG_DWORD /d "256" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"ForceEagerWrites" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"MaxQueuedCommands" /t REG_DWORD /d "256" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"MaxOutstandingIORequests" /t REG_DWORD /d "256" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"NumberOfRequests" /t REG_DWORD /d "1500" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"IoSubmissionQueueCount" /t REG_DWORD /d "3" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"IoQueueDepth" /t REG_DWORD /d "64" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"HostMemoryBufferBytes" /t REG_DWORD /d "1500" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters" /v
"ArbitrationBurst" /t REG_DWORD /d "256" /f

echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto menu

:10
cls
echo.
echo.
echo. %p
%███████╗██╗██╗ ██╗ ██████╗ ██╗ ██████╗ █████╗
echo. %p
%██╔════╝██║╚██╗██╔╝ ██╔══██╗██║██╔════╝██╔══██╗
echo. %p%█████╗ ██║
╚███╔╝ ██║ ██║██║╚█████╗ ██║ ╚═╝
echo. %p%██╔══╝ ██║
██╔██╗ ██║ ██║██║ ╚═══██╗██║ ██╗
echo. %p%██║
██║██╔╝╚██╗ ██████╔╝██║██████╔╝╚█████╔╝
echo. %p%╚═╝
╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝╚═════╝ ╚════╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═"%w%
echo.
echo. %p%[%w
%1%p%]%w% Fix Corrupted files
echo.
echo.
echo. %p%
[%w%M%p%]%w% Back to menu
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═"
echo. %w% Finds critical core files
required to run and gather information
echo. %w% then upgrades or repairs
any files that are corrupted or out-of-date.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═"

set /p input=:
if /i %input% == 1 goto f1
if /i %input% == M cls & goto menu

) ELSE (
echo %w%- Invalid Input %b% & goto MisspellRedirect

:MisspellRedirect
cls
echo %w%- Misspell Detected %b%
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto 10

:f1
cls
echo.
echo.
echo.
echo.
echo. %p%███████╗██╗██╗ ██╗██╗███╗ ██╗
██████╗ █████╗ █████╗ ██████╗ ██████╗ ██╗ ██╗██████╗ ████████╗███████╗██████╗
███████╗██╗██╗ ███████╗ ██████╗
echo. %p%██╔════╝██║╚██╗██╔╝██║████╗
██║██╔════╝ ██╔══██╗██╔══██╗██╔══██╗██╔══██╗██║
██║██╔══██╗╚══██╔══╝██╔════╝██╔══██╗ ██╔════╝██║██║ ██╔════╝██╔════╝
echo. %p%█████╗ ██║ ╚███╔╝ ██║██╔██╗██║██║
██╗ ██║ ╚═╝██║ ██║██████╔╝██████╔╝██║ ██║██████╔╝ ██║ █████╗ ██║ ██║
█████╗ ██║██║ █████╗ ╚█████╗
echo. %p%██╔══╝ ██║ ██╔██╗ ██║██║╚████║██║
╚██╗██║ ██╗██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═══╝ ██║ ██╔══╝ ██║ ██║
██╔══╝ ██║██║ ██╔══╝ ╚═══██╗
echo. %p%██║ ██║██╔╝╚██╗██║██║
╚███║╚██████╔╝╚█████╔╝╚█████╔╝██║ ██║██║ ██║╚██████╔╝██║ ██║
███████╗██████╔╝ ██║ ██║███████╗███████╗██████╔╝
echo. %p%╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚══╝
╚═════╝ ╚════╝ ╚════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚═════╝
╚═╝ ╚═╝╚══════╝╚══════╝╚═════╝
echo.

%b%
DISM /Online /Cleanup-Image /StartComponentCleanup
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:7war
chcp 437 >nul 2>&1
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('Note: If you want to revert anything, you
can do it in our revert category on the main page of the utility', 'Exm Tweaking
Utility', 'Ok', [[Link]]::Information);}"
chcp 65001 >nul 2>&1

:7
:Debloat
cls
echo.
echo.
echo. %p% ██████╗
███████╗██████╗ ██╗ █████╗ █████╗ ████████╗
echo. %p%
██╔══██╗██╔════╝██╔══██╗██║ ██╔══██╗██╔══██╗╚══██╔══╝
echo. %p% ██║
██║█████╗ ██████╦╝██║ ██║ ██║███████║ ██║
echo. %p% ██║
██║██╔══╝ ██╔══██╗██║ ██║ ██║██╔══██║ ██║
echo. %p%
██████╔╝███████╗██████╦╝███████╗╚█████╔╝██║ ██║ ██║
echo. %p% ╚═════╝
╚══════╝╚═════╝ ╚══════╝ ╚════╝ ╚═╝ ╚═╝ ╚═╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════"%w%
echo.
echo.
%p%[%w%A%p%]%w% Apply all
echo.
echo. %p%[%w%1%p%]%w%
Disable GameDVR and XBOX %p%[%w%2%p%]%w% Disable Telemetry
echo.
echo. %p%[%w%3%p%]%w%
Disable Bluetooth %p%[%w%4%p%]%w% Disable Printing and Maps
echo.
echo. %p%[%w%5%p%]%w%
Toggle Mitigations %p%[%w%6%p%]%w% Disable Diagnostics and Error Reporting
echo.
echo. %p%[%w%7%p%]%w%
Toggle Microsoft Store %p%[%w%8%p%]%w% Disable Hyper-V
echo.
echo. %p%[%w%9%p%]%w%
Disable Startup Apps %p%[%w%10%p%]%w% Windows Update Blocker
echo.
echo.
echo.
%p%[%w%M%p%]%w% Back to menu
echo.
echo.
%p%[%w%R%p%]%w% Revert
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════"
echo. %w%
Dont Disable stuff that you actualy use!
echo.
echo. %w%
Uninstalls and Disables useless features in windows
echo. %w% Removes system
bloatware which runs in the background taking up system resources
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═════════════"
echo.

set /p input=:
if /i %input% == A goto alldebloat
if /i %input% == 1 goto d1
if /i %input% == 2 goto d2
if /i %input% == 3 goto d3
if /i %input% == 4 goto d4
if /i %input% == 5 goto d5
if /i %input% == 6 goto d6
if /i %input% == 7 goto d7
if /i %input% == 8 goto d8
if /i %input% == 9 goto d9
if /i %input% == 10 goto d10
if /i %input% == M cls & goto menu
if /i %input% == R goto revertdebloat
) ELSE (
echo Invalid Input & goto MisspellReirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
goto :Debloat

:d9
cls
echo.
echo.
echo.
echo. %p% █████╗ ██╗ ██╗████████╗
█████╗ ██████╗ ██╗ ██╗███╗ ██╗ ██████╗
echo. %p%██╔══██╗██║
██║╚══██╔══╝██╔══██╗██╔══██╗██║ ██║████╗ ██║██╔════╝
echo. %p%███████║██║ ██║ ██║ ██║
██║██████╔╝██║ ██║██╔██╗██║╚█████╗
echo. %p%██╔══██║██║ ██║ ██║ ██║
██║██╔══██╗██║ ██║██║╚████║ ╚═══██╗
echo. %p%██║ ██║╚██████╔╝ ██║
╚█████╔╝██║ ██║╚██████╔╝██║ ╚███║██████╔╝
echo. %p%╚═╝ ╚═╝ ╚═════╝ ╚═╝
╚════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══╝╚═════╝
chcp 437 > nul
%b%
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('After you press ok it will open an app, Go
to the LOGON section, Disabling all services except: antivirus, [Link], and the
n/a services', 'Exm Tweaking Utility', 'Ok',
[[Link]]::Information);}"
chcp 65001 > nul

start C:\exm\[Link]
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:d6
echo %w% - Disable Diagnostics %b%
sc config DPS start= auto
sc config DiagTrack start= demand
sc config dmwappushservice start= demand
sc config [Link] start= demand
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Privacy" /v "TailoredExperiencesWithDiagnosticDataEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Diagnostics\DiagTrack" /v "ShowedToastAtLevel" /t REG_DWORD /d "0" /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Input\TIPC" /v "Enabled" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\System" /v
"UploadUserActivities" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\System" /v
"PublishUserActivities" /t REG_DWORD /d "1" /f
[Link] add "HKEY_CURRENT_USER\Control Panel\International\User Profile" /v
"HttpAcceptLanguageOptOut" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\
Attachments" /v "SaveZoneInformation" /t REG_DWORD /d "1" /f
[Link] add "HKLM\System\CurrentControlSet\Control\Diagnostics\Performance" /v
"DisablediagnosticTracing" /t REG_DWORD /d "0" /f >nul 2>&1
[Link] add "HKLM\Software\Policies\Microsoft\Windows\WDI\{9c5a40da-b965-4fc3-8781-
88dd50a6299d}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d "1" /f
schtasks /change /tn "\Microsoft\Windows\Application Experience\StartupAppTask"
/Enable
schtasks /end /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector"
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector" /Enable
schtasks /end /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver"
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver" /Enable
schtasks /end /tn "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem"
schtasks /change /tn "\Microsoft\Windows\Power Efficiency Diagnostics\
AnalyzeSystem" /Enable
echo %w% - Disabling Windows Error Reporting%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v
"Disabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v
"DoReport" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v
"LoggingDisabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\PCHealth\ErrorReporting" /v
"DoReport" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v "Disabled"
/t REG_DWORD /d "1" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto debloat

:d10
cls
echo.
echo.
echo.
echo.
echo. %p%██╗ ██╗██████╗ ██████╗
█████╗ ████████╗███████╗ ██████╗ ██╗ █████╗ █████╗ ██╗ ██╗███████╗██████╗
echo. %p%██║
██║██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝██╔════╝ ██╔══██╗██║ ██╔══██╗██╔══██╗██║
██╔╝██╔════╝██╔══██╗
echo. %p%██║ ██║██████╔╝██║
██║███████║ ██║ █████╗ ██████╦╝██║ ██║ ██║██║ ╚═╝█████═╝ █████╗
██████╔╝
echo. %p%██║ ██║██╔═══╝ ██║
██║██╔══██║ ██║ ██╔══╝ ██╔══██╗██║ ██║ ██║██║ ██╗██╔═██╗ ██╔══╝
██╔══██╗
echo. %p%╚██████╔╝██║ ██████╔╝██║
██║ ██║ ███████╗ ██████╦╝███████╗╚█████╔╝╚█████╔╝██║ ╚██╗███████╗██║ ██║
echo. %p% ╚═════╝ ╚═╝ ╚═════╝ ╚═╝
╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚══════╝ ╚════╝ ╚════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
chcp 437 >nul 2>&1
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('Note: Disabling Windows Updates will break
Microsoft store, if you want to use it again simply press "Enable" in windows
update blocker ', 'Exm Tweaking Utility', 'Ok',
[[Link]]::Information);}"
timeout /t 1 /nobreak > nul
chcp 65001 >nul 2>&1
start C:\exm\Windows_Update_Blocker.exe
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto debloat

:d3
:bluetooth
cls
echo.
echo.
echo.
echo. %p%██████╗ ██╗ ██╗
██╗███████╗████████╗ █████╗ █████╗ ████████╗██╗ ██╗
echo. %p%██╔══██╗██║ ██║
██║██╔════╝╚══██╔══╝██╔══██╗██╔══██╗╚══██╔══╝██║ ██║
echo. %p%██████╦╝██║ ██║
██║█████╗ ██║ ██║ ██║██║ ██║ ██║ ███████║
echo. %p%██╔══██╗██║ ██║
██║██╔══╝ ██║ ██║ ██║██║ ██║ ██║ ██╔══██║
echo. %p
%██████╦╝███████╗╚██████╔╝███████╗ ██║ ╚█████╔╝╚█████╔╝ ██║ ██║ ██║
echo. %p%╚═════╝ ╚══════╝
╚═════╝ ╚══════╝ ╚═╝ ╚════╝ ╚════╝ ╚═╝ ╚═╝ ╚═╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════"%w%
echo.
echo. %p%[%w%1%p%]%w%
Disable Bluetooth %p%[%w%2%p%]%w% Enable Bluetooth (default)
echo.
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════════════"%w%
echo. Disable bluetooth
if you dont use it, but if you use it keep it enabled
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════════════"%w%

set /p input=:
if /i %input% == 1 goto BluetoothOFF
if /i %input% == 2 goto BluetoothON

) ELSE (
echo %w%- Invalid Input %b% & goto MisspellRedirect

:MisspellRedirect
cls
echo %w%- Misspell Detected %b%
timeout 2
goto RedirectMenu

:RedirectMenu
goto bluetooth

:BluetoothON
echo %w% - Enabling Bluetooth %b%
[Link] add "HKLM\SYSTEM\ControlSet001\Services\BTAGService" /v "Start" /t
REG_DWORD /d "3" /f
[Link] add "HKLM\SYSTEM\ControlSet001\Services\bthserv" /v "Start" /t REG_DWORD /d
"2" /f
[Link] add "HKLM\SYSTEM\ControlSet001\Services\BthAvctpSvc" /v "Start" /t
REG_DWORD /d "3" /f
[Link] add "HKLM\SYSTEM\ControlSet001\Services\BluetoothUserService" /v "Start" /t
REG_DWORD /d "3" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto debloat

:BluetoothOFF
echo %w% - Disabling Bluetooth %b%
[Link] add "HKLM\SYSTEM\ControlSet001\Services\BTAGService" /v "Start" /t
REG_DWORD /d "4" /f
[Link] add "HKLM\SYSTEM\ControlSet001\Services\bthserv" /v "Start" /t REG_DWORD /d
"4" /f
[Link] add "HKLM\SYSTEM\ControlSet001\Services\BthAvctpSvc" /v "Start" /t
REG_DWORD /d "4" /f
[Link] add "HKLM\SYSTEM\ControlSet001\Services\BluetoothUserService" /v "Start" /t
REG_DWORD /d "4" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto debloat

:d7
cls
echo.
echo.
echo. %p%███╗ ███╗ ██████╗
██████╗████████╗ █████╗ ██████╗ ███████╗
echo. %p%████╗ ████║██╔════╝
██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔════╝
echo. %p%██╔████╔██║╚█████╗
╚█████╗ ██║ ██║ ██║██████╔╝█████╗
echo. %p%██║╚██╔╝██║ ╚═══██╗
╚═══██╗ ██║ ██║ ██║██╔══██╗██╔══╝
echo. %p%██║ ╚═╝ ██║██████╔╝
██████╔╝ ██║ ╚█████╔╝██║ ██║███████╗
echo. %p%╚═╝ ╚═╝╚═════╝
╚═════╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝╚══════╝
echo. %b
%"═══════════════════════════════════════════════════════════════════════════"%w%
echo.
echo. %p%[%w%1%p%]%w% Disable
Microsoft Store %p%[%w%2%p%]%w% Enable Microsoft Store
echo.
echo.
echo.
%p%[%w%M%p%]%w% Back to Menu
echo.
echo. %b
%"════════════════════════════════════════════════════════════════════════════"%w%
echo. Disables
the microsoft store feature
echo. note: you need to have updates
enabled for it to work, the revert will enable them
echo. %b
%"═════════════════════════════════════════════════════════════════════════════"%w%

set /p input=:
if /i %input% == 1 goto microsoftstoreoff
if /i %input% == 2 goto microsoftstoreon
if /i %input% == M goto goto debloat

) ELSE (
echo %w%- Invalid Input %b% & goto MisspellRedirect

:MisspellRedirect
cls
echo %w%- Misspell Detected %b%
timeout 2
goto RedirectMenu

:RedirectMenu
goto d7

:microsoftstoreon
echo %w% - Enabling Microsoft store%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v
"DisableStoreApps" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v "RemoveWindowsStore"
/t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\
DeliveryOptimization" /v "SystemSettingsDownloadMode" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\
Config" /v "DODownloadMode" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v
"DODownloadMode" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v
"SystemSettingsDownloadMode" /t REG_DWORD /d 1 /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto debloat

:microsoftstoreoff
echo %w% - Disabling Microsoft store%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v
"DisableStoreApps" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v "RemoveWindowsStore"
/t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\
DeliveryOptimization" /v "SystemSettingsDownloadMode" /t REG_DWORD /d 0 /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\
Config" /v "DODownloadMode" /t REG_DWORD /d 0 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v
"DODownloadMode" /t REG_DWORD /d 0 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v
"SystemSettingsDownloadMode" /t REG_DWORD /d 0 /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto debloat

:d5
cls
echo.
echo.
echo. %p%███╗
███╗██╗████████╗██╗ ██████╗ █████╗ ████████╗██╗ █████╗ ███╗ ██╗ ██████╗
echo. %p%████╗
████║██║╚══██╔══╝██║██╔════╝ ██╔══██╗╚══██╔══╝██║██╔══██╗████╗ ██║██╔════╝
echo. %p%██╔████╔██║██║ ██║
██║██║ ██╗ ███████║ ██║ ██║██║ ██║██╔██╗██║╚█████╗
echo. %p%██║╚██╔╝██║██║ ██║
██║██║ ╚██╗██╔══██║ ██║ ██║██║ ██║██║╚████║ ╚═══██╗
echo. %p%██║ ╚═╝ ██║██║ ██║
██║╚██████╔╝██║ ██║ ██║ ██║╚█████╔╝██║ ╚███║██████╔╝
echo. %p%╚═╝ ╚═╝╚═╝ ╚═╝
╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚══╝╚═════╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════"%w%
echo.
echo. %p%[%w%1%p%]%w%
Disable Mitigations %p%[%w%2%p%]%w% Enable Mitigations (revert)
echo.
echo.
echo.
%p%[%w%M%p%]%w% Menu
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════════════"%w%
echo. Mitigations are protections
against memory-based attacks, but they come at a performance cost
echo. This disables a bunch of
basic ones which cause performance loss but arent that important
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════════════"%w%

set /p input=:
if /i %input% == 1 goto mitioff
if /i %input% == 2 goto mition
if /i %input% == M goto menu

) ELSE (
echo %w%- Invalid Input %b% & goto MisspellRedirect

:MisspellRedirect
cls
echo %w%- Misspell Detected %b%
timeout 2
goto RedirectMenu

:RedirectMenu
goto miti

:mitioff
::disable basic mitigations
echo %w% - Disabling VirtualizationBasedSecurity%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard" /v
"EnablingVirtualizationBasedSecurity" /t REG_DWORD /d "0" /f
echo %w% - Disabling HVCIMATRequired%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard" /v
"HVCIMATRequired" /t REG_DWORD /d "0" /f
echo %w% - Disabling ExceptionChainValidation%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"DisableExceptionChainValidation" /t REG_DWORD /d "1" /f
echo %w% - Disabling Sehop%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"KernelSEHOPEnabled" /t REG_DWORD /d "0" /f
echo %w% - Disabling CFG%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "EnablingCfg" /t REG_DWORD /d "0" /f
echo %w% - Disabling Protection Mode%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v
"ProtectionMode" /t REG_DWORD /d "0" /f
echo %w% - Disabling Spectre And Meltdown%b%

if "%ProcessorManufacturer%" EQU "AuthenticAMD" (


[Link] add "HKLM\System\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverride" /t REG_DWORD /d "2" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverrideMask" /t REG_DWORD /d "2" /f
) else (
[Link] add "HKLM\System\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverride" /t REG_DWORD /d "3" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverrideMask" /t REG_DWORD /d "3" /f
)

[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory


Management" /v "FeatureSettings" /t REG_DWORD /d "1" /f
echo %w% - Disabling Address Space Layout Randomization%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "MoveImages" /t REG_DWORD /d "0" /f

echo %w%- Disabling windows smart screen %b%


[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"EnablingSmartScreen" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v
"SmartScreenEnabled" /t REG_SZ /d "Off" /f
[Link] add "HKU\!USER_SID!\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v
"EnablingWebContentEvaluation" /t REG_DWORD /d "0" /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto debloat

:mition
echo %w% - Enabling Isolation Memory Integrity%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\
HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d "1" /f
echo %w% - Enabling HVCIMAT%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard" /v
"HVCIMATRequired" /t REG_DWORD /d "1" /f
echo %w% - Enabling ExceptionChainValidation%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"DisableExceptionChainValidation" /t REG_DWORD /d "1" /f
echo %w% - Enabling Sehop%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"KernelSEHOPEnabled" /t REG_DWORD /d "1" /f
echo %w% - Enabling CFG%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "EnablingCfg" /t REG_DWORD /d "1" /f
echo %w% - Enabling Protection Mode%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v
"ProtectionMode" /t REG_DWORD /d "1" /f
echo %w% - Enabling Spectre And Meltdown%b%
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettings" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverride" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverrideMask" /f
echo %w% - Enabling Address Space Layout Randomization%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "MoveImages" /t REG_DWORD /d "0" /f
echo %w%- Enabling windows smart screen %b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"EnablingSmartScreen" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v
"SmartScreenEnabled" /t REG_SZ /d "On" /f
[Link] add "HKU\!USER_SID!\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v
"EnablingWebContentEvaluation" /t REG_DWORD /d "1" /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto debloat

:d4
echo %w% - Disable Hyper-V %b%
sc config HvHost start=disabled
sc config vmickvpexchange start=disabled
sc config vmicguestinterface start=disabled
sc config vmicshutdown start=disabled
sc config vmicheartbeat start=disabled
sc config vmicvmsession start=disabled
sc config vmicrdv start=disabled
sc config vmictimesync start=disabled
bcdedit /set hypervisorlaunchtype off

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto debloat

:d2
echo %w% - Disabling Autologgers%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\AppModel" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Cellcore" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Circular Kernel
Context Logger" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
CloudExperienceHostOobe" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\DataMarket" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
DefenderApiLogger" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
DefenderAuditLogger" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\DiagLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
HolographicDevice" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\iclsClient" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\iclsProxy" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\LwtNetLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Mellanox-
Kernel" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Microsoft-
Windows-AssignedAccess-Trace" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Microsoft-
Windows-Setup" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\NBSMBLOGGER" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\PEAuthLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\RdrLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\ReadyBoot" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SetupPlatform" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SetupPlatformTel"
/v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SocketHeciServer"
/v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SpoolerLogger" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SQMLogger" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\TCPIPLOGGER" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\TileStore" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Tpm" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
TPMProvisioningService" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\UBPM" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WdiContextLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WFP-IPsec
Trace" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
WiFiDriverIHVSession" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
WiFiDriverIHVSessionRepro" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WiFiSession" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WinPhoneCritical"
/v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF" /v
"LogEnabling" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF" /v
"LogLevel" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v
"DisableThirdPartySuggestions" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v
"DisableWindowsConsumerFeatures" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Credssp" /v
"DebugLogLevel" /t REG_DWORD /d "0" /f

echo %w% - Disabling Telemetry Through Task Scheduler %b%


schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Consolidator"
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Consolidator" /Disable
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
BthSQM"
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
BthSQM" /Disable
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
KernelCeipTask"
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
KernelCeipTask" /Disable
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
UsbCeip"
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
UsbCeip" /Disable
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Uploader"
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Uploader" /Disable
schtasks /end /tn "\Microsoft\Windows\Application Experience\Microsoft
Compatibility Appraiser"
schtasks /change /tn "\Microsoft\Windows\Application Experience\Microsoft
Compatibility Appraiser" /Disable
schtasks /end /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater"
schtasks /change /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater"
/Disable
schtasks /end /tn "\Microsoft\Windows\Application Experience\StartupAppTask"
schtasks /change /tn "\Microsoft\Windows\Application Experience\StartupAppTask"
/Disable
schtasks /end /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector"
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector" /Disable
schtasks /end /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver"
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver" /Disable
schtasks /end /tn "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem"
schtasks /change /tn "\Microsoft\Windows\Power Efficiency Diagnostics\
AnalyzeSystem" /Disable
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor"
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor" /Disable
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh"
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh" /Disable
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyUpload"
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyUpload" /Disable
schtasks /end /tn "\Microsoft\Windows\Autochk\Proxy"
schtasks /change /tn "\Microsoft\Windows\Autochk\Proxy" /Disable
schtasks /end /tn "\Microsoft\Windows\Maintenance\WinSAT"
schtasks /change /tn "\Microsoft\Windows\Maintenance\WinSAT" /Disable
schtasks /end /tn "\Microsoft\Windows\Application Experience\AitAgent"
schtasks /change /tn "\Microsoft\Windows\Application Experience\AitAgent" /Disable
schtasks /end /tn "\Microsoft\Windows\Windows Error Reporting\QueueReporting"
schtasks /change /tn "\Microsoft\Windows\Windows Error Reporting\QueueReporting"
/Disable
schtasks /end /tn "\Microsoft\Windows\CloudExperienceHost\CreateObjectTask"
schtasks /change /tn "\Microsoft\Windows\CloudExperienceHost\CreateObjectTask"
/Disable
schtasks /end /tn "\Microsoft\Windows\DiskFootprint\Diagnostics"
schtasks /change /tn "\Microsoft\Windows\DiskFootprint\Diagnostics" /Disable
schtasks /end /tn "\Microsoft\Windows\PI\Sqm-Tasks"
schtasks /change /tn "\Microsoft\Windows\PI\Sqm-Tasks" /Disable
schtasks /end /tn "\Microsoft\Windows\NetTrace\GatherNetworkInfo"
schtasks /change /tn "\Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
schtasks /end /tn "\Microsoft\Windows\AppID\SmartScreenSpecific"
schtasks /change /tn "\Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
schtasks /end /tn "\Microsoft\Office\OfficeTelemetryAgentFallBack2016"
schtasks /change /tn "\Microsoft\Office\OfficeTelemetryAgentFallBack2016" /Disable
schtasks /end /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn2016"
schtasks /change /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn2016" /Disable
schtasks /end /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn"
schtasks /change /TN "\Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable
schtasks /end /tn "\Microsoftd\Office\OfficeTelemetryAgentFallBack"
schtasks /change /TN "\Microsoftd\Office\OfficeTelemetryAgentFallBack" /Disable
schtasks /end /tn "\Microsoft\Office\Office 15 Subscription Heartbeat"
schtasks /change /TN "\Microsoft\Office\Office 15 Subscription Heartbeat" /Disable
schtasks /end /tn "\Microsoft\Windows\Time Synchronization\ForceSynchronizeTime"
schtasks /change /TN "\Microsoft\Windows\Time Synchronization\ForceSynchronizeTime"
/Disable
schtasks /end /tn "\Microsoft\Windows\Time Synchronization\SynchronizeTime"
schtasks /change /TN "\Microsoft\Windows\Time Synchronization\SynchronizeTime"
/Disable
schtasks /end /tn "\Microsoft\Windows\WindowsUpdate\Automatic App Update"
schtasks /change /TN "\Microsoft\Windows\WindowsUpdate\Automatic App Update"
/Disable
schtasks /end /tn "\Microsoft\Windows\Device Information\Device"
schtasks /change /TN "\Microsoft\Windows\Device Information\Device" /Disable

echo %w% - Disabling Telemetry Through Regsitry %b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v
"PreventDeviceMetadataFromNetwork" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\
DataCollection" /v "AllowTelemetry" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\InputPersonalization" /v
"RestrictImplicitInkCollection" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\InputPersonalization" /v
"RestrictImplicitTextCollection" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Permissions\
{BFA794E4-F964-4FDB-90F6-51056BFE4B44}" /v "SensorPermissionState" /t REG_DWORD /d
"0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Overrides\
{BFA794E4-F964-4FDB-90F6-51056BFE4B44}" /v "SensorPermissionState" /t REG_DWORD /d
"0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF" /v "LogEnable"
/t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF" /v
"LogLevel" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"AllowTelemetry" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"DoNotShowFeedbackNotifications" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"AllowCommercialDataPipeline" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"AllowDeviceNameInTelemetry" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"LimitEnhancedDiagnosticDataWindowsAnalytics" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"MicrosoftEdgeDataOptIn" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Siuf\Rules" /v "NumberOfSIUFInPeriod" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Siuf\Rules" /v "PeriodInNanoSeconds" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Policies\Microsoft\Assistance\Client\1.0" /v
"NoExplicitFeedback" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Assistance\Client\1.0" /v
"NoActiveHelp" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v
"DisableInventory" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\TabletPC" /v
"PreventHandwritingDataSharing" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\TabletPC" /v "DoSvc" /t
REG_DWORD /d "3" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v
"DisableLocation" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v
"DisableLocationScripting" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v
"DisableSensors" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v
"DisableWindowsLocationProvider" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"PublishUserActivities" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"EnableActivityFeed" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"UploadUserActivities" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\Reliability" /v "CEIPEnable" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\Reliability" /v
"SqmLoggerRunning" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\Windows" /v "DisableOptinExperience"
/t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\Windows" /v "SqmLoggerRunning" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\IE" /v "SqmLoggerRunning" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\HandwritingErrorReports" /v
"PreventHandwritingErrorReports" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\MediaPlayer\Preferences" /v "UsageTracking" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v
"DisableSoftLanding" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Peernet" /v "Disabled" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\
Config" /v DODownloadMode /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\PolicyManager\default\WiFi\
AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\InputPersonalization\TrainedDataStore" /v
"HarvestContacts" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v
"Enabled" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo" /v
"DisabledByGroupPolicy" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v "DontOfferThroughWUAU" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Biometrics" /v "Enabled" /t REG_DWORD
/d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\dmwappushservice" /v "Start" /t
REG_DWORD /d "4" /f
[Link] add "HKCU\Control Panel\International\User Profile" /v
"HttpAcceptLanguageOptOut" /t REG_DWORD /d "1" /f

cls
echo %w% - Disabling Office Telemetry %b%
[Link] add "HKCU\Software\Microsoft\Office\Common\ClientTelemetry" /v
"DisableTelemetry" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common" /v "sendcustomerdata" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\Feedback" /v "Enabled" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\Feedback" /v
"includescreenshot" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Outlook\Options\Mail" /v
"EnableLogging" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Word\Options" /v
"EnableLogging" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\Common\ClientTelemetry" /v
"SendTelemetry" /t REG_DWORD /d "3" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common" /v "qmEnable" /t REG_DWORD
/d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common" /v "updatereliabilitydata"
/t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\General" /v
"shownfirstrunoptin" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\General" /v
"skydrivesigninoption" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\ptwatson" /v "ptwoptin" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Firstrun" /v "Disablemovie" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM" /v "Enablelogging" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM" /v "EnableUpload" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM" /v "EnableFileObfuscation" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"accesssolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"olksolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"onenotesolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"pptsolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"projectsolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"publishersolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"visiosolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"wdsolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"xlsolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"agave" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"appaddins" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"comaddins" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"documentfiles" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"templatefiles" /t REG_DWORD /d "1" /f

echo %w% - Disabling Customer Experience Improvement Program%b%


schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Consolidator" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Consolidator" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
BthSQM" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
BthSQM" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
KernelCeipTask" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
KernelCeipTask" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
UsbCeip" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
UsbCeip" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Uploader" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Uploader" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Application Experience\Microsoft
Compatibility Appraiser" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Application Experience\Microsoft
Compatibility Appraiser" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater" >
nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater"
/Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Application Experience\StartupAppTask" > nul
2>&1
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor" /Disable > nul
2>&1
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh" /Disable > nul
2>&1
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyUpload" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyUpload" /Disable > nul
2>&1
schtasks /end /tn "\Microsoft\Windows\Maintenance\WinSAT" > nul 2>&1

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto debloat

:alldebloat
cls
echo.
echo.
echo.
echo.
echo. %p
%██████╗░███████╗██████╗░██╗░░░░░░█████╗░░█████╗░████████╗
echo. %p
%██╔══██╗██╔════╝██╔══██╗██║░░░░░██╔══██╗██╔══██╗╚══██╔══╝
echo. %p
%██║░░██║█████╗░░██████╦╝██║░░░░░██║░░██║███████║░░░██║░░░
echo. %p
%██║░░██║██╔══╝░░██╔══██╗██║░░░░░██║░░██║██╔══██║░░░██║░░░
echo. %p
%██████╔╝███████╗██████╦╝███████╗╚█████╔╝██║░░██║░░░██║░░░
echo. %p
%╚═════╝░╚══════╝╚═════╝░╚══════╝░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░
echo.

echo %w% - Disabling Telemetry Through Task Scheduler %b%


schtasks /end /tn "\Microsoft\Windows\Application Experience\Microsoft
Compatibility Appraiser"
schtasks /change /tn "\Microsoft\Windows\Application Experience\Microsoft
Compatibility Appraiser" /Disable
schtasks /end /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater"
schtasks /change /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater"
/Disable
schtasks /end /tn "\Microsoft\Windows\Application Experience\StartupAppTask"
schtasks /change /tn "\Microsoft\Windows\Application Experience\StartupAppTask"
/Disable
schtasks /end /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector"
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector" /Disable
schtasks /end /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver"
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver" /Disable
schtasks /end /tn "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem"
schtasks /change /tn "\Microsoft\Windows\Power Efficiency Diagnostics\
AnalyzeSystem" /Disable
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor"
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor" /Disable
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh"
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh" /Disable
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyUpload"
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyUpload" /Disable
schtasks /end /tn "\Microsoft\Windows\Autochk\Proxy"
schtasks /change /tn "\Microsoft\Windows\Autochk\Proxy" /Disable
schtasks /end /tn "\Microsoft\Windows\Maintenance\WinSAT"
schtasks /change /tn "\Microsoft\Windows\Maintenance\WinSAT" /Disable
schtasks /end /tn "\Microsoft\Windows\Application Experience\AitAgent"
schtasks /change /tn "\Microsoft\Windows\Application Experience\AitAgent" /Disable
schtasks /end /tn "\Microsoft\Windows\Windows Error Reporting\QueueReporting"
schtasks /change /tn "\Microsoft\Windows\Windows Error Reporting\QueueReporting"
/Disable
schtasks /end /tn "\Microsoft\Windows\CloudExperienceHost\CreateObjectTask"
schtasks /change /tn "\Microsoft\Windows\CloudExperienceHost\CreateObjectTask"
/Disable
schtasks /end /tn "\Microsoft\Windows\DiskFootprint\Diagnostics"
schtasks /change /tn "\Microsoft\Windows\DiskFootprint\Diagnostics" /Disable
schtasks /end /tn "\Microsoft\Windows\PI\Sqm-Tasks"
schtasks /change /tn "\Microsoft\Windows\PI\Sqm-Tasks" /Disable
schtasks /end /tn "\Microsoft\Windows\NetTrace\GatherNetworkInfo"
schtasks /change /tn "\Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
schtasks /end /tn "\Microsoft\Windows\AppID\SmartScreenSpecific"
schtasks /change /tn "\Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
schtasks /end /tn "\Microsoft\Office\OfficeTelemetryAgentFallBack2016"
schtasks /change /tn "\Microsoft\Office\OfficeTelemetryAgentFallBack2016" /Disable
schtasks /end /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn2016"
schtasks /change /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn2016" /Disable
schtasks /end /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn"
schtasks /change /TN "\Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable
schtasks /end /tn "\Microsoftd\Office\OfficeTelemetryAgentFallBack"
schtasks /change /TN "\Microsoftd\Office\OfficeTelemetryAgentFallBack" /Disable
schtasks /end /tn "\Microsoft\Office\Office 15 Subscription Heartbeat"
schtasks /change /TN "\Microsoft\Office\Office 15 Subscription Heartbeat" /Disable
schtasks /end /tn "\Microsoft\Windows\Time Synchronization\ForceSynchronizeTime"
schtasks /change /TN "\Microsoft\Windows\Time Synchronization\ForceSynchronizeTime"
/Disable
schtasks /end /tn "\Microsoft\Windows\Time Synchronization\SynchronizeTime"
schtasks /change /TN "\Microsoft\Windows\Time Synchronization\SynchronizeTime"
/Disable
schtasks /end /tn "\Microsoft\Windows\WindowsUpdate\Automatic App Update"
schtasks /change /TN "\Microsoft\Windows\WindowsUpdate\Automatic App Update"
/Disable
schtasks /end /tn "\Microsoft\Windows\Device Information\Device"
schtasks /change /TN "\Microsoft\Windows\Device Information\Device" /Disable

echo %w% - Disabling Telemetry Through Regsitry %b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v
"PreventDeviceMetadataFromNetwork" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\
DataCollection" /v "AllowTelemetry" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\InputPersonalization" /v
"RestrictImplicitInkCollection" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\InputPersonalization" /v
"RestrictImplicitTextCollection" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Permissions\
{BFA794E4-F964-4FDB-90F6-51056BFE4B44}" /v "SensorPermissionState" /t REG_DWORD /d
"0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Overrides\
{BFA794E4-F964-4FDB-90F6-51056BFE4B44}" /v "SensorPermissionState" /t REG_DWORD /d
"0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF" /v "LogEnable"
/t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF" /v
"LogLevel" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"AllowTelemetry" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"DoNotShowFeedbackNotifications" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"AllowCommercialDataPipeline" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"AllowDeviceNameInTelemetry" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"LimitEnhancedDiagnosticDataWindowsAnalytics" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v
"MicrosoftEdgeDataOptIn" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Siuf\Rules" /v "NumberOfSIUFInPeriod" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Siuf\Rules" /v "PeriodInNanoSeconds" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Policies\Microsoft\Assistance\Client\1.0" /v
"NoExplicitFeedback" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Assistance\Client\1.0" /v
"NoActiveHelp" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v
"DisableInventory" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\TabletPC" /v
"PreventHandwritingDataSharing" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\TabletPC" /v "DoSvc" /t
REG_DWORD /d "3" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v
"DisableLocation" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v
"DisableLocationScripting" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v
"DisableSensors" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors" /v
"DisableWindowsLocationProvider" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"PublishUserActivities" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"UploadUserActivities" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\Reliability" /v "CEIPEnable" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\Reliability" /v
"SqmLoggerRunning" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\Windows" /v "DisableOptinExperience"
/t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\Windows" /v "SqmLoggerRunning" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\SQMClient\IE" /v "SqmLoggerRunning" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\HandwritingErrorReports" /v
"PreventHandwritingErrorReports" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\MediaPlayer\Preferences" /v "UsageTracking" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v
"DisableSoftLanding" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Peernet" /v "Disabled" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\
Config" /v DODownloadMode /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\PolicyManager\default\WiFi\
AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\InputPersonalization\TrainedDataStore" /v
"HarvestContacts" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v
"Enabled" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo" /v
"DisabledByGroupPolicy" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v "DontOfferThroughWUAU" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Biometrics" /v "Enabled" /t REG_DWORD
/d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\dmwappushservice" /v "Start" /t
REG_DWORD /d "4" /f
[Link] add "HKCU\Control Panel\International\User Profile" /v
"HttpAcceptLanguageOptOut" /t REG_DWORD /d "1" /f

echo %w% - Disabling Autologgers%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\AppModel" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Cellcore" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Circular Kernel
Context Logger" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
CloudExperienceHostOobe" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\DataMarket" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
DefenderApiLogger" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
DefenderAuditLogger" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\DiagLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
HolographicDevice" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\iclsClient" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\iclsProxy" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\LwtNetLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Mellanox-
Kernel" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Microsoft-
Windows-AssignedAccess-Trace" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Microsoft-
Windows-Setup" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\NBSMBLOGGER" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\PEAuthLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\RdrLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\ReadyBoot" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SetupPlatform" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SetupPlatformTel"
/v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SocketHeciServer"
/v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SpoolerLogger" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SQMLogger" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\TCPIPLOGGER" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\TileStore" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Tpm" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
TPMProvisioningService" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\UBPM" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WdiContextLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WFP-IPsec
Trace" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
WiFiDriverIHVSession" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
WiFiDriverIHVSessionRepro" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WiFiSession" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WinPhoneCritical"
/v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF" /v
"LogEnabling" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF" /v
"LogLevel" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v
"DisableThirdPartySuggestions" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v
"DisableWindowsConsumerFeatures" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Credssp" /v
"DebugLogLevel" /t REG_DWORD /d "0" /f

echo %w% - Disabling Customer Experience Improvement Program%b%


schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Consolidator" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Consolidator" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
BthSQM" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
BthSQM" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
KernelCeipTask" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
KernelCeipTask" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
UsbCeip" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
UsbCeip" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Uploader" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Uploader" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Application Experience\Microsoft
Compatibility Appraiser" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Application Experience\Microsoft
Compatibility Appraiser" /Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater" >
nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater"
/Disable > nul 2>&1
schtasks /end /tn "\Microsoft\Windows\Application Experience\StartupAppTask" > nul
2>&1
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor" /Disable > nul
2>&1
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh" /Disable > nul
2>&1
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyUpload" > nul 2>&1
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyUpload" /Disable > nul
2>&1
schtasks /end /tn "\Microsoft\Windows\Maintenance\WinSAT" > nul 2>&1

echo %w% - Disabling Printing and maps Services %b%


sc config MapsBroker start= disabled
sc config PrintNotify start= disabled
sc config Spooler start= disabled
schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /Disable
schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /Disable

echo %w% - Disabling Office Telemetry %b%


[Link] add "HKCU\Software\Microsoft\Office\Common\ClientTelemetry" /v
"DisableTelemetry" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common" /v "sendcustomerdata" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\Feedback" /v "Enabled" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\Feedback" /v
"includescreenshot" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Outlook\Options\Mail" /v
"EnableLogging" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Word\Options" /v
"EnableLogging" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\Common\ClientTelemetry" /v
"SendTelemetry" /t REG_DWORD /d "3" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common" /v "qmEnable" /t REG_DWORD
/d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common" /v "updatereliabilitydata"
/t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\General" /v
"shownfirstrunoptin" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\General" /v
"skydrivesigninoption" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\ptwatson" /v "ptwoptin" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Firstrun" /v "Disablemovie" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM" /v "Enablelogging" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM" /v "EnableUpload" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM" /v "EnableFileObfuscation" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"accesssolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"olksolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"onenotesolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"pptsolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"projectsolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"publishersolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"visiosolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"wdsolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"xlsolution" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"agave" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"appaddins" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"comaddins" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"documentfiles" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"templatefiles" /t REG_DWORD /d "1" /f

echo %w% - Disabling GameDVR%b%


[Link] add "HKCU\Software\Microsoft\GameBar" /v "UseNexusForGameBarEnabled" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\GameBar" /v "GameDVR_Enabled" /t REG_DWORD /d
"0" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"AppCaptureEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"AudioCaptureEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"CursorCaptureEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"HistoricalCaptureEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\System\GameConfigStore" /v "GameDVR_Enabled" /t REG_DWORD /d
"0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t
REG_DWORD /d "0" /f

echo %w% - Disabling Xbox Services%b%


sc config xbgm start= Disabled >nul 2>&1
sc config XblAuthManager start= Disabled
sc config XblGameSave start= Disabled
sc config XboxGipSvc start= Disabled
sc config XboxNetApiSvc start= Disabled
echo %w% - Disabling Hyper-V%b%
sc config HvHost start=disabled
sc config vmickvpexchange start=disabled
sc config vmicguestinterface start=disabled
sc config vmicshutdown start=disabled
sc config vmicheartbeat start=disabled
sc config vmicvmsession start=disabled
sc config vmicrdv start=disabled
sc config vmictimesync start=disabled
bcdedit /set hypervisorlaunchtype off

echo %w% - Disabling VirtualizationBasedSecurity%b%


[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard" /v
"EnablingVirtualizationBasedSecurity" /t REG_DWORD /d "0" /f
echo %w% - Disabling HVCIMATRequired%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard" /v
"HVCIMATRequired" /t REG_DWORD /d "0" /f
echo %w% - Disabling ExceptionChainValidation%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"DisableExceptionChainValidation" /t REG_DWORD /d "1" /f
echo %w% - Disabling Sehop%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"KernelSEHOPEnabled" /t REG_DWORD /d "0" /f
echo %w% - Disabling CFG%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "EnablingCfg" /t REG_DWORD /d "0" /f
echo %w% - Disabling Protection Mode%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v
"ProtectionMode" /t REG_DWORD /d "0" /f
echo %w% - Disabling Spectre And Meltdown%b%

if "%ProcessorManufacturer%" EQU "AuthenticAMD" (


[Link] add "HKLM\System\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverride" /t REG_DWORD /d "2" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverrideMask" /t REG_DWORD /d "2" /f
) else (
[Link] add "HKLM\System\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverride" /t REG_DWORD /d "3" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverrideMask" /t REG_DWORD /d "3" /f
)

[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory


Management" /v "FeatureSettings" /t REG_DWORD /d "1" /f
echo %w% - Disabling Address Space Layout Randomization%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "MoveImages" /t REG_DWORD /d "0" /f

timeout /t 3 /nobreak > NUL

cls
echo.
echo.
echo.
echo. %p% █████╗ ██╗ ██╗████████╗
█████╗ ██████╗ ██╗ ██╗███╗ ██╗ ██████╗
echo. %p%██╔══██╗██║
██║╚══██╔══╝██╔══██╗██╔══██╗██║ ██║████╗ ██║██╔════╝
echo. %p%███████║██║ ██║ ██║ ██║
██║██████╔╝██║ ██║██╔██╗██║╚█████╗
echo. %p%██╔══██║██║ ██║ ██║ ██║
██║██╔══██╗██║ ██║██║╚████║ ╚═══██╗
echo. %p%██║ ██║╚██████╔╝ ██║
╚█████╔╝██║ ██║╚██████╔╝██║ ╚███║██████╔╝
echo. %p%╚═╝ ╚═╝ ╚═════╝ ╚═╝
╚════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══╝╚═════╝
chcp 437 > nul
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('After you press ok it will open an app, Go
to the LOGON section, Disabling all services except: antivirus, [Link], and the
n/a services', 'Exm Tweaking Utility', 'Ok',
[[Link]]::Information);}"
chcp 65001 > nul

start C:\exm\[Link]
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls

cls
echo.
echo.
echo.
echo.
echo. %p%██╗ ██╗██████╗ ██████╗
█████╗ ████████╗███████╗ ██████╗ ██╗ █████╗ █████╗ ██╗ ██╗███████╗██████╗
echo. %p%██║
██║██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝██╔════╝ ██╔══██╗██║ ██╔══██╗██╔══██╗██║
██╔╝██╔════╝██╔══██╗
echo. %p%██║ ██║██████╔╝██║
██║███████║ ██║ █████╗ ██████╦╝██║ ██║ ██║██║ ╚═╝█████═╝ █████╗
██████╔╝
echo. %p%██║ ██║██╔═══╝ ██║
██║██╔══██║ ██║ ██╔══╝ ██╔══██╗██║ ██║ ██║██║ ██╗██╔═██╗ ██╔══╝
██╔══██╗
echo. %p%╚██████╔╝██║ ██████╔╝██║
██║ ██║ ███████╗ ██████╦╝███████╗╚█████╔╝╚█████╔╝██║ ╚██╗███████╗██║ ██║
echo. %p% ╚═════╝ ╚═╝ ╚═════╝ ╚═╝
╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚══════╝ ╚════╝ ╚════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
chcp 437 >nul 2>&1
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('Note: Disabling Windows Updates will break
Microsoft store, if you want to use it again simply press "Enable" in windows
update blocker ', 'Exm Tweaking Utility', 'Ok',
[[Link]]::Information);}"
chcp 65001 >nul 2>&1
start C:\exm\Windows_Update_Blocker.exe
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls

:edging
cls
echo.
echo.
echo.
echo. %p%
███████╗██████╗ ██████╗ ███████╗
echo. %p%
██╔════╝██╔══██╗██╔════╝ ██╔════╝
echo. %p%
█████╗ ██║ ██║██║ ██╗ █████╗
echo. %p%
██╔══╝ ██║ ██║██║ ╚██╗██╔══╝
echo. %p%
███████╗██████╔╝╚██████╔╝███████╗
echo. %p%
╚══════╝╚═════╝ ╚═════╝ ╚══════╝
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo.
echo. %p%[%w
%1%p%]%w% Uninstall microsoft edge
echo.
echo.
%p%[%w%S%p%]%w% Skip
echo.
echo.
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo. %W%Completely uninstalls
microsoft edge, there is a revert for this
echo. %W% But unfortunatly
the revert doesnt work 100% of the time
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo.
echo.
set /p input=:
if /i %input% == 1 goto edgingoff
if /i %input% == s CLS & goto edging

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenue
:RedirectMenu
cls
goto :edging

:edgingoff
echo %w% - Disabling Microsoft edge %b%
taskkill /f /im [Link] >nul 2>&1
taskkill /f /im [Link] /fi "IMAGENAME eq [Link]" >nul 2>&1
taskkill /f /im [Link] /fi "IMAGENAME eq [Link]" >nul 2>&1
echo Deleting Edge Directories.
rd /s /q "C:\Program Files (x86)\Microsoft\Edge" >nul 2>&1
rd /s /q "C:\Program Files (x86)\Microsoft\EdgeCore" >nul 2>&1
rd /s /q "C:\Program Files (x86)\Microsoft\EdgeUpdate" >nul 2>&1
rd /s /q "C:\Program Files (x86)\Microsoft\EdgeWebView" >nul 2>&1
rd /s /q "C:\Program Files (x86)\Microsoft\Temp" >nul 2>&1
echo Deleting Microsoft Edge Shortcuts.
del "C:\Users\Public\Desktop\Microsoft [Link]" >nul 2>&1
del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Microsoft [Link]" >nul
2>&1
del "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\
Microsoft [Link]" >nul 2>&1
cls

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto mstore

:mstore
cls
echo.
echo.
echo. %p%███╗ ███╗ ██████╗
██████╗████████╗ █████╗ ██████╗ ███████╗
echo. %p%████╗ ████║██╔════╝
██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔════╝
echo. %p%██╔████╔██║╚█████╗
╚█████╗ ██║ ██║ ██║██████╔╝█████╗
echo. %p%██║╚██╔╝██║ ╚═══██╗
╚═══██╗ ██║ ██║ ██║██╔══██╗██╔══╝
echo. %p%██║ ╚═╝ ██║██████╔╝
██████╔╝ ██║ ╚█████╔╝██║ ██║███████╗
echo. %p%╚═╝ ╚═╝╚═════╝
╚═════╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝╚══════╝
echo. %b
%"═══════════════════════════════════════════════════════════════════════════"%w%
echo.
echo. %p%[%w%1%p%]%w% Disable
Microsoft Store %p%[%w%2%p%]%w% Enable Microsoft Store
echo.
echo.
echo. %b
%"════════════════════════════════════════════════════════════════════════════"%w%
echo. Disables
the microsoft store feature
echo. note: you need to have updates
enabled for it to work, the revert will enable them
echo. %b
%"═════════════════════════════════════════════════════════════════════════════"%w%

set /p input=:
if /i %input% == 1 goto microsoftstoreoff2
if /i %input% == 2 goto microsoftstoreon2

) ELSE (
echo %w%- Invalid Input %b% & goto MisspellRedirect

:MisspellRedirect
cls
echo %w%- Misspell Detected %b%
timeout 2
goto RedirectMenu

:RedirectMenu
goto mstore

:microsoftstoreon2
echo %w% - Enabling Microsoft store%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v
"DisableStoreApps" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v "RemoveWindowsStore"
/t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\
DeliveryOptimization" /v "SystemSettingsDownloadMode" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\
Config" /v "DODownloadMode" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v
"DODownloadMode" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v
"SystemSettingsDownloadMode" /t REG_DWORD /d 1 /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto :menu

:microsoftstoreoff2
echo %w% - Disabling Microsoft store%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v
"DisableStoreApps" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v "RemoveWindowsStore"
/t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\
DeliveryOptimization" /v "SystemSettingsDownloadMode" /t REG_DWORD /d 0 /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\
Config" /v "DODownloadMode" /t REG_DWORD /d 0 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v
"DODownloadMode" /t REG_DWORD /d 0 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v
"SystemSettingsDownloadMode" /t REG_DWORD /d 0 /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:revertdebloat
CLS
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██╗███████╗██████╗ ████████╗
echo. %p
%██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝
echo. %p
%██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║
echo. %p
%██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║
echo. %p%██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║
echo. %p%╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
echo.
echo.

echo %w% - Enabling Gamdvr%b%


[Link] add "HKCU\Software\Microsoft\GameBar" /v "UseNexusForGameBarEnabled" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\GameBar" /v "GameDVR_Enabled" /t REG_DWORD /d
"1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"AppCaptureEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"AudioCaptureEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"CursorCaptureEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"HistoricalCaptureEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\System\GameConfigStore" /v "GameDVR_Enabled" /t REG_DWORD /d
"1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t
REG_DWORD /d "1" /f

echo %w% - Enabling Xbox Services%b%


sc config xbgm start= demand >nul 2>&1
sc config XblAuthManager start= auto
sc config XblGameSave start= manual
sc config XboxGipSvc start= demand
sc config XboxNetApiSvc start= demand

echo %w% - Enabling Isolation Memory Integrity%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\
HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d "1" /f
echo %w% - Enabling HVCIMAT%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard" /v
"HVCIMATRequired" /t REG_DWORD /d "1" /f
echo %w% - Enabling ExceptionChainValidation%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"DisableExceptionChainValidation" /t REG_DWORD /d "1" /f
echo %w% - Enabling Sehop%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"KernelSEHOPEnabled" /t REG_DWORD /d "1" /f
echo %w% - Enabling CFG%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "EnablingCfg" /t REG_DWORD /d "1" /f
echo %w% - Enabling Protection Mode%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v
"ProtectionMode" /t REG_DWORD /d "1" /f
echo %w% - Enabling Spectre And Meltdown%b%
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettings" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverride" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "FeatureSettingsOverrideMask" /f
echo %w% - Enabling Address Space Layout Randomization%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "MoveImages" /t REG_DWORD /d "0" /f
echo %w% - Enabling Hyper-V%b%
sc config HvHost start=auto
sc config vmickvpexchange start=auto
sc config vmicguestinterface start=auto
sc config vmicshutdown start=auto
sc config vmicheartbeat start=auto
sc config vmicvmsession start=auto
sc config vmicrdv start=auto
sc config vmictimesync start=auto
sc config vmicvss start=auto
bcdedit /set hypervisorlaunchtype auto

echo %w% - Enabling Telemetry%b%


schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Consolidator"
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Consolidator" /enable
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
BthSQM"
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
BthSQM" /enable
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
KernelCeipTask"
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
KernelCeipTask" /enable
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
UsbCeip"
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
UsbCeip" /enable
schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Uploader"
schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\
Uploader" /enable
schtasks /end /tn "\Microsoft\Windows\Application Experience\Microsoft
Compatibility Appraiser"
schtasks /change /tn "\Microsoft\Windows\Application Experience\Microsoft
Compatibility Appraiser" /enable
schtasks /end /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater"
schtasks /change /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater"
/enable
schtasks /end /tn "\Microsoft\Windows\Application Experience\StartupAppTask"
schtasks /change /tn "\Microsoft\Windows\Application Experience\StartupAppTask"
/enable
schtasks /end /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector"
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector" /enable
schtasks /end /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver"
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver" /enable
schtasks /end /tn "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem"
schtasks /change /tn "\Microsoft\Windows\Power Efficiency Diagnostics\
AnalyzeSystem" /enable
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor"
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor" /enable
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh"
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh" /enable
schtasks /end /tn "\Microsoft\Windows\Shell\FamilySafetyUpload"
schtasks /change /tn "\Microsoft\Windows\Shell\FamilySafetyUpload" /enable
schtasks /end /tn "\Microsoft\Windows\Autochk\Proxy"
schtasks /change /tn "\Microsoft\Windows\Autochk\Proxy" /enable
schtasks /end /tn "\Microsoft\Windows\Maintenance\WinSAT"
schtasks /change /tn "\Microsoft\Windows\Maintenance\WinSAT" /enable
schtasks /end /tn "\Microsoft\Windows\Application Experience\AitAgent"
schtasks /change /tn "\Microsoft\Windows\Application Experience\AitAgent" /enable
schtasks /end /tn "\Microsoft\Windows\Windows Error Reporting\QueueReporting"
schtasks /change /tn "\Microsoft\Windows\Windows Error Reporting\QueueReporting"
/enable
schtasks /end /tn "\Microsoft\Windows\CloudExperienceHost\CreateObjectTask"
schtasks /change /tn "\Microsoft\Windows\CloudExperienceHost\CreateObjectTask"
/enable
schtasks /end /tn "\Microsoft\Windows\DiskFootprint\Diagnostics"
schtasks /change /tn "\Microsoft\Windows\DiskFootprint\Diagnostics" /enable
schtasks /end /tn "\Microsoft\Windows\PI\Sqm-Tasks"
schtasks /change /tn "\Microsoft\Windows\PI\Sqm-Tasks" /enable
schtasks /end /tn "\Microsoft\Windows\NetTrace\GatherNetworkInfo"
schtasks /change /tn "\Microsoft\Windows\NetTrace\GatherNetworkInfo" /enable
schtasks /end /tn "\Microsoft\Windows\AppID\SmartScreenSpecific"
schtasks /change /tn "\Microsoft\Windows\AppID\SmartScreenSpecific" /enable
schtasks /end /tn "\Microsoft\Office\OfficeTelemetryAgentFallBack2016"
schtasks /change /tn "\Microsoft\Office\OfficeTelemetryAgentFallBack2016" /enable
schtasks /end /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn2016"
schtasks /change /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn2016" /enable
schtasks /end /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn"
schtasks /change /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn" /enable
schtasks /end /tn "\Microsoft\Office\OfficeTelemetryAgentFallBack"
schtasks /change /tn "\Microsoft\Office\OfficeTelemetryAgentFallBack" /enable
schtasks /end /tn "\Microsoft\Office\Office 15 Subscription Heartbeat"
schtasks /change /tn "\Microsoft\Office\Office 15 Subscription Heartbeat" /enable
schtasks /end /tn "\Microsoft\Windows\Time Synchronization\ForceSynchronizeTime"
schtasks /change /tn "\Microsoft\Windows\Time Synchronization\ForceSynchronizeTime"
/enable
schtasks /end /tn "\Microsoft\Windows\Time Synchronization\SynchronizeTime"
schtasks /change /tn "\Microsoft\Windows\Time Synchronization\SynchronizeTime"
/enable
schtasks /end /tn "\Microsoft\Windows\WindowsUpdate\Automatic App Update"
schtasks /change /tn "\Microsoft\Windows\WindowsUpdate\Automatic App Update"
/enable
schtasks /end /tn "\Microsoft\Windows\Device Information\Device"
schtasks /change /tn "\Microsoft\Windows\Device Information\Device" /enable

echo %w% - Enabling Autologgers%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\AppModel" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Cellcore" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Circular Kernel
Context Logger" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
CloudExperienceHostOobe" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\DataMarket" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
DefenderApiLogger" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
DefenderAuditLogger" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\DiagLog" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
HolographicDevice" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\iclsClient" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\iclsProxy" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\LwtNetLog" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Mellanox-
Kernel" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Microsoft-
Windows-AssignedAccess-Trace" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Microsoft-
Windows-Setup" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\NBSMBLOGGER" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\PEAuthLog" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\RdrLog" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\ReadyBoot" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SetupPlatform" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SetupPlatformTel"
/v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SocketHeciServer"
/v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SpoolerLogger" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SQMLogger" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\TCPIPLOGGER" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\TileStore" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\Tpm" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
TPMProvisioningService" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\UBPM" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WdiContextLog" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WFP-IPsec
Trace" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
WiFiDriverIHVSession" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\
WiFiDriverIHVSessionRepro" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WiFiSession" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\WinPhoneCritical"
/v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF" /v
"LogEnabling" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF" /v
"LogLevel" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v
"DisableThirdPartySuggestions" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v
"DisableWindowsConsumerFeatures" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Credssp" /v
"DebugLogLevel" /t REG_DWORD /d "1" /f

echo %w% - Enabling Printing and maps Services %b%


sc config MapsBroker start= enabled
sc config PrintNotify start= enabled
sc config Spooler start= enabled
schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /enable
schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /enable

echo %w% - Enabling Office Telemetry%b%


[Link] add "HKCU\Software\Microsoft\Office\Common\ClientTelemetry" /v
"DisableTelemetry" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common" /v "sendcustomerdata" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\Feedback" /v "Enabled" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\Feedback" /v
"includescreenshot" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Outlook\Options\Mail" /v
"EnableLogging" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Word\Options" /v
"EnableLogging" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\Common\ClientTelemetry" /v
"SendTelemetry" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common" /v "qmEnable" /t REG_DWORD
/d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common" /v "updatereliabilitydata"
/t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\General" /v
"shownfirstrunoptin" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\General" /v
"skydrivesigninoption" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Common\ptwatson" /v "ptwoptin" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\Firstrun" /v "Disablemovie" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM" /v "Enablelogging" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM" /v "EnableUpload" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM" /v "EnableFileObfuscation" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"accesssolution" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"olksolution" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"onenotesolution" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"pptsolution" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"projectsolution" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"publishersolution" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"visiosolution" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"wdsolution" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications" /v
"xlsolution" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"agave" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"appaddins" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"comaddins" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"documentfiles" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes" /v
"templatefiles" /t REG_DWORD /d "0" /f

echo %w% - Enabling Biometrics%b%


[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Biometrics" /v "Enabled" /t REG_DWORD
/d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\WbioSrvc" /v "Start" /t
REG_DWORD /d "2" /f

echo %w% - Enabling Microsoft store%b%


[Link] add "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v
"DisableStoreApps" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v "RemoveWindowsStore"
/t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\
DeliveryOptimization" /v "SystemSettingsDownloadMode" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\
Config" /v "DODownloadMode" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v
"DODownloadMode" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v
"SystemSettingsDownloadMode" /t REG_DWORD /d 1 /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:d4
cls
echo %w% - Disabling Printing and maps Services %b%
sc config MapsBroker start= disabled
sc config PrintNotify start= disabled
sc config Spooler start= disabled
schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /Disable
schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /Disable
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto debloat

:d1
cls
echo %w% - Disabling GameDVR%b%
[Link] add "HKCU\Software\Microsoft\GameBar" /v "UseNexusForGameBarEnabled" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\GameBar" /v "GameDVR_Enabled" /t REG_DWORD /d
"0" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"AppCaptureEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"AudioCaptureEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"CursorCaptureEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"HistoricalCaptureEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\System\GameConfigStore" /v "GameDVR_Enabled" /t REG_DWORD /d
"0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t
REG_DWORD /d "0" /f

echo %w% - Disabling Xbox%b%


sc config xbgm start= Disabled >nul 2>&1
sc config XblAuthManager start= Disabled >nul 2>&1
sc config XblGameSave start= Disabled >nul 2>&1
sc config XboxGipSvc start= Disabled >nul 2>&1
sc config XboxNetApiSvc start= Disabled >nul 2>&1
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto debloat

:e
:fixes
cls
echo.
echo.
echo.
echo. %p%
███████╗██╗██╗ ██╗███████╗ ██████╗
echo. %p%
██╔════╝██║╚██╗██╔╝██╔════╝██╔════╝
echo. %p% █████╗ ██║
╚███╔╝ █████╗ ╚█████╗
echo. %p% ██╔══╝ ██║
██╔██╗ ██╔══╝ ╚═══██╗
echo. %p% ██║
██║██╔╝╚██╗███████╗██████╔╝
echo. %p% ╚═╝
╚═╝╚═╝ ╚═╝╚══════╝╚═════╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════"%w%
echo.
echo. %p%[%w%1%p%]%w
% Bring back default power plans
echo.
echo. %p%[%w%2%p%]%w
% Reinstall default windows apps
echo.
echo. %p%[%w%3%p%]%w
% Enable XBOX Services
echo.
echo. %p%[%w%4%p%]%w
% Enable GameDVR
echo.
echo. %p%[%w%5%p%]%w
% Enable Notifications
echo.
echo. %p%[%w%6%p%]%w
% Enable Bluetooth
echo.
echo. %p%[%w%7%p%]%w
% Enable Printing and Maps Services
echo.
echo. %p%[%w%8%p%]%w
% Reinstall Edge
echo.
echo. %p%[%w%9%p%]%w
% Enable Windows Updates
echo.
echo. %p%[%w%10%p%]
%w% Enable Windows Smart Screen
echo.
echo. %p%[%w%11%p%]
%w% Enable Diagnostics
echo.
echo. %p%[%w%12%p%]
%w% Enable Biometrics
echo.
echo.
echo.
echo. %p%[%w%M%p%]
%w% Back to menu
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════"
echo. %W% Allows you to revert a
bunch of settings, without having to use a restore point
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════"
echo.
set /p input=:
if /i %input% == 1 goto r1
if /i %input% == 2 goto r2
if /i %input% == 3 goto r3
if /i %input% == 4 goto r4
if /i %input% == 5 goto r5
if /i %input% == 6 goto r6
if /i %input% == 7 goto r7
if /i %input% == 8 goto r8
if /i %input% == 9 goto w9
if /i %input% == 10 goto r10
if /i %input% == 11 goto r11
if /i %input% == 12 goto r12
if /i %input% == M cls & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto :e

:r12
echo %w% - Enabling Biometrics%b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Biometrics" /v "Enabled" /t REG_DWORD
/d "1" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto :e

:r11
echo %w% - Enabling Diagnostics %b%
sc config DPS start= auto
sc config DiagTrack start= demand
sc config dmwappushservice start= demand
sc config [Link] start= demand
schtasks /change /tn "\Microsoft\Windows\Application Experience\StartupAppTask"
/Enable
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector" /Enable
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver" /Enable
schtasks /change /tn "\Microsoft\Windows\Power Efficiency Diagnostics\
AnalyzeSystem" /Enable
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Privacy" /v "TailoredExperiencesWithDiagnosticDataEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Diagnostics\DiagTrack" /v "ShowedToastAtLevel" /t REG_DWORD /d "0" /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Input\TIPC" /v "Enabled" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\System" /v
"UploadUserActivities" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\System" /v
"PublishUserActivities" /t REG_DWORD /d "1" /f
[Link] add "HKEY_CURRENT_USER\Control Panel\International\User Profile" /v
"HttpAcceptLanguageOptOut" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\
Attachments" /v "SaveZoneInformation" /t REG_DWORD /d "1" /f
[Link] add "HKLM\System\CurrentControlSet\Control\Diagnostics\Performance" /v
"DisablediagnosticTracing" /t REG_DWORD /d "0" /f >nul 2>&1
[Link] add "HKLM\Software\Policies\Microsoft\Windows\WDI\{9c5a40da-b965-4fc3-8781-
88dd50a6299d}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d "1" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto :e

:r10
echo %w% - Enabling Windows Smart Screen %b%
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"EnableSmartScreen" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v
"SmartScreenEnabled" /t REG_SZ /d "On" /f
[Link] add "HKU\!USER_SID!\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v
"EnableWebContentEvaluation" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"EnableSmartScreen" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" /v
"DontReportInfectionInformation" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\SmartScreen" /v
"ConfigureAppInstallControlEnabled" /t REG_DWORD /d "1" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto :e

:r9
chcp 437 > nul
echo %w%- Revert Edge through official installer %B%
start
[Link]
54440

chcp 65001 > nul

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto :e

:r7
echo %w% - Enabling Printing and maps Services %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\Spooler" /v "Start" /t
REG_DWORD /d "2" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\PrintNotify" /v "Start" /t
REG_DWORD /d "2" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\MapsBroker" /v "Start" /t
REG_DWORD /d "2" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto :e

:r6
echo %w% - Enabling Bluetooth%b%
[Link] add "HKLM\SYSTEM\ControlSet001\Services\BTAGService" /v "Start" /t
REG_DWORD /d "3" /f
[Link] add "HKLM\SYSTEM\ControlSet001\Services\bthserv" /v "Start" /t REG_DWORD /d
"2" /f
[Link] add "HKLM\SYSTEM\ControlSet001\Services\BthAvctpSvc" /v "Start" /t
REG_DWORD /d "3" /f
[Link] add "HKLM\SYSTEM\ControlSet001\Services\BluetoothUserService" /v "Start" /t
REG_DWORD /d "3" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto :e

:r4
echo %w% - Enabling Gamedvr Services%b%
[Link] add "HKCU\Software\Microsoft\GameBar" /v "UseNexusForGameBarEnabled" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\GameBar" /v "GameDVR_Enabled" /t REG_DWORD /d
"1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"AppCaptureEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"AudioCaptureEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"CursorCaptureEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v
"HistoricalCaptureEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\System\GameConfigStore" /v "GameDVR_Enabled" /t REG_DWORD /d
"1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t
REG_DWORD /d "1" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:r3
echo %w% - Enabling Xbox Services%b%
sc config xbgm start= demand
sc config XblAuthManager start= demand
sc config XblGameSave start= demand
sc config XboxGipSvc start= demand
sc config XboxNetApiSvc start= demand
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:r2
echo %w% - Redownload default windows apps%b%
chcp 437 > nul
Powershell -Command "Get-AppxPackage -allusers | foreach {Add-AppxPackage -register
“$($_.InstallLocation)\[Link]” -DisabledevelopmentMode}"
chcp 65001 > nul

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:r1
echo %w% - Resetting power plans%b%
powercfg –restoredefaultschemes
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:5war
chcp 437 >nul 2>&1
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('Do NOT do these if your pc has bad
overheating issues', 'Exm Tweaking Utility', 'Ok',
[[Link]]::Information);}"
timeout /t 1 /nobreak > nul
chcp 65001 >nul 2>&1

:5
:cpu
cls
echo.
echo.
echo. %p% █████╗
██████╗ ██╗ ██╗
echo. %p%
██╔══██╗██╔══██╗██║ ██║
echo. %p% ██║
╚═╝██████╔╝██║ ██║
echo. %p% ██║
██╗██╔═══╝ ██║ ██║
echo. %p%
╚█████╔╝██║ ╚██████╔╝
echo. %p% ╚════╝
╚═╝ ╚═════╝
echo. %b
%"════════════════════════════════════════════════════════════════════"%w%
echo.
echo. %p%[%w%1%p%]%w%
Apply Optimizations for AMD CPUs
echo.
echo. %p%[%w%2%p%]%w%
Apply Optimizations for Intel CPUs
echo.
echo.
echo. %p%[%w%T
%p%]%w% Open Task Manager
echo.
echo. %p%[%w%M
%p%]%w% Back to menu
echo.
echo. %p%[%w%R
%p%]%w% Revert
echo.
echo. %b
%"════════════════════════════════════════════════════════════════════" %w%
echo. %w% Select
Which type of cpu you have:
echo.
echo. Disable power saving
features, Disablings core parking and more!
echo. %b
%"════════════════════════════════════════════════════════════════════"
echo.

set /p input=:
if /i %input% == 1 goto cpu1
if /i %input% == 2 goto cpu2
if /i %input% == R goto revertcpu
if /i %input% == T start taskmgr & goto 8
if /i %input% == M cls & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto

:revertcpu
CLS
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██╗███████╗██████╗ ████████╗
echo. %p
%██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝
echo. %p
%██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║
echo. %p
%██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║
echo. %p%██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║
echo. %p%╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
echo.
echo.

echo %w%- Reverting Intel-Specific CPU Tweaks %b%


bcdedit /deletevalue allowedinmemorysettings
bcdedit /deletevalue isolatedcontext

echo %w%- Reverting Distribute Timers %b%


[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"DistributeTimers" /f

echo %w%- Reverting TSX %b%


[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"DisableTsx" /f

echo %w%- Reverting Even Processor %b%


[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"EventProcessorEnabled" /f

echo %w%- Reverting CPU Cooling Tweaks %b%


powercfg /setACvalueindex scheme_current SUB_PROCESSOR SYSCOOLPOL 0
powercfg /setDCvalueindex scheme_current SUB_PROCESSOR SYSCOOLPOL 0
powercfg /setactive SCHEME_CURRENT

echo %w%- Reverting Logical Processors %b%


bcdedit /deletevalue {current} numproc

echo %w%- Reverting C-States %b%


powercfg -setacvalueindex scheme_current SUB_SLEEP AWAYMODE 1
powercfg /setactive SCHEME_CURRENT
powercfg -setacvalueindex scheme_current SUB_SLEEP ALLOWSTANDBY 1
powercfg /setactive SCHEME_CURRENT
powercfg -setacvalueindex scheme_current SUB_SLEEP HYBRIDSLEEP 1
powercfg /setactive SCHEME_CURRENT
powercfg -setacvalueindex scheme_current sub_processor PROCTHROTTLEMIN 0
powercfg /setactive SCHEME_CURRENT

echo %w%- Reverting Higher P-States on Lower C-States %b%


powercfg -setacvalueindex scheme_current sub_processor IDLESCALING 0
powercfg /setactive SCHEME_CURRENT

echo %w%- Reverting Core Parking %b%


powercfg -setacvalueindex scheme_current sub_processor CPMINCORES 10
powercfg /setactive SCHEME_CURRENT

echo %w%- Reverting Throttle States %b%


powercfg -setacvalueindex scheme_current sub_processor THROTTLING 1
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-
82be-4824-96c1-47b60b740d00\0cc5b647-c1df-4637-891a-dec35c318583" /v "ValueMin" /t
REG_DWORD /d "5" /f

echo %w%- Fair Share CPU Scheduling %b%


[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Quota System"
/v EnableCpuQuota /f
echo %w% Revert Processor Performance Time Check Interval %b%
powercfg /setacvalueindex scheme_current 54533251-82be-4824-96c1-47b60b740d00
4d2b0152-7d5c-498b-88e2-34345392a2c5 15
Powercfg -setactive scheme_current
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:cpu1
cls
echo.
echo.
echo.
echo. %p% █████╗
███╗ ███╗██████╗ █████╗ ██████╗ ██╗ ██╗
echo. %p
%██╔══██╗████╗ ████║██╔══██╗ ██╔══██╗██╔══██╗██║ ██║
echo. %p
%███████║██╔████╔██║██║ ██║ ██║ ╚═╝██████╔╝██║ ██║
echo. %p
%██╔══██║██║╚██╔╝██║██║ ██║ ██║ ██╗██╔═══╝ ██║ ██║
echo. %p%██║
██║██║ ╚═╝ ██║██████╔╝ ╚█████╔╝██║ ╚██████╔╝
echo. %p%╚═╝
╚═╝╚═╝ ╚═╝╚═════╝ ╚════╝ ╚═╝ ╚═════╝
echo.
timeout 1 /nobreak > NUL
echo %w%- Disabling Core Parking %b%
powercfg -setacvalueindex scheme_current sub_processor CPMINCORES 100
powercfg /setactive SCHEME_CURRENT

echo %w%- Enabling TSX%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"DisableTsx" /t REG_DWORD /d "1" /f

echo %w%- Disabling Event Processor%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"EventProcessorEnabled" /t REG_DWORD /d "0" /f

echo %w%- CPU Cooling Tweaks %b%


powercfg /setACvalueindex scheme_current SUB_PROCESSOR SYSCOOLPOL 1
powercfg /setDCvalueindex scheme_current SUB_PROCESSOR SYSCOOLPOL 1
powercfg /setactive SCHEME_CURRENT

echo %w%- Tweak CPU Capabilities %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Processor" /v Capabilities /t
REG_DWORD /d 0x7E066 /f
echo %w%- Enabling All Logical Processors %b%
set THREADS=%NUMBER_OF_PROCESSORS% & bcdedit /set {current} numproc
%NUMBER_OF_PROCESSORS%

echo %w% - Disabling C-States%b%


powercfg -setacvalueindex scheme_current SUB_SLEEP AWAYMODE 0
powercfg /setactive SCHEME_CURRENT
powercfg -setacvalueindex scheme_current SUB_SLEEP ALLOWSTANDBY 0
powercfg /setactive SCHEME_CURRENT
powercfg -setacvalueindex scheme_current SUB_SLEEP HYBRIDSLEEP 0
powercfg /setactive SCHEME_CURRENT
powercfg -setacvalueindex scheme_current sub_processor PROCTHROTTLEMIN 100
powercfg /setactive SCHEME_CURRENT

echo %w%- Use Higher P-States on Lower C-States And Viseversa %b%
powercfg -setacvalueindex scheme_current sub_processor IDLESCALING 1
powercfg /setactive SCHEME_CURRENT

echo %w% - Disabling Throttle States%b%


powercfg -setacvalueindex scheme_current sub_processor THROTTLING 0
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-
82be-4824-96c1-47b60b740d00\0cc5b647-c1df-4637-891a-dec35c318583" /v "ValueMin" /t
REG_DWORD /d "0" /f

echo %w%- Disable Fair Share CPU Scheduling %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Quota System" /v
EnableCpuQuota /t REG_DWORD /d "0" /f

echo %w%- Tweak CPU Capabilities %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Processor" /v Capabilities /t
REG_DWORD /d 0x7E066 /f

echo %w% Optimize Processor Performance Time Check Interval %b%


powercfg /setacvalueindex scheme_current 54533251-82be-4824-96c1-47b60b740d00
4d2b0152-7d5c-498b-88e2-34345392a2c5 5000
Powercfg -setactive scheme_current
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:cpu2
CLS
echo.
echo.
echo.
echo. %p%██╗███╗
██╗████████╗███████╗██╗ █████╗ ██████╗ ██╗ ██╗
echo. %p%██║████╗
██║╚══██╔══╝██╔════╝██║ ██╔══██╗██╔══██╗██║ ██║
echo. %p
%██║██╔██╗██║ ██║ █████╗ ██║ ██║ ╚═╝██████╔╝██║ ██║
echo. %p
%██║██║╚████║ ██║ ██╔══╝ ██║ ██║ ██╗██╔═══╝ ██║ ██║
echo. %p%██║██║
╚███║ ██║ ███████╗███████╗ ╚█████╔╝██║ ╚██████╔╝
echo. %p%╚═╝╚═╝
╚══╝ ╚═╝ ╚══════╝╚══════╝ ╚════╝ ╚═╝ ╚═════╝
echo.
timeout 1 /nobreak > NUL

echo %w%- Disabling Core Parking %b%


powercfg -setacvalueindex scheme_current sub_processor CPMINCORES 100
powercfg /setactive SCHEME_CURRENT

echo %w%- Intel Specific Cpu tweaks %b%


bcdedit /set allowedinmemorysettings 0x0
bcdedit /set isolatedcontext No

echo %w%- Disabling TSX%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"DisableTsx" /t REG_DWORD /d "0" /f

echo %w%- Disabling Event Processor%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"EventProcessorEnabled" /t REG_DWORD /d "0" /f

echo %w%- CPU Cooling Tweaks %b%


powercfg /setACvalueindex scheme_current SUB_PROCESSOR SYSCOOLPOL 1
powercfg /setDCvalueindex scheme_current SUB_PROCESSOR SYSCOOLPOL 1
powercfg /setactive SCHEME_CURRENT

echo %w%- Enabling All Logical Processors %b%


set THREADS=%NUMBER_OF_PROCESSORS% & bcdedit /set {current} numproc
%NUMBER_OF_PROCESSORS%

echo %w% - Disabling C-States%b%


powercfg -setacvalueindex scheme_current SUB_SLEEP AWAYMODE 0
powercfg /setactive SCHEME_CURRENT
powercfg -setacvalueindex scheme_current SUB_SLEEP ALLOWSTANDBY 0
powercfg /setactive SCHEME_CURRENT
powercfg -setacvalueindex scheme_current SUB_SLEEP HYBRIDSLEEP 0
powercfg /setactive SCHEME_CURRENT
powercfg -setacvalueindex scheme_current sub_processor PROCTHROTTLEMIN 100
powercfg /setactive SCHEME_CURRENT
timeout /t 1 /nobreak > NUL

echo %w%- Use Higher P-States on Lower C-States And Viseversa %b%
powercfg -setacvalueindex scheme_current sub_processor IDLESCALING 1
powercfg /setactive SCHEME_CURRENT

echo %w% - Disabling Throttle States%b%


powercfg -setacvalueindex scheme_current sub_processor THROTTLING 0
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-
82be-4824-96c1-47b60b740d00\0cc5b647-c1df-4637-891a-dec35c318583" /v "ValueMin" /t
REG_DWORD /d "0" /f
echo %w%- Disable Fair Share CPU Scheduling %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Quota System" /v
EnableCpuQuota /t REG_DWORD /d "0" /f

echo %w%- Tweak CPU Capabilities %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Processor" /v Capabilities /t
REG_DWORD /d 0x7E066 /f

echo %w% Optimize Processor Performance Time Check Interval %b%


powercfg /setacvalueindex scheme_current 54533251-82be-4824-96c1-47b60b740d00
4d2b0152-7d5c-498b-88e2-34345392a2c5 5000
Powercfg -setactive scheme_current
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:4
:gpu
cls
echo.
echo.
echo. %p% ██████╗
██████╗ ██╗ ██╗
echo. %p% ██╔════╝
██╔══██╗██║ ██║
echo. %p% ██║ ██╗
██████╔╝██║ ██
echo. %p% ██║
╚██╗██╔═══╝ ██║ ██║
echo. %p%
╚██████╔╝██║ ╚██████╔╝
echo. %p% ╚═════╝
╚═╝ ╚═════╝
echo. %b
%"══════════════════════════════════════════════════════════════════"%w%
echo.
echo. %p%[%w%1%p%]%w%
Apply NVIDIA GPU Optimizations
echo.
echo. %p%[%w%2%p%]%w%
Apply AMD GPU Optimizations
echo.
echo. %p%[%w%3%p%]%w%
Apply Intel GPU Optimizations
echo.
echo.
echo. %p%[%w%T%p%]
%w% Open Task Manager
echo.
echo. %p%[%w%M%p%]
%w% Back to menu
echo.
echo.
echo. %b
%"══════════════════════════════════════════════════════════════════"
echo. %w% Select which
type of Gpu you have:
echo.
echo. %W% Optimizes your GPU
by tweaking 3d settings
echo. %W% Disabling power
saving features and much more
echo. %b
%"══════════════════════════════════════════════════════════════════"
echo.
set /p input=:
if /i %input% == 1 goto g1
if /i %input% == 2 goto g2
if /i %input% == 3 goto g3
if /i %input% == T start taskmgr & goto 7
if /i %input% == M cls & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto 4

:g3
cls
echo.
echo.
echo. %p% ██╗███╗
██╗████████╗███████╗██╗ ██████╗ ██████╗ ██╗ ██╗
echo. %p% ██║████╗
██║╚══██╔══╝██╔════╝██║ ██╔════╝ ██╔══██╗██║ ██║
echo. %p% ██║██╔██╗██║
██║ █████╗ ██║ ██║ ██╗ ██████╔╝██║ ██║
echo. %p% ██║██║╚████║
██║ ██╔══╝ ██║ ██║ ╚██╗██╔═══╝ ██║ ██║
echo. %p% ██║██║ ╚███║
██║ ███████╗███████╗ ╚██████╔╝██║ ╚██████╔╝
echo. %p% ╚═╝╚═╝ ╚══╝
╚═╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝ ╚═════╝
echo.
echo.
for /f %%i in ('wmic path Win32_VideoController get PNPDeviceID') do set "str=%%i"
(
echo %w%- Deleting GPU Device Priority %b%
[Link] add "HKLM\System\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\Affinity Policy" /v "DevicePriority" /f

echo %w%- Removing Msi GPU Limits %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\MessageSignaledInterruptProperties" /v "MessageNumberLimit" /f

echo %w%- Enabling MSI Mode on GPU if supported %b%


[Link] add "HKLM\System\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\MessageSignaledInterruptProperties" /v "MSISupported" /t REG_DWORD /d
"1" /f
)

echo %w% - Intel Gpu Tweaks%b%


for /f %%t in ('Reg query "HKLM\System\CurrentControlSet\Control\Class\{4d36e968-
e325-11ce-bfc1-08002be10318}" /t REG_SZ /s /e /f "Intel" ^| findstr "HKEY"') do (

[Link] add "%%t" /v "Disabling_OverlayDSQualityEnhancement" /t REG_DWORD /d


"1" /f
[Link] add "%%t" /v "IncreaseFixedSegment" /t REG_DWORD /d "1" /f
[Link] add "%%t" /v "AdaptiveVsyncEnabled" /t REG_DWORD /d "0" /f
[Link] add "%%t" /v "DisablingPFonDP" /t REG_DWORD /d "1" /f
[Link] add "%%t" /v "EnableCompensationForDVI" /t REG_DWORD /d "1" /f
[Link] add "%%t" /v "NoFastLinkTrainingForeDP" /t REG_DWORD /d "0" /f
[Link] add "%%t" /v "ACPowerPolicyVersion" /t REG_DWORD /d "16898" /f
[Link] add "%%t" /v "DCPowerPolicyVersion" /t REG_DWORD /d "16642" /f
)

[Link] add "HKLM\Software\Intel\GMM" /v "DedicatedSegmentSize" /t REG_DWORD /d


"512" /f

goto hardwareacceleration

:1
cls
echo.
echo.
echo. %p% ██████╗
███████╗███╗ ██╗███████╗██████╗ █████╗ ██╗
echo. %p% ██╔════╝
██╔════╝████╗ ██║██╔════╝██╔══██╗██╔══██╗██║
echo. %p% ██║ ██╗ █████╗
██╔██╗██║█████╗ ██████╔╝███████║██║
echo. %p% ██║ ╚██╗██╔══╝
██║╚████║██╔══╝ ██╔══██╗██╔══██║██║
echo. %p%
╚██████╔╝███████╗██║ ╚███║███████╗██║ ██║██║ ██║███████╗
echo. %p% ╚═════╝
╚══════╝╚═╝ ╚══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo.
echo. %p%[%w%1%p%]%w% Apply
General Regsitry and windows Optimizations
echo.
echo.
echo. %p
%[%w%M%p%]%w% Back to menu
echo.
echo. %p
%[%w%R%p%]%w% Revert
echo.
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo. %W%Applies general
optimizations in registry, bcd-edit and more!
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo.
echo.

set /p input=:
if /i %input% == 1 goto general
if /i %input% == R goto revertgeneral
if /i %input% == M CLS & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenue
:RedirectMenu
cls
goto :1

:general
CLS
echo.
echo.
echo.
echo. %p% ██████╗ ███████╗███╗
██╗███████╗██████╗ █████╗ ██╗ ██╗ ██╗ ██╗██╗███╗ ██╗██████╗ █████╗
██╗ ██╗ ██████╗
echo. %p%██╔════╝ ██╔════╝████╗
██║██╔════╝██╔══██╗██╔══██╗██║ ██╔╝ ██║ ██╗ ██║██║████╗
██║██╔══██╗██╔══██╗ ██║ ██╗ ██║██╔════╝
echo. %p%██║ ██╗ █████╗ ██╔██╗██║█████╗
██████╔╝███████║██║ ██╔╝ ╚██╗████╗██╔╝██║██╔██╗██║██║ ██║██║ ██║
╚██╗████╗██╔╝╚█████╗
echo. %p%██║ ╚██╗██╔══╝ ██║╚████║██╔══╝
██╔══██╗██╔══██║██║ ██╔╝ ████╔═████║ ██║██║╚████║██║ ██║██║ ██║
████╔═████║ ╚═══██╗
echo. %p%╚██████╔╝███████╗██║
╚███║███████╗██║ ██║██║ ██║███████╗██╔╝ ╚██╔╝ ╚██╔╝ ██║██║
╚███║██████╔╝╚█████╔╝ ╚██╔╝ ╚██╔╝ ██████╔╝
echo. %p% ╚═════╝ ╚══════╝╚═╝
╚══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚══╝╚═════╝
╚════╝ ╚═╝ ╚═╝ ╚═════╝
echo.
echo.
echo.

echo %w% - Disabling Dynamic Tick%b%


bcdedit /set Disabledynamictick yes >nul 2>&1
echo %w% - Disabling High Precision Event Timer (HPET)%b%
bcdedit /deletevalue useplatformclock >nul 2>&1
echo %w% - Disabling Synthetic Timers%b%
bcdedit /set useplatformtick yes >nul 2>&1

echo %w% - NFTS Tweaks%b%


fsutil behavior set memoryusage 2 >nul 2>&1
fsutil behavior set mftzone 4 >nul 2>&1
fsutil behavior set Disablinglastaccess 1 >nul 2>&1
fsutil behavior set Disabledeletenotify 1 >nul 2>&1
fsutil behavior set encryptpagingfile 0 >nul 2>&1

echo %w% - MMCSS Priority For Low Latency%b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Affinity" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Background Only" /t REG_SZ /d "False" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "BackgroundPriority" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Clock Rate" /t REG_DWORD /d "10000" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "GPU Priority" /t REG_DWORD /d "8" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Priority" /t REG_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Scheduling Category" /t REG_SZ /d "Medium" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "SFIO Priority" /t REG_SZ /d "High" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Latency Sensitive" /t REG_SZ /d "True" /f

[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\


SystemProfile\Tasks\Games" /v "Affinity" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "Background Only" /t REG_SZ /d "False" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "BackgroundPriority" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "Clock Rate" /t REG_DWORD /d "10000" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "GPU Priority" /t REG_DWORD /d "8" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "Priority" /t REG_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "Scheduling Category" /t REG_SZ /d "High" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "SFIO Priority" /t REG_SZ /d "High" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "Latency Sensitive" /t REG_SZ /d "True" /f

echo %w% - Setting Win32Priority%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\PriorityControl" /v
"Win32PrioritySeparation" /t REG_DWORD /d "38" /f

echo %w% - Decreasing process kill time and menu show delay%b%
[Link] add "HKCU\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d "1" /f
[Link] add "HKCU\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d "1000" /f
[Link] add "HKCU\Control Panel\Desktop" /v "WaitToKillAppTimeout" /t REG_SZ /d
"1000" /f
[Link] add "HKCU\Control Panel\Desktop" /v "LowLevelHooksTimeout" /t REG_SZ /d
"1000" /f
[Link] add "HKCU\Control Panel\Desktop" /v "MenuShowDelay" /t REG_SZ /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"WaitToKillServiceTimeout" /t REG_SZ /d "1000" /f

echo %w% - Setting IO Time Stamp%b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability" /v
"TimeStampInterval" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability" /v
"IoPriority" /t REG_DWORD /d "3" /f

echo %w% - Setting CSRSS IO and CPU Priority%b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution
Options\[Link]\PerfOptions" /v "CpuPriorityClass" /t REG_DWORD /d "3" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution
Options\[Link]\PerfOptions" /v "IoPriority" /t REG_DWORD /d "3" /f

echo %w%- Enabling Memory Mapping %b%


bcdedit /set configaccesspolicy Default
bcdedit /set MSI Default
bcdedit /set usephysicaldestination No
bcdedit /set usefirmwarepcisettings No

echo %w% - Setting Latency Tolerance%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\DXGKrnl" /v
"MonitorLatencyTolerance" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\DXGKrnl" /v
"MonitorRefreshLatencyTolerance" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "ExitLatency" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"ExitLatencyCheckEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "Latency" /t REG_DWORD
/d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceDefault" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "LatencyToleranceFSVP"
/t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyTolerancePerfOverride" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceScreenOffIR" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceVSyncEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"RtlCapabilityCheckLatency" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyActivelyUsed" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyIdleLongTime" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyIdleMonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyIdleNoContext" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyIdleShortTime" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyIdleVeryLongTime" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceIdle0" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceIdle0MonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceIdle1" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceIdle1MonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceMemory" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceNoContext" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceNoContextMonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceOther" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceTimerPeriod" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultMemoryRefreshLatencyToleranceActivelyUsed" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultMemoryRefreshLatencyToleranceMonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultMemoryRefreshLatencyToleranceNoContext" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"Latency" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"MaxIAverageGraphicsLatencyInOneBucket" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"MiracastPerfTrackGraphicsLatency" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"MonitorLatencyTolerance" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"MonitorRefreshLatencyTolerance" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"TransitionLatency" /t REG_DWORD /d "1" /f

echo %w% - Disabling Biometrics%b%


[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Biometrics" /v "Enabled" /t REG_DWORD
/d "0" /f

echo %w% - Setting System Responsiveness%b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile" /v "SystemResponsiveness" /t REG_DWORD /d "0" /f

echo %w% - Optimizing Windows Search%b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v
"BingSearchEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\InputPersonalization" /v
"RestrictImplicitInkCollection" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\InputPersonalization" /v
"RestrictImplicitTextCollection" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Personalization\Settings" /v
"AcceptedPrivacyPolicy" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v
"CortanaCapabilities" /t REG_SZ /d "" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v
"IsAssignedAccess" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v
"IsWindowsHelloActive" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v
"AllowSearchToUseLocation" /t REG_DWORD /d 0 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchPrivacy" /t REG_DWORD /d 3 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchSafeSearch" /t REG_DWORD /d 3 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchUseWeb" /t REG_DWORD /d 0 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchUseWebOverMeteredConnections" /t REG_DWORD /d 0 /f
[Link] add "HKLM\Software\Microsoft\PolicyManager\default\Experience\AllowCortana"
/v "value" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\SearchCompanion" /v
"DisableContentFileUpdates" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"AllowCloudSearch" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"AllowCortanaAboveLock" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"AllowSearchToUseLocation" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchPrivacy" /t REG_DWORD /d "3" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchUseWeb" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchUseWebOverMeteredConnections" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"DisableWebSearch" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"DoNotUseWebResults" /t REG_DWORD /d "1" /f

echo %w% - Track Only Important Failure Events %b%


Auditpol /set /subcategory:"Process Termination" /failure:Disable /failure:Enable
>nul 2>&1
Auditpol /set /subcategory:"RPC Events" /failure:Disable /failure:Enable >nul 2>&1
Auditpol /set /subcategory:"Filtering Platform Connection" /failure:Disable
/failure:Enable >nul 2>&1
Auditpol /set /subcategory:"DPAPI Activity" /failure:Disable /failure:Disable >nul
2>&1
Auditpol /set /subcategory:"IPsec Driver" /success: /failure:Enable >nul 2>&1
Auditpol /set /subcategory:"Other System Events" /failure:Disable /failure:Enable
>nul 2>&1
Auditpol /set /subcategory:"Security State Change" /failure:Disable /failure:Enable
>nul 2>&1
Auditpol /set /subcategory:"Security System Extension" /failure:Disable
/failure:Enable >nul 2>&1
Auditpol /set /subcategory:"System Integrity" /failure:Disable /failure:Enable >nul
2>&1
[Link] add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\AutoLogger-
Diagtrack-Listener" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\DiagLog" /v
"Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\Diagtrack-
Listener" /v "Start" /t REG_DWORD /d "0" /f
[Link] add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\WiFiSession" /v
"Start" /t REG_DWORD /d "0" /f

echo %w% - Disabling Windows Insider Experiments%b%


[Link] add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\System" /v
"AllowExperimentation" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Microsoft\PolicyManager\default\System\
AllowExperimentation" /v "value" /t REG_DWORD /d "0" /f

echo %w% - Disabling Activity feed%b%


[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Feeds" /v
"EnablingFeeds" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft" /v "AllowNewsAndInterests" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"EnablingActivityFeed" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Control Panel\International\User Profile" /v
"HttpAcceptLanguageOptOut" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v
"Enabled" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\System" /v
"EnablingActivityFeed" /t REG_DWORD /d "0" /f

echo %w% - Disabling Automatic Maintenance%b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\
Maintenance" /v "MaintenanceDisabled" /t REG_DWORD /d "1" /f

echo %w% - Disabling Notifications%b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications" /v
"ToastEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings"
/v "NOC_GLOBAL_SETTING_ALLOW_NOTIFICATION_SOUND" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings"
/v "NOC_GLOBAL_SETTING_ALLOW_CRITICAL_TOASTS_ABOVE_LOCK" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
QuietHours" /v "Enabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
windows.immersivecontrolpanel_cw5n1h2txyewy!
[Link]" /v "Enabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
[Link]" /v "Enabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
[Link]" /v "Enabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
[Link]" /v "Enabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
[Link]" /v "Enabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
[Link]" /v "Enabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v
"DisableNotificationCenter" /t REG_DWORD /d "1" /f

echo %w%- Disabling Shared Experiences %b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\CDP" /v
"CdpSessionUserAuthzPolicy" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\CDP" /v
"NearShareChannelUserAuthzPolicy" /t REG_DWORD /d "0" /f

echo %w% - Disabling Setting Synchronization%b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync" /v
"SyncPolicy" /t Reg_DWORD /d "5" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
Accessibility" /v "Enabled" /t Reg_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
AppSync" /v "Enabled" /t Reg_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
BrowserSettings" /v "Enabled" /t Reg_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
Credentials" /v "Enabled" /t Reg_DWORD /d ""0"" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
DesktopTheme" /v "Enabled" /t Reg_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
Language" /v "Enabled" /t Reg_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
PackageState" /v "Enabled" /t Reg_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
Personalization" /v "Enabled" /t Reg_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
StartLayout" /v "Enabled" /t Reg_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
Windows" /v "Enabled" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableSettingSync" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableSettingSyncUserOverride" /t Reg_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableAppSyncSettingSync" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableAppSyncSettingSyncUserOverride" /t Reg_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableApplicationSettingSync" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableApplicationSettingSyncUserOverride" /t Reg_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableCredentialsSettingSync" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableCredentialsSettingSyncUserOverride" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableDesktopThemeSettingSync" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableDesktopThemeSettingSyncUserOverride" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisablePersonalizationSettingSync" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisablePersonalizationSettingSyncUserOverride" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableStartLayoutSettingSync" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableStartLayoutSettingSyncUserOverride" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableSyncOnPaidNetwork" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableWebBrowserSettingSync" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableWebBrowserSettingSyncUserOverride" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableWindowsSettingSync" /t Reg_DWORD /d "2" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableWindowsSettingSyncUserOverride" /t Reg_DWORD /d "2" /f

echo %w%- Stop Reinstalling Preinstalled apps %b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "PreInstalledAppsEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "SilentInstalledAppsEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "OemPreInstalledAppsEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "ContentDeliveryAllowed" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "SubscribedContentEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "PreInstalledAppsEverEnabled" /t REG_DWORD /d "0" /f

echo %w%- Disabling Background Apps %b%


[Link] add "HKU\!USER_SID!\SOFTWARE\Microsoft\Windows\CurrentVersion\
BackgroundAccessApplications" /v "GlobalUserDisabled" /t REG_DWORD /d "1" /f
[Link] add "HKU\!USER_SID!\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v
"BackgroundAppGlobalToggle" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\bam" /v "Start" /t REG_DWORD /d
"4" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\dam" /v "Start" /t REG_DWORD /d
"4" /f

echo %w%- Disabling Transparency %b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v
"EnablingTransparency" /t REG_DWORD /d "0" /f

echo %w% - Tweaking Compatibility Settings%b%


[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v
"AllowTelemetry" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v
"DisableInventory" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v "DisableEngine"
/t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v "DisablePCA" /t
REG_DWORD /d "1" /f

echo %w% - Disabling Tracking and some diagnostics%b%


[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Privacy" /v "TailoredExperiencesWithDiagnosticDataEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Diagnostics\DiagTrack" /v "ShowedToastAtLevel" /t REG_DWORD /d "1" /f
[Link] add "HKEY_CURRENT_USER\Software\Microsoft\Input\TIPC" /v "Enabled" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\System" /v
"UploadUserActivities" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\System" /v
"PublishUserActivities" /t REG_DWORD /d "0" /f
[Link] add "HKEY_CURRENT_USER\Control Panel\International\User Profile" /v
"HttpAcceptLanguageOptOut" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\
Attachments" /v "SaveZoneInformation" /t REG_DWORD /d "1" /f
[Link] add "HKLM\System\CurrentControlSet\Control\Diagnostics\Performance" /v
"DisablediagnosticTracing" /t REG_DWORD /d "1" /f >nul 2>&1
[Link] add "HKLM\Software\Policies\Microsoft\Windows\WDI\{9c5a40da-b965-4fc3-8781-
88dd50a6299d}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d "0" /f
schtasks /change /tn "\Microsoft\Windows\Application Experience\StartupAppTask"
/Disable
schtasks /end /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector"
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticDataCollector" /Disable
schtasks /end /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver"
schtasks /change /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-
DiskDiagnosticResolver" /Disable
schtasks /end /tn "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem"
schtasks /change /tn "\Microsoft\Windows\Power Efficiency Diagnostics\
AnalyzeSystem" /Disable

timeout /t 3 /nobreak > NUL

cls
echo.
echo.
echo.
echo. %p%
█████╗ ███╗ ██╗██╗███╗ ███╗ █████╗ ████████╗██╗ █████╗ ███╗ ██╗ ██████╗
echo. %p
%██╔══██╗████╗ ██║██║████╗ ████║██╔══██╗╚══██╔══╝██║██╔══██╗████╗ ██║██╔════╝
echo. %p
%███████║██╔██╗██║██║██╔████╔██║███████║ ██║ ██║██║ ██║██╔██╗██║╚█████╗
echo. %p
%██╔══██║██║╚████║██║██║╚██╔╝██║██╔══██║ ██║ ██║██║ ██║██║╚████║ ╚═══██╗
echo. %p
%██║ ██║██║ ╚███║██║██║ ╚═╝ ██║██║ ██║ ██║ ██║╚█████╔╝██║ ╚███║██████╔╝
echo. %p
%╚═╝ ╚═╝╚═╝ ╚══╝╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚══╝╚═════╝
%windir%\system32\[Link]
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
:fse
cls
echo.
echo.
echo.
%p% ███████╗ ██████╗███████╗
echo.
%p% ██╔════╝██╔════╝██╔════╝
echo.
%p% █████╗ ╚█████╗ █████╗
echo.
%p% ██╔══╝ ╚═══██╗██╔══╝
echo.
%p% ██║ ██████╔╝███████╗
echo.
%p% ╚═╝ ╚═════╝ ╚══════╝
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
%w%
echo.
echo. %p%[%w%1%p%]
%w% Set FSE For Windows 11 %p%[%w%2%p%]%w% Set FSE For Windows 10
echo.
echo.
echo.
echo. %p%%p%%p%
%p% %p%[%w%M%p%]%w% Back to menu
echo.
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
echo. %W% Please
select your Windows Version to apply the appropriate FSO setting
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
echo.
set /p input=:
if /i %input% == 1 goto windows11
if /i %input% == 2 goto windows10
if /i %input% == M cls & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto :fse

:windows10
echo %w% - Setting FSE Behavior Mode %b%
[Link] add "HKCU\SYSTEM\GameConfigStore" /v "GameDVR_DSEBehavior" /t REG_DWORD /d
"0" /f
[Link] add "HKCU\SYSTEM\GameConfigStore" /v "GameDVR_FSEBehaviorMode" /t REG_DWORD
/d "0" /f
[Link] add "HKCU\SYSTEM\GameConfigStore" /v "GameDVR_EFSEFeatureFlags" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\SYSTEM\GameConfigStore" /v
"GameDVR_DXGIHonorFSEWindowsCompatible" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SYSTEM\GameConfigStore" /v "GameDVR_HonorUserFSEBehaviorMode" /t
REG_DWORD /d "1" /f

echo %w% - Delete Overlay %b%


reg delete "HKLM\SOFTWARE\Microsoft\Windows\Dwm" /v "OverlayTestMode" /f
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
pause > nul
cls
goto :gamemode

:windows11

echo %w% - Setting FSE Behavior Mode %b%


[Link] add "HKCU\SYSTEM\GameConfigStore" /v "GameDVR_DSEBehavior" /t REG_DWORD /d
"0" /f
[Link] add "HKCU\SYSTEM\GameConfigStore" /v "GameDVR_FSEBehaviorMode" /t REG_DWORD
/d "0" /f
[Link] add "HKCU\SYSTEM\GameConfigStore" /v "GameDVR_EFSEFeatureFlags" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\SYSTEM\GameConfigStore" /v
"GameDVR_DXGIHonorFSEWindowsCompatible" /t REG_DWORD /d "0" /f
[Link] add "HKCU\SYSTEM\GameConfigStore" /v "GameDVR_HonorUserFSEBehaviorMode" /t
REG_DWORD /d "1" /f

echo %w% - Disabling VRR Optimizations %b%


[Link] add "HKCU\SOFTWARE\Microsoft\DirectX\UserGpuPreferences" /v
"DirectXUserGlobalSettings" /t REG_SZ /d
"VRROptimizeEnable=0;SwapEffectUpgradeEnable=1;" /f

echo %w% - Delete Overlay %b%


reg delete "HKLM\SOFTWARE\Microsoft\Windows\Dwm" /v "OverlayTestMode" /f
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.
echo.

pause > nul


cls
goto :gamemode
:gamemode
cls
echo.
echo.
echo.
echo. %p%
██████╗ █████╗ ███╗ ███╗███████╗ ███╗ ███╗ █████╗ ██████╗ ███████╗
echo. %p
%██╔════╝ ██╔══██╗████╗ ████║██╔════╝ ████╗ ████║██╔══██╗██╔══██╗██╔════╝
echo. %p%██║
██╗ ███████║██╔████╔██║█████╗ ██╔████╔██║██║ ██║██║ ██║█████╗
echo. %p%██║
╚██╗██╔══██║██║╚██╔╝██║██╔══╝ ██║╚██╔╝██║██║ ██║██║ ██║██╔══╝
echo. %p
%╚██████╔╝██║ ██║██║ ╚═╝ ██║███████╗ ██║ ╚═╝ ██║╚█████╔╝██████╔╝███████╗
echo. %p%
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚════╝ ╚═════╝ ╚══════╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════"%w%
echo.
echo. %p%[%w
%1%p%]%w% Enable Game Mode (WIN 11) %p%[%w%2%p%]%w% Disable Game Mode (WIN
10)
echo.
echo.
echo.
%p%[%w%M%p%]%w% Back to menu
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════════════"%w%
echo. We
reccomend Enabling game mode on windows 11, but Disabling it on windows 10
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════════════"%w%

set /p input=:
if /i %input% == 1 goto gmodeOn
if /i %input% == 2 goto gmodeOff
if /i %input% == X cls & goto 3

) ELSE (
echo %w%- Invalid Input %b% & goto MisspellRedirect

:MisspellRedirect
cls
echo %w%- Misspell Detected %b%
timeout 2
goto RedirectMenu

:RedirectMenu
goto gamemode

:gmodeON
echo %w% - Enabling Game Mode %b%
[Link] add "HKCU\SOFTWARE\Microsoft\GameBar" /v "AllowAutoGameMode" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\GameBar" /v "AutoGameModeEnabled" /t REG_DWORD
/d "1" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:gmodeOFF
echo %w% - Disabling Game Mode %b%
[Link] add "HKCU\SOFTWARE\Microsoft\GameBar" /v "AllowAutoGameMode" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\GameBar" /v "AutoGameModeEnabled" /t REG_DWORD
/d "0" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:Revertgeneral
CLS
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██╗███████╗██████╗ ████████╗
echo. %p
%██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝
echo. %p
%██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║
echo. %p
%██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║
echo. %p%██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║
echo. %p%╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
echo.
echo.

::bcd
echo %w% - Disabling Dynamic Tick%b%
bcdedit /set Disabledynamictick yes >nul 2>&1
echo %w% - Disabling High Precision Event Timer (HPET)%b%
bcdedit /deletevalue useplatformclock >nul 2>&1
echo %w% - Disabling Synthetic Timers%b%
bcdedit /set useplatformtick yes >nul 2>&1

echo %w% - NFTS Tweaks%b%


fsutil behavior set memoryusage 1 >nul 2>&1
fsutil behavior set mftzone 1 >nul 2>&1
fsutil behavior set Disablinglastaccess 1 >nul 2>&1
fsutil behavior set Disabledeletenotify 1 >nul 2>&1
fsutil behavior set encryptpagingfile 0 >nul 2>&1

echo %w% - MMCSS Priority For Low Latency%b%


[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Affinity" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Background Only" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "BackgroundPriority" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Clock Rate" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "GPU Priority" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Priority" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Scheduling Category" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "SFIO Priority" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Low Latency" /v "Latency Sensitive" /f

[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\


SystemProfile\Tasks\Games" /v "Affinity" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "Background Only" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "BackgroundPriority" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "Clock Rate" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "GPU Priority" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "Priority" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "Scheduling Category" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "SFIO Priority" /f
[Link] delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile\Tasks\Games" /v "Latency Sensitive" /f

echo %w% - Setting Win32Priority%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\PriorityControl" /v
"Win32PrioritySeparation" /t REG_DWORD /d "10" /f
echo %w% - Decreasing process kill time and menu show delay%b%
[Link] add "HKCU\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d "1" /f
[Link] add "HKCU\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d "1000" /f
[Link] add "HKCU\Control Panel\Desktop" /v "WaitToKillAppTimeout" /t REG_SZ /d
"1000" /f
[Link] add "HKCU\Control Panel\Desktop" /v "LowLevelHooksTimeout" /t REG_SZ /d
"1000" /f
[Link] add "HKCU\Control Panel\Desktop" /v "MenuShowDelay" /t REG_SZ /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"WaitToKillServiceTimeout" /t REG_SZ /d "1000" /f

echo %w% - Setting IO Time Stamp%b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability" /v
"TimeStampInterval" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability" /v
"IoPriority" /t REG_DWORD /d "1" /f

echo %w% - Settings Csrss to default%b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution
Options\[Link]\PerfOptions" /v "CpuPriorityClass" /t REG_DWORD /d "3" /f
[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution
Options\[Link]\PerfOptions" /v "IoPriority" /t REG_DWORD /d "2" /f

echo %w% - Setting Latency Tolerance%b%


[Link] delete "HKLM\SYSTEM\CurrentControlSet\Services\DXGKrnl" /v
"MonitorLatencyTolerance" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Services\DXGKrnl" /v
"MonitorRefreshLatencyTolerance" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "ExitLatency" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"ExitLatencyCheckEnabled" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "Latency" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceDefault" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceFSVP" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyTolerancePerfOverride" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceScreenOffIR" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceVSyncEnabled" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"RtlCapabilityCheckLatency" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyActivelyUsed" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyIdleLongTime" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyIdleMonitorOff" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyIdleNoContext" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyIdleShortTime" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultD3TransitionLatencyIdleVeryLongTime" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceIdle0" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceIdle0MonitorOff" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceIdle1" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceIdle1MonitorOff" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceMemory" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceNoContext" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceNoContextMonitorOff" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceOther" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultLatencyToleranceTimerPeriod" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultMemoryRefreshLatencyToleranceActivelyUsed" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultMemoryRefreshLatencyToleranceMonitorOff" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"DefaultMemoryRefreshLatencyToleranceNoContext" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"Latency" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"MaxIAverageGraphicsLatencyInOneBucket" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"MiracastPerfTrackGraphicsLatency" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"MonitorLatencyTolerance" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"MonitorRefreshLatencyTolerance" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"TransitionLatency" /f

echo %w% - Setting System Responsiveness%b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\
SystemProfile" /v "SystemResponsiveness" /t REG_DWORD /d "14" /f

echo %w% - Enabling Biometrics%b%


[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Biometrics" /v "Enabled" /t REG_DWORD
/d "1" /f

echo %w% - Enabling Game mode%b%


[Link] add "HKCU\SOFTWARE\Microsoft\GameBar" /v "AllowAutoGameMode" /t
REG_DWORD /d "0" /f
[Link] add "HKCU\SOFTWARE\Microsoft\GameBar" /v "AutoGameModeEnabled" /t REG_DWORD
/d "0" /f

echo %w% - Optimizing Windows Search%b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v
"BingSearchEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\InputPersonalization" /v
"RestrictImplicitInkCollection" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\InputPersonalization" /v
"RestrictImplicitTextCollection" /t REG_DWORD /d "0" /f
[Link] add "HKCU\Software\Microsoft\Personalization\Settings" /v
"AcceptedPrivacyPolicy" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v
"CortanaCapabilities" /t REG_SZ /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v
"IsAssignedAccess" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v
"IsWindowsHelloActive" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v
"AllowSearchToUseLocation" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchPrivacy" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchSafeSearch" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchUseWeb" /t REG_DWORD /d 1 /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchUseWebOverMeteredConnections" /t REG_DWORD /d 1 /f
[Link] add "HKLM\Software\Microsoft\PolicyManager\default\Experience\AllowCortana"
/v "value" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\SearchCompanion" /v
"DisableContentFileUpdates" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"AllowCloudSearch" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"AllowCortanaAboveLock" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"AllowSearchToUseLocation" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchPrivacy" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchUseWeb" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"ConnectedSearchUseWebOverMeteredConnections" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"DisableWebSearch" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v
"DoNotUseWebResults" /t REG_DWORD /d "0" /f

echo %w% - Track Only Important Failure Events %b%


Auditpol /set /subcategory:"Process Termination" /failure:Disable /failure:Enable
>nul 2>&1
Auditpol /set /subcategory:"RPC Events" /failure:Disable /failure:Enable >nul 2>&1
Auditpol /set /subcategory:"Filtering Platform Connection" /failure:Disable
/failure:Enable >nul 2>&1
Auditpol /set /subcategory:"DPAPI Activity" /failure:Disable /failure:Disable >nul
2>&1
Auditpol /set /subcategory:"IPsec Driver" /success: /failure:Enable >nul 2>&1
Auditpol /set /subcategory:"Other System Events" /failure:Disable /failure:Enable
>nul 2>&1
Auditpol /set /subcategory:"Security State Change" /failure:Disable /failure:Enable
>nul 2>&1
Auditpol /set /subcategory:"Security System Extension" /failure:Disable
/failure:Enable >nul 2>&1
Auditpol /set /subcategory:"System Integrity" /failure:Disable /failure:Enable >nul
2>&1
[Link] add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\AutoLogger-
Diagtrack-Listener" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\DiagLog" /v
"Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\Diagtrack-
Listener" /v "Start" /t REG_DWORD /d "1" /f
[Link] add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\WiFiSession" /v
"Start" /t REG_DWORD /d "1" /f

echo %w% - Enabling Windows Insider Experiments%b%


[Link] add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\System" /v
"AllowExperimentation" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Microsoft\PolicyManager\default\System\
AllowExperimentation" /v "value" /t REG_DWORD /d "1" /f

echo %w% - Enabling Activity feed%b%


[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Feeds" /v
"EnablingFeeds" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft" /v "AllowNewsAndInterests" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v
"EnablingActivityFeed" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Control Panel\International\User Profile" /v
"HttpAcceptLanguageOptOut" /t REG_DWORD /d "1" /f
[Link] add "HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v
"Enabled" /t Reg_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\System" /v
"EnablingActivityFeed" /t REG_DWORD /d "1" /f

echo %w% - Enabling Automatic Maintenance%b%


[Link] add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\
Maintenance" /v "MaintenanceDisabled" /t REG_DWORD /d "0" /f

echo %w% - Enabling Notifications%b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications" /v
"ToastEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings"
/v "NOC_GLOBAL_SETTING_ALLOW_NOTIFICATION_SOUND" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings"
/v "NOC_GLOBAL_SETTING_ALLOW_CRITICAL_TOASTS_ABOVE_LOCK" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
QuietHours" /v "Enabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
windows.immersivecontrolpanel_cw5n1h2txyewy!
[Link]" /v "Enabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
[Link]" /v "Enabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
[Link]" /v "Enabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
[Link]" /v "Enabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
[Link]" /v "Enabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\
[Link]" /v "Enabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v
"DisableNotificationCenter" /t REG_DWORD /d "0" /f

echo %w%- Enabling Shared Experiences %b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\CDP" /v
"CdpSessionUserAuthzPolicy" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\CDP" /v
"NearShareChannelUserAuthzPolicy" /t REG_DWORD /d "1" /f

echo %w% - Disabling Setting Synchronization%b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync" /v
"SyncPolicy" /t Reg_DWORD /d "5" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
Accessibility" /v "Enabled" /t Reg_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
AppSync" /v "Enabled" /t Reg_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
BrowserSettings" /v "Enabled" /t Reg_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
Credentials" /v "Enabled" /t Reg_DWORD /d ""0"" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
DesktopTheme" /v "Enabled" /t Reg_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
Language" /v "Enabled" /t Reg_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
PackageState" /v "Enabled" /t Reg_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
Personalization" /v "Enabled" /t Reg_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
StartLayout" /v "Enabled" /t Reg_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\
Windows" /v "Enabled" /t Reg_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableSettingSync" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableSettingSyncUserOverride" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableAppSyncSettingSync" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableAppSyncSettingSyncUserOverride" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableApplicationSettingSync" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableApplicationSettingSyncUserOverride" /t Reg_DWORD /d "1" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableCredentialsSettingSync" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableCredentialsSettingSyncUserOverride" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableDesktopThemeSettingSync" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableDesktopThemeSettingSyncUserOverride" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisablePersonalizationSettingSync" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisablePersonalizationSettingSyncUserOverride" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableStartLayoutSettingSync" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableStartLayoutSettingSyncUserOverride" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableSyncOnPaidNetwork" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableWebBrowserSettingSync" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableWebBrowserSettingSyncUserOverride" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableWindowsSettingSync" /t Reg_DWORD /d "0" /f
[Link] add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v
"DisableWindowsSettingSyncUserOverride" /t Reg_DWORD /d "0" /f

echo %w%- Dont Stop Reinstalling Preinstalled apps %b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "PreInstalledAppsEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "SilentInstalledAppsEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "OemPreInstalledAppsEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "ContentDeliveryAllowed" /t REG_DWORD /d "1 /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "SubscribedContentEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
/v "PreInstalledAppsEverEnabled" /t REG_DWORD /d "1" /f

echo %w%- Enabling Background Apps %b%


[Link] add "HKU\!USER_SID!\SOFTWARE\Microsoft\Windows\CurrentVersion\
BackgroundAccessApplications" /v "GlobalUserDisabled" /t REG_DWORD /d "0" /f
[Link] add "HKU\!USER_SID!\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v
"BackgroundAppGlobalToggle" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\bam" /v "Start" /t REG_DWORD /d
"2" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\dam" /v "Start" /t REG_DWORD /d
"2" /f

echo %w%- Enabling Transparency %b%


[Link] add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v
"EnablingTransparency" /t REG_DWORD /d "1" /f

echo %w% - Enabling GameMode%b%


[Link] add "HKCU\SOFTWARE\Microsoft\GameBar" /v "AllowAutoGameMode" /t
REG_DWORD /d "1" /f
[Link] add "HKCU\SOFTWARE\Microsoft\GameBar" /v "AutoGameModeEnabled" /t REG_DWORD
/d "1" /f

echo %w% - Reverting Combaility Settings%b%


[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v
"AllowTelemetry" /t REG_DWORD /d "1" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v
"DisableInventory" /t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v "DisableEngine"
/t REG_DWORD /d "0" /f
[Link] add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v "DisablePCA" /t
REG_DWORD /d "0" /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:2war
chcp 437 >nul 2>&1
powershell "& {Add-Type -AssemblyName [Link];
[[Link]]::Show('Do NOT do these if your pc has overheating
issues', 'Exm Tweaking Utility', 'Ok',
[[Link]]::Information);}"
timeout /t 1 /nobreak > nul
chcp 65001 >nul 2>&1
:2

:power
cls
echo.
echo.
echo. %p%██████╗
█████╗ ██╗ ██╗███████╗██████╗
echo. %p
%██╔══██╗██╔══██╗ ██║ ██╗ ██║██╔════╝██╔══██╗
echo. %p
%██████╔╝██║ ██║ ╚██╗████╗██╔╝█████╗ ██████╔╝
echo. %p%██╔═══╝
██║ ██║ ████╔═████║ ██╔══╝ ██╔══██
echo. %p%██║
╚█████╔╝ ╚██╔╝ ╚██╔╝ ███████╗██║ ██║
echo. %p%╚═╝
╚════╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
%w%
echo.
echo. %p%
[%w%A%p%]%w% Apply All
echo.
echo. %p%[%w%1%p%]
%w% Apply Exm Free Power Plan V6
echo.
echo. %p%[%w%2%p%]
%w% Disable Power saving features
echo.
echo. %p%[%w%3%p%]
%w% Disable Power Telemetry
echo.
echo. %p%[%w%4%p%]
%w% Delete useless power plans
echo.
echo. %p%[%w%5%p%]
%w% Disable Hibernation, Fast startup and more
echo.
echo.
echo. %p
%[%w%M%p%]%w% Back to menu
echo.
echo. %p
%[%w%R%p%]%w% Revert
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══"
echo. %w% Might
increase cpu temperatures on poorly cooled pcs
echo. %W% Disablings a
bunch of useless power saving features and more
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══"
echo.
echo.

set /p input=:
if /i %input% == A goto allpower
if /i %input% == 1 goto p1
if /i %input% == 2 goto p2
if /i %input% == 3 goto p3
if /i %input% == 4 goto p4
if /i %input% == 5 goto p5
if /i %input% == 6 goto p6
if /i %input% == R goto Revertpower
if /i %input% == M cls & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto power

:allpower
cls
echo.
echo.
echo.
echo. %p%██████╗
█████╗ ██╗ ██╗███████╗██████╗
echo. %p
%██╔══██╗██╔══██╗ ██║ ██╗ ██║██╔════╝██╔══██╗
echo. %p
%██████╔╝██║ ██║ ╚██╗████╗██╔╝█████╗ ██████╔╝
echo. %p%██╔═══╝
██║ ██║ ████╔═████║ ██╔══╝ ██╔══██
echo. %p%██║
╚█████╔╝ ╚██╔╝ ╚██╔╝ ███████╗██║ ██║
echo. %p%╚═╝
╚════╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
echo.
echo.

echo %w% Import Exm Free Power Plan V6%b%


powercfg -import "C:\exm\Exm Free Power Plan [Link]"
[Link]

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul

echo %w% - Disabling StorPort Idle%b%


for /f "tokens=*" %%s in ('reg query "HKLM\System\CurrentControlSet\Enum" /S /F
"StorPort" ^| findstr /e "StorPort"') do [Link] add "%%s" /v
"EnableIdlePowerManagement" /t REG_DWORD /d "0" /f

echo %w%- Disabling Link State Power Managment %b%


echo %w%- Disabling HDD Parking %b%
echo %w%- Disabling HIPM %b%
echo %w%- Disabling DIPM %b%
for %%i in (EnableHIPM EnableDIPM EnableHDDParking) do for /f %%a in ('reg query
"HKLM\SYSTEM\CurrentControlSet\Services" /s /f "%%i" ^| findstr "HKEY"') do [Link]
add "%%a" /v "%%i" /t REG_DWORD /d "0" /f

echo %w% - Disabling GPU Energy Driver%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\GpuEnergyDrv" /v "Start" /t
REG_DWORD /d "2" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\GpuEnergyDr" /v "Start" /t
REG_DWORD /d "2" /f

echo %w% - Disabling CoalescingTimerInterval%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Executive" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\ModernSleep" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "PlatformAoAcOverride"
/t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"EnergyEstimationEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"EventProcessorEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "CsEnabled" /t
REG_DWORD /d "0" /f

echo %w% - Disabling Power Throttling%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerThrottling" /v
"PowerThrottlingOff" /t REG_DWORD /d "1" /f

echo %w% - Disabling Fast Startup (this is bad for your pc, even if it speeds up
booting by a few seconds, thats why the utility disables it) %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v
"HiberbootEnabled" /t REG_DWORD /d "0" /f

echo %w% - Disabling Hibernation%b%


powercfg /h off
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"SleepReliabilityDetailedDiagnostics" /t REG_DWORD /d "0" /f

echo %w% - Disabling Sleep Study (you should only shutdown your pc, dont put it to
sleep, its bad for you pc) %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v
"SleepStudyDisabled" /t REG_DWORD /d "1" /f

echo %w% - Disabling Energy Logging + Power Telemetry%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
TaggedEnergy" /v "DisablingTaggedEnergyLogging" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
TaggedEnergy" /v "TelemetryMaxApplication" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
TaggedEnergy" /v "TelemetryMaxTagPerApplication" /t REG_DWORD /d "0" /f

timeout /t 3 /nobreak > NUL

:p4
cls
echo.
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██████╗ ██╗ █████╗ ███╗ ██╗ ██████╗
echo. %p
%██╔══██╗██╔════╝██║ ██╔══██╗██║ ██╔══██╗████╗ ██║██╔════╝
echo. %p%██║ ██║█████╗
██║ ██████╔╝██║ ███████║██╔██╗██║╚█████╗
echo. %p%██║ ██║██╔══╝
██║ ██╔═══╝ ██║ ██╔══██║██║╚████║ ╚═══██╗
echo. %p
%██████╔╝███████╗███████╗ ██║ ███████╗██║ ██║██║ ╚███║██████╔╝
echo. %p%╚═════╝
╚══════╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚══╝╚═════╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
═══════════"%w%
echo.
echo. %p%[%w%1%p%]%w% Default
Power Plans %p%[%w%2%p%]%w% Skip and go to menu
echo.
echo.
echo.
%p%[%w%R%p%]%w% Default Power Plans
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════════════"%w%
echo. Deletes default
power plans (Balanced, Power saver and High performance)
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
════════════"%w%

set /p input=:
if /i %input% == 1 goto deletepowerplans
if /i %input% == 2 goto menu
if /i %input% == R goto revertpowerplans
) ELSE (
echo %w%- Invalid Input %b% & goto MisspellRedirect

:MisspellRedirect
cls
echo %w%- Misspell Detected %b%
timeout 2
goto RedirectMenu

:RedirectMenu
goto p4

:deletepowerplans
echo %w% - Deleting useless power plans%b%
powercfg -delete 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
powercfg -delete 381b4222-f694-41f0-9685-ff5bb260df2e
powercfg -delete a1841308-3541-4fab-bc81-f71556f20b4a
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto power

:revertpowerplans
echo %w% - Resetting power plans%b%
powercfg –restoredefaultschemes
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto power

:revertpower
CLS
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██╗███████╗██████╗ ████████╗
echo. %p
%██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝
echo. %p
%██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║
echo. %p
%██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║
echo. %p%██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║
echo. %p%╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
echo.
echo.
echo %w% - Enabling Energy Logging + Power Telemetry%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
TaggedEnergy" /v "DisableTaggedEnergyLogging" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
TaggedEnergy" /v "TelemetryMaxApplication" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
TaggedEnergy" /v "TelemetryMaxTagPerApplication" /t REG_DWORD /d "1" /f

echo %w%- Enabling Link State Power Managment %b%


echo %w%- Enabling HIPM %b%
echo %w%- Enabling DIPM %b%
echo %w%- Enabling HDD Parking %b%
for %%i in (EnableHIPM EnableDIPM EnableHDDParking) do for /f %a in ('reg query
"HKLM\SYSTEM\CurrentControlSet\Services" /s /f "%%i" ^| findstr "HKEY"') do [Link]
add "%a" /v "%%i" /t REG_DWORD /d "1" /f

echo %w% - Enabling GPU Energy Driver%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\GpuEnergyDrv" /v "Start" /t
REG_DWORD /d "2" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\GpuEnergyDr" /v "Start" /t
REG_DWORD /d "2" /f

echo %w% - Enabling CoalescingTimerInterval%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v
"CoalescingTimerInterval" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v
"CoalescingTimerInterval" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "CoalescingTimerInterval" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"CoalescingTimerInterval" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Executive" /v
"CoalescingTimerInterval" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\ModernSleep" /v
"CoalescingTimerInterval" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"CoalescingTimerInterval" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "PlatformAoAcOverride"
/t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"EnergyEstimationEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"EventProcessorEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "CsEnabled" /t
REG_DWORD /d "1" /f

echo %w% - Enabling Power Throttling%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerThrottling" /v
"PowerThrottlingOff" /t REG_DWORD /d "0" /f

echo %w% - Restoring power plans%b%


powercfg –restoredefaultschemes

echo %w% - Enabling Fast Startup %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v
"HiberbootEnabled" /t REG_DWORD /d "1" /f

echo %w% - Enabling Hibernation%b%


powercfg /h on
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"SleepReliabilityDetailedDiagnostics" /t REG_DWORD /d "1" /f

echo %w% - Enabling Sleep Study


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v
"SleepStudyDisabled" /t REG_DWORD /d "0" /f

echo %w% - Enabling StorPort Idle%b%


for /f "tokens=*" %%s in ('reg query "HKLM\System\CurrentControlSet\Enum" /S /F
"StorPort" ^| findstr /e "StorPort"') do [Link] add "%%s" /v
"EnableIdlePowerManagement" /t REG_DWORD /d "1" /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto power
:p1
cls
echo %w% Import Exm Free Power Plan V6%b%
powercfg -import "C:\exm\Exm Free Power Plan [Link]"
[Link]
timeout /t 1 /nobreak > NUL
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto power

:p5
echo %w% - Disabling Fast Startup (this is bad for your pc, even if it speeds up
booting by a few seconds %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v
"HiberbootEnabled" /t REG_DWORD /d "0" /f

echo %w% - Disabling Hibernation%b%


powercfg /h off
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t
REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"SleepReliabilityDetailedDiagnostics" /t REG_DWORD /d "0" /f

echo %w% - Disabling Sleep Study (you should only shutdown your pc, dont put it to
sleep, its bad for you pc) %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v
"SleepStudyDisabled" /t REG_DWORD /d "1" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto power

:skiplans
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:p3
echo %w% - Disabling Energy Logging + Power Telemetry%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
TaggedEnergy" /v "DisablingTaggedEnergyLogging" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
TaggedEnergy" /v "TelemetryMaxApplication" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\EnergyEstimation\
TaggedEnergy" /v "TelemetryMaxTagPerApplication" /t REG_DWORD /d "0" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto power

:P2
cls

echo %w% - Disabling StorPort Idle%b%


for /f "tokens=*" %%s in ('reg query "HKLM\System\CurrentControlSet\Enum" /S /F
"StorPort" ^| findstr /e "StorPort"') do [Link] add "%%s" /v
"EnableIdlePowerManagement" /t REG_DWORD /d "0" /f

echo %w%- Disabling Link State Power Managment %b%


echo %w%- Disabling HDD Parking %b%
echo %w%- Disabling HIPM %b%
echo %w%- Disabling DIPM %b%
for %%i in (EnableHIPM EnableDIPM EnableHDDParking) do for /f %%a in ('reg query
"HKLM\SYSTEM\CurrentControlSet\Services" /s /f "%%i" ^| findstr "HKEY"') do [Link]
add "%%a" /v "%%i" /t REG_DWORD /d "0" /f

echo %w% - Disabling GPU Energy Driver%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\GpuEnergyDrv" /v "Start" /t
REG_DWORD /d "2" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\GpuEnergyDr" /v "Start" /t
REG_DWORD /d "2" /f

echo %w% - Disabling CoalescingTimerInterval%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Executive" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\ModernSleep" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "PlatformAoAcOverride"
/t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"EnergyEstimationEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"EventProcessorEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "CsEnabled" /t
REG_DWORD /d "0" /f

echo %w% - Disabling Power Throttling%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerThrottling" /v
"PowerThrottlingOff" /t REG_DWORD /d "1" /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto power

:9
:RAM
cls
echo.
echo.
echo. %p%███╗
███╗███████╗███╗ ███╗ █████╗ ██████╗ ██╗ ██╗
echo. %p%████╗
████║██╔════╝████╗ ████║██╔══██╗██╔══██╗╚██╗ ██╔╝
echo. %p%██╔████╔██║█████╗
██╔████╔██║██║ ██║██████╔╝ ╚████╔╝
echo. %p%██║╚██╔╝██║██╔══╝
██║╚██╔╝██║██║ ██║██╔══██╗ ╚██╔╝
echo. %p%██║ ╚═╝
██║███████╗██║ ╚═╝ ██║╚█████╔╝██║ ██║ ██║
echo. %p%╚═╝
╚═╝╚══════╝╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝ ╚═╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════"%w%
echo.
Select how much ram you have:
echo.
echo. %p%[%w%1%p%]%w% 4GB
%p%[%w%2%p%]%w% 8GB %p%[%w%3%p%]%w% 12GB
echo.
echo. %p%[%w%4%p%]%w% 16GB
%p%[%w%5%p%]%w% 24GB %p%[%w%6%p%]%w% 32GB
echo.
echo. %p%[%w%7%p%]%w% 48GB
%p%[%w%8%p%]%w% 64GB %p%[%w%9%p%]%w% 128GB
echo.
echo.
echo. %p%%p%%p%%p%
%p%[%w%T%p%]%w% Open Task Manager
echo.
echo. %p%%p%%p%%p%
%p%[%w%M%p%]%w% Back to menu
echo.
echo. %p%%p%%p%%p%
%p%[%w%R%p%]%w% Revert
echo.
echo. %b
%"══════════════════════════════════════════════════════════════════════════════"%w
%
echo. %w% Optimizes a bunch of RAM
related registry values for optimal performance
echo. %W% Disablings a bunch of
useless features which hinder your performance
echo. %b
%"══════════════════════════════════════════════════════════════════════════════"%w
%
echo.
echo.

set /p input=:
if /i %input% == 1 goto 4GB
if /i %input% == 2 goto 8GB
if /i %input% == 3 goto 12GB
if /i %input% == 4 goto 16GB
if /i %input% == 5 goto 24GB
if /i %input% == 6 goto 32GB
if /i %input% == 7 goto 48GB
if /i %input% == 8 goto 64GB
if /i %input% == 9 goto 128GB
if /i %input% == M cls & goto menu
if /i %input% == T start taskmgr
if /i %input% == R goto revertram
) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu
:RedirectMenu
cls
goto :9

:revertram
CLS
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██╗███████╗██████╗ ████████╗
echo. %p
%██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝
echo. %p
%██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║
echo. %p
%██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║
echo. %p%██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║
echo. %p%╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
echo.
echo.
chcp 437 >nul 2>&1
echo %w% - Enabling Memory Compression%b%
PowerShell -Command "Enable-MMAgent -MemoryCompression" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Disabling Large System Cache%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "LargeSystemCache" /t REG_DWORD /d "0" /f

echo %w% - Enabling Page Combining%b%


chcp 437 >nul 2>&1
PowerShell -Command "Enable-MMAgent -PageCombining" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Enabling Paging Executive%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "DisablePagingExecutive" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers" /v
"DpiMapIommuContiguous" /t REG_DWORD /d "0" /f

echo %w% - Enabling Prefetch and superfetch%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management\PrefetchParameters" /v "EnablingPrefetcher" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management\PrefetchParameters" /v "EnablingSuperfetch" /t REG_DWORD /d "1" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:4GB
chcp 437 >nul 2>&1
echo %w% - Enabling Memory Compression%b%
PowerShell -Command "Enable-MMAgent -MemoryCompression" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Setting Best SvcHostSplitThresholdInKB for your ram size%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"SvcHostSplitThresholdInKB" /t REG_DWORD /d "4194304" /f

echo %w% - Disabling Large System Cache%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "LargeSystemCache" /t REG_DWORD /d "0" /f

goto rest

:8GB
chcp 437 >nul 2>&1
echo %w% - Enabling Memory Compression%b%
PowerShell -Command "Enable-MMAgent -MemoryCompression" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Setting Best SvcHostSplitThresholdInKB for your ram size%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"SvcHostSplitThresholdInKB" /t REG_DWORD /d "8388608" /f

echo %w% - Disabling Large System Cache%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "LargeSystemCache" /t REG_DWORD /d "0" /f

goto rest

:12GB
chcp 437 >nul 2>&1
echo %w% - Enabling Memory Compression%b%
PowerShell -Command "Enable-MMAgent -MemoryCompression" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Setting Best SvcHostSplitThresholdInKB for your ram size%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"SvcHostSplitThresholdInKB" /t REG_DWORD /d "12582912" /f

echo %w% - Disabling Large System Cache%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "LargeSystemCache" /t REG_DWORD /d "0" /f

goto rest

:16GB

chcp 437 >nul 2>&1


echo %w% - Disabling Memory Compression%b%
PowerShell -Command "Disable-MMAgent -MemoryCompression" > nul 2>&1
chcp 65001 >nul 2>&1
echo %w% - Setting Best SvcHostSplitThresholdInKB for your ram size%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"SvcHostSplitThresholdInKB" /t REG_DWORD /d "16777216" /f

echo %w% - Enabling Large System Cache%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "LargeSystemCache" /t REG_DWORD /d "1" /f

goto rest

:24GB
chcp 437 >nul 2>&1
echo %w% - Disabling Memory Compression%b%
PowerShell -Command "Disable-MMAgent -MemoryCompression" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Setting Best SvcHostSplitThresholdInKB for your ram size%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"SvcHostSplitThresholdInKB" /t REG_DWORD /d "25165824" /f

echo %w% - Enabling Large System Cache%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "LargeSystemCache" /t REG_DWORD /d "1" /f

goto rest

:32GB
chcp 437 >nul 2>&1
echo %w% - Disabling Memory Compression%b%
PowerShell -Command "Disable-MMAgent -MemoryCompression" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Setting Best SvcHostSplitThresholdInKB for your ram size%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"SvcHostSplitThresholdInKB" /t REG_DWORD /d "33554432" /f

echo %w% - Enabling Large System Cache%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "LargeSystemCache" /t REG_DWORD /d "1" /f

goto rest

:48GB
chcp 437 >nul 2>&1
echo %w% - Disabling Memory Compression%b%
PowerShell -Command "Disable-MMAgent -MemoryCompression" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Setting Best SvcHostSplitThresholdInKB for your ram size%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"SvcHostSplitThresholdInKB" /t REG_DWORD /d "50331648" /f

echo %w% - Enabling Large System Cache%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "LargeSystemCache" /t REG_DWORD /d "1" /f

goto rest

:64GB
chcp 437 >nul 2>&1
echo %w% - Disabling Memory Compression%b%
PowerShell -Command "Disable-MMAgent -MemoryCompression" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Setting Best SvcHostSplitThresholdInKB for your ram size%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"SvcHostSplitThresholdInKB" /t REG_DWORD /d "67108864" /f

echo %w% - Enabling Large System Cache%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "LargeSystemCache" /t REG_DWORD /d "1" /f

goto rest

:128GB
chcp 437 >nul 2>&1
echo %w% - Disabling Memory Compression%b%
PowerShell -Command "Disable-MMAgent -MemoryCompression" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Setting Best SvcHostSplitThresholdInKB for your ram size%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control" /v
"SvcHostSplitThresholdInKB" /t REG_DWORD /d "134217728" /f

echo %w% - Enabling Large System Cache%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "LargeSystemCache" /t REG_DWORD /d "1" /f

goto rest

:rest

echo %w% - Disabling Page Combining%b%


chcp 437 >nul 2>&1
PowerShell -Command "Disable-MMAgent -PageCombining" > nul 2>&1
chcp 65001 >nul 2>&1

echo %w% - Disabling Paging Executive%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management" /v "DisablePagingExecutive" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers" /v
"DpiMapIommuContiguous" /t REG_DWORD /d "1" /f

echo %w% - Disabling Prefetch and superfetch%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management\PrefetchParameters" /v "EnablingPrefetcher" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management\PrefetchParameters" /v "EnablingSuperfetch" /t REG_DWORD /d "0" /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:g1
cls
echo.
echo.
echo.
echo. %p%███╗ ██╗██╗
██╗██╗██████╗ ██╗ █████╗ ██████╗ ██████╗ ██╗ ██╗
echo. %p%████╗ ██║██║
██║██║██╔══██╗██║██╔══██╗ ██╔════╝ ██╔══██╗██║ ██║
echo. %p%██╔██╗██║╚██╗
██╔╝██║██║ ██║██║███████║ ██║ ██╗ ██████╔╝██║ ██║
echo. %p%██║╚████║
╚████╔╝ ██║██║ ██║██║██╔══██║ ██║ ╚██╗██╔═══╝ ██║ ██║
echo. %p%██║ ╚███║
╚██╔╝ ██║██████╔╝██║██║ ██║ ╚██████╔╝██║ ╚██████╔╝
echo. %p%╚═╝ ╚══╝
╚═╝ ╚═╝╚═════╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝

echo %w% - Applying EXMTWEAKS Nvidia Profile Inspector Profile (optimizes nvidia
control panel 3D settings and much more) %b%
start "" /wait "C:\exm\[Link]" "C:\exm\Free NVPI EXM Profile
[Link]"

echo %w% - Forcing Contigous Memory Allocation %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "PreferSystemMemoryContiguous" /t REG_DWORD /d "1" /f

for /f %%i in ('wmic path Win32_VideoController get PNPDeviceID') do set "str=%%i"


(
echo %w%- Deleting GPU Device Priority %b%
[Link] add "HKLM\System\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\Affinity Policy" /v "DevicePriority" /f

echo %w%- Removing Msi GPU Limits %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\MessageSignaledInterruptProperties" /v "MessageNumberLimit" /f

echo %w%- Enabling MSI Mode on GPU if supported %b%


[Link] add "HKLM\System\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\MessageSignaledInterruptProperties" /v "MSISupported" /t REG_DWORD /d
"1" /f
)

echo %w%- Disabling HDCP%b%


for /f %%m in ('wmic path Win32_VideoController get
PNPDeviceID^| findstr /L "PCI\VEN_"') do (
for /f "tokens=3" %%a in ('[Link] query "HKLM\SYSTEM\ControlSet001\Enum\%%m"
/v "Driver"') do (
for /f %%m in ('echo %w%- %%a ^| findstr "{"') do (
[Link] add "HKLM\System\ControlSet001\Control\Class\%%m" /v
"RMHdcpKeyglobZero" /t REG_DWORD /d "1" /f
)
)
)

echo %w%- Disabling Preemption%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm" /v
"DisablePreemption" /t Reg_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm" /v
"DisableCudaContextPreemption" /t Reg_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "GPUPreemptionLevel" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "ComputePreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnableMidGfxPreemptionVGPU" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnableMidBufferPreemptionForHighTdrTimeout" /t REG_DWORD /d
"0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnableAsyncMidBufferPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnableSCGMidBufferPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "PerfAnalyzeMidBufferPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnableMidGfxPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnableMidBufferPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnableCEPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "DisableCudaContextPreemption" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "DisablePreemptionOnS3S4" /t REG_DWORD /d "1" /f

echo %w% - Setting NVIDIA Latency Tolerance%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "D3PCLatency" /t REG_DWORD /d "1" /f

echo %w% - Disabling NVIDIA Telemetry%b%


reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "NvBackend" /f
schtasks /change /Disable /tn "NvTmRep_CrashReport1_{B2FE1952-0186-46C3-BAEC-
A80AA35AC5B8}"
schtasks /change /Disable /tn "NvTmRep_CrashReport2_{B2FE1952-0186-46C3-BAEC-
A80AA35AC5B8}"
schtasks /change /Disable /tn "NvTmRep_CrashReport3_{B2FE1952-0186-46C3-BAEC-
A80AA35AC5B8}"
schtasks /change /Disable /tn "NvTmRep_CrashReport4_{B2FE1952-0186-46C3-BAEC-
A80AA35AC5B8}"
schtasks /change /Disable /tn "NvDriverUpdateCheckDaily_{B2FE1952-0186-46C3-BAEC-
A80AA35AC5B8}"
schtasks /change /Disable /tn "NVIDIA GeForce Experience SelfUpdate_{B2FE1952-0186-
46C3-BAEC-A80AA35AC5B8}"
schtasks /change /Disable /tn "NvTmMon_{B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}"
echo %w%- Disabling GpuEnergy Driver %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\GpuEnergyDrv" /v "Start" /t
REG_DWORD /d "4" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\GpuEnergyDr" /v "Start" /t
REG_DWORD /d "4" /f

echo %w% - Disabling Preemption%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm" /v
"DisablePreemption" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm" /v
"DisableCudaContextPreemption" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm" /v
"EnableCEPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm" /v
"DisablePreemptionOnS3S4" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm" /v
"ComputePreemption" /t REG_DWORD /d "0" /f

timeout /t 3 /nobreak > NUL

goto hardwareacceleration

:g2
cls
echo.
echo.
echo.
echo. %p% █████╗ ███╗
███╗██████╗ ██████╗ ██████╗ ██╗ ██╗
echo. %p%██╔══██╗████╗
████║██╔══██╗ ██╔════╝ ██╔══██╗██║ ██║
echo. %p
%███████║██╔████╔██║██║ ██║ ██║ ██╗ ██████╔╝██║ ██║
echo. %p
%██╔══██║██║╚██╔╝██║██║ ██║ ██║ ╚██╗██╔═══╝ ██║ ██║
echo. %p%██║ ██║██║
╚═╝ ██║██████╔╝ ╚██████╔╝██║ ╚██████╔╝
echo. %p%╚═╝ ╚═╝╚═╝
╚═╝╚═════╝ ╚═════╝ ╚═╝ ╚═════╝
timeout 1 /nobreak > NUL

for /f %i in ('wmic path Win32_VideoController get PNPDeviceID') do set "str=%i" (


echo %w%- Deleting GPU Device Priority %b%
[Link] add "HKLM\System\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\Affinity Policy" /v "DevicePriority" /f

echo %w%- Removing Msi GPU Limits %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\MessageSignaledInterruptProperties" /v "MessageNumberLimit" /f

echo %w%- Enabling MSI Mode on GPU if supported %b%


[Link] add "HKLM\System\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\MessageSignaledInterruptProperties" /v "MSISupported" /t REG_DWORD /d
"1" /f
)

echo %w%- Disabling GpuEnergy Driver %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\GpuEnergyDrv" /v "Start" /t
REG_DWORD /d "4" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\GpuEnergyDr" /v "Start" /t
REG_DWORD /d "4" /f

echo %w%- Disabling High-Bandwidth Digital Content Protection (HDCP) %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000\\DAL2_DATA__2_0\DisplayPath_4\EDID_D109_78E9\Option" /v
"ProtectionControl" /t REG_BINARY /d "0100000001000000" /f

echo %w% - Disabling Display Refresh Rate Override%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "3D_Refresh_Rate_Override_DEF" /t REG_DWORD /d "0" /f

echo %w% - Disabling SnapShot%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "AllowSnapshot" /t REG_DWORD /d "0" /f

echo %w% - Disabling Anti Aliasing%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "AAF_NA" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "AntiAlias_NA" /t REG_SZ /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "ASTT_NA" /t REG_SZ /d "0" /f

echo %w% - Disabling Subscriptions%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "AllowSubscription" /t REG_DWORD /d "0" /f

echo %w% - Disabling Anisotropic Filtering%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "AreaAniso_NA" /t REG_SZ /d "0" /f

echo %w% - Disabling Radeon Overlay%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "AllowRSOverlay" /t REG_SZ /d "false" /f

echo %w% - Enabling Adaptive DeInterlacing%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "Adaptive De-interlacing" /t REG_DWORD /d "1" /f

echo %w% - Disabling Skins%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "AllowSkins" /t REG_SZ /d "false" /f

echo %w% - Disabling Automatic Color Depth Reduction%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "AutoColorDepthReduction_NA" /t REG_DWORD /d "0" /f

echo %w% - Disabling Power Gating%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "DisableSAMUPowerGating" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "DisableUVDPowerGatingDynamic" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "DisableVCEPowerGating" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "DisablePowerGating" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "DisabledrmdmaPowerGating" /t REG_DWORD /d "1" /f

echo %w% - Disabling VCESW Clock Gating%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnablingVceSwClockGating" /t REG_DWORD /d "1" /f

echo %w% - Disabling UVD Clock Gating%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnablingUvdClockGating" /t REG_DWORD /d "1" /f

echo %w% - Disabling Active State Power Management (ASPM)%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnablingAspmL0s" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnablingAspmL1" /t REG_DWORD /d "0" /f

echo %w% - Disabling Ultra Low Power States (ULPS) %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnablingUlps" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "EnablingUlps_NA" /t REG_SZ /d "0" /f

echo %w% - Enabling De-Lag%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "KMD_DeLagEnabled" /t REG_DWORD /d "1" /f

echo %w% - Disabling Frame Rate Target%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "KMD_FRTEnabled" /t REG_DWORD /d "0" /f

echo %w% - Disabling DMA%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "DisabledMACopy" /t REG_DWORD /d "1" /f

echo %w% - Enabling BlockWrite%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "DisableBlockWrite" /t REG_DWORD /d "0" /f

echo %w% - Disabling Stutter Mode%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "StutterMode" /t REG_DWORD /d "0" /f

echo %w% - Disabling GPU Memory Clock Sleep State%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "PP_SclkDeepSleepDisable" /t REG_DWORD /d "1" /f

echo %w% - Disabling Thermal Throttling%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "PP_ThermalAutoThrottlingEnabled" /t REG_DWORD /d "0" /f

echo %w% - Disabling Preemption%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "KMD_EnableComputePreemption" /t REG_DWORD /d "0" /f

echo %w% - Setting Main3D%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000\UMD" /v "Main3D_DEF" /t REG_SZ /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000\UMD" /v "Main3D" /t REG_BINARY /d "3100" /f
echo %w% - Setting FlipQueueSize%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000\UMD" /v "FlipQueueSize" /t REG_BINARY /d "3100" /f

echo %w% - Setting Shader Cache Size%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000\UMD" /v "ShaderCache" /t REG_BINARY /d "3200" /f

echo %w% - Configuring TFQ%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000\UMD" /v "TFQ" /t REG_BINARY /d "3200" /f

echo %w%- Disabling Preemption %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"EnablePreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"GPUPreemptionLevel" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"EnableAsyncMidBufferPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"EnableMidGfxPreemptionVGPU" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"EnableMidBufferPreemptionForHighTdrTimeout" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"EnableSCGMidBufferPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"PerfAnalyzeMidBufferPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"EnableMidGfxPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"EnableMidBufferPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"EnableCEPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"DisableCudaContextPreemption" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"DisablePreemptionOnS3S4" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"ComputePreemptionLevel" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Scheduler" /v
"DisablePreemption" /t REG_DWORD /d "1" /f

echo %w% - Disabling GPU Power Down%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-
08002be10318}\0000" /v "PP_GPUPowerDownEnabled" /t REG_DWORD /d "1" /f

echo %w% - Disabling AMD Logging%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\amdlog" /v "Start" /t REG_DWORD
/d "4" /f

echo %w%- Latency Tolernace %b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "ExitLatency" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"ExitLatencyCheckEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "Latency" /t REG_DWORD
/d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceDefault" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "LatencyToleranceFSVP"
/t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyTolerancePerfOverride" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceScreenOffIR" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceVSyncEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"RtlCapabilityCheckLatency" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"QosManagesIdleProcessors" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DisableVsyncLatencyUpdate" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DisableSensorWatchdog" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"CoalescingTimerInterval" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"InterruptSteeringDisabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LowLatencyScalingPercentage" /t REG_DWORD /d "100" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HighPerformance" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"HighestPerformance" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MinimumThrottlePercent" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MaximumThrottlePercent" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MaximumPerformancePercent" /t REG_DWORD /d "100" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"InitialUnparkCount" /t REG_DWORD /d "100" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyActivelyUsed" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyIdleLongTime" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyIdleMonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyIdleNoContext" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyIdleShortTime" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyIdleVeryLongTime" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceIdle0" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceIdle0MonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceIdle1" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceIdle1MonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceMemory" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceNoContext" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceNoContextMonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceOther" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceTimerPeriod" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultMemoryRefreshLatencyToleranceActivelyUsed" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultMemoryRefreshLatencyToleranceMonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultMemoryRefreshLatencyToleranceNoContext" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "Latency" /t REG_DWORD
/d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MiracastPerfTrackGraphicsLatency" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MonitorLatencyTolerance" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MonitorRefreshLatencyTolerance" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "TransitionLatency" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DisableVsyncLatencyUpdate" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DisableSensorWatchdog" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"InterruptSteeringDisabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "ExitLatency" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"ExitLatencyCheckEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "Latency" /t REG_DWORD
/d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceDefault" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "LatencyToleranceFSVP"
/t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyTolerancePerfOverride" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceScreenOffIR" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LatencyToleranceVSyncEnabled" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"RtlCapabilityCheckLatency" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"LowLatencyScalingPercentage" /t REG_DWORD /d "100" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MaxIAverageGraphicsLatencyInOneBucket" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyActivelyUsed" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyIdleLongTime" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyIdleMonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyIdleNoContext" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyIdleShortTime" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultD3TransitionLatencyIdleVeryLongTime" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceIdle0" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceIdle0MonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceIdle1" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceIdle1MonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceMemory" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceNoContext" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceNoContextMonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceOther" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultLatencyToleranceTimerPeriod" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultMemoryRefreshLatencyToleranceActivelyUsed" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultMemoryRefreshLatencyToleranceMonitorOff" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"DefaultMemoryRefreshLatencyToleranceNoContext" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MaxIAverageGraphicsLatencyInOneBucket" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "Latency" /t REG_DWORD
/d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MiracastPerfTrackGraphicsLatency" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MonitorLatencyTolerance" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v
"MonitorRefreshLatencyTolerance" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "TransitionLatency" /t
REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers" /v
"MonitorLatencyTolerance" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers" /v
"MonitorRefreshLatencyTolerance" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"MonitorLatencyTolerance" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Power" /v
"MonitorRefreshLatencyTolerance" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers" /v
"RMDisablePostL2Compression" /t REG_DWORD /d "1" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers" /v
"RmDisableRegistryCaching" /t REG_DWORD /d "1" /f

echo %w%- Vram %b%


fsutil behavior query memoryusage
fsutil behavior set memoryusage 2

goto hardwareacceleration
:hardwareacceleration
cls
echo.
echo.
echo.
echo. %p% ██████╗ ██████╗
██╗ ██╗ ██╗ ██╗ ██╗ ██╗ █████╗ █████╗
echo. %p%██╔════╝
██╔══██╗██║ ██║ ██║ ██║ ██║ ██╗ ██║██╔══██╗██╔══██╗
echo. %p%██║ ██╗
██████╔╝██║ ██║ ███████║ ╚██╗████╗██╔╝███████║██║ ╚═╝
echo. %p%██║ ╚██╗██╔═══╝
██║ ██║ ██╔══██║ ████╔═████║ ██╔══██║██║ ██╗
echo. %p%╚██████╔╝██║
╚██████╔╝ ██║ ██║ ╚██╔╝ ╚██╔╝ ██║ ██║╚█████╔╝
echo. %p% ╚═════╝ ╚═╝
╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚════╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════"%w%
echo.
echo. %p%[%w%1%p
%]%w% GPU Hardware Acceleration Off (Reccomended)
echo.
echo. %p%[%w%2%p
%]%w% GPU Hardware Acceleration On (Default)
echo.
echo.
echo.
%p%[%w%M%p%]%w% Back to menu
echo.
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════"%w%
echo. %W%Enables/Disables Gpu
hardware Accelerated Schedueling, in most cases its better disabled
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════"%w%
echo.
echo.

set /p input=:
if /i %input% == 1 goto hwacoff
if /i %input% == 2 goto hwacon
if /i %input% == M CLS & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenue
:RedirectMenu
cls
goto :hardwareacceleration

:HWACon
echo %w%- Enabling Hardware Acceleration %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers" /v
"HwSchMode" /t REG_DWORD /d 2 /f
echo.
echo.
echo.
echo. %b
%"═══════════════════════════════════════════════════════"
echo. %w% Operation Completed,
Press any key to continue...
echo. %b
%"═══════════════════════════════════════════════════════"
pause > nul
cls
goto menu

:HWACoff
echo %w%- Disabling Hardware Acceleration %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers" /v
"HwSchMode" /t REG_DWORD /d 1 /f
echo.
echo.
echo.
echo. %b
%"═══════════════════════════════════════════════════════"
echo. %w% Operation Completed,
Press any key to continue...
echo. %b
%"═══════════════════════════════════════════════════════"
pause > nul
cls
goto menu

:6
cls
echo.
echo.
echo.
echo. %p%██╗ ██╗ ██████╗██████╗
████████╗ ██╗ ██╗███████╗ █████╗ ██╗ ██╗ ██████╗
echo. %p%██║ ██║██╔════╝██╔══██╗
╚══██╔══╝ ██║ ██╗ ██║██╔════╝██╔══██╗██║ ██╔╝██╔════╝
echo. %p%██║ ██║╚█████╗ ██████╦╝
██║ ╚██╗████╗██╔╝█████╗ ███████║█████═╝ ╚█████╗
echo. %p%██║ ██║ ╚═══██╗██╔══██╗
██║ ████╔═████║ ██╔══╝ ██╔══██║██╔═██╗ ╚═══██╗
echo. %p%╚██████╔╝██████╔╝██████╦╝
██║ ╚██╔╝ ╚██╔╝ ███████╗██║ ██║██║ ╚██╗██████╔╝
echo. %p% ╚═════╝ ╚═════╝ ╚═════╝
╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo.
echo. %p%[%w%1%p%]
%w% Apply General Usb Optimizations
echo.
echo.
echo. %p
%[%w%M%p%]%w% Back to menu
echo.
echo. %p
%[%w%R%p%]%w% Revert
echo.
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo. %W%Applies a bunch of usb
related optimizations, disables selective suspend etc...
echo. %b
%"═══════════════════════════════════════════════════════════════════════════════"%
w%
echo.
echo.

set /p input=:
if /i %input% == 1 goto usb
if /i %input% == R goto revertusb
if /i %input% == M CLS & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenue
:RedirectMenu
cls
goto :6

:revertusb
CLS
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██╗███████╗██████╗ ████████╗
echo. %p
%██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝
echo. %p
%██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║
echo. %p
%██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║
echo. %p%██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║
echo. %p%╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
echo.
echo.
for /f %%i in ('wmic path Win32_USBController get PNPDeviceID^| findstr /l "PCI\
VEN_"') do (
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"AllowIdleIrpInD3" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"D3ColdSupported" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"DeviceSelectiveSuspended" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"EnableSelectiveSuspend" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"EnhancedPowerManagementEnabled" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"SelectiveSuspendEnabled" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"SelectiveSuspendOn" /f
)

echo %w% - Thread Priority%b%


[Link] delete "HKLM\SYSTEM\CurrentControlSet\Services\usbxhci\Parameters" /v
"ThreadPriority" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Services\USBHUB3\Parameters" /v
"ThreadPriority" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm\Parameters" /v
"ThreadPriority" /f
[Link] delete "HKLM\SYSTEM\CurrentControlSet\Services\NDIS\Parameters" /v
"ThreadPriority" /f
echo %w% - Enabling USB Selective Suspend%b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\USB" /v
"DisableSelectiveSuspend" /t REG_DWORD /d "0" /f

echo %w% - Enabing MSI mode on usb%b%


for /f %%i in ('wmic path Win32_USBController get PNPDeviceID') do set "str=%%i" &
(
echo %w% - DEL USB Device Priority %b%
[Link] delete "HKLM\System\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\Affinity Policy" /v "DevicePriority" /f
echo %w% -Enabling MSI Mode on USB %b%
[Link] delete "HKLM\System\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\MessageSignaledInterruptProperties" /v "MSISupported" /f
)
echo.
echo.
echo.
echo. %b
%"═══════════════════════════════════════════════════════"
echo. %w% Operation Completed,
Press any key to continue...
echo. %b
%"═══════════════════════════════════════════════════════"
pause > nul
cls
goto menu

:usb
echo %w% - Disabling USB PowerSavings%b%
for /f %%i in ('wmic path Win32_USBController get PNPDeviceID^| findstr /l "PCI\
VEN_"') do (
[Link] add "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"AllowIdleIrpInD3" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"D3ColdSupported" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"DeviceSelectiveSuspended" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"EnableSelectiveSuspend" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"EnhancedPowerManagementEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"SelectiveSuspendEnabled" /t REG_DWORD /d "0" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Enum\%%i\Device Parameters" /v
"SelectiveSuspendOn" /t REG_DWORD /d "0" /f

echo %w% - Thread Priority%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\usbxhci\Parameters" /v
"ThreadPriority" /t REG_DWORD /d "31" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\USBHUB3\Parameters" /v
"ThreadPriority" /t REG_DWORD /d "31" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm\Parameters" /v
"ThreadPriority" /t REG_DWORD /d "31" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\NDIS\Parameters" /v
"ThreadPriority" /t REG_DWORD /d "31" /f

echo %w% - Disabling USB Selective Suspend%b%


[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\USB" /v
"DisableSelectiveSuspend" /t REG_DWORD /d "1" /f

echo %w% - Enabing MSI mode on usb%b%


for /f %%i in ('wmic path Win32_USBController get PNPDeviceID') do set "str=%%i" &
(
echo %w% - DEL USB Device Priority %b%
[Link] delete "HKLM\System\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\Affinity Policy" /v "DevicePriority" /f
echo %w% -Enabling MSI Mode on USB %b%
[Link] add "HKLM\System\CurrentControlSet\Enum\%%i\Device Parameters\Interrupt
Management\MessageSignaledInterruptProperties" /v "MSISupported" /t REG_DWORD /d
"1" /f
)
echo.
echo.
echo.
echo. %b
%"═══════════════════════════════════════════════════════"
echo. %w% Operation Completed,
Press any key to continue...
echo. %b
%"═══════════════════════════════════════════════════════"
pause > nul
cls
goto menu

:k1
cls
echo.
echo.
echo.
echo.=
echo. %p
%███╗ ███╗ █████╗ ██╗ ██╗ ██████╗███████╗ █████╗ ███╗ ██╗██████╗ ██╗
██╗██████╗
echo. %p
%████╗ ████║██╔══██╗██║ ██║██╔════╝██╔════╝ ██╔══██╗████╗ ██║██╔══██╗ ██║
██╔╝██╔══██╗
echo. %p
%██╔████╔██║██║ ██║██║ ██║╚█████╗ █████╗ ███████║██╔██╗██║██║ ██║ █████═╝
██████╦╝
echo. %p
%██║╚██╔╝██║██║ ██║██║ ██║ ╚═══██╗██╔══╝ ██╔══██║██║╚████║██║ ██║ ██╔═██╗
██╔══██╗
echo. %p
%██║ ╚═╝ ██║╚█████╔╝╚██████╔╝██████╔╝███████╗ ██║ ██║██║ ╚███║██████╔╝ ██║
╚██╗██████╦╝
echo. %p
%╚═╝ ╚═╝ ╚════╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ ╚══╝╚═════╝ ╚═╝
╚═╝╚═════╝
echo.
echo.
echo.
echo.
echo %w% - Disabling Filter Keys (the filterkeys app is completely useless placebo,
dont use it for the love of god)%b%
[Link] add "HKCU\Control Panel\Accessibility\Keyboard Response" /v "Flags" /t
REG_SZ /d "122" /f
echo %w% - Disabling Toggle Keys%b%
[Link] add "HKCU\Control Panel\Accessibility\ToggleKeys" /v "Flags" /t REG_SZ /d
"58" /f
echo %w% - Disabling Sticky Keys%b%
[Link] add "HKCU\Control Panel\Accessibility\StickyKeys" /v "Flags" /t REG_SZ /d
"506" /f
echo %w% - Disabling Mouse Keys%b%
[Link] add "HKCU\Control Panel\Accessibility\MouseKeys" /v "Flags" /t REG_SZ /d
"0" /f

echo %w% - Disabling Mouse Acceleration%b%


[Link] add "HKCU\Control Panel\Mouse" /v "MouseSpeed" /t REG_SZ /d "0" /f
[Link] add "HKCU\Control Panel\Mouse" /v "MouseThreshold1" /t REG_SZ /d "0" /f
[Link] add "HKCU\Control Panel\Mouse" /v "MouseThreshold2" /t REG_SZ /d "0" /f

echo %w% - Enabling 1:1 Pixel Mouse Movements%b%


[Link] add "HKCU\Control Panel\Mouse" /v "MouseSensitivity" /t REG_SZ /d "10" /f

echo %w% - Reducing Keyboard Repeat Delay%b%


[Link] add "HKCU\Control Panel\Keyboard" /v "KeyboardDelay" /t REG_SZ /d "0" /f

echo %w% - Increasing Keyboard Repeat Rate%b%


[Link] add "HKCU\Control Panel\Keyboard" /v "KeyboardSpeed" /t REG_SZ /d "31" /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto kbm,

:3
:kbm
cls
echo.
echo.
echo. %p% ██╗
██╗██████╗ ███╗ ███╗
echo. %p% ██║
██╔╝██╔══██╗████╗ ████║
echo. %p% █████═╝
██████╦╝██╔████╔██║
echo. %p% ██╔═██╗
██╔══██╗██║╚██╔╝██║
echo. %p% ██║
╚██╗██████╦╝██║ ╚═╝ ██║
echo. %p% ╚═╝
╚═╝╚═════╝ ╚═╝ ╚═╝
echo. %b
%"═══════════════════════════════════════════════════════════════"%w%
echo.
echo. %p%[%w%1%p%]%w%
Apply KBM Registry Optimizations
echo.
echo. %p%[%w%2%p%]%w% Set
KBM Data Queue Size
echo.
echo.
echo. %p%[%w%M%p
%]%w% Back to menu
echo.
echo. %p%[%w%R%p
%]%w% Revert
echo.
echo. %b
%"════════════════════════════════════════════════════════════════"
echo. %w% Optimizes a bunch of mouse
and keyboard related registry settings
echo. %b
%"════════════════════════════════════════════════════════════════"
echo.

set /p input=:
if /i %input% == 1 goto k1
if /i %input% == 2 goto k2
if /i %input% == r goto revertkeyboard
if /i %input% == M cls & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect
:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto :kbm

:revertkeyboard
CLS
echo.
echo.
echo. %p%██████╗
███████╗██╗ ██╗███████╗██████╗ ████████╗
echo. %p
%██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗╚══██╔══╝
echo. %p
%██████╔╝█████╗ ╚██╗ ██╔╝█████╗ ██████╔╝ ██║
echo. %p
%██╔══██╗██╔══╝ ╚████╔╝ ██╔══╝ ██╔══██╗ ██║
echo. %p%██║
██║███████╗ ╚██╔╝ ███████╗██║ ██║ ██║
echo. %p%╚═╝
╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
echo.
echo.

[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\mouclass\Parameters" /v


"MouseDataQueueSize" /t REG_DWORD /d "256" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\kbdclass\Parameters" /v
"KeyboardDataQueueSize" /t REG_DWORD /d "256" /f

[Link] delete "HKCU\Control Panel\Accessibility\Keyboard Response" /v "Flags" /f

[Link] delete "HKCU\Control Panel\Accessibility\ToggleKeys" /v "Flags" /f

[Link] delete "HKCU\Control Panel\Accessibility\StickyKeys" /v "Flags" /f

[Link] delete "HKCU\Control Panel\Accessibility\MouseKeys" /v "Flags" /f

[Link] add "HKCU\Control Panel\Mouse" /v "MouseSensitivity" /t REG_SZ /d "10" /f

[Link] add "HKCU\Control Panel\Keyboard" /v "KeyboardDelay" /t REG_SZ /d "10" /f

[Link] add "HKCU\Control Panel\Keyboard" /v "KeyboardSpeed" /t REG_SZ /d "31" /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:k2
cls
echo.
echo.
echo.

echo.
%p% ██╗ ██╗██████╗ ███╗ ███╗
echo.
%p% ██║ ██╔╝██╔══██╗████╗ ████║
echo.
%p% █████═╝ ██████╦╝██╔████╔██║
echo.
%p% ██╔═██╗ ██╔══██╗██║╚██╔╝██║
echo.
%p% ██║ ╚██╗██████╦╝██║ ╚═╝ ██║
echo.
%p% ╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════════════════"
echo.
echo. %p%[%w%1%p%]%w% High end
CPU %p%[%w%2%p%]%w% Mid end CPU %p%[%w%3%p%]%w% Low end CPU
echo.
echo.
echo. %p%%p%%p%%p%
%p%[%w%T%p%]%w% Open Task Manager
echo.
echo. %p%%p%%p%%p%
%p%[%w%M%p%]%w% Menu
echo.
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════════════════"
echo. %w% The lower
the value, the less peripheral latency you will have
echo. %w% But it may cause
KBM stutters and lag on lower end pc's if the value is too high
echo.
echo. %w% Comment Your CPU under the
tutorial youtube video, and we will tell you which value to use
echo. %b
%"═════════════════════════════════════════════════════════════════════════════════
══════════════════"
echo.
set /p input=:
if /i %input% == 1 goto 14v
if /i %input% == 2 goto 17v
if /i %input% == 3 goto 20v
if /i %input% == T start taskmgr & goto k2
if /i %input% == M cls & goto Menu
) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto Redirectmouse

:Redirectmouse
cls
goto :mouse

:14v
echo %w% - 14 %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\mouclass\Parameters" /v
"MouseDataQueueSize" /t REG_DWORD /d "20" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\kbdclass\Parameters" /v
"KeyboardDataQueueSize" /t REG_DWORD /d "20" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:17v
echo %w% - 17 %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\mouclass\Parameters" /v
"MouseDataQueueSize" /t REG_DWORD /d "23" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\kbdclass\Parameters" /v
"KeyboardDataQueueSize" /t REG_DWORD /d "23" /f

echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:20v
echo %w% - 20 %b%
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\mouclass\Parameters" /v
"MouseDataQueueSize" /t REG_DWORD /d "32" /f
[Link] add "HKLM\SYSTEM\CurrentControlSet\Services\kbdclass\Parameters" /v
"KeyboardDataQueueSize" /t REG_DWORD /d "32" /f
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

:12
:clean
cls
echo.
echo.
echo. %p% █████╗
██╗ ███████╗ █████╗ ███╗ ██╗
echo. %p
%██╔══██╗██║ ██╔════╝██╔══██╗████╗ ██║
echo. %p%██║
╚═╝██║ █████╗ ███████║██╔██╗██║
echo. %p%██║
██╗██║ ██╔══╝ ██╔══██║██║╚████║
echo. %p
%╚█████╔╝███████╗███████╗██║ ██║██║ ╚███║
echo. %p% ╚════╝
╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚══╝
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
%w%
echo.
echo. %p%[%w%1%p%]%w% Clean
Temporary Device Data %p%[%w%2%p%]%w% Windows Clean Manager
echo.
echo.
echo. %p%
[%w%M%p%]%w% Back to menu
echo.
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
echo. %W% Cleans a
bunch of temporary data off your pc
echo. %W% Deletes old
drivers, cache, logs and a lot more
echo. %b
%"════════════════════════════════════════════════════════════════════════════════"
echo.
set /p input=:
if /i %input% == 1 goto c1
if /i %input% == 2 goto c2

if /i %input% == M cls & goto menu

) ELSE (
echo Invalid Input & goto MisspellRedirect

:MisspellRedirect
cls
echo Misspell Detected
timeout 2
goto RedirectMenu

:RedirectMenu
cls
goto 12

:c1
cls
echo %w% - Cleaning Useless Device Data...%b%
chcp 437 > nul
@echo on
POWERSHELL "$Devices = Get-PnpDevice | ? Status -eq Unknown;foreach ($Device in
$Devices) { &\"pnputil\" /remove-device $[Link] }"
@echo off
chcp 65001 > nul
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto 12

:c2
cls
start [Link]
echo.
echo.
echo.
echo.
%b%╔═══════════════════════════════════════════════════════════════╗
echo.
%b%║ %w% * Operation Completed * Press any key to continue... %b%║
echo.
%b%╚═══════════════════════════════════════════════════════════════╝
echo.

pause > nul


cls
goto menu

You might also like