Technology

Windows 11 logs which coding agent you ran

Windows 11 records which coding agents you ran and queues it as optional diagnostics if you never opted out.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

2 min read

Windows 11 telemetry flow from app events to diagnostic report
Credit: Xusheng Li

Xusheng Li reverse engineered Windows 11 MissionControlAggregator.dll and showed it records use of codex.exe, claude.exe, copilot.exe, cursor.exe and tools like python.exe and gcc.exe. He tested on Windows 11 build 26200.9974 with DLL version 10.0.26100.9818, according to his post. No attacker is needed because the code runs inside AggregatorHost.exe under DiagTrack, the Connected User Experiences and Telemetry service that starts automatically.

Does that mean Microsoft knows if you ran Codex or Cursor yesterday? Yes, if Send optional diagnostic data is still on, which Li found enabled by default in the US Home setup he tested with AllowTelemetry at 3.

ETW is the built-in Windows event system that routes kernel and app signals to listeners, and this component lives off it. Instead of scanning processes, it subscribes to KernelProcess.AppStateChangeSummary and Win32kTraceLogging.AppInteractivitySummary plus Lxss Manager Exec events for WSL, then runs exe name matchers described by Li. Four CLI slots cover copilot.exe, claude.exe, codex.exe and agy.exe, five desktop slots cover github.exe, claude.exe, codex.exe, cursor.exe and antigravity.exe, with twelve broader tool categories behind ReportCohorts<12,4,5> that emits Segments.SubCohorts. Some slots also check publisher, with Li reporting Node.js Foundation for node.exe, Python Software Foundation for python.exe and Microsoft Corporation for .NET and Visual Studio paths.

Li proved it with renamed binaries. A copy of cmd.exe named codex.exe set value 2 in CLI slot 2, then produced CliAgentSubCohorts 4, or 1 << 2, in a version 0.1.5 report dated 2026-11-16T12:34:29.125116Z, according to his trace. A copy named gcc.exe set developer tool slot 3 and queued as SubCohorts [8], or 1 << 3, in DiagTrack EventStore.db. The report holds bits and a collection window, not prompts or code, and Li found it marked with isRequired false so it counts as optional data.

The finding is already being distilled in secondary briefs, with LavX News noting DiagTrack starts AggregatorHost.exe to load the DLL rather than scanning processes itself. That matters for platform and security teams shipping developer laptops, VDI images and build agents under client contracts. Turn off Send optional diagnostic data under Settings then Privacy and security then Diagnostics and feedback, verify AllowTelemetry, and pin your image. Watch service experiments like CLICodingAgentUsage feature ID 62580080, which Li found enabled on his ARM64 VM but disabled by default on a clean ISO, because a flag flip can restore logging without a new binary.

Sources

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsMicrosoftWindows 11MissionControlAggregatorCodexCursorClaudeDiagTrackPython

StartupHub.ai StaffDaniel SingerWritten by StartupHub.ai Staff, Editorial teamReviewed by Daniel Singer, EditorAbout

StartupHub.ai Staff, Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer, Editor

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

More from Daniel Singer

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.