A Windows 11 desktop setup with three monitors, illustrating Windows 11 telemetry on coding agents

Windows 11 telemetry now logs which coding agents you run

Photo: morrisonbrett on Flickr, CC BY 2.0

So, Windows 11 telemetry now has a little list. On it: codex.exe, claude.exe, copilot.exe, cursor.exe. Also python.exe, gcc.exe, node.exe, code.exe and a dozen other tools you probably launch every day without thinking twice. And a Windows component quietly ticks a box each time it sees one of them running.

That’s the finding of security researcher Xusheng Li, who pointed an AI at the latest Windows binaries looking for undocumented features and got a far more interesting answer than he bargained for. The whole writeup is on his blog, and it’s a lovely piece of reverse engineering. It’s also a bit depressing.

Windows 11 telemetry and the coding agent list

The strings live in a DLL called MissionControlAggregator.dll, which is loaded by AggregatorHost.exe, which is itself spawned by DiagTrack. Yes, the “Connected User Experiences and Telemetry” service you’ve been trying to kill since 2015. The feature flag guarding the new checks has a refreshingly honest name: CLICodingAgentUsage, feature ID 62580080.

The component doesn’t scan your processes itself. It just subscribes to events Windows already emits about app launches (including WSL ones), compares the executable names against its list, and flips a bit. Four slots for CLI agents: copilot, claude, codex and agy. Five for desktop apps: GitHub, Claude, Codex, Cursor and Antigravity. Then twelve broader categories for the boring stuff, like compilers and debuggers.

Roughly once a day, those bits get packed into an ETW report called Segments.SubCohorts. No prompt text, no source code, just a bitmap of “this person used Codex this week”. Which, let’s be honest, is exactly the kind of market-share data a company selling Copilot would love to have.

It really leaves your machine

Here’s the part that moved this from “curious” to “annoying”. Li copied cmd.exe, renamed it codex.exe, ran it, and watched the Codex bit light up in the saved state. The file name alone was enough. He then dug into DiagTrack’s upload queue and found the event sitting there, flagged as optional diagnostic data, ready to go to Microsoft.

And “optional” is doing a lot of work in that sentence. On a clean Windows 11 Home install from the official ISO, with the region set to the US, the diagnostics toggle was already on and labelled “Include Optional” before he touched a single setting. If you clicked Next through setup like everyone else, you’re in.

One caveat Li is careful about: his public-ISO test VM had the coding-agent feature disabled by default, while his ARM64 machine had it switched on as a “service experiment” without him doing anything. So it’s not necessarily active everywhere yet. It’s a rollout, the way these things always are.

Why you should care about Windows 11 telemetry

Nobody’s reading your code here. But knowing which AI agents a developer uses, on which machine, tied to the usual device identifiers, is a surprisingly precise profile. It tells Microsoft who’s on Copilot and who defected to Cursor or Claude. It’s competitive intelligence, collected by the operating system, from people who never agreed to be a focus group.

It also fits a pattern. We’ve already seen how carelessly developers scatter secrets around, with Claude Code configs leaking keys on public GitHub, and now the OS itself is logging which of those tools you run. Add the TV that watches what you watch and the picture is clear: everything with a chip in it is an analytics pipeline first and a product second.

What I’d do? Go to Settings, Privacy & security, Diagnostics & feedback, and switch off “Send optional diagnostic data”. It takes ten seconds. On the next machine you set up, decline it during installation instead of trusting the default. And if you’ve ever wondered why people go to the trouble of building a stripped-down 699 MB Windows 11, well, this is why.

Microsoft wanted to know what developers use. Turns out it’s Windows, reluctantly.


Discover more from TechPassion

Subscribe to get the latest posts sent to your email.

Comments
Add a comment

Leave a Reply