├── ALL_IN_ONE_Executor.bat ├── Activate_Windows_Old_Photo_Viewer_on_Windows_10.reg ├── Add_Copy_path_to_context_menu.reg ├── Disable_Action_Center.reg ├── Disable_News_and_Interests_on_taskbar_feature_for_all_users.reg ├── Enable_News_and_Interests_on_taskbar_feature_for_all_users.reg ├── LICENSE ├── OneDrive_Uninstaller_v1.2.bat ├── QoS_Limiter.reg ├── README.md ├── RemoveXboxAppsBloat.bat ├── SSD_Optimizations.reg ├── darkmodetoggle ├── darkmodeOFF.bat ├── darkmodeOFF.reg ├── darkmodeON.bat └── darkmodeON.reg └── other_scripts ├── Remove-Windows10-Bloat.bat ├── Windows10Debloater-master.zip └── XanderBaatzTweaks.reg /ALL_IN_ONE_Executor.bat: -------------------------------------------------------------------------------- 1 | REG IMPORT "Disable_Action_Center.reg" 2 | REG IMPORT "QoS_Limiter.reg" 3 | REG IMPORT "SSD_Optimizations.reg" 4 | @echo -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* 5 | @echo -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* 6 | @echo . 7 | @echo !!!!! REGISTRY OPTIMISATIONS DONE !!!!! 8 | @echo . 9 | @echo -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* 10 | @echo -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* 11 | call "OneDrive_Uninstaller_v1.2.bat" 12 | @pause 13 | -------------------------------------------------------------------------------- /Activate_Windows_Old_Photo_Viewer_on_Windows_10.reg: -------------------------------------------------------------------------------- 1 | Windows Registry Editor Version 5.00 2 | 3 | [HKEY_CLASSES_ROOT\Applications\photoviewer.dll] 4 | 5 | [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell] 6 | 7 | [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open] 8 | "MuiVerb"="@photoviewer.dll,-3043" 9 | 10 | [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command] 11 | @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 12 | 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\ 13 | 6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\ 14 | 00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\ 15 | 25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\ 16 | 00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\ 17 | 6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\ 18 | 00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\ 19 | 5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\ 20 | 00,31,00,00,00 21 | 22 | [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget] 23 | "Clsid"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" 24 | 25 | [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print] 26 | 27 | [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command] 28 | @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 29 | 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\ 30 | 6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\ 31 | 00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\ 32 | 25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\ 33 | 00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\ 34 | 6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\ 35 | 00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\ 36 | 5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\ 37 | 00,31,00,00,00 38 | 39 | [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget] 40 | "Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}" 41 | -------------------------------------------------------------------------------- /Add_Copy_path_to_context_menu.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcja/Windows-10-tweaks/76df84e45fa7d5644ed7ab53a8587727964391de/Add_Copy_path_to_context_menu.reg -------------------------------------------------------------------------------- /Disable_Action_Center.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcja/Windows-10-tweaks/76df84e45fa7d5644ed7ab53a8587727964391de/Disable_Action_Center.reg -------------------------------------------------------------------------------- /Disable_News_and_Interests_on_taskbar_feature_for_all_users.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcja/Windows-10-tweaks/76df84e45fa7d5644ed7ab53a8587727964391de/Disable_News_and_Interests_on_taskbar_feature_for_all_users.reg -------------------------------------------------------------------------------- /Enable_News_and_Interests_on_taskbar_feature_for_all_users.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcja/Windows-10-tweaks/76df84e45fa7d5644ed7ab53a8587727964391de/Enable_News_and_Interests_on_taskbar_feature_for_all_users.reg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 tcja 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /OneDrive_Uninstaller_v1.2.bat: -------------------------------------------------------------------------------- 1 | @rem OneDrive Complete uninstaller batch process for Windows 10. 2 | @rem Run as administrator to completely delete all OneDrive components and files. 3 | @rem Written by TERRA Operative - 2016/08/31. V1.2 4 | @rem Feel free to distribute freely as long as you leave this entire file unchanged and intact, 5 | @rem and if you do make changes and adaptions, don't be a dick about attributing where due. 6 | @rem And most importantly, peace out and keep it real. 7 | 8 | @echo OFF 9 | 10 | @REM Set variables for coloured text 11 | SETLOCAL EnableDelayedExpansion 12 | for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do ( 13 | set "DEL=%%a" 14 | ) 15 | 16 | echo ------Windows 10 OneDrive Uninstaller V1.2------ 17 | echo. 18 | 19 | @rem This code block detects if the script is being running with admin privileges. If it isn't it pauses and then quits. 20 | NET SESSION >nul 2>&1 21 | IF %ERRORLEVEL% EQU 0 ( 22 | 23 | 24 | echo Administrator Privileges Detected! 25 | echo. 26 | ) ELSE ( 27 | 28 | echo. 29 | call :colorEcho 0C "########### ERROR - ADMINISTRATOR PRIVILEGES REQUIRED #############" 30 | echo. 31 | call :colorEcho 0C "# #" 32 | echo. 33 | call :colorEcho 0C "#" 34 | call :colorEcho 07 " This script must be run as administrator to work properly." 35 | call :colorEcho 0C " #" 36 | echo. 37 | call :colorEcho 0C "#" 38 | call :colorEcho 07 " If you're seeing this after clicking on a start menu icon," 39 | call :colorEcho 0C " #" 40 | echo. 41 | call :colorEcho 0C "#" 42 | call :colorEcho 07 " then right click on the file and select 'Run As Administrator'" 43 | call :colorEcho 0C " #" 44 | echo. 45 | call :colorEcho 0C "# #" 46 | echo. 47 | call :colorEcho 0C "###################################################################" 48 | echo. 49 | echo. 50 | 51 | PAUSE 52 | EXIT /B 1 53 | ) 54 | 55 | echo ----------------------------------------------- 56 | call :colorEcho 0C " WARNING" 57 | echo. 58 | call :colorEcho 0C " This script will completely and permanently" 59 | echo. 60 | call :colorEcho 0C " remove OneDrive from your computer." 61 | echo. 62 | call :colorEcho 0C " Make sure all OneDrive documents" 63 | echo. 64 | call :colorEcho 0C " that are stored locally are fully" 65 | echo. 66 | call :colorEcho 0C " backed up before proceeding." 67 | echo. 68 | echo ----------------------------------------------- 69 | echo. 70 | 71 | SET /P M= Press 'Y' to continue or any other key to exit. 72 | if %M% ==Y goto PROCESSKILL 73 | if %M% ==y goto PROCESSKILL 74 | 75 | EXIT /B 1 76 | 77 | 78 | @rem The following is based on info from here written by 'LK': 79 | @rem https://techjourney.net/disable-or-uninstall-onedrive-completely-in-windows-10/ 80 | 81 | 82 | @rem Terminate any OneDrive process 83 | :PROCESSKILL 84 | echo. 85 | echo Terminating OneDrive process. 86 | 87 | taskkill /f /im OneDrive.exe 88 | 89 | 90 | @rem Detect if OS is 32 or 64 bit 91 | reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set OS=32BIT || set OS=64BIT 92 | 93 | if %OS%==32BIT GOTO 32BIT 94 | if %OS%==64BIT GOTO 64BIT 95 | 96 | 97 | @rem Uninstall OneDrive app 98 | :32BIT 99 | echo. 100 | echo This is a 32-bit operating system. 101 | echo Removing OneDrive setup files. 102 | 103 | %SystemRoot%\System32\OneDriveSetup.exe /uninstall 104 | GOTO CLEAN 105 | 106 | :64BIT 107 | echo. 108 | echo This is a 64-bit operating system. 109 | echo Removing OneDrive setup files. 110 | 111 | %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall 112 | GOTO CLEAN 113 | 114 | 115 | @rem Clean and remove OneDrive remnants 116 | :CLEAN 117 | echo. 118 | echo Removing remaining OneDrive folders. 119 | 120 | rd "%UserProfile%\OneDrive" /Q /S 121 | rd "%LocalAppData%\Microsoft\OneDrive" /Q /S 122 | rd "%ProgramData%\Microsoft OneDrive" /Q /S 123 | rd "C:\OneDriveTemp" /Q /S 124 | 125 | echo. 126 | call :colorEcho 0C "If you see 'access denied' errors here, reboot and run this batch file again." 127 | echo. 128 | 129 | 130 | 131 | @rem Delete and remove OneDrive in file explorer folder tree registry key 132 | echo. 133 | echo Removing OneDrive registry keys. 134 | 135 | IF EXIST "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" REG Delete "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f 136 | IF EXIST "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" REG Delete "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f 137 | REG ADD "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v System.IsPinnedToNameSpaceTree /d "0" /t REG_DWORD /f 138 | 139 | echo. 140 | echo OneDrive Uninstall and cleaning completed. 141 | echo. 142 | 143 | PAUSE 144 | echo So long and thanks for all the fish... 145 | PING -n 2 127.0.0.1>nul 146 | EXIT /B 1 147 | 148 | 149 | @rem Settings for text colour 150 | 151 | :colorEcho 152 | echo off 153 | "%~2" 154 | findstr /v /a:%1 /R "^$" "%~2" nul 155 | del "%~2" > nul 2>&1i -------------------------------------------------------------------------------- /QoS_Limiter.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcja/Windows-10-tweaks/76df84e45fa7d5644ed7ab53a8587727964391de/QoS_Limiter.reg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Windows 10 tweak scripts 2 | This repo contains multiple scripts to optimize windows 10 3 | 4 | # Getting started 5 | Just lunch the **"ALL_IN_ONE_Executor.bat"** and it will run all files but ***"Disable_Action_Center.reg"*** and ***"Activate Windows Old Photo Viewer on Windows 10"*** (if you want them aswell just add them to the file) 6 | 7 | # Script description 8 | 9 | **darkmodetoggle** 10 | 11 | Toggles between dark mode and default theme (click on the appropriate .bat file for the desired action) 12 | 13 | **other_scripts** 14 | 15 | Bunch of alternate scripts for optimizing WIN 10 and removing annoying bloatware 16 | 17 | **Add_Copy_path_to_context_menu.reg** 18 | 19 | Adds the "Copy full path" to the context menu so no need to press shift anymore to get it 20 | 21 | **Disable_Action_Center.reg** 22 | 23 | Disables action center in the notification center 24 | 25 | **OneDrive_Uninstaller_v1.2.bat** 26 | 27 | Completely removes Microsoft OneDrive annoying bloatware 28 | 29 | **Disable_News_and_Interests_on_taskbar_feature_for_all_users.reg** 30 | 31 | Disables the news and interests widget on the taskbar, this has been forcefully installed since update Windows 10 21H1 32 | 33 | **Enable_News_and_Interests_on_taskbar_feature_for_all_users.reg** 34 | 35 | Enables the news and interests widget on the taskbar 36 | 37 | **QoS_Limiter.reg** 38 | 39 | By default, Windows reserves 20% of the bandwidth for its specific services limiting thus your bandwidth to achieve its full potential, this reg tweak fixes that issue by removing that default limit 40 | 41 | **SSD_Optimizations.reg** 42 | 43 | Disables Prefetch and Superfetch services which are useless on an SSD based OS 44 | 45 | **Activate_Windows_Old_Photo_Viewer_on_Windows 10.reg** 46 | 47 | Activates windows's old photo viewer 48 | 49 | **RemoveXboxAppsBloat.bat** 50 | 51 | Removes the Xbox Apps bloatware 52 | 53 | ***Use at your own risk!!!*** 54 | 55 | # Credits 56 | Some scripts are not of my own so all the credits may go to their respective author 57 | -------------------------------------------------------------------------------- /RemoveXboxAppsBloat.bat: -------------------------------------------------------------------------------- 1 | reg add "HKLM\System\CurrentControlSet\Services\xbgm" /v "Start" /t REG_DWORD /d "4" /f 2 | sc config XblAuthManager start= disabled 3 | sc config XblGameSave start= disabled 4 | sc config XboxGipSvc start= disabled 5 | sc config XboxNetApiSvc start= disabled 6 | schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTask" /Disable 7 | takeown /f "%WinDir%\System32\GameBarPresenceWriter.exe" /a 8 | icacls "%WinDir%\System32\GameBarPresenceWriter.exe" /grant:r Administrators:F /c 9 | taskkill /im GameBarPresenceWriter.exe /f 10 | move "C:\Windows\System32\GameBarPresenceWriter.exe" "C:\Windows\System32\GameBarPresenceWriter.OLD" 11 | schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTask" /Disable 12 | takeown /f "%WinDir%\System32\bcastdvr.exe" /a 13 | icacls "%WinDir%\System32\bcastdvr.exe" /grant:r Administrators:F /c 14 | taskkill /im bcastdvr.exe /f 15 | move C:\Windows\System32\bcastdvr.exe C:\Windows\System32\bcastdvr.OLD 16 | reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "AppCaptureEnabled" /t REG_DWORD /d "0" /f 17 | reg add "HKCU\Software\Microsoft\GameBar" /v "UseNexusForGameBarEnabled" /t REG_DWORD /d "0" /f 18 | reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "AudioCaptureEnabled" /t REG_DWORD /d "0" /f 19 | reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "CursorCaptureEnabled" /t REG_DWORD /d "0" /f 20 | reg add "HKCU\Software\Microsoft\GameBar" /v "ShowStartupPanel" /t REG_DWORD /d "0" /f 21 | reg add "HKCU\System\GameConfigStore" /v "GameDVR_Enabled" /t REG_DWORD /d "0" /f 22 | reg add "HKLM\Software\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t REG_DWORD /d "0" /f 23 | reg add "HKCU\Software\Microsoft\GameBar" /v "AllowAutoGameMode" /t REG_DWORD /d "0" /f -------------------------------------------------------------------------------- /SSD_Optimizations.reg: -------------------------------------------------------------------------------- 1 | Windows Registry Editor Version 5.00 2 | 3 | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Schedule] 4 | "Start"=dword:00000004 5 | 6 | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters] 7 | "EnableSuperfetch"=dword:00000000 8 | "EnablePrefetcher"=dword:00000000 9 | 10 | [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer] 11 | "DisableNotificationCenter"=dword:00000001 -------------------------------------------------------------------------------- /darkmodetoggle/darkmodeOFF.bat: -------------------------------------------------------------------------------- 1 | REG IMPORT "darkmodeOFF.reg" -------------------------------------------------------------------------------- /darkmodetoggle/darkmodeOFF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcja/Windows-10-tweaks/76df84e45fa7d5644ed7ab53a8587727964391de/darkmodetoggle/darkmodeOFF.reg -------------------------------------------------------------------------------- /darkmodetoggle/darkmodeON.bat: -------------------------------------------------------------------------------- 1 | REG IMPORT "darkmodeON.reg" -------------------------------------------------------------------------------- /darkmodetoggle/darkmodeON.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcja/Windows-10-tweaks/76df84e45fa7d5644ed7ab53a8587727964391de/darkmodetoggle/darkmodeON.reg -------------------------------------------------------------------------------- /other_scripts/Remove-Windows10-Bloat.bat: -------------------------------------------------------------------------------- 1 | @rem *** Disable Some Service *** 2 | sc stop DiagTrack 3 | sc stop diagnosticshub.standardcollector.service 4 | sc stop dmwappushservice 5 | sc stop WMPNetworkSvc 6 | sc stop WSearch 7 | 8 | sc config DiagTrack start= disabled 9 | sc config diagnosticshub.standardcollector.service start= disabled 10 | sc config dmwappushservice start= disabled 11 | REM sc config RemoteRegistry start= disabled 12 | REM sc config TrkWks start= disabled 13 | sc config WMPNetworkSvc start= disabled 14 | sc config WSearch start= disabled 15 | REM sc config SysMain start= disabled 16 | 17 | REM *** SCHEDULED TASKS tweaks *** 18 | REM schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable 19 | schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable 20 | schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable 21 | schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable 22 | schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable 23 | schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable 24 | schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable 25 | schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Disable 26 | schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable 27 | schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable 28 | schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Disable 29 | schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Disable 30 | 31 | REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable 32 | REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable 33 | REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable 34 | REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable *** Not sure if should be disabled, maybe related to S.M.A.R.T. 35 | REM schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable 36 | REM schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable 37 | REM schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable 38 | REM schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable 39 | REM The stubborn task Microsoft\Windows\SettingSync\BackgroundUploadTask can be Disabled using a simple bit change. I use a REG file for that (attached to this post). 40 | REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable 41 | REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable 42 | REM schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable 43 | REM schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable 44 | 45 | 46 | @rem *** Remove Telemetry & Data Collection *** 47 | reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f 48 | reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f 49 | reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f 50 | reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f 51 | reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f 52 | reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f 53 | reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f 54 | reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f 55 | reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f 56 | 57 | @REM Settings -> Privacy -> General -> Let apps use my advertising ID... 58 | reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f 59 | REM - SmartScreen Filter for Store Apps: Disable 60 | reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v EnableWebContentEvaluation /t REG_DWORD /d 0 /f 61 | REM - Let websites provide locally... 62 | reg add "HKCU\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f 63 | 64 | @REM WiFi Sense: HotSpot Sharing: Disable 65 | reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d 0 /f 66 | @REM WiFi Sense: Shared HotSpot Auto-Connect: Disable 67 | reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v value /t REG_DWORD /d 0 /f 68 | 69 | @REM Change Windows Updates to "Notify to schedule restart" 70 | reg add "HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v UxOption /t REG_DWORD /d 1 /f 71 | @REM Disable P2P Update downlods outside of local network 72 | reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v DODownloadMode /t REG_DWORD /d 0 /f 73 | 74 | 75 | REM *** Hide the search box from taskbar. You can still search by pressing the Win key and start typing what you're looking for *** 76 | REM 0 = hide completely, 1 = show only icon, 2 = show long search box 77 | reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f 78 | 79 | REM *** Disable MRU lists (jump lists) of XAML apps in Start Menu *** 80 | reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d 0 /f 81 | 82 | REM *** Set Windows Explorer to start on This PC instead of Quick Access *** 83 | REM 1 = This PC, 2 = Quick access 84 | REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 1 /f 85 | 86 | @rem Remove Apps 87 | PowerShell -Command "Get-AppxPackage *3DBuilder* | Remove-AppxPackage" 88 | PowerShell -Command "Get-AppxPackage *Getstarted* | Remove-AppxPackage" 89 | PowerShell -Command "Get-AppxPackage *WindowsAlarms* | Remove-AppxPackage" 90 | PowerShell -Command "Get-AppxPackage *WindowsCamera* | Remove-AppxPackage" 91 | PowerShell -Command "Get-AppxPackage *bing* | Remove-AppxPackage" 92 | PowerShell -Command "Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage" 93 | PowerShell -Command "Get-AppxPackage *OneNote* | Remove-AppxPackage" 94 | PowerShell -Command "Get-AppxPackage *people* | Remove-AppxPackage" 95 | PowerShell -Command "Get-AppxPackage *WindowsPhone* | Remove-AppxPackage" 96 | PowerShell -Command "Get-AppxPackage *photos* | Remove-AppxPackage" 97 | PowerShell -Command "Get-AppxPackage *SkypeApp* | Remove-AppxPackage" 98 | PowerShell -Command "Get-AppxPackage *solit* | Remove-AppxPackage" 99 | PowerShell -Command "Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage" 100 | PowerShell -Command "Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage" 101 | PowerShell -Command "Get-AppxPackage *zune* | Remove-AppxPackage" 102 | REM PowerShell -Command "Get-AppxPackage *WindowsCalculator* | Remove-AppxPackage" 103 | REM PowerShell -Command "Get-AppxPackage *WindowsMaps* | Remove-AppxPackage" 104 | PowerShell -Command "Get-AppxPackage *Sway* | Remove-AppxPackage" 105 | PowerShell -Command "Get-AppxPackage *CommsPhone* | Remove-AppxPackage" 106 | PowerShell -Command "Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage" 107 | PowerShell -Command "Get-AppxPackage *Microsoft.Messaging* | Remove-AppxPackage" 108 | PowerShell -Command "Get-AppxPackage *Facebook* | Remove-AppxPackage" 109 | PowerShell -Command "Get-AppxPackage *Twitter* | Remove-AppxPackage" 110 | PowerShell -Command "Get-AppxPackage *Drawboard PDF* | Remove-AppxPackage" 111 | 112 | 113 | @rem NOW JUST SOME TWEAKS 114 | REM *** Show hidden files in Explorer *** 115 | REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f 116 | 117 | REM *** Show super hidden system files in Explorer *** 118 | REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f 119 | 120 | REM *** Show file extensions in Explorer *** 121 | reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f 122 | 123 | 124 | 125 | REM *** Uninstall OneDrive *** 126 | start /wait "" "%SYSTEMROOT%\SYSWOW64\ONEDRIVESETUP.EXE" /UNINSTALL 127 | rd C:\OneDriveTemp /Q /S >NUL 2>&1 128 | rd "%USERPROFILE%\OneDrive" /Q /S >NUL 2>&1 129 | rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S >NUL 2>&1 130 | rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S >NUL 2>&1 131 | reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1 132 | reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1 133 | echo OneDrive has been removed. Windows Explorer needs to be restarted. 134 | pause 135 | start /wait TASKKILL /F /IM explorer.exe 136 | start explorer.exe -------------------------------------------------------------------------------- /other_scripts/Windows10Debloater-master.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tcja/Windows-10-tweaks/76df84e45fa7d5644ed7ab53a8587727964391de/other_scripts/Windows10Debloater-master.zip -------------------------------------------------------------------------------- /other_scripts/XanderBaatzTweaks.reg: -------------------------------------------------------------------------------- 1 | Windows Registry Editor Version 5.00 2 | 3 | ;USE AT YOUR OWN RISK! 4 | ;USE AT YOUR OWN RISK! 5 | ;USE AT YOUR OWN RISK! 6 | 7 | ;Revamped, Improved and compiled by Xander Baatz 8 | ;Kudos to Vishal Gupta (AskVG.com) for the base version 9 | ;Kudos to MarkC for the mouse acceleration fixes 10 | 11 | 12 | ;Disables Fullscreen Optimizations, GameDVR and GameBar which is known to cause stutter and low FPS in games. Also fixes most game crashes. 13 | [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\ApplicationManagement\AllowGameDVR] 14 | "value"="00000000" 15 | 16 | ;Same as above. 17 | [HKEY_CURRENT_USER\System\GameConfigStore] 18 | "GameDVR_Enabled"="0" 19 | "GameDVR_FSEBehavior"=dword:00000002 20 | "GameDVR_FSEBehaviorMode"=dword:00000002 21 | 22 | ;Same as above. 23 | [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR] 24 | "AllowGameDVR"="0" 25 | 26 | ;Unlocks the ability to modify sleeping CPU cores to improve performance and decrease stutter in games. 27 | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\943c8cb6-6f93-4227-ad87-e9a3feec08d1] 28 | "Attributes"="2" 29 | 30 | ;Improves system responsiveness and network speed. 31 | [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile] 32 | "SystemResponsiveness"="00000000" 33 | "NetworkThrottlingIndex"="fffffff" 34 | 35 | ;Marginally improves GPU performance and provides more power to games. 36 | [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games] 37 | "GPU Priority"="8" 38 | "Priority"="6" 39 | "Scheduling Category"="High" 40 | 41 | ;Adds the "Copy To..." ability from Windows 7, when you right click files or folders, for easier file management. 42 | [HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To] 43 | @="{C2FBB630-2971-11D1-A18C-00C04FD75D13}" 44 | 45 | ;Adds the "Move To..." ability from Windows 7, when you right click files or folders, for easier file management. 46 | [HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To] 47 | @="{C2FBB631-2971-11D1-A18C-00C04FD75D13}" 48 | 49 | ;Slightly improves RAM management and overall system speed. 50 | [HKEY_CURRENT_USER\Control Panel\Desktop] 51 | "AutoEndTasks"="1" 52 | "HungAppTimeout"="1000" 53 | "MenuShowDelay"="8" 54 | "WaitToKillAppTimeout"="2000" 55 | "LowLevelHooksTimeout"="1000" 56 | 57 | ;Disables unnecessary features present in the Explorer. 58 | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] 59 | "NoLowDiskSpaceChecks"=dword:00000001 60 | "LinkResolveIgnoreLinkInfo"=dword:00000001 61 | "NoResolveSearch"=dword:00000001 62 | "NoResolveTrack"=dword:00000001 63 | "NoInternetOpenWith"=dword:00000001 64 | 65 | ;Speeds up Shut Down time. 66 | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control] 67 | "WaitToKillServiceTimeout"="2000" 68 | 69 | ;Disables mouse smoothing and acceleration for a more pleasent mouse experience and aim. 70 | [HKEY_CURRENT_USER\Control Panel\Mouse] 71 | "MouseSensitivity"="10" 72 | "SmoothMouseXCurve"=hex:\ 73 | 00,00,00,00,00,00,00,00,\ 74 | C0,CC,0C,00,00,00,00,00,\ 75 | 80,99,19,00,00,00,00,00,\ 76 | 40,66,26,00,00,00,00,00,\ 77 | 00,33,33,00,00,00,00,00 78 | "SmoothMouseYCurve"=hex:\ 79 | 00,00,00,00,00,00,00,00,\ 80 | 00,00,38,00,00,00,00,00,\ 81 | 00,00,70,00,00,00,00,00,\ 82 | 00,00,A8,00,00,00,00,00,\ 83 | 00,00,E0,00,00,00,00,00 84 | 85 | [HKEY_USERS\.DEFAULT\Control Panel\Mouse] 86 | "MouseSpeed"="0" 87 | "MouseThreshold1"="0" 88 | "MouseThreshold2"="0" 89 | --------------------------------------------------------------------------------