-
Notifications
You must be signed in to change notification settings - Fork 0
Optimization Details
The optimize group is safe by default. A -Profile controls how aggressive
it gets (cumulative: safe ⊂ desktop ⊂ gaming). Full, per-tweak reference
with keys and risks:
docs/OPTIMIZE.md
and docs/SERVICES.md.
sudo .\setup.ps1 -Group optimize # safe (default)
sudo .\setup.ps1 -Group optimize -Profile desktop # + power / 24-7
sudo .\setup.ps1 -Group optimize -Profile gaming # + network + aggressive servicesAn older version disabled these unconditionally and broke a real machine. They are gone:
- VSS / System Restore — removed (issue #8). Disabling it left no rollback.
- StorSvc — removed (issue #9). Disabling it breaks the Microsoft Store.
- SmartScreen — removed (issue #11). Disabling it is a security regression.
If an older run applied them, see Troubleshooting or run
sudo .\setup.ps1 -Group restore.
Privacy/telemetry tweaks, visual performance, Storage Sense + SSD TRIM, and low-impact service disables (DiagTrack, dmwappushservice, OneSyncSvc, HvHost, SharedAccess, CscService, TabletInputService, TrkWks, stisvc, WMPNetworkSvc, lfsvc). VSS/System Restore is left intact.
High Performance power plan, Sleep/Hibernation off, USB Selective Suspend off, Fast Startup off, memory compression off (RAM ≥ 8 GB).
Network throttling and QoS off; aggressive service disables (SysMain, DPS, WinRM); and the non-Store install lockdown (opt-in — it blocks sideloading).
Not everything is undone by Windows Settings. Visual and per-user tweaks are; but
HKLM policy keys and disabled services are not — that is what restore is for:
.\setup.ps1 -Group restore -WhatIf # preview
sudo .\setup.ps1 -Group restore # applySee Troubleshooting and docs/RESTORE.md.