Windows 11 has been keeping a record of which AI coding assistants and developer tools you run — and sending that record to Microsoft — according to a reverse-engineering deep dive published by researcher Xusheng Li.

The finding centres on a Windows system component called MissionControlAggregator, which notes when well-known coding agents and developer tools are used and bundles that information into a diagnostic report sent to Microsoft whenever the operating system's “optional diagnostic data” setting is on — a setting enabled by default on US installations.

The report contains no prompts and no source code. But it does tell Microsoft which tools a developer uses, and privacy researchers say that alone is sensitive information.

What Windows is recording

Li found explicit checks for four command-line coding agents — Copilot, Claude, Codex and Agy — and five desktop agents, including Cursor, GitHub and Antigravity, inside MissionControlAggregator.dll. The same component also checks for developer tools such as Python, Node.js, .NET, GCC, Clang, GDB, Java, Visual Studio and Visual Studio Code. Some checks even verify the publisher, for example expecting “Python Software Foundation” for Python and “Microsoft Corporation” for .NET and Visual Studio.

The checks sit behind a feature flag with the unusually direct name CLICodingAgentUsage, feature ID 62580080. A match sets a slot in the component's state, which a routine called ReportCohorts later turns into bit flags in a report named Segments.SubCohorts, sent through Windows' Event Tracing system. A set Codex bit simply means Codex was observed during the reporting window.

The component does not scan running processes itself. Instead it subscribes to existing Windows events — application state changes for desktop programs, and execution events for tools running inside Windows Subsystem for Linux — and matches the application names against its lists.

How the researcher proved it

Li went beyond reading the code. On a Windows 11 ARM64 virtual machine running build 26200.9974, he confirmed the component was live: the DiagTrack telemetry service was running, it had spawned a child process called AggregatorHost.exe, and that process had MissionControlAggregator.dll loaded — with the CLICodingAgentUsage feature already enabled, without him turning anything on.

To test it in practice, he copied cmd.exe to a file named codex.exe and ran it. The name alone was enough: the aggregator's saved state recorded the Codex slot, and a captured Segments.SubCohorts report carried the Codex bit. A second test, renaming a copy to gcc.exe, set the compiler category slot. Crucially, Li then found the report sitting in DiagTrack's upload queue, confirming it is queued for transmission to Microsoft when optional diagnostic data is allowed.

He also verified the default on a clean install: setting up Windows 11 Home from the latest official ISO with the region set to the United States left the diagnostic data toggle already on and labelled “Include Optional”.

How to switch it off

Anyone who does not want this record sent can decline optional diagnostics during Windows setup, or turn it off later under Settings, then Privacy and security, then Diagnostics and feedback, by disabling “Send optional diagnostic data”. Microsoft's own diagnostics guide explains the setting.

Li notes the data is limited to a bitmap of which tools were observed — not what was typed into them, or how long they ran. Even so, he argues it has real privacy implications: a list of the tools someone uses can reveal a great deal about their work and their development environment.

Microsoft had not commented on the finding as of November 16. The discovery drew hundreds of comments on Hacker News — and lands as AI coding assistants become standard equipment for developers.