Skip to content

Windows: opening Codex causes sustained WMI Provider Host CPU usage and system stutter #33940

Closed as duplicate

Description

@lordtd-hub

Summary

Opening the Codex desktop app on Windows 11 causes sustained CPU usage from WMI Provider Host and Windows Management Instrumentation, even when Codex is idle and no project, workspace, or agent task has been opened.

I rely heavily on Codex for day-to-day development and university work, so this regression has a direct impact on my ability to work. Please investigate and provide a fix or workaround.

Environment

  • OS: Windows 11
  • App: ChatGPT powered by Codex & OWL
  • Version: 26.715.31251
  • Release date shown in the app: 18 July 2026
  • Hardware: desktop PC

Observed behavior

  1. With Codex closed, total CPU usage returns to approximately 1–10%.
  2. Opening Codex without opening a project or starting an agent causes total CPU usage to rise to approximately 30–50%.
  3. During the spike, Task Manager repeatedly shows roughly:
    • WMI Provider Host: about 5–10%
    • Windows Management Instrumentation: about 4–8%
    • Microsoft Defender may also rise temporarily
  4. The system intermittently stutters and the mouse can briefly stop responding.
  5. Closing Codex causes WMI CPU usage to return near 0% almost immediately.
  6. Reopening Codex reproduces the issue consistently.
  7. ChatGPT Classic does not reproduce the issue.

Troubleshooting already performed

  • Verified WMI repository:
    • winmgmt /verifyrepository
    • Result: WMI repository is consistent
  • Tested with Codex idle and no workspace open: issue still occurs.
  • Added the project folder to Microsoft Defender exclusions: no improvement.
  • Confirmed no full or quick Defender scan was running.
  • Stopped MSI Center services: no improvement.
  • Closed other foreground applications: issue remained tied to opening Codex.
  • ChatGPT Classic runs normally on the same machine.

Relevant WMI event data

The WMI Activity log contained repeated failed queries such as:

Operation = Start IWbemServices::ExecQuery - root\cimv2
SELECT __PATH, ProcessId, CSName, Caption, SessionId, ThreadCount,
WorkingSetSize, KernelModeTime, UserModeTime, ParentProcessId
FROM Win32_Process
ResultCode = 0x800706BE / 0x800706BA

Other WMI events included queries against DeviceGuard, BIOS, TPM, and processor information, but the repeated Win32_Process queries were the most prominent during the incident.

Expected behavior

Opening Codex while idle should not cause sustained WMI CPU usage, total CPU usage of 30–50%, or visible system stutter.

Additional note

This began immediately after updating to version 26.715.31251. Screenshots of Task Manager and the WMI event output are available if needed.

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    on Jul 18, 2026
  2. github-actions commented on Jul 18, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. mrg1988 commented on Jul 20, 2026

    @mrg1988

    I’m seeing the same issue on Windows with Codex Desktop 26.715.7063.0. While Codex is open, my entire system develops heavy mouse and keyboard stutter, sometimes alongside diskwrite spikes approaching 150 MB/s. And its logs show repeated WMI process cpu usage spikes and failures and thread replay activity. Cleaning old tasks helped temporarily but did not resolve it.

  4. Hsomedayoroneday commented on Jul 23, 2026

    @Hsomedayoroneday

    +1

  5. 1058797782 commented on Aug 13, 2026

    @1058797782

    me too! restart Windows management Instrumentation not help. i want need fix plan

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