# Windows 11 can log which coding agents you run: what one researcher found

Published: 2026-11-17

Security researcher Xusheng Li reports that one Windows 11 build keeps a daily yes-or-no flag for coding agents such as Codex, Claude Code and Copilot, and queues it as optional diagnostic data. The component matches executable file names and keeps one bit per slot. Microsoft's required events list separately names an IsDeveloper cohort from the same component. One build, one researcher, no Microsoft explanation yet.

Canonical: https://thedailydiff.dev/video/2026-11-17-windows-agent-telemetry/

## What this video covers

- Li reports four command-line agent slots, five desktop agent slots and twelve developer-tool categories inside MissionControlAggregator.dll in a Windows 11 ARM64 Parallels virtual machine, build 26200.9974; we ran nothing on Windows ourselves.
- The component listens to events Windows already produces and keeps one bit per slot; a Codex sighting makes the CLI value 4, which is 1 &lt;&lt; 2.
- Li saw the report in the diagnostics upload queue flagged isRequired false (optional) but did not capture it leaving the machine; queued is not the same as sent.
- On his clean Windows 11 Home install in the United States the toggle already read Include Optional; the opt-out is Settings, Privacy &amp; security, Diagnostics &amp; feedback.
- Microsoft's required events list for Windows 11 versions 25H2 and 24H2 names a second event from the same component, Segments.Cohorts with IsDeveloper as the only cohort reported; Microsoft does not say what feeds it, and nothing links it to the agent bits.
- The test that answers how Windows tells Codex from anything else: Li renamed a copy of the Windows command prompt to codex.exe and the Codex bit flipped, so the check reads a file name.
- Open questions: how many PCs run this, why the first version of Li's post (1,480 words) said a public-ISO baseline VM had the feature off by default and the current version (1,437 words) no longer says so, and what Microsoft uses it for. Verdict: NEEDS REVIEW.
- Visual credits: source recording and excerpts by Xusheng Li (xusheng.dev, CC BY-NC 4.0); Microsoft documentation excerpts (c) Microsoft; thumbnail portrait of Satya Nadella by Brian Smale and Microsoft (CC BY-SA 4.0, adapted), vendor face only; silent Ben Stein roll-call quotation from Ferris Bueller's Day Off via GIPHY, film owners retain copyright and hosting grants no licence.

## Questions and answers

### Does Windows 11 log which coding agents I run?

One researcher reports that a component in one Windows 11 build keeps a yes-or-no flag for coding agents such as Codex, Claude Code and Copilot, and queues it as optional diagnostic data. Xusheng Li tested a single ARM64 virtual machine. Microsoft has not confirmed or explained the feature, and how many PCs run it is unknown.

### What does the Windows coding agent report actually contain?

According to Xusheng Li, the report is a bitmap with one bit per slot. It says which agents or developer tool groups were seen in a reporting window, and the component appears to discard run time and focus time. Li found no prompt text or source code in it. The report is a small record, though tool choice still says something about a person's work.

### How does Windows decide a program is Codex?

The check compares the executable file name. Li copied the Windows command prompt, renamed the copy codex.exe and ran it, and the Codex bit was set. A copy renamed gcc.exe set the compiler and debugger bit. The matcher reads a label, so a fake can set a bit, and a real agent under another name would likely go uncounted, though Li did not test that.

### Can I turn off Windows 11 telemetry for coding agents?

The reported per-agent event is classed as optional diagnostic data, so turning off Send optional diagnostic data under Settings, Privacy and security, Diagnostics and feedback should keep it from being sent. Nobody has published a test with the switch off. Required diagnostic data stays on for Home and Pro, and a work PC may be managed by policy.

### What was the verdict on the Windows 11 coding agent report?

The Daily Diff's verdict was NEEDS REVIEW. The evidence is one build on one machine, and Microsoft has not said what each bit is for, who receives it, or why a developer flag called IsDeveloper sits on its required events list. The optional switch exists, so check it on purpose.

## Chapters

- 0:00 Does Windows 11 know which coding agent you run?
- 0:41 What exactly did the researcher find?
- 1:52 Does the report actually leave the PC?
- 2:43 What stays on when optional data is off?
- 3:18 What does nobody know yet?
- 3:47 How did a renamed command prompt become Codex?
- 4:08 What should a developer check today?
- 4:34 What is the verdict on the daily agent census?

## Transcript

### Does Windows 11 know which coding agent you run?

0:00 Your coding agent is supposed to be your business. One researcher found a Windows 11 component that notes, once a day, whether you ran Codex, Claude Code or Copilot. In this video, how does Windows decide a program is Codex? What does it write down? And does the optional switch cover it? We'll come back to the stand-in program he used for Codex. It's Tuesday, November seventeenth, and this is The Daily Diff.

0:23 Windows 11 has a diagnostics service that sends Microsoft usage data. Xusheng Li, a Binary Ninja developer, reports that one build keeps a few yes or no flags for coding agents. He found the report is classed as optional. The switch is in Settings, under Privacy and security, then Diagnostics and feedback. Li published it on Monday.

### What exactly did the researcher find?

0:42 He asked an AI to search new Windows files for undocumented features, and the names turned up inside a system file called Mission Control Aggregator. He tested a Windows 11 virtual machine running in Parallels. The post passed six hundred points on Hacker News by Tuesday. I found no statement from Microsoft. Inside the file are exact comparisons with program names. Four command-line slots cover Copilot, Claude, Codex and A G Y. Five desktop slots add GitHub, Cursor and Antigravity.

