Last active
July 21, 2024 17:31
-
-
Save Laicure/5827c5fdfd0c29abae31b1317ff51601 to your computer and use it in GitHub Desktop.
Disable several things from Windows 10/11 for new installations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo off | |
cls | |
rem echo --- Hibernate OFF | |
rem powercfg -h off | |
echo --- Delete: DiagTrack | |
sc delete DiagTrack | |
echo --- Delete: dmwappushservice | |
sc delete dmwappushservice | |
echo --- Manual: CryptSvc | |
sc config CryptSvc start=demand | |
echo --- Manual: TrkWks | |
sc config TrkWks start=demand | |
echo --- Manual: Spooler | |
sc config Spooler start=demand | |
echo --- Disable: SysMain | |
sc config SysMain start=disabled | |
echo --- Manual: MapsBroker | |
sc config MapsBroker start=demand | |
echo --- Disable: WSearch | |
sc config WSearch start=disabled | |
echo --- Disable: PcaSvc | |
sc config PcaSvc start=disabled | |
echo --- Disable: WPDBusEnum | |
sc config WPDBusEnum start=disabled | |
rem Disable; Regedit: Dnscache | |
rem reg add HKLM\SYSTEM\CurrentControlSet\Services\Dnscache /t REG_DWORD /v Start /d 4 /f | |
echo --- Enable; Regedit: Verbose | |
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /t REG_DWORD /v verbosestatus /d 1 /f | |
echo --- Disable; Bing and Cortana | |
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Search /t REG_DWORD /v CortanaConsent /d 0 /f | |
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Search /t REG_DWORD /v BingSearchEnabled /d 0 /f | |
echo --- Disable: Telemetry | |
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection /v AllowTelemetry /t REG_DWORD /d 0 /f | |
echo --- Enable: Seconds in taskbar clock | |
reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowSecondsInSystemClock /t REG_DWORD /d 1 /f | |
echo --- Disable: News and Interests | |
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Feeds" /v EnableFeeds /t REG_DWORD /d 0 /f | |
echo --- Hide: Meet Now | |
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v HideSCAMeetNow /t REG_DWORD /d 1 /f | |
echo --- Disable: Search Suggestions | |
reg add HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer /v DisableSearchBoxSuggestions /t REG_DWORD /d 1 /f | |
echo --- Remove: 3D Objects folder | |
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A} /f | |
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A} /f | |
echo --- Disable: Proxy Task | |
SchTasks /Change /TN "Microsoft\Windows\AutoChk\Proxy" /Disable | |
echo --- Disable: ApplicationExperience Tasks | |
SchTasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable | |
SchTasks /Change /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask" /Disable | |
SchTasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable | |
SchTasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable | |
echo --- Disable: Customer Experience Improvement Program Tasks | |
SchTasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable | |
SchTasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable | |
echo --- Win 11 additions | |
echo --- Disable: Context Menu "More Options" | |
reg add HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /f /ve | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment