It has been discovered that Windows 11 collects usage data for things like Claude Code and Codex and sends it to Microsoft.



It has been revealed that Windows 11 records the usage of AI coding agents and developer tools such as 'Claude Code' and 'Codex,' and includes this data in diagnostic data sent to Microsoft. This was reported on November 16, 2026, by developer Shushen Li, who investigated the internal workings of Windows 11.

Windows 11 Is Collecting Data on Which Coding Agents and Developer Tools You Use :: Xusheng Li

https://xusheng.dev/posts/windows-coding-agent-telemetry/



Windows 11 includes a mechanism called 'Diagnostic Data' that sends information about the PC's performance and any problems to Microsoft. This diagnostic data is used to improve Windows quality and investigate problems, and users can configure whether or not to send optional diagnostic data in addition to the required data.

On the other hand, in recent years, the use of AI coding agents, which entrust the creation and modification of programs to AI, has been spreading. OpenAI's Codex and Anthropic's Claude Code are prime examples, and an increasing number of developers are using them in combination with traditional development tools.

While using AI to investigate the internal files of Windows 11, Lee discovered the executable filenames of AI coding agents and developer tools within a system file called 'MissionControlAggregator.dll'. According to Lee, Windows 11 has a mechanism to identify executable filenames such as 'copilot.exe', 'claude.exe', 'codex.exe', 'cursor.exe', and 'antigravity.exe', and also detected common development tools such as 'python.exe', 'node.exe', 'gcc.exe', and 'code.exe'.



When Mr. Lee examined the process in detail, he discovered that Windows 11 uses existing system events that record application execution status to detect the target tool. The detection results are stored on the PC and compiled as diagnostic data at regular intervals.

The information collected indicated whether each tool was used, with each tool recorded as either 'used' or 'not used.' The surveyed report data did not include instructions for the AI or program source code, nor did it record the time spent using each individual tool.

Furthermore, when Mr. Lee renamed the command prompt executable 'cmd.exe' to 'codex.exe' and launched it in an actual Windows 11 environment, Windows 11 recognized that Codex had been used. Mr. Lee also confirmed that the collected information was included in the data awaiting transmission to Microsoft.

The usage data of the AI coding agent is treated as optional diagnostic data and is sent to Microsoft only if permission is granted. You can stop the sending of AI coding agent usage data by turning off 'Send optional diagnostic data' in 'Diagnostics and feedback' under 'Privacy and security' in your settings.



It remains unclear what specific purposes Microsoft is using the collected information for. While Lee stated that the reported data reviewed in the investigation did not include instructions for the AI or source code, he pointed out that the collection of information about the AI coding agents and development tools used by users itself has a significant impact on privacy.

in AI,   Software,   Security, Posted by log1d_ts