1:11 Twelve more categories cover tools like Node, Python, G C C and Visual Studio. It does not scan your disk. It listens to events Windows already produces, like app state summaries and Linux launches under W S L. Those events carry run time and focus time, but Li says the component throws that away and keeps one bit per slot. A bit is one position on a row of switches. Codex sits at position two, so a Codex sighting makes the row read four.

1:39 That number is the whole message about Codex. So it's a daily attendance sheet. Present or absent. Hours, prompts and source code are not on it, as far as Li could find. Which is exactly why people argue about whether it matters.

### Does the report actually leave the PC?

1:52 To see it run, Li pushed the saved reporting window back twenty-five hours and restarted the diagnostics service. A stand-in for Codex set one bit. Then he found the event in the diagnostics upload queue, with the required flag set to false. That means optional. Optional diagnostic data was already on in his clean Windows 11 Home setup in

2:11 the United States. If you never changed it, his reading is that the report is queued for upload. He saw it queued. He did not capture it leaving the machine. Microsoft's own page lists app activity under optional data, such as which programs are launched on a device. A coding agent is a program. So is Notepad.

2:28 Microsoft says it uses app activity to prioritize compatibility testing and feature work for the apps people use most. A Codex census would fit that sentence. The documentation does not say that is the purpose here, and whether it feels different is your call. Switching optional data off should keep the per-agent report home.

### What stays on when optional data is off?

2:46 But Microsoft's required events list names a second event from the same component. It classifies users by app usage, and the only cohort reported is called Is Developer. Required is the floor on Home and Pro. Microsoft does not say what feeds that flag. To be fair, nobody has shown that flag fires on your PC, or that it links to the agent report. On Hacker News, one camp says every platform counts app launches and Microsoft

3:11 discloses optional data in Settings. The other camp asks why a system file names competing tools. Both can be right.

### What does nobody know yet?

3:18 Nobody knows how many machines run this. Li's first version said a baseline virtual machine from the public I S O had the feature off by default. That sentence is gone from the current post, and I found no explanation. Microsoft's page says some optional data is collected from only a small percentage of devices. His build called the feature a service experiment. Microsoft sells Copilot, one of the agents on the list.

3:42 A competitor census is a fair question. Nobody has shown Microsoft uses it that way. Now the stand-in.

### How did a renamed command prompt become Codex?

3:47 Li copied the Windows command prompt, renamed the copy codex dot exe, and ran it. The Codex bit flipped. A copy renamed G C C dot exe set the compiler bit. Windows checked a label, and a label goes on anything. So the report is cheap to fool, and a real agent under another name would likely go uncounted, though Li did not test that.

### What should a developer check today?

4:08 If you run agents on Windows, open optional diagnostic data and decide on purpose. Microsoft's Diagnostic Data Viewer shows events while it is open. On a work PC an admin may control it through policy. And the Windows switch covers Windows. Claude Code, Codex and Cursor have their own telemetry controls, and those are separate. If you'd rather read this than hear me say it, the diff lands in your inbox every morning, free at the daily diff dot dev, link below.

### What is the verdict on the daily agent census?

4:34 So today's verdict is NEEDS REVIEW. I'd review it because the evidence is one build on one machine, and Microsoft hasn't said what each bit is for, who gets it, or why a developer flag sits on the required list. The optional switch exists, so use it on purpose. And that's the diff for today. I'm Niko from Axrisi. Merge responsibly.

## Sources

- [Windows 11 Is Collecting Data on Which Coding Agents and Developer Tools You Use](https://xusheng.dev/posts/windows-coding-agent-telemetry/) — Xusheng Li / xusheng.dev
- [First published version of the same post, Internet Archive capture of Nov 16 2026 23:00 UTC](https://web.archive.org/web/20261116230024/https://xusheng.dev/posts/windows-coding-agent-telemetry/) — Internet Archive / Xusheng Li
- [Initial finding thread](https://x.com/CrackmesOne/status/2122147747390468384) — Xusheng Li on X (@CrackmesOne)
- [Windows 11 is collecting data on which coding agents and developer tools you use](https://news.ycombinator.com/item?id=50524736) — Hacker News
- [Configure Windows diagnostic data in your organization](https://learn.microsoft.com/en-us/windows/privacy/configure-windows-diagnostic-data-in-your-organization) — Microsoft Learn
- [Required diagnostic events and fields for Windows 11, versions 25H2 and 24H2](https://learn.microsoft.com/en-us/windows/privacy/required-diagnostic-events-fields-windows-11-24h2) — Microsoft Learn
- [Diagnostics, feedback, and privacy in Windows](https://support.microsoft.com/en-us/windows/privacy/diagnostics-feedback-and-privacy-in-windows) — Microsoft Support
- [Satya Nadella portrait (cropped), CC BY-SA 4.0](https://commons.wikimedia.org/wiki/File:MS-Exec-Nadella-Satya-2017-08-31-22_%28cropped%29.jpg) — Brian Smale and Microsoft via Wikimedia Commons
- [Ben Stein roll-call GIF source (hosting only, no licence)](https://giphy.com/gifs/vHwGAMZfWj3mU) — GIPHY
