Windows 11 quietly logs which coding agent you just ran
A Windows diagnostics component checks for Claude Code, Copilot, Cursor, Codex and Antigravity, then reports usage to Microsoft unless you opt out.
Researcher Xusheng Li found, in a post published on 16 November, that Windows 11 has a diagnostics component that detects which coding agent you are running and reports it back to Microsoft. The component, MissionControlAggregator.dll, is loaded by a child process of the DiagTrack service and checks for claude.exe, codex.exe, copilot.exe, cursor.exe, antigravity.exe, github.exe and the CLI tool agy, alongside developer tools like Node, Python, .NET, GCC and VS Code.
Rather than scanning running processes directly, it subscribes to existing Windows diagnostic events and emits an ETW trace containing a bitmap of which tools were seen, not filenames or prompt text. That report is queued for upload to Microsoft as “optional diagnostic data”, a setting enabled by default on the US installs Li tested.
Settings > Privacy & security > Diagnostics & feedback > Send optional diagnostic data
Why it matters: if you run a coding agent on a work laptop, which agent you use and when is now something Windows can report upstream by default, without touching anything you typed. Anyone under an NDA, or just uncomfortable with that, should check the setting above rather than assume it is off.
The caveat: Li found no evidence that prompts or source code leave the machine, only which tools were present. Microsoft has not commented on the finding.