You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows app starts without renderer or app-server and shows no window #41752
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
What version of the Codex App are you using (From “About Codex” dialog)?
26.825.6671.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 11, 64-bit (x64), OS build 26200, Region: Singapore
What issue are you seeing?
Version: 26.825.6671.0
Windows activation succeeds with TWinUI event 1621 status 0.
ChatGPT.exe starts main, crashpad, GPU, and utility processes.
No renderer process is created.
codex.exe app-server is not launched.
All processes remain responsive with MainWindowHandle=0.
Codex doctor reports install, auth, WebSocket, and reachability healthy.
What steps can reproduce the bug?
Install or update the ChatGPT/Codex Windows app from the Microsoft Store.
Restart Windows.
Launch ChatGPT from the Start menu.
Wait for at least 30 seconds.
No application window appears.
Open Task Manager and observe that several ChatGPT.exe processes are running.
The main process, crashpad, GPU, and utility processes start, but no renderer process or codex.exe app-server process is created.
Closing all ChatGPT.exe processes and launching the app again produces the same result.
Repairing, resetting, uninstalling, and reinstalling the app does not resolve the issue.
I tested the ShowWindow recovery from the original report. The hidden Chrome_WidgetWin_0 window was found successfully, but the synchronous ShowWindow(hwnd, SW_SHOW) call remained blocked for more than 10 minutes and the UI did not appear.
I then terminated all existing ChatGPT.exe processes and launched the packaged app with the Sparkle updater disabled for the current PowerShell session:
The Codex desktop UI opened successfully with this method.
Environment:
OpenAI.Codex 26.825.6671.0
Microsoft Store MSIX
Windows 11 x64, build 26200
CODEX_SPARKLE_ENABLED=false was set only in the current PowerShell process; it was not written as a persistent user or system environment variable.
This result suggests that, at least in this reproduction, the hidden-window/UI-thread stall is connected to the updater startup path. Forcing the existing hidden HWND to become visible was insufficient, while launching the AppX application with the Sparkle updater disabled allowed startup to complete.
This machine previously produced the following error when copying protected files from the Microsoft Store package:
The specified file could not be encrypted.
HRESULT: 0x80071770
The packaged runtime files have the Encrypted / Application Protected attribute. A normal Copy-Item/CopyFile operation attempts to preserve that attribute at the destination and fails.
This prevents the bundled cua_node runtime from being materialized, blocking startup before the renderer and Codex app-server are created.
Confirmed recovery procedure
The workaround is to copy the bundled cua_node runtime using ordinary file streams. This copies the file contents without attempting to preserve the source package’s Application Protected/EFS attribute.
The script automatically extracts the runtime hash from the newest .staging-* directory and creates the corresponding finalized runtime directory.
Run the following in an elevated PowerShell window:
After the copy completed and both checks returned True, launching the app from the Start menu immediately succeeded. The renderer and codex.exe app-server processes were created normally.
Persistence problem
The application worked after the first repair. However, after restarting Windows, a new .staging-<hash>-<random> directory appeared and the application became headless again.
Running the same stream-copy repair against the newest staging hash restored the application again.
Therefore, this is not only a one-time first-launch delay. On this machine, the application repeatedly attempts runtime materialization and repeatedly hits the Application Protected/EFS destination-copy failure.
The application should use a Windows copy mechanism equivalent to:
COPY_FILE_ALLOW_DECRYPTED_DESTINATION
or automatically fall back to a buffered stream copy when it receives:
It should also avoid blocking creation of the application window while the runtime is being prepared and should clean up abandoned .staging-* directories.
Closing as a duplicate of #41540. Both Windows reports found the protected cua_node runtime incomplete after staging failed with 0x80071770. No renderer or app-server started. Copying the complete runtime into place restored startup. Reporter’s retest · Same-build confirmation.
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Aug 31, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Xiaoxi-GSY commentedon Aug 31, 2026
Workaround that successfully launched the app
I tested the
ShowWindowrecovery from the original report. The hiddenChrome_WidgetWin_0window was found successfully, but the synchronousShowWindow(hwnd, SW_SHOW)call remained blocked for more than 10 minutes and the UI did not appear.I then terminated all existing
ChatGPT.exeprocesses and launched the packaged app with the Sparkle updater disabled for the current PowerShell session:The Codex desktop UI opened successfully with this method.
Environment:
CODEX_SPARKLE_ENABLED=falsewas set only in the current PowerShell process; it was not written as a persistent user or system environment variable.This result suggests that, at least in this reproduction, the hidden-window/UI-thread stall is connected to the updater startup path. Forcing the existing hidden HWND to become visible was insufficient, while launching the AppX application with the Sparkle updater disabled allowed startup to complete.
BornGo commentedon Sep 2, 2026
same bug!When can we see solved?
Xiaoxi-GSY commentedon Sep 3, 2026
@BornGo They don't care about the Windows app.
Ssuperketchup commentedon Sep 3, 2026
same bug!When will the official repair be completed?
Xiaoxi-GSY commentedon Sep 10, 2026
Confirmed workaround for the persistent headless startup issue
I have now reproduced this issue multiple times, including after an automatic update to:
Observed process state
When the problem occurs, the app starts the following processes:
However, the following processes are missing:
No visible window appears.
The following workarounds did not resolve the issue on this build:
CODEX_SPARKLE_ENABLED=falseCODEX_CLI_PATHto a working standalone Codex CLIcodex-cli 0.152.0--user-data-dir--disable-gpuShowWindowon the hiddenChrome_WidgetWin_0Root cause evidence
The application repeatedly creates an incomplete directory under:
but fails to create or complete the corresponding finalized runtime directory:
This machine previously produced the following error when copying protected files from the Microsoft Store package:
The packaged runtime files have the
Encrypted / Application Protectedattribute. A normalCopy-Item/CopyFileoperation attempts to preserve that attribute at the destination and fails.This prevents the bundled
cua_noderuntime from being materialized, blocking startup before the renderer and Codex app-server are created.Confirmed recovery procedure
The workaround is to copy the bundled
cua_noderuntime using ordinary file streams. This copies the file contents without attempting to preserve the source package’s Application Protected/EFS attribute.The script automatically extracts the runtime hash from the newest
.staging-*directory and creates the corresponding finalized runtime directory.Run the following in an elevated PowerShell window:
After the copy completed and both checks returned
True, launching the app from the Start menu immediately succeeded. The renderer andcodex.exe app-serverprocesses were created normally.Persistence problem
The application worked after the first repair. However, after restarting Windows, a new
.staging-<hash>-<random>directory appeared and the application became headless again.Running the same stream-copy repair against the newest staging hash restored the application again.
Therefore, this is not only a one-time first-launch delay. On this machine, the application repeatedly attempts runtime materialization and repeatedly hits the Application Protected/EFS destination-copy failure.
The application should use a Windows copy mechanism equivalent to:
or automatically fall back to a buffered stream copy when it receives:
It should also avoid blocking creation of the application window while the runtime is being prepared and should clean up abandoned
.staging-*directories.goodman-oai commentedon Nov 16, 2026
Closing as a duplicate of #41540. Both Windows reports found the protected
cua_noderuntime incomplete after staging failed with0x80071770. No renderer or app-server started. Copying the complete runtime into place restored startup. Reporter’s retest · Same-build confirmation.