1. Home
  2. Blog
  3. Windows telemetry

Artificial intelligence · 9 min read

Windows 11 countsyour coding agents.

A diagnostic component shipped with Windows 11 contains explicit comparisons against codex.exe, claude.exe, cursor.exe, copilot.exe and a dozen other developer binaries. The outcome leaves as a bitset in an ETW report, and goes to Microsoft when optional diagnostic data is on — the default in a US installation. Here is how to check your own machine in ten minutes, and what it changes for a team evaluating agents.

By Kaleido LabPublished

Key takeaways

  • The component is MissionControlAggregator.dll, loaded by AggregatorHost.exe, itself a child of the DiagTrack service. It does not scan memory: it subscribes to KernelProcess.AppStateChangeSummary, Win32kTraceLogging.AppInteractivitySummary and WSL Exec/ExecCritical events, then compares executable names.
  • The Segments.SubCohorts report is a bitmap: 12 dev-tool categories, 4 CLI agent slots, 5 desktop agent slots. No prompt, no source code, no project name. A copy of cmd.exe renamed codex.exe is enough to set the Codex bit.
  • The event is marked privacy.isRequired: false: it is uploaded only when optional diagnostic data is allowed. On a freshly installed US machine, the setting measured AllowTelemetry=3, i.e. "Include Optional".

What the component actually does

The trail starts with a list of strings inside a Windows binary: codex.exe, claude.exe, copilot.exe, cursor.exe, next to python.exe, dotnet.exe, gcc.exe and code.exe. Why would a system DLL need the list of installed coding agents? On November 16, 2026, Xusheng Li followed it through a full disassembly write-up: the names sat in MissionControlAggregator.dll, and they were used in comparisons.

The mechanism is cleaner than a process scanner. On load, the aggregator subscribes to three event families the system already produces: KernelProcess.AppStateChangeSummary and Win32kTraceLogging.AppInteractivitySummary for Windows programs, Microsoft.Windows.Lxss.Manager.Exec (and ExecCritical) for WSL. Its handlers pull an application identity, feed the matchers, and a match sets a slot in internal state. A timer then turns those slots into a report through ReportCohorts<12,4,5>, emitted as Segments.SubCohorts (provider Microsoft.Windows.MissionControlAggregator, version 0.1.5), roughly once per day.

State survives reboots: it is persisted under C:\ProgramData\Microsoft\Diagnosis\AggregatorStorage\MissionControlAggregator$. The service carrying all of this is DiagTrack (Connected User Experiences and Telemetry), startup type automatic, with an AggregatorHost.exe child that loads the DLL. Nothing exotic: this is the standard diagnostic plumbing, repurposed by a feature named CLICodingAgentUsage (ID 62580080).

The detail that mattersThe feature was disabled on the public ISO's baseline VM, but already enabled as a service experiment on the ARM64 test VM (build 26200.9974, DLL 10.0.26100.9818), with no manual intervention. In other words: rollout depends on the image. That is exactly why you measure instead of assuming.

Ten minutes to verify your machine

Four PowerShell commands, run as administrator, are enough to know whether the chain is live. None of them change anything.

PS> Get-Service DiagTrack | Format-Table Name,Status,StartType
PS> Get-CimInstance Win32_Process `
     -Filter "Name='AggregatorHost.exe'" `
     | Format-List ProcessId,ParentProcessId
