Skip to content

About

A lightweight, single-file Windows 10/11 optimization, multi-profile debloat, and disk cleanup utility featuring a modern dark WPF GUI — built as a convenient wrapper around **Chris Titus Tech's WinUtil** for IT administrators and power users.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

AutoDebloaterUI

🇬🇧 English | 🇷🇺 Русский

A lightweight, single-file Windows 10/11 optimization, multi-profile debloat, PC audit, and system maintenance utility featuring a modern dark WPF GUI — built as a convenient wrapper around Chris Titus Tech's WinUtil for IT administrators and power users.

AutoDebloaterUI Screenshot

✨ Key Features (v1.3.1)

  • Single Transparent File: Delivered as an open .bat file with embedded PowerShell/WPF code — no unsigned .exe binaries, no external dependencies, easy to inspect in any text editor.
  • Standalone & Drive-Independent: Copies itself to %ProgramData%\AutoDebloaterUI and cleans up after exit (no hardcoded C: paths). Safe to run from a USB drive (unplug immediately once the window opens), network share, or local folder.
  • Persistent HKLM Policies & Verification Pass: Locks down consumer bloat, Copilot, Widgets / News & Interests, and post-update OOBE prompts under HKLM\SOFTWARE\Policies, and verifies every applied setting with read-back checks ([VERIFIED]).
  • Windows 10 & Windows 11 Aware: Automatically detects OS build (>= 22000 for Win 11) and adapts both HKLM policies and per-user tweaks (classic right-click menu & Widgets on Win 11; News & Interests taskbar panel on Win 10).
  • Read-Only PC Audit Mode: Inspect HKLM policies, hibernation status, consumer Provisioned UWP packages, per-profile tweak coverage, Windows Update cache size, and stuck print jobs without changing anything.
  • Multi-Profile Support + Provisioned UWP Cleanup: Processes all profiles via Win32_UserProfile + Default template (skipping defaultuser0, TEMP, .bak, with 3 reg load retries), plus optional Remove-AppxProvisionedPackage cleanup.
  • WinUtil Online (TLS 1.2) + Offline Fallback: Enforces TLS 1.2 for WinUtil on older Windows 10 builds and automatically falls back to a local winutil.ps1 placed next to the script if offline.
  • System Maintenance Suite: Optional WinSxS cleanup (DISM StartComponentCleanup), DNS flush + Print Spooler queue reset, and system integrity repair (DISM RestoreHealth + SFC /scannow).
  • Quality-of-Life Controls: Graceful Stop button (safely terminates child processes and unloads registry hives), repeatable runs without restarting the app, None / Reboot / Shutdown post-action selector, Detailed / Compact / Summary color-coded live log (red [ERROR], yellow [WARN]/[SKIP], green [OK]/[VERIFIED], blue stage headers) with WARN / ERR counters, live elapsed timer with completion sound & taskbar flash, and stay-awake protection (SetThreadExecutionState) during long DISM/SFC jobs.
  • USB & Fleet Workflow Tools: Auto-save full logs to Logs\ in GUI mode, one-click WinUtil Cache downloader (winutil.ps1), quick Explorer ↻ restart, System Restore (rstrui.exe) launcher, Folder / Logs shortcut, manual update check by clicking the version number, plus saved settings.json and silent CLI mode.
  • Automatic GitHub Update Check: Quietly checks GitHub Releases in the background on startup (no API rate limits) and displays an update prompt when a newer version is available — updating AutoDebloaterUI.bat in one click without touching config.json or settings.json.
  • Bilingual Interface (RU | EN): Auto-detects Windows UI language with instant switching, system info banner, hover tooltips (?), and one-click Copy Log / Save Log.

🚀 Usage

  1. Download the AutoDebloaterUI-v1.3.1.zip archive from Releases and extract it.
  2. (Optional) Place your WinUtil config.json (for automatic WinUtil runs) and/or a local winutil.ps1 (for offline fallback) in the same folder.
  3. Double-click AutoDebloaterUI.bat and accept the Administrator (UAC) prompt.
  4. Click PC Audit to inspect the machine first, or choose a preset (Recommended, Full (IT), Cleanup Only) / customize checkboxes (hover over ? for details) and click Start.
  5. Click Save Selection to store your preferred checkboxes and language in settings.json next to the script.

