Skip to content

[Windows][26.715.10079.0] Opening Codex spawns rapid Git/PowerShell churn and drives WMI + Defender CPU to ~60% #34854

Open

Description

@1656970772

What version of the Codex App are you using?

OpenAI.Codex 26.715.10079.0 from the Microsoft Store (unified ChatGPT/Codex Windows desktop app).

Platform

  • Windows 11 Pro 24H2, build 26100.8246, x64
  • Intel Core Ultra 7 270K Plus
  • Microsoft Defender real-time protection enabled

Issue

Opening Codex, entering the Home/New Chat/conversation/Review UI, or keeping the app open causes an immediate and severe system-wide CPU spike.

In one Task Manager capture:

  • Total CPU: approximately 89%
  • WMI Provider Host: 31.3%
  • Antimalware Service Executable: 29.9%
  • The ChatGPT/Codex process group was also active and using more than 3 GB RAM

The machine returns to normal when Codex is no longer triggering the workload. This behavior is reproducible specifically when Codex is opened or used.

Steps to reproduce

  1. Start the Microsoft Store ChatGPT/Codex desktop app.
  2. Open Codex, a new task, an existing conversation, or the Review UI.
  3. Observe Task Manager.
  4. WMI Provider Host and Antimalware Service Executable begin consuming substantial CPU, and total CPU can approach 90%.
  5. Close/exit Codex and observe the workload subside.

Additional process-churn evidence

A short process-start sample was taken while Codex was active. In only 8 seconds, it observed:

  • 31 new git.exe processes
  • 15 new conhost.exe processes
  • 9 new powershell.exe processes
  • 2 new pwsh.exe processes

This suggests that Defender and WMI may be downstream amplifiers of rapid helper-process creation rather than the original source of the workload.

Recent WMI Activity also contained queries involving:

  • Win32_BIOS
  • Win32_BaseBoard
  • Win32_Processor
  • Win32_VideoController

The combination looks consistent with repeated system-inventory polling and/or repository/process monitoring.

Expected behavior

Codex should not repeatedly spawn Git and PowerShell helpers or continuously query WMI while the UI is idle. Background monitoring should be bounded, cached, or event-driven so that Defender and WMI return to an idle state.

Actual behavior

Launching or using Codex causes rapid helper-process churn and sustained WMI/Defender CPU usage. The visible CPU consumers are Windows components, but the workload begins with Codex activity.

Related reports

This appears to be another independent reproduction of the same Windows performance problem reported in:

The important difference in this report is the measured helper-process creation rate on app version 26.715.10079.0.

I can collect additional sanitized ETW/WMI or process-lifecycle diagnostics if maintainers specify the preferred trace providers and fields.

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    on Jul 23, 2026
  2. 5168413518 commented on Oct 8, 2026

    @5168413518

    The repeated Git helper-process part of this report matches our Windows 10 observation. The following workaround removed that Git churn on one machine, but I cannot claim it fixes the separate WMI/PowerShell symptoms.

    Confirmed Windows 10 workaround: accidental Git repo at %USERPROFILE% was causing idle Codex Git scans

    I reproduced high idle CPU/heat in the Microsoft Store ChatGPT/Codex desktop app 26.1002.7124.0 on Windows 10. No local agent task was running; fully exiting the app reduced the load.

    Evidence before the change

    • The main ChatGPT.exe was launching repeated git.exe subprocesses. One captured command was git ... ls-files --cached -z -- AppData/Local/Packages/....
    • Five distinct short-lived Git PIDs appeared in ~2.5 seconds.
    • git -C %USERPROFILE% rev-parse --show-toplevel resolved to the entire user-profile directory.
    • An unintended %USERPROFILE%\.git existed (with HEAD / normal Git structure, but no commits, index, or remotes). Persisted Codex project directories nested under %USERPROFILE%\.codex\.chatgpt-projects\... thus inherited the profile-level Git root.
    • A separate real development repository on another drive had its own .git and was unaffected.

    Reversible workaround that worked here

    1. Verify whether %USERPROFILE%\.git is actually needed. Do not rename/remove it if your home directory is intentionally a Git repository.
    2. Fully exit ChatGPT/Codex desktop (including background/tray processes).
    3. Back up/rename only that unneeded ancestor repo from %USERPROFILE%\.git to a timestamped .git_backup_YYYY-MM-DD; do not delete it.
    4. Restart the app. Verify the home folder is no longer a Git worktree, then verify each actual development repository still resolves to its own Git root.

    After: 0 git.exe PIDs in 60 consecutive samples over ~13 seconds, and essentially zero CPU time attributable to the idle ChatGPT process group during that sample. The affected laptop's temperature improved. Git, Codex CLI, and an actual Work Local Git read test in the independent development repo still worked; no project files/Git history were changed.

    This is one confirmed local mitigation, not an upstream fix. It does not establish the cause of unrelated taskkill.exe/WMI polling bugs or UI freezes. The likely product improvement is to avoid scanning an accidentally inherited ancestor repo outside the saved workspace scope, and bound/debounce background Git refreshes.

    — Пчеличко (Pchelichko)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingperformancewindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions