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: exec_command fails with “setup refresh had errors” after workspace reinstall #51702
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
What version of the Codex App are you using (From “About Codex” dialog)?
26.909.12148 (shown in ChatGPT settings)
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows (exact version not yet collected)
What issue are you seeing?
Codex cannot start command processes on Windows. Even the read-only PowerShell command Get-Location fails before execution.
Error:
exec_command failed: CreateProcess { message: "Rejected("Failed to create unified exec process: helper_unknown_error: setup refresh had errors")" }
All command-based work is blocked.
What steps can reproduce the bug?
Feedback ID: 01a116a6-ef33-7942-a737-259ad52d370f
What is the expected behavior?
The command process should start, and Get-Location should return the current directory.
Additional information
Troubleshooting already attempted:
Restarted the computer.
Created a new conversation.
Ran Codex Workspace diagnostics, which reported that dependencies were healthy.
Completed Workspace reset and install.
Retried Get-Location after reinstalling; the same error occurred.
Checked %USERPROFILE%.codex.sandbox\sandbox.log; the file was not present.
The configuration screen showed sandbox access set to Full access.
Feedback was submitted with ChatGPT diagnostic logs included.
Please advise how to locate the relevant Windows workspace/helper logs and recover command execution while preserving existing project files and uncommitted changes.
Steps to reproduce:
Open an existing local project in the ChatGPT desktop app.
Start a new Codex conversation.
Ask Codex to execute only Get-Location.
Process creation fails with "helper_unknown_error: setup refresh had errors".
Note: The “What steps can reproduce the bug?” field repeatedly resets to the Feedback ID when edited, so reproduction steps are provided here.
Update (2026-10-08): Command execution is working again after changing config.toml to set:
[windows]
sandbox = "unelevated"
After that change, reinstalling Codex completed setup and the previously failing read-only command Get-Location succeeded with exit code 0 in my project:
Path
----
Z:\_AI_Codex\MojeDoprava
No ACL changes or manual creation of a .codex.sandbox folder were needed.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Oct 7, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
tomas-cabaj commentedon Oct 8, 2026
Update (2026-10-08): Command execution is working again after changing
config.tomlto set:After that change, reinstalling Codex completed setup and the previously failing read-only command
Get-Locationsucceeded with exit code 0 in my project:No ACL changes or manual creation of a
.codex.sandboxfolder were needed.