CueroPC.com Optimize your PC. Download Optimize Windows Powershell Script
What it does:

Creates a System Restore Point automatically before touching anything
Sets ~19 services to Manual (telemetry, Xbox, geolocation, print spooler, etc.)
Sets SysMain/Superfetch to Disabled (reduces SSD writes)
Disables ~20 scheduled tasks (CEIP, error reporting, disk diagnostics, defrag, maps sync, device census)
Skips anything not found on your system without erroring out
Color-coded output: green = changed, yellow = skipped, red = error
then paste it to a ADMINISTRATIVE POWERSHELL TERMINAL Answers by Sentry