A neon-lit gaming workstation displays software dashboards beside a glowing PC tower in a city-view office.
There is a certain brand of Windows fatigue that only power users truly understand. You fire up an app you have not touched in three weeks, ready to knock out five minutes of work, and Windows greets you with a cheerful update prompt, a UAC dialog, or a multi-step installer wizard that hijacks your afternoon. Let enough of those pile up—say, 48 pending updates sitting quietly in the background—and the temptation to open PowerShell, type winget upgrade --all, and walk away starts to feel downright heroic.

Except anyone who has run a heavily customized Windows workstation knows what happens next. Blindly updating everything in one sweep is a fantastic way to clobber a Python or Node.js environment your local dev stack expects, bump a major version of a daily-driver utility right before a deadline, or overwrite a specialized virtual controller driver that keeps your game-streaming rig alive.

That exact dilemma is what pushed Abhinav Raj, writing at XDA Developers, to hand his Windows application maintenance over to a local AI agent on a weekly timer. Instead of chatting with an assistant every time he needed housekeeping done, he wired up Nous Research’s open-source Hermes Agent with a quantized local Qwen model, handed it administrator access to run winget, and told it to use a little judgment.

It is an intriguing glimpse into where local AI on Windows is heading—and, thanks to one telling stumble during testing, a textbook case study in where natural-language automation still falls short of deterministic Windows administration.


A neon-lit gaming workstation displays software dashboards beside a glowing PC tower in a city-view office. Why winget upgrade --all Isn't Enough on a Tinkerer’s PC​

Microsoft’s Windows Package Manager (winget) has matured into an indispensable tool for keeping third-party software tidy without hunting down .exe and .msi installers across the web. Run winget upgrade by itself, and it prints a clean inventory of installed packages with newer versions available. Add --all, and it attempts to bring every eligible package up to date in one pass.

The catch is right there in the word eligible. Out of the box, winget upgrade --all has no concept of dependency fragility or workflow context. It does not care that:

  • Your local AI tooling or build pipeline expects a specific version of Git, Python, or Node.js.
  • A seemingly minor utility update actually crosses a major version boundary with breaking UI or config changes.
  • Updating a low-level driver—such as a virtual gamepad bus driver used by remote streaming software—while a session or server is configured around it can break an otherwise stable setup.

Raj’s pitch was simple: instead of babysitting the winget upgrade output by hand, let a local language model read the list, filter out risky packages according to plain-English rules, install the safe updates one at a time, and leave a crisp summary behind.


Inside the Local Stack: Hermes Agent Meets Qwen3.6-35B-A3B​

To make an AI actually do anything on a schedule rather than passively wait in a chat window, you need an agent harness with a task scheduler. Raj chose Hermes Agent, an MIT-licensed, open-source agent framework from Nous Research that runs locally and exposes terminal tools, memory, and a built-in cron scheduler.

Under the hood, the hardware and model stack looks like something right out of a serious enthusiast build:

ComponentReported ConfigurationPractical Context
Agent HarnessHermes Agent (hermes cron)Runs scheduled jobs in fresh, isolated sessions
Local ModelQwen3.6-35B-A3B (UD-IQ4_XS quant)35B total / 3B active Mixture-of-Experts model; ~17.7 GB file size
Inference Enginellama-serverConfigured at 128K context; Hermes capped at 64K
HardwareNVIDIA RTX 4070 Ti Super + System RAM16 GB VRAM requires partial offload to system RAM
NotificationsPowerShell BurntToast moduleSurfaces run summaries as Windows toast alerts

The model choice makes a lot of sense for a desktop GPU. Qwen3.6-35B-A3B is a sparse Mixture-of-Experts (MoE) model with 35 billion total parameters and just 3 billion active parameters per token, designed specifically to punch above its weight on agentic and coding tasks while staying fast. Even in Unsloth’s compact UD-IQ4_XS quantization, the model weighs in at roughly 17.7 GB—just shy of fitting comfortably alongside a display buffer and large KV cache inside a 16 GB RTX 4070 Ti Super, which explains why part of the workload had to spill over into system RAM.

Because Hermes executes each scheduled cron job in a fresh session with zero memory of prior conversations, Raj packed the entire policy into a single hermes cron create prompt scheduled for Sundays. Those instructions told the agent to run winget upgrade, apply safe updates one by one, and hold back three categories:

  1. Drivers of any kind
  2. Major version jumps
  3. Core development and AI dependencies, including Git, Python, and Node.js

