RC RANDOM CHAOS

Windows 11 logs AI coding tool use, uploads to Microsoft

Windows 11's MissionControlAggregator DLL records which coding agents and developer tools run on a machine and uploads it to Microsoft by default.

· 3 min read
Windows 11 logs AI coding tool use, uploads to Microsoft

A Windows 11 system DLL, MissionControlAggregator.dll, ships with a hardcoded list of executable names including codex.exe, claude.exe, copilot.exe, and cursor.exe. The component that reads that list records which of those tools have run on the machine, saves the result locally, and, under the default diagnostic settings, uploads it to Microsoft.

A researcher disassembling recent Windows binaries in Binary Ninja found the names embedded in the DLL and followed the references. The comparisons resolve to what the writeup calls executable-name matchers: four CLI-agent slots checking copilot.exe, claude.exe, codex.exe, and agy.exe (with extensionless equivalents on the WSL route), and five desktop-agent slots checking github.exe, claude.exe, codex.exe, cursor.exe, and antigravity.exe. The feature guarding these checks is named CLICodingAgentUsage, feature ID 62580080.

The list goes well past AI agents. The same component checks node.exe, python.exe, dotnet.exe, gcc.exe, clang.exe, gdb.exe, javac.exe, devenv.exe, and code.exe, feeding twelve broader developer-tool categories. Some slots also verify the publisher: Node.js expects Node.js Foundation, Python expects Python Software Foundation, and the .NET and Visual Studio slots expect Microsoft Corporation. The compiler and debugger group that holds GCC and Clang has no publisher check in that path, so a match there rests on filename alone.

The DLL does not scan running processes. It subscribes to Windows events that already exist. For Windows programs it consumes KernelProcess.AppStateChangeSummary and Win32kTraceLogging.AppInteractivitySummary; for WSL it consumes Microsoft.Windows.Lxss.Manager.Exec and ExecCritical, reading the imageName field. Because of the app-state summary route, a normal Windows codex.exe reaches the CLI-agent checks too, so WSL is only one of several input paths.

A match sets a slot in the aggregator’s state. On a roughly daily boundary a routine turns those slots into bitsets and emits a self-describing ETW TraceLogging event named Segments.SubCohorts. Each category gets one bit, and a set bit means the matching tool was observed during the window. The upstream events carry runtime, time in focus, interaction counters, and resource usage, but this component appears to discard all of that and keep only the bitmap of which tools were seen. The report contains no prompt text and no source code.

Matching is by name, which the researcher confirmed by copying cmd.exe to a file named codex.exe and running it. The name alone set CLI slot 2, the Codex slot, and the emitted report carried CliAgentSubCohorts: 4, which is 1 << 2. The same trick with a copy named gcc.exe set developer-tool slot 3 and produced SubCohorts: [8], the compiler/debugger category shared by GCC, Clang, and related tools rather than a bit per executable. The signal is coarse: a renamed binary flips a bit, and several tools collapse into one category.

On the machine the researcher examined, a Parallels Windows 11 ARM64 VM at build 26200.9974 with DLL version 10.0.26100.9818, CLICodingAgentUsage was already enabled as a service experiment without any manual action. DiagTrack, the Connected User Experiences and Telemetry service, was running with Automatic startup; it spawns AggregatorHost.exe, which loads the DLL. State is persisted at C:\ProgramData\Microsoft\Diagnosis\AggregatorStorage\MissionControlAggregator$.

The upload hinges on one flag. The report is marked optional diagnostic data (privacy.isRequired is false). When optional diagnostics are allowed, Windows queues the event for transmission to Microsoft, which the researcher verified by finding it in DiagTrack’s upload queue. On a clean Windows 11 Home ARM64 install from the latest official ISO with the region set to the United States, the Diagnostic data toggle was already set to Include Optional before any privacy settings were touched, and AllowTelemetry read 3. On that default, the coding-agent usage data is being uploaded.

For anyone running these systems, the practical change is that the standard Windows telemetry channel now reports a daily inventory of which coding agents and build tools ran on each box. Treat it as an egress of a tool manifest rather than as crash statistics. On managed fleets this rides on the existing AllowTelemetry policy, so a diagnostics level of required or security already suppresses it and there is nothing new to configure. On an individual machine, decline optional diagnostics during setup, or turn off Send optional diagnostic data later under Settings → Privacy & security → Diagnostics & feedback.

Share

Keep Reading

Latest on the Wire

Full wire →

New signal daily · RSS

Stay in the loop

New writing delivered when it's ready. No schedule, no spam.