Codex for Windows: recurring visible PowerShell windows, including after closing the app

Subject: Codex for Windows: recurring visible PowerShell windows, including after closing the app

While using Codex for Windows, and even after closing the app window, PowerShell windows repeatedly appear and disappear shortly afterward. At one point, two windows appeared simultaneously.

I restarted the PC and closed the Codex/ChatGPT windows and related processes, but the behavior continued.

The Windows PowerShell log shows that this internal process-monitoring command is repeatedly launched:

powershell.exe -NoProfile -NonInteractive -Command
Get-CimInstance Win32_PerfFormattedData_PerfProc_Process
Get-CimInstance Win32_Process

During an earlier process-tree check, the parent process of powershell.exe was codex.exe. This suggests that Codex’s internal process monitor is launching visible console windows and may leave background processes running after the UI is closed.

Expected behavior: internal PowerShell commands should run without visible console windows, and all Codex-related background processes should stop when Codex is closed.

Welcome to the forum!

You are welcome to discuss Codex issues on the forum, however the official place to report and track them is the GitHub issue tracker for OpenAI Codex.

I had ChatGPT look for the closest related issue and it identified:

If that issue matches your problem, consider adding a :+1: reaction on the GitHub issue page itself, not just on the forum topic, as reactions on GitHub help the developers gauge impact and prioritize work.

If it is not the same issue, try searching the existing GitHub issues for a closer match. If you cannot find one, then open a new issue with as much detail as possible.