Command-Line Interface (Silent & Automated Runs)

AutoDebloaterUI.bat /full /silent
AutoDebloaterUI.bat /full /silent /noshutdown
AutoDebloaterUI.bat /clean /silent
AutoDebloaterUI.bat /audit /silent
AutoDebloaterUI.bat /safe /winsxs /autostart
Flag Description
/safe or /recommended Selects the Recommended preset
/full Selects the Full (IT) preset
/clean Selects the Cleanup Only preset
/audit Runs read-only PC Audit instead of making changes
/winsxs Enables DISM WinSxS component store cleanup
/repair Enables DISM RestoreHealth + SFC integrity repair
/noonedrive Completely removes & blocks OneDrive (processes, tasks, all profiles, HKLM policy)
/wallpaper Resets & locks default Windows desktop and lock screen wallpapers for all profiles
/kbd:<ids> Sets keyboard layouts for all profiles (first ID is default), e.g. /kbd:lv-std,en-us,ru
/kbdreplace Removes unselected keyboard layouts (keeps strictly the chosen set)
/lv or /latvian Shortcut for /kbd:lv-std (Latvian Standard default)
/reboot Sets post-completion action to Reboot (20s countdown)
/shutdown Sets post-completion action to Shutdown (20s countdown)
/noshutdown Disables auto-shutdown/reboot even when using /full
/silent Runs headless without GUI and auto-saves the log to Logs\<PC>_<Date>.txt
/autostart Opens the GUI and starts execution automatically
/noupdate Disables the startup GitHub update check

SmartScreen / Downloaded File Notice

Because the script is downloaded from the internet, Windows Defender SmartScreen may show a warning on first launch:

  • Option 1: Right-click AutoDebloaterUI.bat → Properties → check Unblock → OK.
  • Option 2: In the SmartScreen window, click More info → Run anyway.

🔧 What It Does

1. System Stage

  • System Restore Point (enabled by default) — Creates a restore point on %SystemDrive% via Checkpoint-Computer.
  • Chris Titus WinUtil (enabled by default) — Checks christitus.com/win with TLS 1.2 enabled and runs WinUtil (auto mode with config.json, or interactive). Automatically uses a local winutil.ps1 if offline.
  • HKLM System Policies (enabled by default, read-back verified):
Policy Path Setting Purpose
HKLM\...\Policies\Microsoft\Windows\CloudContent DisableWindowsConsumerFeatures = 1, DisableSoftLanding = 1, DisableCloudOptimizedContent = 1 Blocks consumer bloatware auto-installs and tips
HKLM\...\Policies\Microsoft\Windows\WindowsCopilot TurnOffWindowsCopilot = 1 Disables Windows Copilot machine-wide
HKLM\...\Policies\Microsoft\Edge StartupBoostEnabled = 0, BackgroundModeEnabled = 0 Prevents Edge background autostart
HKLM\...\CurrentVersion\UserProfileEngagement ScoobeSystemSettingEnabled = 0 Blocks post-update "Finish setting up your device" prompt
HKLM\...\Policies\Microsoft\Dsh (Win 11) AllowNewsAndInterests = 0 Disables Widgets machine-wide
HKLM\...\Policies\Microsoft\Windows\Windows Feeds (Win 10) EnableFeeds = 0 Disables News & Interests machine-wide
  • Provisioned UWP Cleanup (optional) — Removes consumer pre-installed UWP packages (Clipchamp, BingNews, BingWeather, Getstarted, MicrosoftOfficeHub, MicrosoftSolitaireCollection, People, SkypeApp, Todos, WindowsFeedbackHub, ZuneVideo, consumer Teams) via Remove-AppxProvisionedPackage.
  • Disable Hibernation & Fast Startup (optional) — Runs powercfg /h off to remove hiberfil.sys.

