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 sandbox setup fails with sharing violations #52056
CLIIssues related to the Codex CLIbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Codex CLI 0.161.0 on Windows fails to run commands in read-only and workspace-write sandbox modes with helper_unknown_error: setup refresh had errors. Running commands outside the sandbox succeeds. The failure reproduces with the desktop app closed.
Reproduction
Run codex.cmd --no-daemon --sandbox read-only --ask-for-approval never, then ask it to execute Write-Output "Codex CLI OK".
Evidence
ProcMon shows codex-windows-sandbox-setup.exe receiving SHARING VIOLATION when opening the user profile directory and the active cua_node/.../bin/node_repl.exe runtime with Maximum Allowed access. Read-attributes opens succeed. The setup log reports runtime read/execute validation errors and setup refresh had errors. Active and backup runtime executables have matching inherited ACLs. Restarting, rebuilding runtime directories, and running CLI without desktop did not resolve the problem.
Codex desktop version: 26.1002.7124.0. Original ProcMon traces are withheld to avoid disclosing private local system information. The process responsible for the conflicting file access is not yet identified.
CLIIssues related to the Codex CLIbugSomething 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