::Windows 10 Registry Tweaks v1.0
::This script applies some registry tweaks in Windows 10 to maximize performance.
From Askvg: https://www.askvg.com/collection-of-registry-tweaks-for-windows-7/
- AutoEndTasks – Forces Windows to automatically end user services when the user logs off or shuts down the computer. It’ll prevent the “Closing apps and shutting down, This app is preventing shutdown” screen from appearing. Check this topic for detailed info.
- HungAppTimeout – Reduces system waiting time before killing user processes when the user clicks on “End Task” button in Task Manager.
- MenuShowDelay – Decreases menus show delay time, it’ll make the menus show faster upon clicking.
- WaitToKillAppTimeout – Reduces system waiting time before killing user processes when the user logs off or shuts down the computer.
- LowLevelHooksTimeout – Reduces system waiting time before killing not responding services.
- MouseHoverTime – Reduces popup delay time to show popup description faster when you move mouse cursor over an item.
- NoLowDiskSpaceChecks – Disables the low disk space check so that you don’t get the annoying low disk space notification in system tray.
- LinkResolveIgnoreLinkInfo – Prevents Windows from wasting time in searching for a program which no longer exists in your system when you try to open its shortcut.
- NoResolveSearch – Prevents Windows from searching for the disk drive to resolve a shortcut.
- NoResolveTrack – Prevents Windows from using NTFS file system’s tracking feature to resolve a shortcut.
- NoInternetOpenWith – Disables “Search on Internet” prompt in “Open with” window so that you can directly see available programs list.
- WaitToKillServiceTimeout – Reduces system waiting time before stopping services when the services are notified about shut down process.
Misc:
- Disable “function Automatically pick an accent color from my background” for better performance
- Disable Cortana for better performance
Disable several visual FX:
- ::Animate controls and elements inside windows
- ::Fade or slide menus into view
- ::Fade or slide ToolTips into view
- ::Fade out menu items after clicking
- ::Show shadows under mouse pointer
- ::Show shadows under windows
- ::Slide open combo boxes
- ::Smooth-scroll list boxes
@Echo Off
::Windows 10 Registry Tweaks v1.0
::A few tweaks to optimize performance of Windows 10 computers.
Cls
Echo Windows 10 Tweaks
Echo Please note that this script needs to be run as an Administrator...
Echo.
Echo|set /p="Enabling all desktop icons : "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /t reg_dword /d 1 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t reg_dword /d 0 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t reg_dword /d 0 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /t reg_dword /d 0 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}" /t reg_dword /d 0 /f > NUL
REG ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Bags\1\Desktop" /V FFLAGS /T REG_DWORD /D "1075839525" /F > NUL
Echo [92mOK![0m
Echo|set /p="Copy To" and "Move To" options in files and folders context menu : "
reg add "HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To" /ve /d "{C2FBB630-2971-11D1-A18C-00C04FD75D13}" /f > NUL
reg add "HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To" /ve /d "{C2FBB631-2971-11D1-A18C-00C04FD75D13}" /f > NUL
Echo [92mOK![0m
Echo|set /p="Enable Force Windows to automatically end user services when the user logs off : "
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v AutoEndTasks /t REG_SZ /d 1 /f > NUL
Echo [92mOK![0m
Echo|set /p="Reduce system waiting time before killing user processes (5000 to 1000) : "
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v HungAppTimeout /t REG_SZ /d 1000 /f > NUL
Echo [92mOK![0m
Echo|set /p="Decrease menus show delay time (400 to 8) : "
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v MenuShowDelay /t REG_SZ /d 8 /f > NUL
Echo [92mOK![0m
Echo|set /p="Reduce system waiting time before killing user processes (2000) : "
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WaitToKillAppTimeout /t REG_SZ /d 2000 /f > NUL
Echo [92mOK![0m
Echo|set /p="Reduce system waiting time before killing not responding services (1000) : "
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v LowLevelHooksTimeout /t REG_SZ /d 1000 /f > NUL
Echo [92mOK![0m
Echo|set /p="Reduce popup delay time to show popup description faster (400 to 8) : "
reg add "HKEY_CURRENT_USER\Control Panel\Mouse" /v MouseHoverTime /t REG_SZ /d 8 /f > NUL
Echo [92mOK![0m
Echo|set /p="Disable the low disk space check : "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoLowDiskSpaceChecks /t REG_DWORD /d 1 /f > NUL
Echo [92mOK![0m
Echo|set /p="Prevent Windows from wasting time in searching for a program : "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v LinkResolveIgnoreLinkInfo /t REG_DWORD /d 1 /f > NUL
Echo [92mOK![0m
Echo|set /p="Prevent Windows from searching for the disk drive to resolve a shortcut : "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoResolveSearch /t REG_DWORD /d 1 /f > NUL
Echo [92mOK![0m
Echo|set /p="Prevents Windows from using NTFS file system's tracking feature : "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoResolveTrack /t REG_DWORD /d 1 /f > NUL
Echo [92mOK![0m
Echo|set /p="Disables Search on Internet prompt in Open with window : "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoInternetOpenWith /t REG_DWORD /d 1 /f > NUL
Echo [92mOK![0m
Echo|set /p="Reduce system waiting time before stopping services : "
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control" /v WaitToKillServiceTimeout /t REG_SZ /d 2000 /f > NUL
Echo [92mOK![0m
Echo|set /p="Set Search Box to Icon Only : "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /d 1 /f > NUL
Echo [92mOK![0m
Echo|set /p="Disable: Automatically pick an accent color from my background : "
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v AutoColorization /t REG_DWORD /d 0 /f > NUL
Echo [92mOK![0m
Echo|set /p="Disable Cortana : "
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 0 /f > NUL
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortanaAboveLock /t REG_DWORD /d 0 /f > NUL
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowSearchToUseLocation /t REG_DWORD /d 0 /f > NUL
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v DisableWebSearch /t REG_DWORD /d 1 /f > NUL
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v ConnectedSearchUseWeb /t REG_DWORD /d 0 /f > NUL
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v ConnectedSearchUseWebOverMeteredConnections /t REG_DWORD /d 0 /f > NUL
Echo [92mOK![0m
Echo|set /p="Disable Cortana User : "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /v CortanaConsent /t REG_DWORD /d 0 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /v AllowSearchToUseLocation /t REG_DWORD /d 0 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /v BingSearchEnabled /t REG_DWORD /d 0 /f > NUL
Echo [92mOK![0m
Echo|set /p="Set Visual Effects to Custom : "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" /v VisualFXSetting /t REG_DWORD /d 3 /f > NUL
Echo [92mOK![0m
Echo|set /p="Set Visual Effects to Best Performance : "
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\AnimateMinMax" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ComboBoxAnimation" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ControlAnimations" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\CursorShadow" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DragFullWindows" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DropShadow" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DWMAeroPeekEnabled" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DWMEnabled" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DWMSaveThumbnailEnabled" /ve /d "0" /f > NUL
::reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\FontSmoothing" /ve /d "2" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewAlphaSelect" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListBoxSmoothScrolling" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewShadow" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\MenuAnimation" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\SelectionFade" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\TaskbarAnimations" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\Themes" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ThumbnailsOrIcon" /ve /d "0" /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\TooltipAnimation" /ve /d "0" /f > NUL
::This disables the following 8 settings:
::Animate controls and elements inside windows
::Fade or slide menus into view
::Fade or slide ToolTips into view
::Fade out menu items after clicking
::Show shadows under mouse pointer
::Show shadows under windows
::Slide open combo boxes
::Smooth-scroll list boxes
REG ADD "HKEY_CURRENT_USER\Control Panel\Desktop" /v "UserPreferencesMask" /t REG_BINARY /d 9012038010000000 /f > NUL
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v DragFullWindows /t REG_SZ /d 0 /f > NUL
::reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v FontSmoothing /t REG_DWORD /d 2 /f > NUL
reg add "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" /v MinAnimate /t REG_SZ /d 0 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarAnimations /t REG_DWORD /d 0 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v IconsOnly /t REG_DWORD /d 1 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ListviewAlphaSelect /t REG_DWORD /d 0 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ListviewShadow /t REG_DWORD /d 0 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM" /v EnableAeroPeek /t REG_DWORD /d 0 /f > NUL
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM" /v AlwaysHibernateThumbnails /t REG_DWORD /d 0 /f > NUL
Echo [92mOK![0m
Echo.
Echo Update explorer :
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
taskkill /f /im explorer.exe
start explorer.exe
pause
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.