Skip to content

admchl/BladeAutomation

Repository files navigation

Blade Automation

Automatic, silent system maintenance for Windows — runs at every login, touches nothing on your screen.

Blade Automation keeps your Windows PC updated, clean, and fast entirely in the background. No popups, no UAC prompts, no console windows flashing. Install once, forget it exists.


What it does

Every time you log in, Blade runs silently and:

Updates everything

  • Apps — winget (user + machine scope), Chocolatey, Scoop, Microsoft Store, Teams
  • Windows Updates — via WU COM API, catches what manual checks miss
  • Drivers — Windows Update driver catalog + pnputil device scan + USO
  • GPU drivers — GeForce Experience / AMD Adrenalin / Intel Arc via winget
  • Vendor firmware — ASUS, Dell, Lenovo, HP OEM tools run headlessly
  • BIOS — stages capsule update on EFI partition, flashes on next reboot
  • Dev tools — pip, npm, cargo, VS Code extensions, PowerShell modules, Ruby gems

Cleans your system

  • Temp files, Windows cache, WinSxS cleanup
  • Empty folders, deep junk (old .NET caches, npm/pip cache, VS build artifacts)
  • Duplicate files
  • Cold files (not accessed in 180+ days) moved to secondary drive
  • Downloads auto-organized by type

Optimizes

  • Flushes DNS, tunes network parameters
  • Frees RAM from idle processes
  • Disables high-impact startup apps automatically
  • Applies privacy settings (telemetry, diagnostics)
  • Manages Windows services

Stays invisible

  • Window never appears on screen (visible: false from the start)
  • All child processes use CREATE_NO_WINDOW
  • No taskbar entry during background runs
  • Shows a single Windows toast when done, then exits

System Inventory

On first run Blade scans your entire PC and builds a full inventory:

493 items discovered
├── 216 apps    (winget / choco / scoop / ms-store)
├── 233 drivers (wu_driver / pnputil / oem_exe)
├── 7  firmware (vendor_tool / capsule)
└── 37 runtimes (.NET / Java / VC++ / Python)

Each item is mapped to its optimal update method. The inventory is cached for 48 hours — subsequent runs load instantly without re-scanning.


Installation

  1. Download blade-automation-setup.exe from Releases
  2. Run the installer (requires admin — needed for driver/WU access)
  3. Done. Blade registers a scheduled task at logon and runs automatically

No configuration needed. Blade detects your hardware and adjusts automatically.


How it runs

Blade registers two scheduled tasks:

Task Trigger Purpose
Blade Automation Startup At every logon Full update + cleanup pass
Blade Automation Weekly Monday 3:00 AM Deep maintenance (duplicates, cold files, aggressive cleanup)

Both run elevated (RunLevel Highest) without UAC prompts.


Logs

Everything Blade does is logged to C:\ProgramData\:

File Contents
blade_vendor_log.txt BIOS, firmware, ASUS/Dell/Lenovo tools
blade_winget_log.txt All 7 app update layers
blade_driver_log.txt WU drivers, pnputil, USO
blade_gpu_log.txt GPU driver check
blade_inventory_log.txt Inventory scan / cache hits
BladeAutomation\cleanup_log.json Full report with bytes freed, update counts

Supported hardware

Blade detects your PC manufacturer and runs the appropriate vendor tools:

  • ASUS — Armoury Crate, DriverHub CDN updates, Intel ME firmware, BIOS capsule via UEFI ESP
  • Dell — Dell Command Update (silent CLI)
  • Lenovo — Lenovo System Update
  • HP — HP Support Assistant
  • MSI — MSI Center
  • All PCs — Intel Driver & Support Assistant (DSA)

Tech stack

  • Backend — Rust (Tauri 2.x)
  • Frontend — React + TypeScript + Vite
  • IPC — Tauri commands
  • Update layers — winget, WU COM API, pnputil, USO, PowerShell, vendor CLIs
  • Binary size — ~8 MB

Building from source

Requirements: Rust, Node.js 20+, Tauri CLI

git clone https://github.com/YOUR_USERNAME/BladeAutomation
cd BladeAutomation
npm install
npm run tauri build

The release binary is at src-tauri/target/release/blade-automation.exe.


Contributing

PRs welcome. Areas where help is appreciated:

  • Support for more vendor firmware tools
  • Better update ID coverage for winget
  • Linux/macOS port (Tauri supports it, backend needs work)
  • UI improvements

License

MIT

About

Automatic silent system maintenance for Windows — updates apps, drivers, firmware and cleans your PC on every login. No popups, no windows, no interruptions.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors