Contact Info
Suit B3, House 5/9, Block B, Lalmatia
Dhaka, Bangladesh
info@xorgeek.com
Follow Us

A Multi-Concept Theme for Digital Agencies and Startups

Windows 11 Tracks AI Coding Agents: How to Turn It Off

red padlock on black computer keyboard

Windows 11 Tracks AI Coding Agents: How to Turn It Off

Engineering teams using modern AI coding agents on Windows 11 may not realize their operating system is actively tracking which tools run during the day. On November 16, 2026, independent researcher Xusheng Li published findings showing that a background diagnostic component inside Windows 11 monitors command-line and desktop AI utilities. The tracking targets popular developer tools, flagging usage for Microsoft diagnostic collection.

While Microsoft has not issued an official comment regarding this detailed per-tool tracking, reverse engineering reveals that the capability relies on a system component named MissionControlAggregator.dll. The discovery has raised immediate questions for development leads, security managers, and software engineers who require complete visibility into what workstation telemetry is collected and transmitted across corporate networks.

Understanding how this background diagnostic mechanism operates is essential for maintaining privacy standards across engineering environments. Fortunately, the diagnostic telemetry can be inspected, verified, and disabled using supported operating system controls without resorting to unsupported hacks that risk breaking system updates or core operating capabilities.

How Windows 11 Tracks AI Coding Tools

The background telemetry process is executed by the Windows Connected User Experiences and Telemetry service, commonly known as DiagTrack. This service loads AggregatorHost.exe, which in turn executes the MissionControlAggregator.dll library. Research conducted on Windows 11 25H2, build 26200.9974, revealed that this specific component evaluates local executable activity to record whether specific developer tools and AI assistants were launched during a reporting window of roughly twenty-four hours.

The diagnostic system monitors a broad selection of software across multiple form factors. The routine inspects CLI binaries such as GitHub Copilot CLI (copilot.exe), Claude Code (claude.exe), OpenAI Codex (codex.exe), and Google Antigravity (agy.exe), even when executed within WSL environments. Desktop applications flagged by the system include GitHub Desktop, Claude, Codex, Cursor, and Antigravity. In addition to dedicated AI utilities, the library monitors a dozen developer tool categories, covering environments like Python, Node.js, .NET, Java, GCC, Clang, VS Code, and Visual Studio.

The underlying identification mechanism relies on simple file name checks rather than binary signatures or process inspection. During testing, changing the file name of a standard cmd.exe binary to codex.exe caused Windows to flag the session as an active instance of OpenAI Codex. Furthermore, the feature is controlled by an internal feature flag named CLICodingAgentUsage. While this server-side experiment was enabled on the researcher’s system, secondary analysis from IT-Connect indicated that the flag remained disabled on fresh installations created from Microsoft public ISO images, suggesting selective deployment across user bases.

What Telemetry Is Collected and the Documentation Gap

For engineering teams worried about intellectual property leaks or source code exposure, the scope of collected data provides important reassurance. The MissionControlAggregator.dll component does not log terminal prompts, source code snippets, typed commands, file paths, or active session durations. Instead, the component outputs a binary on/off boolean flag for each monitored tool, indicating merely whether the executable was observed running within the reporting window.

However, the tracking mechanism highlights an important discrepancy between published system documentation and actual operating system behavior. Microsoft officially documents a related required diagnostic event generated by MissionControlAggregator.dll that classifies operating system users into behavioral cohorts. In published documentation, Microsoft explicitly notes that IsDeveloper represents the sole cohort emitted under required telemetry payload configurations.

The detailed, per-tool tracking of specific AI utilities like Cursor or Claude Code discovered by Li is not documented in Microsoft’s public diagnostic specifications. Instead, this granular data collection is categorized internally as optional diagnostic data. Because optional telemetry requires explicit opt-in user configuration or administrative policy enablement, understanding how data flows from workstations to cloud endpoint receivers allows teams to manage compliance effectively.

Inspect Local Telemetry State with Read-Only Tools

Engineering teams can verify whether MissionControlAggregator.dll is actively loaded on Windows 11 workstations without altering system configurations or risking OS stability. A basic check begins in Task Manager under the Details tab, where administrators can verify if AggregatorHost.exe is currently running.

To confirm whether the aggregator DLL itself has been loaded into memory by the host process, developers can run an administrative Command Prompt session and execute a targeted module lookup query:

tasklist /m MissionControlAggregator.dll

If the command returns an active process mapping for AggregatorHost.exe, the DLL is actively loaded. Local diagnostic data accumulated by the system is temporarily stored on disk prior to transmission. Developers with administrative privileges can inspect the storage location directly at C:\ProgramData\Microsoft\Diagnosis\AggregatorStorage\, though files in this folder should be left untouched to preserve OS integrity.

To monitor what diagnostic data is actually queued for transmission, teams can enable the Diagnostic Data Viewer feature in Windows Settings under Privacy & security > Diagnostics & feedback. By keeping the viewer active during routine coding sessions and filtering events for MissionControlAggregator, developers can inspect the payload structure directly.

Disable Optional Diagnostic Telemetry Safely

Eliminating optional AI tool tracking does not require destructive system modifications such as removing system DLL files, terminating the background DiagTrack service, or tweaking hidden feature flags using utilities like ViVeTool. Modifying system binaries or disabling underlying Windows services can corrupt Windows Update functionality, disable core operating system features, and lead to unintended system instability. Furthermore, system servicing updates frequently restore modified files automatically.

The supported and reliable method to prevent per-tool AI tracking data from reaching external servers is through standard operating system privacy controls. Organizations and individual developers should navigate to Settings > Privacy & security > Diagnostics & feedback. Within the Diagnostic data control section, set Send optional diagnostic data to the off position. Turning this setting off restricts Windows to transmitting mandatory diagnostic payloads only.

After turning off optional diagnostic data, locate the Delete diagnostic data section on the same settings page and select Delete to purge historical optional telemetry records stored on the machine. Developers should also consider turning off Tailored experiences on the same menu. On corporate managed workstations, diagnostic data collection may be governed by enterprise Group Policy or Mobile Device Management (MDM) profiles, which can gray out individual user toggles. In such environments, enterprise administrators must enforce policy definitions to restrict optional telemetry system-wide.

Practical Action Items for Engineering Teams

  • Audit local workstation settings: Check Settings > Privacy & security > Diagnostics & feedback to verify that Send optional diagnostic data is turned off across development machines.
  • Clear existing telemetry cache: Use the Delete diagnostic data option in system settings to clear historical optional diagnostic records from local storage.
  • Inspect active host processes: Run tasklist /m MissionControlAggregator.dll in an administrative Command Prompt to determine if the aggregation component is active in memory.
  • Review enterprise policy controls: Work with IT and security teams to enforce optional telemetry restriction policies across enterprise Windows 11 fleets using administrative templates.
  • Avoid unsupported system tweaks: Do not delete system DLL files, stop the DiagTrack service, or alter feature flags using third-party tools like ViVeTool, as these actions can break Windows Update.
  • Maintain clear compliance guidelines: Inform development teams that standard Windows 11 optional telemetry tracks tool execution flags by file name but does not collect source code, prompts, or terminal commands.

Planning something like this? XORGEEK designs and builds web and mobile apps for teams in Japan and around the world. Talk to us.

Sources

Photo by FlyD on Unsplash