Skip to content

Repository files navigation

Windows11-Optimizer-Debloater

GitHub Release changelog Total number of downloads Number of downloads of the latest version Number of GitHub stars Number of GitHub stars Windows 11 Buy me a beer ko-fi

This Utility show basic system information, install programs, debloat and optimize Windows with tweaks, troubleshoot with config, and fix Windows updates.

Screenshot of the application in the tray menu and the Discord status

Usage:

Requires you to launch PowerShell or Windows Terminal As ADMINISTRATOR!

Stable Branch (recommended):

iwr -useb vukilis.com/win11deb | iex

Development Branch:

iwr -useb vukilis.com/win11dev | iex

Apply a predefined configuration without manual selection:

Save the exported configuration from the GUI to a file, for example config.json, then run following commands:

& ([ScriptBlock]::Create((irm https://vukilis.com/win11deb))) -Config .\config.json

What Script Do?

Feature Description
ℹ️ Info Shows system information
📦 Install Install applications from winget and choco
🧹 Debloat Removes unnecessary preinstalled apps
Optimization Optimizes Windows and reduces running processes
Has different presets
🔄 Updates Fixes the default Windows update scheme
Reset Windows Update to factory settings
Pauses Windows updates to 5 weeks
⚙️ Config Quick configurations for Windows Installs
Has old legacy panels from Windows 7
Makes shortcuts and backups
Fixes and sets configs for applications
Activate Windows with MAS script

Architecture

This project uses a compile-time concatenation architecture. Source files are organized by function and compiled into a single artifact.

graph LR
    A[scripts/start.ps1] --> C[compile.ps1]
    B[scripts/main.ps1] --> C
    D[scripts/closure.ps1] --> C
    E[functions/...] --> C
    F[config/*.json] --> C
    G[xaml/MainWindow.xaml] --> C
    C --> H[win11deb.ps1]
    H --> I[User runs script]
    I --> J[WPF UI]
Loading

Key Design Decisions

Decision Description
📦 Single Artifact All code is compiled into win11deb.ps1 for easy distribution
📋 JSON-Driven Tweaks and configurations are defined in JSON, not hardcoded
🖼️ Local XAML UI layout is loaded from xaml/MainWindow.xaml with GitHub fallback
🔗 Dictionary Routing Button actions are mapped via hashtables instead of switch statements

Development

Resource Description
📝 CONTRIBUTING.md Contribution guidelines and workflow
🛠️ docs/DEVELOPMENT.md Development setup and guidelines

Blog Post

Resource Description
📄 Windows 11 Optimizer & Debloater In-depth article about the project

Credit Description
🖱️ jepriCreations Windows 11 cursor concept
Free versionHD version
massgravel Windows and Office activator
Microsoft Activation Scripts