I built a PC diagnosis toolkit with a local 9B model, and it finally translated Event Viewer's gibberish

I built a PC diagnosis toolkit with a local 9B model, and it finally translated Event Viewer's gibberish

Published Dec 6, 2026, 12:01 PM EST Gaming has been Samarveer’s greatest passion, and the Literature graduate in him takes immense joy in dissecting games for their themes, messages, and impact. Samarveer holds a deep appreciation of gaming, and considers the platform to be the most immersive and impactful across all media. He can be found engaging with gaming communities online, always ready to debate the finer points of ray tracing or itching to write an 8-page collegiate thesis on any game that impacts him emotionally. Anyone who's opened Event Viewer knows that Windows has a pretty comprehensive memory of everything that goes wrong on a PC. Every crash, driver failure, unexpected restart, and little tantrum gets dutifully recorded in Event Viewer. The problem, however, is that Windows doesn't particularly care whether I can make sense of it. The data is always right there, but deciphering it usually involves Googling dozens of different event IDs, and a fair amount of guesswork on top of it all. My GeForce RTX 4070 Ti, on the other hand, has 12GB of VRAM that isn't doing much when I'm not gaming. That's more than enough to run a surprisingly capable language model entirely locally, without sending my system logs or diagnostic data to someone else's servers. Windows doesn't lack evidence; it lacks a translator Event Viewer records everything but it ranks nothing Windows isn't particularly shy about documenting its failures. Event Viewer records every unexpected restart or driver hiccup, and if an application crashes, that gets logged too. However, Windows barely distinguishes between something worth investigating and something that's just been going on harmlessly for months. A pretty good example here would be Kernel-Power 41. It indicates that Windows wasn't shut down cleanly, but doesn't identify the cause on its own, thus deserving investigation. Then there's DCOM 10016, an event Microsoft explicitly considers expected and safe to ignore. Both of these sit in the same endless list, and they're also surrounded by enough red warning icons to make your PC look perpetually (and terminally) ill. Naturally, Googling individual event IDs isn't particularly productive. Forum threads recommend everything from running SFC scans to replacing perfectly functional hardware. On the flip side, you can't paste everything into a cloud chatbot either, since those logs contain usernames, device names, installed software, and pertinent hardware information as well. That problem, thankfully, is solved with a local LLM. The question, though, is whether it could actually distinguish between a failing component and Windows simply being Windows. Teaching a 9B model to read Event Viewer The rules came before the AI did As usual, I had Claude whip up a PowerShell script for this, while the design decisions remained mine. I wanted a diagnosis toolkit that needed nothing installed beyond Ollama. Installing half a dozen dependencies on a PC that's already misbehaving rather defeats the purpose. The toolkit collects evidence using built-in Windows tools, runs plain-code checks, and only then calls the model. The first problem was volume. Fourteen days of Event Viewer logs produced 1,195 warnings and errors, while the model's context window was capped at 16,384 tokens. Ollama can trim oversized prompts rather than refuse them, meaning useful evidence can disappear without an obvious warning. I grouped events by source and ID, retaining their count, first and last occurrence, and one sample message, which shrank the pile to 46 groups. I also wanted the model to resist confidently diagnosing perfectly healthy Windows installations. Known harmless events, including DCOM 10016, are labeled as noise before reaching it. Plain-code checks flag obvious problems independently, while the model must cite evidence, state confidence, and disclose what it couldn't check. Registry cleaners are explicitly off the menu. I initially planned to use Qwen3, but settled on Qwen3.5 9B (Q4_K_M, 6.6GB), leaving room for longer prompts on my 12GB RTX 4070 Ti. Gemma 4 12B (Q4_K_M, 7.6GB) became its rival, running against the same PC and the same symptoms. I wanted to see which one could actually play detective without inventing a crime. Two detectives, one wrong suspect The right symptoms got flagged but on the wrong drive Both models generated 72 to 74 tokens per second, but that wasn't the bottleneck. On a cold start, each spent about 20 seconds reading the nearly 7,000-token prompt. Qwen3.5 then thought for another 36 seconds, Gemma 4 just nine. On the headline findings, they pretty much agreed. Both flagged 458 NVIDIA driver errors, a batch of bad-block errors, and a C drive with just 6% free space, then recommended backing up my data. Fair enough. Test setup: Ryzen 5 7600X, 32GB DDR5-6000, RTX 4070 Ti (12GB), Windows 11 Pro 26H2, Ollama 0.40.21. Qwen3.5 9B and Gemma 4 12B, both Q4_K_M and fully in VRAM, 16,384-token context, thinking on. One configuration only; your numbers will differ. Then both told me to run CHKDSK on the C drive. The bad blocks came from "Harddisk1," but all my volumes — C included — live on a single NVMe SSD. Harddisk1 was actually a USB hard drive I'd plugged in on December 2 that hasn't worked at all in months. Qwen's own reasoning spotted the mismatch, only for its final answer to promptly forget it. Gemma fared worse when I told it a game I installed had crashed and wouldn't boot. It blamed the USB drive, despite it having arrived nearly five days after the only unexpected shutdown in my logs. That shutdown coincided with the NVIDIA errors, and neither model connected the two. Apparently, spotting suspicious evidence and identifying the actual culprit are two very different skills. I've made a brilliant intern, but not quite a doctor Where a local LLM actually earns its VRAM For all its mistakes, the toolkit did something Event Viewer never has. In under 90 seconds, without a log ever leaving my PC, it turned 1,195 warnings and errors into a shortlist — 458 NVIDIA driver errors, a nearly full C drive, and a USB drive reporting bad blocks. The mistakes were just as useful. Neither model knew Harddisk1 was a USB drive because I hadn't told it. That's a gap in my toolkit, not the model. Mapping disk numbers to physical drives is the first thing I'm fixing; a language model can only reason with the evidence it receives. There are limits, too. The toolkit can't read crash dumps or stress-test hardware, and both models can sound certain while getting things completely wrong. Follow their advice blindly, and you could end up running CHKDSK on the wrong drive. An AI diagnosis still needs a human sanity check. I'm keeping it, though. If nothing else, it can still sift through two weeks of Windows logs without complaining, but still needs supervision, which I'm completely fine with. My GPU has found another job I've spent years treating my GPU as something that exists to make games look prettier and run faster. Having it do something genuinely useful outside gaming has been surprisingly satisfying. It's been pretty rewarding to build a tool that makes my own hardware more useful, and unlike most other AI experiments, this one actually gives me something I'll keep using every fortnight. I don't expect a 9B model to replace proper hardware diagnostics, nor would I trust one with unchecked administrative access to my PC. But I do want to keep pushing this toolkit further. There's plenty left to automate, plenty of room to improve its reasoning, and absolutely no reason to send my Windows logs to the cloud just to understand why my computer is throwing a tantrum. Ollama Released July 3, 2023 Developer(s) Jeffrey Morgan and Michael Chiang Price model Free Ollama is a platform to download and run various open-source large language models (LLM) on your local computer.

Original Source

Read the full article at Xda-developers →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.