Summary: The Automation Architecture​

  • Fresh-session execution: Every scheduled run starts from a blank slate, making explicit prompt instructions mandatory.
  • MoE efficiency on consumer hardware: Using a 3B-active MoE model keeps local inference responsive even with partial CPU/RAM offloading.
  • Zero cloud dependency: Inference, scheduling, and package management stay on the local workstation.

Solving UAC Prompts and Hidden AppData Logs​

Anyone who has tried to automate Windows software installs knows the quickest way to stall an unattended script is User Account Control (UAC). Many third-party installers demand administrator elevation, and at 3:00 a.m. on a Sunday, nobody is sitting at the keyboard to click Yes.

Raj’s workaround was to run the Hermes gateway itself with administrator privileges, allowing winget installers to execute without halting on UAC prompts. He noted that once the gateway ran elevated, Hermes refused commands from standard, non-elevated terminal windows, forcing subsequent interactions through an admin prompt as well.

There was also a usability snag: by default, Hermes writes scheduled job outputs to markdown files tucked away inside the user profile’s local Hermes/AppData directory—the kind of folder you swear you will inspect every week and promptly forget exists. To bring those reports out into the open, Raj paired the workflow with BurntToast, a long-running PowerShell module that generates native Windows toast notifications using commands like New-BurntToastNotification.

Windows IT Reality Check: While BurntToast remains available on the PowerShell Gallery (supporting PowerShell 5.0 and later, up through v1.1.0), its creator archived the GitHub repository and noted that the module is no longer actively maintained. It still works fine for personal notification scripts today, but enterprise admins building long-term desktop tooling should keep that maintenance status in mind before standardizing on it.

What Happened in the 48-App Test Run​

Rather than waiting for Sunday, Raj triggered the job manually with hermes cron run, instructing the model to audit all 48 pending updates while capping actual installations at five packages for the test.

Right out of the gate, the agent stumbled over a classic Windows developer annoyance: its first terminal command failed with "stdin is not a tty", an error Raj attributed to Git Bash on Windows. Impressively, Qwen adapted on its own and found a workaround, though the exact command adjustment was not detailed.

From there, the author reported that the full review and five attempted installations took roughly nine minutes, with Qwen3.6-35B-A3B generating at around 58 tokens per second and ingesting prompts at roughly 1,000 tokens per second. (Those numbers reflect one user’s specific GPU, quantization, and package mix rather than universal benchmarks.)

Here is how the test run broke down:

  • Updated successfully (5 apps): AdGuard Home, Antigravity, CapFrameX, CrystalDiskInfo, and CrystalDiskMark.
  • Protected as core tooling (3 apps): Git, Node.js, and Ollama.
  • Held back for major version jumps (4 apps): Epic Online Services, OpenRGB, ripgrep, and Microsoft Teams.
  • Held back as a driver (1 package): ViGEm Bus Driver (used by Raj’s Sunshine game-streaming server)—an easy catch with "Driver" sitting right in the package name.
  • Untouched due to the five-install cap (34 apps): Left queued, with the model flagging most as safe for a full run.

And then there was the miss—and it is the most instructive part of the entire experiment.

The model attempted to upgrade Corsair iCUE, treating it like any ordinary desktop utility. As Raj noted, iCUE is notorious for bundling its own audio drivers and peripheral components alongside its interface. The install failed anyway, and Qwen dutifully logged the failure in its summary, but the attempt itself exposed the soft underbelly of prompt-only rules: an LLM reading package names in a terminal table only knows what the text implies. Without deeper package-manifest awareness or explicit memory of bundled drivers, "hold back drivers" will stop ViGEm Bus Driver, not Corsair iCUE.

Summary: Test Run Takeaways​

  • Resilience on CLI quirks: The model recovered from a Windows Git Bash TTY error without human intervention.
  • Good surface-level filtering: It respected explicit dependencies and flagged major version bumps accurately.
  • Blind spots on bundled installers: Prompt-based heuristics cannot reliably predict hidden drivers inside bloated vendor suites like Corsair iCUE.

Why winget pin Should Still Do the Heavy Lifting​

Here is where a veteran Windows admin takes a step back and asks a fair question: Wait—do you actually need an LLM to remember not to update Git, Node.js, or your controller driver?

No, you do not. In fact, relying solely on a prompt inside a stateless cron session is riskier than using the deterministic guardrails Microsoft already built into winget.

