Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
ChatGPT 26.825.51511
What subscription do you have?
plus
What platform is your computer?
No response
What issue are you seeing?
Summary
Codex Desktop cannot start any normal sandboxed local command on Windows.
The command is rejected before PowerShell or the requested process starts.
Error:
helper_unknown_error: setup refresh had errors
Environment
- Windows 10 Pro 22H2, build 19045, x64, zh-CN
- Codex Desktop: 26.825.6671.0
- codex-cli: 0.151.0-alpha.7.2
- Workspace is a normal local Git repository on an NTFS drive
- Codex reports no available update
Minimal reproduction
Run any harmless sandboxed command, for example:
Get-Location
Expected:
The command starts and prints the working directory.
Actual:
The unified exec process is rejected before command execution:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors
The same command succeeds when executed outside the sandbox with scoped elevation.
codex doctor result
codex doctor --json returns overallStatus=fail.
Relevant check:
- check: sandbox.helpers
- status: fail
- summary: elevated Windows sandbox provisioning recorded a structured failure
- error code: helper_unknown_error
- sandbox provisioning: failed
- sandbox backend: elevated
Other relevant checks pass:
- installation: OK
- desktop app-server handshake: OK
- configuration load: OK
- authentication: OK
- provider HTTP reachability: OK
- WebSocket reachability: OK
- state/database integrity: OK
- disk space: OK
The separate TERM=dumb diagnostic is caused by the non-interactive diagnostic shell and does not explain the provisioning failure.
Helper integrity
The following bundled executables exist and have valid Authenticode signatures from OpenAI OpCo, LLC:
- codex.exe
- codex-windows-sandbox-setup.exe
- codex-command-runner.exe
- codex-code-mode-host.exe
Troubleshooting already performed
- Fully exited Codex and confirmed it was restarted
- Confirmed Codex Desktop has no available update
- Checked Windows Security protection history; no Codex block was shown
- Confirmed sufficient disk space
- Confirmed the same harmless command succeeds outside the sandbox
- Browser automation also fails because its local kernel exits with the same sandbox helper error
- Reinstallation has not been attempted
Request
Please advise how to repair or reprovision only the Windows sandbox helper without reinstalling Codex Desktop or deleting user projects, configuration, or thread history.
What steps can reproduce the bug?
1. Open Codex Desktop on Windows.
2. Open the local workspace.
3. Ask Codex to run any harmless sandboxed shell command, for example:
```powershell
Get-Location
- The command fails before PowerShell starts, with:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors
-
Run the same command with scoped execution outside the sandbox. It succeeds and prints the correct workspace path.
-
Fully exit Codex Desktop, confirm the Codex process has stopped, reopen the app, and repeat the test. The same sandbox error still occurs.
-
Run:
codex doctor --jsonThe relevant result is:
overallStatus: fail
check: sandbox.helpers
status: fail
summary: elevated Windows sandbox provisioning recorded a structured failure
error code: helper_unknown_error
sandbox provisioning: failed
sandbox backend: elevated
The installation, desktop app-server handshake, authentication, network reachability, configuration, state databases, and disk checks pass.
The bundled helper executables exist and have valid Authenticode signatures from OpenAI OpCo, LLC:
- codex.exe
- codex-windows-sandbox-setup.exe
- codex-command-runner.exe
- codex-code-mode-host.exe
The issue also prevents browser automation because its local execution kernel exits with the same sandbox helper error.
Codex thread ID:
01a042a6-5b70-7373-b3d8-98593554c952
Token limit usage:
Not applicable / unknown. The failure happens before the requested command starts.
Context window usage:
Not applicable. The issue reproduces with a trivial command after fully restarting Codex Desktop.
### What is the expected behavior?
_No response_
### Additional information
_No response_
Activity
github-actions commentedon Aug 31, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
helper_unknown_error: setup refresh had errors#40596Powered by Codex Action
MisterH7 commentedon Aug 31, 2026
Additional reproduction from Codex Desktop on Windows, observed 2026-08-31 (Europe/Madrid), on the 26.825.x app line.
Impact: this is a complete blocker for a real local project workflow. The user can access/read a local workspace under
C:\Users\<user>\Desktop\PORTFOLIO_ARCHIVOS, but Computer Use / Windows application control cannot initialize, so Codex cannot detect or operate Affinity even when Affinity is open.Observed error:
Earlier diagnostics also indicated Windows
error 5: Access deniedwhile the sandbox setup attempted to work with packaged resources / WindowsApps.Troubleshooting already performed:
G:\...) and kept only the localC:workspace.The workflow worked previously and became blocked after recent Codex updates. This looks consistent with the elevated Windows sandbox provisioning / setup-refresh regression reported in this issue and related Windows 26.825 reports.
Please prioritize a supported repair/reprovision path for the Windows sandbox (without deleting projects/thread history), and improve the user-facing diagnostic so the failing ACL/helper operation and Win32 error are exposed instead of only
setup refresh had errors.wrawanderson-create commentedon Sep 1, 2026
Update: The problem persists after restarting Codex and retrying after the weekend.
The failure is no longer limited to the in-app browser. Codex is now also unable to start ordinary command execution or reliably edit workspace files.
Browser/runtime test:
Diagnostic:
node_repl kernel exited unexpectedly
kernel_status: exited(code=1)
kernel_stderr_tail: windows sandbox failed: helper_unknown_error: apply deny-read ACLs
reason: stdout_eof
Command execution test:
Diagnostic:
Failed to create unified exec process:
helper_unknown_error: apply deny-read ACLs
File-edit test:
Diagnostic:
fs sandbox helper failed with status exit code: 1
windows sandbox failed: helper_unknown_error: apply deny-read ACLs
This confirms the issue occurs before any website, browser, or vendor interaction. Changing the Windows default browser from Firefox to Chrome did not resolve it and should not be relevant because the sandbox fails before a browser is launched.
Environment:
Impact:
This completely blocks the active project because Codex cannot:
Please investigate the Windows sandbox helper’s deny-read ACL operation, including whether OneDrive-backed workspace paths or inherited Windows ACLs are triggering the helper failure. The error appears to be in the Codex sandbox initialization layer, not in Chrome, Firefox, Cloudflare, or the target websites.
wrawanderson-create commentedon Sep 2, 2026
Update after installing the newly pushed Codex update:
I fully restarted Codex and retried the affected task after installing the latest available update. The issue remains unchanged.
A basic read-only search of the permitted workspace failed before PowerShell could start.
Current diagnostic:
exec_command failed
Failed to create unified exec process:
helper_unknown_error: apply deny-read ACLs
The attempted command was a normal read-only
rgsearch within the configured workspace directories. No browser interaction or external website access was involved.The same underlying ACL failure therefore continues to block:
Environment:
This continues to appear to be a Windows sandbox-helper failure while applying deny-read ACLs, occurring before the requested process is created. It is not caused by the target websites, Chrome, Firefox, Cloudflare, PowerShell, or the command being executed.
Please confirm whether the latest update was intended to address this specific
apply deny-read ACLsfailure and whether additional diagnostics or a test build are available.gfreestates-stack commentedon Sep 3, 2026
I managed to fix this issue using the method outlined in the link below:
https://community.openai.com/t/codex-desktop-command-runner-completely-broken-helper-unknown-error-setup-refresh-had-errors/1391898/8
wrawanderson-create commentedon Sep 3, 2026
Resolution update
I was able to identify and repair the underlying problem.
The failure was not caused by PowerShell, Git, the repository, Windows account ownership, or the project workspace itself. The Codex Windows sandbox log contained the actual cause: