Skip to content

Windows: exec_command fails with “setup refresh had errors” after workspace reinstall #51702

Open

Description

@limjoonwoo1-prog

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:

  1. Open an existing local project in the ChatGPT desktop app.
  2. Start a new Codex conversation.
  3. Ask Codex to execute only Get-Location.
  4. 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.

Activity

  1. added
    app
    on Oct 7, 2026
  2. added
    bug
    windows-os
    tool-calls
    sandbox
    on Oct 7, 2026
  3. tomas-cabaj commented on Oct 8, 2026

    @tomas-cabaj

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions