🇬🇧 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.
- Single Transparent File: Delivered as an open
.batfile with embedded PowerShell/WPF code — no unsigned.exebinaries, no external dependencies, easy to inspect in any text editor. - Standalone & Drive-Independent: Copies itself to
%ProgramData%\AutoDebloaterUIand cleans up after exit (no hardcodedC: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 (
>= 22000for 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+Defaulttemplate (skippingdefaultuser0,TEMP,.bak, with 3reg loadretries), plus optionalRemove-AppxProvisionedPackagecleanup. - 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.ps1placed 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) withWARN/ERRcounters, 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 savedsettings.jsonand 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.batin one click without touchingconfig.jsonorsettings.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.
- Download the
AutoDebloaterUI-v1.3.1.ziparchive from Releases and extract it. - (Optional) Place your WinUtil
config.json(for automatic WinUtil runs) and/or a localwinutil.ps1(for offline fallback) in the same folder. - Double-click
AutoDebloaterUI.batand accept the Administrator (UAC) prompt. - 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. - Click Save Selection to store your preferred checkboxes and language in
settings.jsonnext to the script.
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 |
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.
- System Restore Point (enabled by default) — Creates a restore point on
%SystemDrive%viaCheckpoint-Computer. - Chris Titus WinUtil (enabled by default) — Checks
christitus.com/winwith TLS 1.2 enabled and runs WinUtil (auto mode withconfig.json, or interactive). Automatically uses a localwinutil.ps1if 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, consumerTeams) viaRemove-AppxProvisionedPackage. - Disable Hibernation & Fast Startup (optional) — Runs
powercfg /h offto removehiberfil.sys.
- Profile Debloat (enabled by default, read-back verified) — Disables background apps (
GlobalUserDisabled = 1), Advertising ID (Enabled = 0), per-user OOBE prompt (ScoobeSystemSettingEnabled = 0), 9ContentDeliveryManagerflags, removesOneDrive/Teams/MicrosoftEdgeAutoLaunchfromRun, 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
HKLMpolicy (EnableFeeds = 0). RunningOneDrive,Teams, andEdgeprocesses are stopped before startup cleanup.
- Windows 11: Hides Widgets (
- 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, andDefaultprofiles (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, setsVisualFXSetting = 3andMenuShowDelay = 200.
- User Temp & Browser Cache (enabled by default) — Clears
AppData\Local\Tempand 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 stopsUsoSvc/wuauserv/bits(polling up to 15s forStopped), 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 /flushdnsand clears stuck jobs in%SystemRoot%\System32\spool\PRINTERS. - System Integrity Repair (optional) — Runs
DISM /Online /Cleanup-Image /RestoreHealthandsfc /scannow.
- Restart Windows Explorer (optional) — Restarts
explorer.exeto 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).
- Windows 10 or Windows 11 (PowerShell 5.1+, built-in)
- Administrator privileges
- Internet connection (only needed for online WinUtil unless using local
winutil.ps1)
- 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 localwinutil.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.
Distributed under the MIT License. See LICENSE for details.