According to Microsoft’s winget pin documentation, WinGet supports three native pin types:

  • Standard pin (winget pin add <package>): Excludes the package from winget upgrade --all while still allowing deliberate, targeted upgrades when you run winget upgrade <package> directly.
  • Blocking pin (winget pin add --id <ID> --blocking): Prevents winget from upgrading the package at all—even via targeted commands—until you explicitly remove the pin or pass --force.
  • *Gating pin (`winget pin add --id <ID> --version 1.2.`):** Locks a package to a specific version or wildcard range, letting minor patches through while blocking major jumps automatically.

Wait—there is one crucial caveat Microsoft highlights: WinGet pins only govern WinGet itself. They will not stop an application with its own built-in auto-updater (think browsers, chat clients, or vendor suites) from updating itself behind WinGet’s back.

Still, combining winget pin with an agent is dramatically smarter than asking an LLM to enforce static exclusions from scratch every Sunday. Lock down Git, Python, Node.js, Ollama, ViGEm Bus Driver, and bloated peripheral suites like iCUE with deterministic winget pin add --blocking or gating rules first. That way, even if an LLM hallucinates or misreads a prompt rule, the package manager itself refuses to budge. Then let the agent focus on what scripts actually struggle with: scanning release-note patterns or version deltas, throttling updates into small batches, recovering from noisy installer failures, and summarizing what changed.


The Elephant in the Room: Giving an Unattended LLM Admin Rights​

Let us talk security, because running an autonomous AI agent as a Windows Administrator deserves more than a shrug.

Raj addressed the obvious concern directly: on his machine, nothing from the outside network can reach Hermes, the scheduled job does not ingest web pages or incoming emails (eliminating remote prompt injection vectors), and the prompt restricts the agent to winget upgrades. In his view, the worst realistic outcome is an unwanted app update that shows up in his toast notification.

That is a reasonable personal risk assessment for an isolated single-user gaming and tinkering rig—as long as nobody mistakes "local" for "automatically safe."

Nous Research’s own security documentation for Hermes Agent lays out an eight-layer defense-in-depth model specifically because autonomous tool use is inherently risky. Key controls include:

  • approvals.cron_mode: Defaults to deny, meaning headless cron jobs automatically block commands matching Hermes’ dangerous-pattern list when no human is around to approve them.
  • Headless policy separation: Interactive smart approval mode is treated separately from cron_mode, single_query_mode, and unattended_mode.
  • Production isolation: Hermes documentation recommends container-based sandboxing (such as Docker, Singularity, or Modal) for production gateway deployments rather than relying purely on allowlists or prompt guardrails.

Of course, if your goal is updating native Windows desktop apps via winget, you cannot lock the agent inside a Linux container—it needs host access, and many installers require elevation. That means if you experiment with this pattern on Windows, you are accepting the blast radius of an elevated local process running probabilistic decisions.

Practical Rules If You Try This on Windows​

If you are tempted to build your own scheduled LLM maintenance loop rather than sticking to plain PowerShell scripts or enterprise patch tools like Intune, treat it like any other privileged automation:

  1. Pin first, prompt second: Use winget pin add --blocking or --version gating on drivers, runtimes, and mission-critical tools so a prompt slip cannot touch them.
  2. Keep cron_mode strict: Do not loosen Hermes’ dangerous-command safeguards just to make an edge-case installer happy.
  3. Never mix untrusted inputs into an elevated job: The moment an admin-privileged cron agent reads external web changelogs, emails, or GitHub issues, prompt injection becomes a real host-compromise risk.
  4. Cap batch sizes and audit logs: Limiting runs to a handful of updates at a time—and surfacing failures via visible notifications—makes rolling back a bad update far less painful than cleaning up after 40 silent installs at once.

Using a local LLM to babysit winget will not replace disciplined patch management in an enterprise IT environment, and it certainly will not outsmart every quirky Windows installer on the first try. Yet as a personal quality-of-life hack, pairing a fast local MoE model with a weekly scheduler shows where desktop AI is quietly becoming genuinely useful: not writing poetry in a browser tab, but taking the boring Tuesday-morning chores off your plate—provided you keep the guardrails bolted down tight.

 

References

  1. The most useful thing my local LLM does happens on a schedule I set once and forgot about XDA 2026-12-01T19:00:21+00:00
  2. qwen.ai qwen.ai
  3. `upgrade` Command | Microsoft Learn learn.microsoft.com