Windows 10 & 11 · Python 3.10+ & PySide6 · 54/54 Tests Passing

Zero-guesswork WinGet maintenance.

Scan, stage, install, and verify Windows package updates without PowerShell friction or silent false-positives. Engineered with non-blocking QThread workers, per-package safety guards, and a headless JSON CLI.

Execution Safety
shell=False + UAC
Post-Install
Re-scan Diffing
Automation
Rings & Scheduler
Accessibility
3 Themes + Ctrl+K
WinGet Maintenance Tool — v4.0.0
Ready

System Health Overview

Last verified scan: Today, 15:40

Health Score
88 /100
WinGet Engine v1.9 Online Sources synced
Pending Updates 4 1 pinned · 0 reboot
Activity Stream QThread Worker
[15:40:02] INFO  WinGet source 'winget' verified (https://cdn.winget.microsoft.com/cache)
[15:40:04] INFO  Parsed 4 upgradeable packages (0 malformed, 1 unknown-version flagged)
[15:40:04] OK    Ready for individual --exact installation.
Package Installed → Target Risk
GitGit.Git 2.46.2 → 2.47.1 Low
Python 3.12Python.Python.3.12 3.12.6 → 3.12.8 Low
Docker DesktopDocker.DockerDesktop 4.34.0 → 4.36.0 Reboot?
Legacy UtilityVendor.LegacyCLI Unknown → 1.4.2 Unknown

Rings, Scheduler & Safety

Policy-aware maintenance windows

Deployment Ring: Canary / Dev

Applies low-risk updates automatically; defers kernel/runtime packages 48h.

Active
Pre-Update Restore Point

Creates Windows System Restore snapshot before bulk runs.

Enabled
Reboot Policy

Detects MSI exit codes 3010 / 1641. Never auto-reboots.

Prompt Only

Verification & Diagnostics

%LOCALAPPDATA%\WinGetMaintenanceTool\logs\

Secret Redacted
[2026-11-28 15:40:01] SCAN   winget list --upgrade-available --include-unknown --accept-source-agreements
[2026-11-28 15:40:04] PARSE  4 packages matched; 0 false negatives
[2026-11-28 15:41:10] EXEC   winget upgrade --id Git.Git --exact --silent --disable-interactivity
[2026-11-28 15:41:28] VERIFY Re-scan confirmed Git.Git upgraded (2.46.2 -> 2.47.1)
[2026-11-28 15:41:29] EXPORT Diagnostic bundle ready (MD / CSV / JSON)
Engineering Pillars

Built for real-world Windows fleets, not happy-path demos.

Every subsystem in WinGet Maintenance Tool v4.0.0 is designed around deterministic parsing, process isolation, and post-action verification.

01 · Table Parsing Engine

Zero False "Up to Date" Reports

Uses winget list --upgrade-available --include-unknown --accept-source-agreements with column-aware parsing. Handles package names with spaces, Unknown installed versions, source warnings, and malformed output without silently reporting zero updates.

winget list --upgrade-available --include-unknown --accept-source-agreements
02 · Safe Execution

Per-Package Isolation

Runs each selected package individually via --id --exact --silent --disable-interactivity with shell=False argument lists, configurable timeouts, cancellation, and user-confirmed retries.

03 · Post-Install Diffing

Verified Results

Automatically re-scans after installation to compare original vs. remaining updates, separating verified upgrades from skipped items, failures, and MSI reboot codes (3010, 1641).

04 · Non-Blocking UI

Responsive QThread Workers

All winget, schtasks, and HTTPS self-update checks run off the main thread. The UI stays responsive with live determinate/indeterminate progress and cancel controls.

05 · Governance & Recovery

Pinning, Rings, Profiles & Restore Points

Lock critical SDKs with package pins and exclusions, stage rollouts across deployment rings, export/import package bundles, trigger pre-update Windows Restore Points, and run in --portable mode via portable.ini.

Information Architecture

10 dedicated screens + Ctrl+K Command Palette.

Designed with a collapsible 48px / 240px navigation rail, full keyboard traversal, and explicit Loading, Empty, Populated, Error, and Success states.

SCREEN 01 / 10 ui/dashboard.py

Dashboard

Displays the composite System Health Score (0–100), WinGet & network readiness cards, available update counts, last scan timestamp, and one-click Scan / Refresh Sources actions.

  • Composite health breakdown & pending reboot detection
  • System tray integration for background monitoring
  • Instant keyboard shortcut access via Ctrl+K
Headless CLI Mode

Scriptable maintenance with structured JSON output.

Need CI checks, scheduled tasks, or RMM fleet telemetry without spawning a Qt window? Invoke WinGetMaintenanceTool directly in headless mode with --json and deterministic exit codes.

0Up to date / OK
10Updates available
1Scan or engine error
$ WinGetMaintenanceTool.exe scan --json
{
  "status": "success_updates",
  "count": 4,
  "message": "Found 4 available package updates."
}
# Exit code: 10 (EXIT_UPDATES_AVAILABLE)
Deployment & Build

Run as an installer, standalone EXE, portable, or from source.

Requires Windows 10 or Windows 11 with Microsoft App Installer (WinGet). Python 3.10+ is only needed when running or building from source.

Recommended

Windows Installer

Full Inno Setup 6 installer (WinGetMaintenanceTool_Setup.exe) with Start Menu shortcuts, clean upgrade path, and uninstall that preserves your logs & config.

iscc installer\WinGetMaintenanceTool.iss
# Output: installer\WinGetMaintenanceTool_Setup.exe
Single Binary

Standalone EXE (UAC)

PyInstaller one-file executable (dist\WinGetMaintenanceTool.exe) with embedded version info, icon, and uac_admin=True manifest for system-wide upgrades.

python -m PyInstaller --clean -y WinGetMaintenanceTool.spec
# Output: dist\WinGetMaintenanceTool.exe
Developer

Run from Source & Test

Install PySide6 dependencies and launch directly, or run the 54-test automated pytest suite with mocked WinGet subprocesses.

python -m pip install -r requirements.txt
python main.py
python -m pytest tests -v
USB / Zero-Install

Portable Mode

Pass --portable or place an empty portable.ini beside the executable to store config and redacted logs in WinGetMaintenanceTool_Data\.

WinGetMaintenanceTool.exe --portable
Release History

Changelog

v4.0.0 Current Release

10-Screen Architecture, Headless CLI & Security Hardening

  • Introduced 10-screen collapsible navigation rail, Ctrl+K Command Palette, and System Tray support.
  • Added composite Health Score, Deployment Rings, Maintenance Profiles, Pinning/Exclusions, Restore Points, and Portable Mode.
  • Added headless CLI (scan, health, history) with --json output and deterministic exit codes.
  • Enforced https:// in app/self_update.py, shell=False across all subprocesses, and High Contrast theme tokens.
  • Verified with 54 / 54 passing automated unit tests and GitHub Actions Windows CI.
v2.0.1 2026-11-28

Stability & Source Reset Fixes

  • Fixed ScanWorker.run() / UpdateScanner.scan() cancel_check parameter mismatch.
  • Fixed WinGetManager.update_sources() to only run winget source reset --force when reset_first=True.
  • Added resource_path() and persistent window geometry / auto-check config fields.
v2.0.0 2026-11-28

PySide6 Fluent GUI & Verification Engine

  • Complete PySide6 desktop GUI with Light, Dark, and System themes.
  • Switched scanning to winget list --upgrade-available --include-unknown --accept-source-agreements.
  • Added post-installation verification scan, secret-redacted logging, and Inno Setup installer.