PS> tasklist /m MissionControlAggregator.dll
PS> Get-EtwTraceProvider -SessionName Diagtrack-Listener `
     -Guid '{00de11a2-ec06-58e5-1a2b-21bb21dbee4b}'

Reading the output. If DiagTrack is Running with StartType set to Automatic, if AggregatorHost.exe exists with the DiagTrack PID as parent, and if tasklist /m lists MissionControlAggregator.dll in that process, the component is running. The last command checks the part that actually decides upload: whether the Diagtrack-Listener session is subscribed to the Microsoft.Windows.MissionControlAggregator provider. Without that subscription, the report stays local.

The functional test is trivial, and that is what makes the finding solid: copy cmd.exe to codex.exe and run it. The name alone is enough — the slot lights up and the report shows CliAgentSubCohorts: 4, i.e. 1 << 2. Same with a cmd.exe copy named gcc.exe: SubCohorts: [8], the compiler/debugger category bit. Do it on a VM, not on the laptop holding your keys: forcing an immediate flush means shifting the reporting window and restarting DiagTrack.

Last point, and the only one that decides upload: the diagnostic setting. Settings → Privacy & security → Diagnostics & feedback. On the freshly installed US machine, the toggle was already on "Send optional diagnostic data", with AllowTelemetry at 3. You can decline it at setup, turn it off later, or drive it across a fleet through policy.

What the report holds, and what it ignores

The report is a bitmap, not a log. Three dimensions:

GroupSlotsWhat is recognised
CLI agents4copilot.exe, claude.exe, codex.exe, agy.exe (plus extensionless equivalents on the WSL route)
Desktop agents5github.exe, claude.exe, codex.exe, cursor.exe, antigravity.exe
Dev tools12node, python, dotnet, gcc, clang, gdb, javac, devenv, code…

Three nuances change how you read it. First, some slots also verify the publisher: Node.js Foundation for Node, Python Software Foundation for Python, Microsoft Corporation for .NET and Visual Studio. Second, the compiler/debugger group does not separate GCC from Clang from GDB: one bit for all of them. Third, the report carries no prompt, no source code and no open file name — the researcher looked, and found only bits plus the collection window's timestamp.

Direct consequence: this is neither a DLP tool nor a usage meter. A renamed wrapper produces a false positive, and an agent launched elsewhere — container, remote SSH host, JetBrains gateway — does not report, because the documented event sources are local events and the WSL route. The granularity is deliberately coarse, which makes it unembarrassing on content and very talkative on adoption.

Why it matters for a team

The real signal is not "Microsoft reads my prompts" — it does not, at least not here. It is an adoption map: which agent vendors are being tested, on how many machines, alongside which compiler publisher. Across a fleet, one bit per category per day is enough to reconstruct an adoption curve. For a team evaluating three agents in parallel before committing, that is precisely the data you would rather keep in-house, and it becomes readable by any third party with access to diagnostics — support, MDM, internal audit.

Second, broader reason: telemetry that counts your tooling is no longer a browser or network concern, it is a signed system binary concern. This component ships with the OS, starts with it, and never shows up in a dependency review. For an engineer shipping AI in production, it is a useful reminder that a dev workstation's observation surface now includes the OS layer, not just the IDE and npm packages.

Conversely, when is it not worth caring? On a personal machine with no client data and no NDA, the emitted payload is one coarse bit per day, and the cost of an audit outweighs the risk. Same reasoning where optional data is already off: the chain may still run locally, but the event is marked non-required and never queued for upload. The threshold is contractual: the moment a client asks you to declare your tools and subcontractors, agent inventory is part of the declared scope.

What the finding does not showNo evidence of commercial exploitation, no trace of prompt content, no encryption bypass: a bitset, a timestamp, a default setting. Read it as a transparency and fleet-governance problem, not as a leak.

Checklist: decide with measurements

  1. Measure before deciding. Run the four commands on a sample of dev machines, not just yours: rollout of the feature depends on the image and channel, so the answer varies inside one fleet.
  2. Read the real setting, not the assumed default. The "Include Optional" default was observed on a fresh US install; on an existing fleet the value comes from the image, an old user choice or a policy. AllowTelemetry is the number to record.
  3. Decide by role. Machines handling client data under NDA: optional data off, and documented as such. Internal machines: your call, but written down — a client audit asks for the policy, not the intent.
  4. Isolate vendor evaluation. Testing three competing agents on the laptop holding production credentials is the actual risk, telemetry or not: a throwaway VM is enough, like the one used in the investigation.
  5. If you emit telemetry, copy the shape, not the opacity. Coarse bits instead of content is the good half of this design. The bad half is discovering the feature name by disassembly. Document what you collect; undocumented collection always ends up in a blog post.

Need to audit an agent architecture, scope the data your tooling sends out, or train your engineering team? See how we work at Kaleido-Lab.

Frequently asked questions

Another question? Email me.

Does Microsoft read my prompt content?

Not in this report. The Segments.SubCohorts event holds only bits (agent observed, tool category) plus the collection window's timestamp. The researcher found no prompt, no source code and no file name in it.

Am I affected if I declined optional diagnostic data?

Not for upload: the event is marked privacy.isRequired false, so it is only queued when optional data is allowed. The component may still run locally, and its state is persisted under C:\ProgramData\Microsoft\Diagnosis\AggregatorStorage.

Why does a renamed cmd.exe prove the point?

Because agent detection compares executable names rather than signatures. A cmd.exe copy named codex.exe sets the Codex slot (CliAgentSubCohorts 4). Some dev-tool slots additionally check the publisher (Node.js Foundation, Python Software Foundation, Microsoft Corporation), but the agent path does not.

How do I turn the upload off across a fleet?

Per machine: Settings → Privacy & security → Diagnostics & feedback, disable optional diagnostic data (or decline at setup). Across a fleet this goes through the diagnostic policy — and through a written decision, because that is what a client audit will ask for.

Your tools talk about you?

Auditing what your dev workstation exposes, scoping the data your agents send out, or reviewing an agent architecture: describe your context and I will reply with a first opinion and next steps, no strings attached.

Read next