Skip to content

Windows: all commands fail with “helper_unknown_error: setup refresh had errors” #49234

Open

Description

@danmardelivery-create

What version of the Codex App are you using (From “About Codex” dialog)?

26.924.2738.0

What subscription do you have?

ChatGPT Business-Self_serve_business_prolite

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Codex cannot execute terminal commands on Windows. Even the read-only PowerShell command Get-Location fails before the process starts.

Full error:
exec_command failed: CreateProcess {
message: "Rejected("Failed to create unified exec process: helper_unknown_error: setup refresh had errors")"
}

The same error occurs in the original conversation and in a new chat in the same local project. This prevents code inspection, testing and further development.

What steps can reproduce the bug?

Feedback ID: 01a0eca4-59bc-7243-8094-37d64d28f7f9

What is the expected behavior?

The terminal process should start and Get-Location should return the current working directory.

If sandbox initialization fails, the app should provide an actionable diagnostic and recovery instructions.

Additional information

The failure was reproduced on 29 September 2026, around 11:06–11:10 Europe/London time.

The failed commands did not execute. No project files or security permissions were modified during these attempts.

Please provide recovery instructions that preserve existing conversations, local project files and uncommitted changes.

Feedback ID: 01a0eca4-59bc-7243-8094-37d64d28f7f9

Activity

  1. added
    app
    on Sep 29, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    on Sep 29, 2026
  3. danmardelivery-create commented on Sep 29, 2026

    @danmardelivery-create
    Author

    Update after a full Windows restart:

    LongPathsEnabled is confirmed as 1. The failure persists.

    The sandbox log at 2026-09-29 16:42:48 Europe/London still reports:
    “runtime read/execute validation failed”
    and “CreateFileW failed”
    for the same directory inside Codex's cua_node runtime dependency cache:
    ...\pnpm-store\v11\links@rollup\plugin-typescript\12.1.2...

    Previously, Get-Item failed for the ordinary path but succeeded
    with the \?\ prefix.

    The log also reports ACL application during sandbox setup,
    before command execution fails.

    Please advise a supported recovery procedure that preserves
    conversations, project files and uncommitted changes.

  4. Patatid422 commented on Oct 2, 2026

    @Patatid422

    I have the same issue on Codex Desktop 26.928.31416 (build 12553), Windows, Plus subscription. Every local command fails before execution with: “Failed to create unified exec process: helper_unknown_error: setup refresh had errors”. Restarting Codex did not fix it. My original report is #50393.

  5. zhongtao80 commented on Oct 3, 2026

    @zhongtao80

    had the same error on Codex Desktop 26.928.31416. Windows 11.

  6. AdrianoCahete commented on Oct 8, 2026

    @AdrianoCahete

    I had the problem, but when I say to elevate the command, it works.

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