Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1002.52244 (build 13536)
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What issue are you seeing?
Codex cannot execute local shell commands, including a simple PowerShell pwd. Execution fails before the shell process starts:
helper_unknown_error: setup refresh had errors
The sandbox log reports runtime read/execute validation failures when updating ACLs on files under:
C:\Users<user>\AppData\Local\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\
Affected files observed across attempts:
- node_repl.exe
- node.exe
- node_modules@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll
The underlying Windows error is:
"The process cannot access the file because it is being used by another process. (os error 32)"
Process inspection confirmed this chain:
codex.exe → node.exe running @oai/cua-repl/bin/cua-repl.mjs → node_repl.exe
codex-computer-use-swift.exe was also confirmed to load the exact DLL reported in the error.
External PowerShell and SSH work normally. The failure also occurs in a fresh Codex chat requesting only PowerShell execution.
Restarting Windows and Codex did not fix it. Stopping the runtime helper processes restored execution once, but subsequent attempts failed, and helpers were observed restarting with new PIDs.
Disabling "Any Application" under Computer Use and disabling the node_repl MCP did not resolve the failure.
What steps can reproduce the bug?
- Open the Codex desktop app on Windows.
- Start a new local chat.
- Ask Codex to run
pwdin PowerShell in a local workspace, without using browser or computer-control tools. - Command execution fails before PowerShell starts with:
helper_unknown_error: setup refresh had errors - Inspect %USERPROFILE%.codex.sandbox\sandbox.2026-10-08.log.
- The log shows runtime ACL validation failing with Windows os error 32 on cua_node runtime files.
Expected: PowerShell starts and prints the working directory.
Actual: Sandbox setup fails and the command never executes.
What is the expected behavior?
Codex should start PowerShell and execute pwd successfully, printing the working directory. Running CUA helper processes should not prevent sandbox setup or block unrelated shell commands.
Additional information
The app update check reported that version 26.1002.52244 (build 13536) was up to date.
Administrator PowerShell confirmed that codex.exe launches node.exe with @oai/cua-repl/bin/cua-repl.mjs, which launches node_repl.exe.
The codex-computer-use-swift.exe helper was observed restarting with a new PID after being stopped. Its loaded modules included the exact VCRUNTIME140_1.dll path reported by sandbox setup.
The issue persists in a fresh chat and after disabling both Computer Use ("Any Application") and the node_repl MCP.
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