Skip to main content
osky
Sección
Technology

If you code on Windows 11 with Codex, Claude Code, Copilot or Cursor, your operating system probably already knows, and with the out-of-the-box settings it tells Microsoft. Reverse engineering researcher Xusheng Li published on November 16 an analysis of MissionControlAggregator.dll, a Windows 11 component that detects which coding agents and development tools have been used on the machine, saves that to disk and drops it into the diagnostic data queue that heads out to Microsoft. It doesn't send your code or your prompts, but it does send a pretty clear picture of how you work. The topic reached almost 400 points on Hacker News.

What he found

Li says he asked an AI to review recent Windows binaries looking for undocumented features, and among the clues a list of executables stuffed inside that DLL showed up. Following the references, he found explicit comparisons:

  • Terminal agents (4 slots): copilot.exe, claude.exe, codex.exe and agy.exe, plus their extensionless equivalents when running inside WSL.
  • Desktop agents (5 slots): github.exe, claude.exe, codex.exe, cursor.exe and antigravity.exe.
  • Development tools (12 categories): including node.exe, python.exe, dotnet.exe, gcc.exe, clang.exe, gdb.exe, javac.exe, devenv.exe and code.exe.

According to the analysis, the feature that turns on agent detection is called CLICodingAgentUsage (ID 62580080). Some tools are also validated by the binary's publisher (Node.js, Python, .NET), but the agents are not: Li copied cmd.exe, renamed it codex.exe, ran it, and Windows counted it as Codex. The file name is enough.

How the data travels

The component doesn't scan processes on its own. According to Li, it hooks into events that Windows already generates (the kernel's app state summaries, Win32k interaction summaries, and WSL execution summaries), compares names and flips one bit per category. That state is stored in C:\ProgramData\Microsoft\Diagnosis\AggregatorStorage and, roughly once a day, goes out as the Segments.SubCohorts event.

Diagrama de la ruta del dato en Windows 11: eventos existentes, comparación por nombre de ejecutable, estado local, reporte diario Segments.SubCohorts y cola de DiagTrack hacia Microsoft

Li saw that event in the upload queue of the DiagTrack service (Connected User Experiences and Telemetry) flagged as optional data (isRequired: false). The report carries no usage times or counters, only which categories showed up in the window. He tested on a Windows 11 ARM64 VM, build 26200.9974, where the feature was already active without him touching it, and on a clean Windows 11 Home install from the official ISO with a United States region: the installer had Include Optional checked by default.

What we don't know

This is one person's finding, on ARM64 machines, with a United States region. We don't know how many PCs have CLICodingAgentUsage active (Li describes it as a service experiment), whether it behaves the same on x64 or with a Mexico region, or what Microsoft does with the data. At the time of writing I found no public explanation from Microsoft about this component.

What is in Microsoft's documentation: optional data "may include" device activity and app usage, diagnostic data is stored with identifiers that allow a user to be recognized on a device and, in some cases, optional data is collected only from a sample of devices. That's why Daily CyberSecurity concludes this fits within the published policy. Both things can be true: that it's legal according to the notice and that almost nobody knows their choice of coding agent is in that bag.

My take

This isn't spying on your code, and it's best not to blow it out of proportion. But the detail matters for two reasons. First, Microsoft sells one of the agents on the list (GitHub Copilot) and competes with the others; knowing how many developers on Windows use Claude Code or Cursor is valuable market information, however they measure it. Second, the data comes out of a checkbox that almost nobody changes during installation. If you work with clients who ask for discretion about their tools, or you manage development teams, this goes on your inventory of what leaves your machines.

How to turn it off

  • On your PC: Settings → Privacy & security → Diagnostics & feedback → turn off Send optional diagnostic data. Right there you can also delete the data already sent and open the Diagnostic Data Viewer to see what's being sent.
  • In an organization: the Allow diagnostic data policy (MDM: System/AllowTelemetry). According to the admin guide, 1 is Required and 3 is Optional. The value 0, no data, only exists on Enterprise, Education and Server.
  • Windows Insider: Daily CyberSecurity warns that those builds require optional data to be on, so there the checkbox isn't an option.

I didn't test it; this comes from the analysis published by Li and from Microsoft's official documentation.

Sources