Repository navigation
Open
Labels
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.1002.52244
What subscription do you have?
Pro
What platform is your computer?
Windows Surface Pro 1st Edition Snapdragon Model 2110
What issue are you seeing?
Summary
Codex local execution is failing on Windows before any shell command can start.
Even a brand-new local task running only:
Get-Location
### What steps can reproduce the bug?
1. Open Codex desktop app.
2. Open or create a local task.
3. Point it at:
C:\Projects\GuardianPost
4. Run only:
Get-Location
5. The execution helper fails before the command launches.
The same behavior occurs after:
- restarting Codex,
- rebooting Windows,
- creating a brand-new local task.
### What is the expected behavior?
The Codex execution helper should initialize successfully and run basic commands such as:
Get-Location. Actual behavior
Codex reports that the execution helper failed to start.
setup_error.json contains:
{
"code": "helper_unknown_error",
"message": "setup refresh had errors"
}
The sandbox log repeatedly shows failure while validating runtime read/execute access on:
C:\Users\phili\AppData\Local\OpenAI\Codex\runtimes\cua_node\5543cb366c7bee11\bin\node_repl.exe
Relevant error:
runtime read/execute validation failed:
validate runtime read/execute access on
C:\Users\phili\AppData\Local\OpenAI\Codex\runtimes\cua_node\5543cb366c7bee11\bin\node_repl.exe:
open ACL target for root-only update:
The process cannot access the file because it is being used by another process.
(os error 32)
This is followed by:
setup error: setup refresh had errors
### Additional information
The problem appears to happen during Codex sandbox setup before repository access.
This does not appear to be specific to the GuardianPost repository.
No project files or production state were modified during troubleshooting.
Request. Troubleshooting already performed
- Fully restarted Codex desktop app.
- Rebooted Windows.
- Created brand-new local Codex tasks.
- Verified intended workspace path.
- Confirmed normal PowerShell works outside Codex.
- Confirmed node_repl.exe exists.
- Confirmed file ownership/permissions appear normal:
- current Windows user: FullControl
- SYSTEM: FullControl
- Administrators: FullControl
- CodexSandboxUsers: ReadAndExecute
- Resource Monitor did not show a persistent handle.
- Identified multiple Codex node_repl.exe / cua_node processes.
- Closed Codex and confirmed those processes were gone.
- Reopened Codex and retried Get-Location.
- The failure immediately returned.
Additional observations
The problem appears to happen during Codex sandbox setup before repository access.
This does not appear to be specific to the GuardianPost repository.
No project files or production state were modified during troubleshooting.
Request
Please investigate a Windows Codex sandbox/runtime race or file-sharing issue involving node_repl.exe during setup refresh / ACL validation.
The repeated os error 32 suggests the runtime file is being held open while Codex attempts to update or validate ACLs.
Before submitting, add your **Codex app version** and **Windows version/build** if you can find them. That will make the report more useful to the engineering team.Metadata
Metadata
Assignees
Labels
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
PAversano commentedon Oct 8, 2026
I reviewed the suggested duplicates. #52243 appears to match my case most closely, with #52233 also describing the same node_repl.exe / os error 32 sandbox setup failure. My issue reproduces after Windows reboot, full Codex restart, fresh local task, and clearing stale node_repl.exe/
neilestate commentedon Oct 9, 2026
I'm experiencing the same issue on Windows 10 with the latest Codex desktop app.
The sandbox fails before executing even
Get-Location, reportingsetup refresh had errors.I confirmed the failure using Sysinternals Process Monitor:
codex-windows-sandbox-setup.exeCreateFileSHARING VIOLATIONcua_noderuntime executablenode_repl.exeACL validation fails with OS error 32I've restarted Windows, restarted Codex, removed a recently installed plugin, verified the executable permissions, and renamed the runtime folder to force a fresh rebuild. The problem persists.
Is there a confirmed workaround or an upcoming fix for this Windows sandbox initialization failure?
bigbaraka16 commentedon Oct 10, 2026
Same root cause here, but from the CLI: codex-cli 0.162.0 (npm), Windows 11 Home 26200,
[windows] sandbox = "elevated". The sandbox log shows os error 32 on%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\<hash>\bin\node_repl.exeduring setup refresh, so every shell command fails withhelper_unknown_error: setup refresh had errors. Fully quitting the desktop app didn't help (onlyCodexSandboxServicewas still running). Workaround:npm install -g @openai/[email protected]. With the same config and folder, setup refresh logserrors=[]and commands run. Hooks fire normally on both versions.