Windows 11 keeps track of which AI coding tools you run, a researcher found
Claude, Codex, Copilot and Cursor are on the list, along with Python and other developer tools. Here is what is collected and how to turn it off.
In brief
Windows 11 can report your AI coding tools to Microsoft unless you switch off one setting
A researcher found a Windows component that watches for Claude, Codex, Copilot and Cursor. With optional diagnostic data on, the default in his US test, the report is queued for upload to Microsoft. You can switch it off in Settings.

A security researcher named Xusheng Li was looking through recent Windows files for hidden features when one list jumped out: codex.exe, claude.exe, copilot.exe, cursor.exe. Those are the programs behind the most popular AI coding assistants. Why would a Windows system file need to know about them?
His write-up shot to the top of Hacker News this morning.
Although I found no prompt text or source code in this report, collecting which agents and developer tools someone uses already has significant privacy implications
What he found
The names sit inside a Windows component called MissionControlAggregator.dll. Li traced what it does. It listens to events Windows already records about running programs, checks the program names against its list, and notes which ones it has seen. Once a day or so it packs that into a small report for Windows' diagnostics service.
The list covers:
- Command line AI agents: Copilot, Claude, Codex and Google's Antigravity CLI.
- Desktop AI apps: GitHub, Claude, Codex, Cursor and Antigravity.
- Ordinary developer tools: Node.js, Python, .NET, GCC, Clang, Java, Visual Studio, VS Code and more.
The check is crude. Li copied the Windows command prompt, renamed it codex.exe and ran it. Windows recorded it as Codex.
Does it leave your computer?
Li says the report itself is small: a set of on/off flags showing which tools were seen in that period. He found no prompts and no source code in it. He also found that Windows treats it as optional diagnostic data. When that setting is on, Windows queues the report for upload to Microsoft. On a clean install of Windows 11 Home with the region set to the United States, the optional data switch was already on.
Two cautions. On a fresh virtual machine built from Microsoft's public installer, the coding agent feature was switched off by default. On his own Windows 11 machine it was already running as a service experiment he had not enabled. So it is not clear how many PCs have it active today. We could not find a public response from Microsoft.
"Although I found no prompt text or source code in this report, collecting which agents and developer tools someone uses already has significant privacy implications," Li wrote.
Why it matters
Knowing which AI tools millions of developers use is valuable market information, especially for Microsoft, which sells GitHub Copilot against Claude Code, Codex and Cursor. And most people never read the diagnostics screen during setup.
How to switch it off
- Open Settings.
- Go to Privacy & security, then Diagnostics & feedback.
- Turn off Send optional diagnostic data.
You can also decline optional diagnostics when you first set up Windows. Required diagnostic data still goes to Microsoft either way; this report, according to Li, is in the optional group.
Sources
In this story
Source: xusheng.dev