Skip to main content

Optimize Windows11 Pro

What

Πιο theσυγκεκριμένα, script does

The script performs 12 major optimization categories automatically:

έχει:
  1. SystemΔημιουργία Restorerestore Point — Creates a safety checkpoint before any changes.point.
  2. Ultimate Performance Power Plan — Activates the hidden UltimateUltimate/High Performance plan or+ fallsUSB backselective tosuspend Highoff Performance+ HDD timeout off.
  3. VisualΒασικά Effectsvisual effects Setstweaks, everythingtransparency tooff, "bestMinAnimate, performance" and disables transparency/animationsκ.λπ.
  4. SSD Optimizationβελτιστοποίηση — Executes TRIM on all drives, enables(TRIM, write caching, confirms weekly scheduleScheduledDefrag).
  5. StartupΑπενεργοποίηση Bloatκοινών Removalstartup — Disables common bloatwareapps (Teams, OneDrive, AdobeDiscord updaters, etc.κ.λπ.).
  6. XboxΒασικό Game Bar &off, Telemetryfeedback prompts Disables Game Bar, DVR, and reduces telemetry to minimumoff.
  7. Background Appsapps restriction, RestrictsAppPrivacy, backgroundWindows appUpdate permissionsauto-reboot system-wide& continuous innovation off.
  8. Windows Update — Prevents auto-restart and disables aggressive update delivery
  9. Unnecessary Services — Stops and disables telemetry, Xbox, Fax, RemoteRegistry, RetailDemo services
  10. Network Throttling — Removes Windows network throttling andoff, disables adapterNIC power management off, SystemResponsiveness, MenuShowDelay.
  11. SystemTemp/Prefetch Responsivenesscleanup.
  12. Πλήρης Prioritizesαπεγκατάσταση OneDrive.
  13. Πλήρης telemetry off (DiagTrack + AllowTelemetry=0).
  14. UWP bloatware uninstall.
  15. Πλήρης Xbox removal.
  16. Copilot/AI uninstall + policy off.
  17. Services (Fax, Search, Xbox σε Manual, WerSvc Disabled).
  18. Win32PrioritySeparation=26 + επαλήθευση.
  19. Extra animations off (UserPreferencesMask + VisualFXSetting).
  20. DNS cache clean (Clear-DnsClientCache + ipconfig /flushdns).
  21. SysMain (Superfetch) τελείως Disabled.
  22. Processor Affinity helper για όποιο process θέλεις. Δημιουργία ProcessPriority.ps1 για dynamic foreground apps, disables Superfetch on SSDs, minimizes menu delaysHigh.
  23. Temp FileDisk Cleanup (cleanmgr Clears/sagerun:1) Windows+ Temp,compact User/U Temp,/S and/I Prefetch foldersC:.

How to use it

Run as Administrator:

Right-click PowerShell or Windows Terminal → "Run as Administrator", then:

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression (Invoke-WebRequest -Uri "https://docs.greenhome.stream/attachments/58"64" -UseBasicP) | Out-Null

or

iex (iwr -UseBasicParsing "https://docs.greenhome.stream/attachments/64").Content

or

powershell -NoProfile -ExecutionPolicy Bypass -Command "iex (Invoke-WebRequest -UseBasicParsing 'https://docs.greenhome.stream/attachments/64').Content"

 

The script runs fully automated—no prompts, no user interaction needed. It uses a clean, timestamped, color-coded output so you see exactly what's happening in real-time.

Safety features

  • Creates a restore point first (you can roll back if needed)
  • All registry/service changes use -ErrorAction SilentlyContinue for non-critical operations
  • Won't break if certain features don't exist on your system
  • Detailed success/warning/error messages for troubleshooting

What you'll see

The output uses:

  • Cyan headers for each section
  • Green checkmarks for successful operations
  • Yellow warnings for partial/skipped operations
  • Red errors if something fails
  • Timestamped steps [HH:mm:ss] ► Action

After completion, you'll get a summary and a restart prompt (press any key to exit, then reboot manually).