2. All-Users Profile Tweaks (Win32_UserProfile + Default)

  • Profile Debloat (enabled by default, read-back verified) — Disables background apps (GlobalUserDisabled = 1), Advertising ID (Enabled = 0), per-user OOBE prompt (ScoobeSystemSettingEnabled = 0), 9 ContentDeliveryManager flags, removes OneDrive/Teams/MicrosoftEdgeAutoLaunch from Run, plus OS-specific tweaks:
    • Windows 11: Hides Widgets (TaskbarDa = 0), Copilot button (ShowCopilotButton = 0), restores classic right-click context menu.
    • Windows 10: News & Interests is disabled globally via HKLM policy (EnableFeeds = 0). Running OneDrive, Teams, and Edge processes are stopped before startup cleanup.
  • Default Windows Wallpapers & Lock Screen (optional) — Clears cached user wallpapers (TranscodedWallpaper / CachedFiles), resets and locks Desktop (img0.jpg) and Lock Screen (img100.jpg) to Windows defaults across all local, domain, and Default profiles (Policies\System\Wallpaper, NoChangingWallPaper, HKLM\...\Personalization, PersonalizationCSP, disables Spotlight).
  • Multi-Language Keyboard Selector & Default Layout (optional) — Choose one or more popular keyboard layouts from a dark dropdown menu (15 layouts: Latvian Standard/QWERTY, English US/UK, Russian, Lithuanian, Estonian, Ukrainian, German, French, Spanish, Polish, Italian, Portuguese BR, Turkish Q) and pick which one becomes the #1 default input method across all local, domain, Default, and Welcome screen profiles. Optional Selected only toggle removes extra user-added layouts.
  • UI Animations & Visual Effects (8 tweaks, optional) — Disables DragFullWindows, MinAnimate, TaskbarAnimations, EnableAeroPeek, ListviewShadow, ListviewAlphaSelect, sets VisualFXSetting = 3 and MenuShowDelay = 200.

3. Temp, Browser & System Maintenance

  • User Temp & Browser Cache (enabled by default) — Clears AppData\Local\Temp and caches across all profiles for Chrome, Edge, Brave, Opera / Opera GX, Vivaldi, Yandex Browser, and Firefox. Passwords, bookmarks, cookies, extensions, and history are preserved.
  • Browsing History (optional) — Clears Chromium history files (Firefox history is skipped to protect bookmarks in places.sqlite).
  • System Cleanup (enabled by default) — Empties %SystemDrive%\$Recycle.Bin, reliably stops UsoSvc/wuauserv/bits (polling up to 15s for Stopped), clears %SystemRoot%\SoftwareDistribution\Download, restarts services, and clears Delivery Optimization cache.
  • WinSxS Cleanup (optional) — Runs DISM /Online /Cleanup-Image /StartComponentCleanup.
  • DNS & Print Spooler Reset (optional) — Runs ipconfig /flushdns and clears stuck jobs in %SystemRoot%\System32\spool\PRINTERS.
  • System Integrity Repair (optional) — Runs DISM /Online /Cleanup-Image /RestoreHealth and sfc /scannow.

4. Final Action

  • Restart Windows Explorer (optional) — Restarts explorer.exe to apply UI changes immediately without rebooting.
  • Post-Completion Action (None / Reboot / Shutdown) — Optional 20-second reboot or shutdown countdown with one-click cancel (shutdown /a).

💻 Requirements

  • Windows 10 or Windows 11 (PowerShell 5.1+, built-in)
  • Administrator privileges
  • Internet connection (only needed for online WinUtil unless using local winutil.ps1)

🙏 Credits & Disclaimer

  • System-wide optimization is powered by Chris Titus Tech's WinUtil. This project does not bundle or redistribute WinUtil code — it invokes the official script directly from https://christitus.com/win (or an optional user-supplied local winutil.ps1).
  • Disclaimer: This is an independent, unofficial community wrapper and is not affiliated with or endorsed by Chris Titus Tech. Please report any issues related to this GUI or maintenance script in this repository.

📄 License

Distributed under the MIT License. See LICENSE for details.

About

A lightweight, single-file Windows 10/11 optimization, multi-profile debloat, and disk cleanup utility featuring a modern dark WPF GUI — built as a convenient wrapper around **Chris Titus Tech's WinUtil** for IT administrators and power users.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages