A PowerShell-based Windows 11 debloating and optimization tool with a modern WPF GUI. Disable telemetry, remove bloatware, turn off Copilot, optimize services, and tweak the UI -- all with full backup and revert capability.
- 65+ tweaks organized into 7 categories
- Dark-themed WPF GUI with category sidebar and tweak cards
- Automatic backup before every change (JSON snapshots)
- One-click revert to restore any previous state
- System Restore Point created automatically before applying
- No external dependencies -- pure PowerShell + .NET WPF
- Windows 11
- PowerShell 5.1+ (built into Windows)
- Administrator privileges
- Right-click
Win11Optimizer.ps1and select Run with PowerShell - Accept the UAC prompt (admin elevation is required)
- Browse categories in the left sidebar
- Check the tweaks you want to apply across any categories you want
- Click Create Backup & Apply
If PowerShell script execution is blocked, open PowerShell as Admin and run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
.\Win11Optimizer.ps1| Tweak | Description |
|---|---|
| Disable Telemetry | Stops sending diagnostic/usage data to Microsoft |
| Limit Diagnostic Data | Restricts diagnostic log collection |
| Disable Feedback Notifications | Prevents feedback prompts |
| Disable App Launch Tracking | Stops tracking launched apps |
| Disable Activity History | Stops collecting activity history |
| Disable Tailored Experiences | Prevents personalized content from diagnostic data |
| Disable Advertising ID | Blocks targeted advertising identifier |
| Disable Error Reporting | Stops crash data reporting |
| Disable Customer Experience Program | Opts out of CEIP |
| Disable DiagTrack Autologger | Disables diagnostic tracing logger |
| Tweak | Description |
|---|---|
| Disable Camera Access | Blocks system-wide camera access |
| Disable Microphone Access | Blocks system-wide microphone access |
| Disable Location Access | Blocks location services |
| Disable Contacts Access | Blocks app access to contacts |
| Disable Calendar Access | Blocks app access to calendar |
| Disable Call History Access | Blocks call history access |
| Disable Email Access | Blocks app access to email |
| Disable Notifications Access | Blocks notification listener access |
| Disable Account Info Access | Blocks access to account name/picture |
| Disable Background Apps | Prevents apps from running in background |
| Tweak | Description |
|---|---|
| Disable Windows Copilot | Completely disables the Copilot AI assistant |
| Disable Windows Recall | Disables the AI-powered Recall/Snapshots feature |
| Disable Bing Search in Start | Removes web search from Start Menu |
| Disable AI Start Suggestions | Removes cloud-optimized AI content suggestions |
Clipchamp, News, Weather, Xbox App, Xbox Bar, Xbox Identity, Xbox Speech, Solitaire, People, Maps, Films & TV, Get Help, Tips, Feedback Hub, Teams Personal, Phone Link, Microsoft 365, Power Automate, Groove Music, Sticky Notes, To Do
| Service | Description |
|---|---|
| DiagTrack | Telemetry data collection |
| dmwappushservice | Device management push routing |
| Xbox Services (4) | Auth, Game Save, Accessories, Networking |
| Geolocation | Device location monitoring |
| Fax | Fax send/receive |
| Print Spooler* | Print job management |
| SysMain* | Superfetch/preloading |
| Maps Broker | Downloaded maps data |
| Retail Demo | Retail demo mode |
*Not recommended by default -- only disable if you don't use these features.
| Tweak | Description |
|---|---|
| Disable Widgets | Removes Widgets panel and taskbar button |
| Disable Search Highlights | Removes trending search suggestions |
| Disable Chat Icon | Removes Teams Chat from taskbar |
| Restore Classic Context Menu | Brings back the full Windows 10 right-click menu |
| Disable Snap Assist Suggestions | Disables snap layout suggestions |
| Disable Tips & Suggestions | Stops tip/trick notifications |
| Hide Start Menu Recommended | Hides the Recommended section |
| Hide Task View Button | Removes Task View from taskbar |
| Tweak | Description |
|---|---|
| Optimize Visual Effects | Best performance visual settings |
| High Performance Power Plan | Switches to high performance power plan |
| Disable Game Bar | Disables Xbox Game Bar overlay |
| Disable Game Mode | Disables Windows Game Mode |
| Disable Startup Delay | Removes artificial startup app delay |
| Disable Hibernation | Frees disk space from hiberfil.sys |
| Clean Temporary Files | Removes temp/prefetch files (not reversible) |
| Disable Mouse Acceleration | Sets raw mouse input |
Every time you click Create Backup & Apply, the tool:
- Snapshots the current state of all selected reversible settings (registry values, service startup types, installed apps, active power plan, hibernation state) into a timestamped JSON file in the
backups/folder - Attempts to create a Windows System Restore Point
- Applies the selected tweaks
To revert changes, click Revert to Default and select a backup from the list.
Backups are stored as human-readable JSON files in the backups/ directory.
Clean Temporary Files is intentionally one-way and is not restored by backups.
Win11Optimizer.ps1 Main entry point (admin check, GUI launch, event handlers)
GUI/
MainWindow.xaml WPF layout with dark theme
Modules/
TweakRegistry.psm1 Central registry of all tweaks (data-driven)
Telemetry.psm1 Telemetry & data collection functions
Privacy.psm1 App permission toggle functions
CopilotAI.psm1 Copilot, Recall, AI feature functions
Bloatware.psm1 AppX package removal/restore
Services.psm1 Windows service management
UITweaks.psm1 Taskbar, widgets, context menu functions
Performance.psm1 Visual effects, power plan, cleanup
BackupManager.psm1 Backup/restore engine
backups/ Auto-created backup storage
MIT