-
Notifications
You must be signed in to change notification settings - Fork 0
/
performance.bat
44 lines (42 loc) · 3.72 KB
/
performance.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@echo off
cls
net session >nul
if %errorlevel% == 0 goto mainexecution
echo Permissions inadequate, trying again as admin.
rem The following command tries to run itself (%0) as admin.
powershell "saps -filepath %0 -verb runas"
goto end
echo Press any key to begin configuration of visual styles.
pause >nul
:mainexecution
rem HKEY_USERS\.Default\Software\microsoft\windows\currentversion\explorer\VisualEffects
rem Set to 1 (Let Windows choose), 2 (All settings off), 3 (manual settings)
reg add HKU\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects /v VisualFXSetting /t reg_dword /d 00000003 /f
rem Value is DWORD 00000003 (manual)
rem Here the keys you can set to 00000000 (off) or to 00000001 (on)
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ControlAnimations]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ControlAnimations /v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\CursorShadow]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\CursorShadow /v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DragFullWindows]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DragFullWindows /v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DropShadow]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DropShadow /v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DWMAeroPeekEnabled]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DWMAeroPeekEnabled /v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DWMEnabled]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DWMEnabled /v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DWMSaveThumbnailEnabled]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DWMSaveThumbnailEnabled/v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\FontSmoothing]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\FontSmoothing /v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListBoxSmoothScrolling]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListBoxSmoothScrolling /v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewAlphaSelect]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewAlphaSelect /v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewShadow]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewShadow /v DefaultApplied /t reg_dword /d 00000001 /f
rem [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\MenuAnimation]
reg add HKCU_Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\MenuAnimation] /v DefaultApplied /t reg_dword /d 00000001 /f
rem All data = DefaultApplied = 00000001 (on) , 00000000 (off)
:end