Codex bug
Open 💬 1 comment Opened Aug 27, 2026 by DiamondXiao
What version of the Codex App are you using (From “About Codex” dialog)?
7788
What subscription do you have?
pro
What platform is your computer?
_No response_
What issue are you seeing?
<img width="875" height="270" alt="Image" src="https://github.com/user-attachments/assets/d9bc7fd5-1e7c-4f38-99fc-e729a6f66b16" />
What steps can reproduce the bug?
open desktop chatgpt
What is the expected behavior?
_No response_
Additional information
_No response_
1 Comment
## Diagnosis
The issue is caused by the Microsoft Store build of the ChatGPT/Codex desktop app,
version 26.820.7780.0.
During startup, the app tries to copy its bundled codex.exe, rg.exe, and Node runtime
from the encrypted WindowsApps package into:
C:\Users\24425\AppData\Local\OpenAI\Codex
Windows rejects the normal file-copy operation with:
The specified file could not be encrypted.
The desktop app then fails to locate its Codex CLI binary and reports:
Unable to locate the Codex CLI binary.
ChatGPT failed to start.
Testing confirmed that:
are not responsible.
This strongly indicates a bug in the current OpenAI desktop build’s handling of
encrypted Microsoft Store package files.
## Temporary solution
A process-scoped launcher was created:
/C:/Users/24425/Desktop/Start-Codex-Temporary-Fix.cmd:1
The launcher:
This workaround was verified successfully: the Codex CLI initialized, connected, and
the desktop window remained responsive.
It does not:
Some features that depend on the bundled Computer Use Node runtime may remain
affected.
## After OpenAI fixes the issue
Completely exit ChatGPT/Codex, delete the temporary launcher, and return to launching
the application normally from the Windows Start menu.The CLI works fine, and you can bypass the restrictions to force-start Codex for now; as for the specific issues, we'll have to wait for an official fix.