Skip to content

Commit

Permalink
disable Sleep Study, Maintenance and FTH
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoshii64 authored Oct 1, 2023
1 parent 313b45d commit 3c846d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WindowsToolbox.bat
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\TabletPC" /v "PreventHandwriti
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\HandwritingErrorReports" /v "PreventHandwritingErrorReports" /t REG_DWORD /d "1" /f
reg add "HKCU\SOFTWARE\Microsoft\Input\Settings" /v "InsightsEnabled" /t REG_DWORD /d "0" /f
reg add "HKCU\SOFTWARE\Microsoft\Input\TIPC" /v "Enabled" /t REG_DWORD /d "0" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance" /v "MaintenanceDisabled" /t REG_DWORD /d "1" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\ScheduledDiagnostics" /v "EnabledExecution" /t REG_DWORD /d "0" /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Diagnostics\Performance" /v "DisableDiagnosticTracing" /t REG_DWORD /d "1" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\CEIP" /v "CEIPEnable" /t REG_DWORD /d "0" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d "0" /f
Expand Down Expand Up @@ -1340,6 +1342,7 @@ schtasks /Delete /TN "\Microsoft\Windows\Windows Filtering Platform\BfeOnService
schtasks /Delete /TN "\Microsoft\Windows\Windows Media Sharing\UpdateLibrary" /F
schtasks /Delete /TN "\Microsoft\Windows\WindowsUpdate\Scheduled Start" /F
schtasks /Delete /TN "\Microsoft\Windows\Wininet\CacheTask" /F
schtasks /delete /TN "\Microsoft\Windows\Feedback\Siuf\DmClient" /F
goto :menu


Expand Down Expand Up @@ -1466,6 +1469,7 @@ reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v "CrashDumpEnable
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v "LogEvent" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v "DisplayParameters" /t REG_DWORD /d 1 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl\StorageTelemetry" /v "DeviceDumpEnabled" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Microsoft\FTH" /v "Enabled" /t REG_DWORD /d "0" /f
bcdedit /set pae ForceEnable >nul

echo security
Expand Down

0 comments on commit 3c846d7

Please sign in to comment.