Repository navigation
Description
What version of the Codex App are you using?
OpenAI.Codex 26.917.8451.0
What platform is your computer?
Windows x64. PowerShell 7.6.6.
What issue are you seeing?
Codex Desktop launches multiple ChatGPT.exe background processes but never creates a visible window.
All observed ChatGPT.exe processes remained responsive, but every process had:
Responding True
MainWindowHandle 0
MainWindowTitle <empty>
Example from the affected launch:
Id Responding MainWindowHandle MainWindowTitle
20000 True 0
25544 True 0
30824 True 0
37708 True 0
43900 True 0
51468 True 0
The failure correlates with cua_node runtime materialization never finalizing.
Under:
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node
the previous finalized runtime existed:
df473e5367fa2b42
but every launch of 26.917.8451.0 created a new staging directory for the new runtime ID:
.staging-7f75cff94511d5f8-<random>
and never produced:
7f75cff94511d5f8
Repeated launches accumulated many staging directories, including several created minutes apart on 2026-09-24.
Deleting all stale .staging-* directories did not fix the problem. On the next launch, Codex immediately created another .staging-7f75cff94511d5f8-* directory and again stayed headless.
Reproduction / observed sequence
- Install/update Codex Desktop to
26.917.8451.0on Windows. - Launch Codex.
- Several
ChatGPT.exeprocesses start, but no window appears. Get-Process ChatGPT | Select Id,Responding,MainWindowHandle,MainWindowTitleshows every process withMainWindowHandle = 0.- Inspect
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node. - A new
.staging-7f75cff94511d5f8-<random>directory appears, but the finalized7f75cff94511d5f8directory is never created. - Kill ChatGPT and the sandbox service, delete the staging directory, and launch again.
- Another staging directory with the same runtime ID is created and the app remains headless.
Confirmed workaround
I stopped all Codex-related processes:
Get-Process ChatGPT -ErrorAction SilentlyContinue | Stop-Process -Force
Get-Process "codex-windows-sandbox-service" -ErrorAction SilentlyContinue | Stop-Process -ForceThen I copied the complete packaged cua_node runtime into the expected finalized content-addressed directory using xcopy /G:
$pkg = Get-AppxPackage OpenAI.Codex
$src = Join-Path $pkg.InstallLocation "app\resources\cua_node"
$dst = "$env:LOCALAPPDATA\OpenAI\Codex\runtimes\cua_node\7f75cff94511d5f8"
New-Item -ItemType Directory -Force -Path $dst | Out-Null
& "$env:SystemRoot\System32\xcopy.exe" "$src\*" "$dst\" /E /I /H /Y /GVerification after copying:
Runtime ID : 7f75cff94511d5f8
node.exe : True
node_repl.exe : True
manifest.json : True
file count : 2283
After deleting the failed .staging-* directory and launching Codex again, the window appeared immediately and the app worked normally.
No changes were made to ~\.codex, WindowsApps permissions, registry settings, or application binaries.
Expected behavior
Codex should successfully materialize/finalize the bundled cua_node runtime and continue startup normally.
If runtime relocation fails, the app should show an actionable error instead of silently remaining headless with responsive background processes and MainWindowHandle = 0.
The runtime installer should also recover from incomplete staging state instead of creating a new failed .staging-* directory on every launch.
Additional information
This appears to be a regression / continuation of the Windows runtime-relocation issue reported in #42412 and related earlier reports.
The important new data point is that the same failure still reproduces on 26.917.8451.0 with runtime ID 7f75cff94511d5f8, and manually installing the complete packaged runtime with xcopy /G immediately restores the GUI.
Activity
github-actions commentedon Sep 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action