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 desktop tasks fail before shell execution: “setup refresh had errors” #52121
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
What terminal emulator and version are you using (if applicable)?
No response
Codex doctor report
What issue are you seeing?
exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors.
Separate clue: a CLI version check warned “Could not find home directory.” CODEX_HOME was unset; USERPROFILE and PowerShell $HOME pointed to an existing folder, but Windows UserProfile lookup returned empty. Its connection to the desktop failure is unknown.
Uploaded feedback reference: 01a104ae-465c-7fe3-8329-ddf0d52a13a9. This feedback came from the working CLI context, not the failing desktop task.
start a dot-managed task on the connected Windows computer and request Get-Location. It fails before the command executes. Expected: the command runs normally.
The original standalone CLI runs commands successfully. Chrome-extension browser reads work. Restarting the desktop app and selecting full access did not resolve it. The home-directory warning is a separate clue, not a confirmed cause.
I'm seeing the same error with a desktop-managed task on Windows:
Failed to create unified exec process: exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors
Repeated execution attempts fail before any command runs, including after restarting the desktop app.
The computer still shows as connected, attached, and authorized. The app's terminal stays at “waiting for environment”; it has not successfully run a command.
As a separate control, Get-Location succeeds in standalone Windows Terminal Preview with PowerShell 7.7.0-preview.5.
No project commands succeeded and no project files were modified by the task.
The desktop app version, Windows build, bundled engine version, and detailed helper logs have not been verified. This matches the reported symptom, but I haven't established that it has the same root cause.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Oct 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
SProst commentedon Oct 8, 2026
I'm seeing the same error with a desktop-managed task on Windows:
Failed to create unified exec process: exec-server rejected request (-32603): helper_unknown_error: setup refresh had errorsGet-Locationsucceeds in standalone Windows Terminal Preview with PowerShell 7.7.0-preview.5.The desktop app version, Windows build, bundled engine version, and detailed helper logs have not been verified. This matches the reported symptom, but I haven't established that it has the same root cause.