Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Not available. I am using Codex through the OpenAI VS Code extension. Extension version identified in the diagnostic log: 26.1002.51308 (Windows x64). The Codex App version requested by this field has not been independently verified.
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.26300.0 x64
What issue are you seeing?
Summary
Codex's native Windows elevated sandbox fails during runtime read/execute ACL validation of node_repl.exe, reporting Windows error 32: the executable is in use by another process.
The failure prevents all command execution, including the read-only PowerShell command Get-Location.
This persists after updating VS Code, restarting Windows, shutting down all Codex processes and performing a clean-start test.
Error shown by Codex
CreateProcess rejected:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors
The command does not execute.
Underlying sandbox diagnostic error
The diagnostic log for 9 October 2026 at approximately 00:10:25 local time records:
runtime read/execute validation failed:
validate runtime read/execute access on
C:\Users\<USER>\AppData\Local\OpenAI\Codex\
runtimes\cua_node\154806497bb51bae\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)
The log also records:
failed to grant non-inheriting read-attributes ACE
on user profile C:\Users\<USER>:
open ACL target for root-only update:
The process cannot access the file because it is
being used by another process. (os error 32);
continuing setup
The runtime validation failure subsequently produces:
setup error: setup refresh had errors
setup refresh: exited with status ExitStatus(ExitStatus(1))
The profile-directory ACL warning is marked as nonfatal (continuing setup); the runtime validation failure prevents successful setup.
Impact
Codex remains accessible through its VS Code conversation interface but cannot execute even a basic read-only command.
The elevated sandbox configuration has been preserved. No manual Windows ACL changes, sandbox-mode changes or project-file modifications were made during troubleshooting.
Additional observation
Attempting to access Codex's in-product feedback mechanism produces:
Couldn't verify feedback permissions.
Please try again.
This prevents obtaining a feedback session ID. It is not established whether the feedback-permission failure shares the same cause as the sandbox failure.
What steps can reproduce the bug?
Reproduction steps
-
Start VS Code on Windows.
-
Open an existing local workspace.
-
Open the OpenAI Codex extension.
-
Request execution of this read-only PowerShell command:
Get-Location -
Observe that Codex reports:
CreateProcess rejected: Failed to create unified exec process: helper_unknown_error: setup refresh had errors -
Inspect the Codex Windows sandbox log. It records Windows error 32 during read/execute ACL validation of
node_repl.exe. -
Close all VS Code windows.
-
From an independent PowerShell session, verify that no
codex.exeornode_repl.exeprocesses remain:Get-Process -Name "codex","node_repl" -ErrorAction SilentlyContinue | Select-Object Id, ProcessName, Path
-
Reopen VS Code and repeat
Get-Location.
Observed result: The same execution failure returns after a clean shutdown and restart.
Process investigation
Two node_repl.exe processes were observed at one point, both using the affected Codex runtime executable:
codex.exe PID 15736
├── node_repl.exe PID 22184
└── node.exe PID 22060
└── node_repl.exe PID 16636
These process relationships were obtained through Windows process inspection. They establish that the affected runtime executable was being used by Codex processes, but do not prove which process held the conflicting file handle at the moment of ACL validation.
Closing all VS Code windows caused the Codex processes to exit normally.
Troubleshooting already performed
- Updated VS Code from 1.99.3 to 1.141.0.
- Reloaded and fully restarted VS Code.
- Restarted Windows.
- Verified the Windows account's administrator-token context.
- Examined sandbox diagnostic logs.
- Inspected Codex runtime process relationships.
- Checked Windows Resource Monitor for associated handles, without identifying a matching handle during the check.
- Confirmed that Codex processes exit after closing VS Code.
- Repeated a clean-start read-only execution test.
The failure persists.
Session and context information
Session ID: Not available. The in-product feedback mechanism fails with Couldn't verify feedback permissions. Please try again.
Token limit usage: Not available.
Context window usage: Not available.
The problem occurs before the requested command executes and is reproducible with a single read-only command.
What is the expected behavior?
The native Windows elevated sandbox should initialise successfully, including runtime read/execute access validation, without encountering an unrecoverable file-sharing conflict.
Codex should execute permitted commands within its configured sandbox restrictions.
For the reproduction command:
Get-Location
PowerShell should execute and return the current working directory.
If the sandbox encounters a transient file-sharing conflict, it should recover safely where possible or provide a specific, actionable error without weakening the configured security isolation.
The in-product feedback mechanism should also permit reporting an execution failure and obtaining a session ID.
Additional information
Environment
- Operating system: Windows_NT x64, build 10.0.26300.
- VS Code: 1.141.0 (User Setup).
- OpenAI VS Code extension identified in the failure log:
26.1002.51308-win32-x64. - PowerShell: 7.6.6.
- Windows account: Built-in Administrator (SID ending
-500). - Security context: High integrity level, Administrators group enabled.
- Machine: Independently managed Windows computer.
- Sandbox: Native Windows elevated sandbox.
Historical log observations
The supplied diagnostic log includes earlier successful sandbox setup operations from extension 26.825.51511, followed by repeated runtime ACL-validation failures recorded under extension 26.1002.51308.
This does not establish that the extension update caused the failure, but may help identify a regression or version-specific behaviour.
Possible cause (unconfirmed)
The repeated Windows error 32 indicates a file-sharing conflict during sandbox ACL validation.
Because the affected node_repl.exe executable was observed running within Codex's own process tree, a possible cause is an interaction between runtime process initialisation, executable sharing modes and ACL-validation ordering.
The exact locking process and root cause remain unidentified.
The built-in Administrator account may be relevant, but no causal relationship has been established.
Security constraints
I wish to preserve the stronger native Windows elevated sandbox.
OpenAI Support has explained that unelevated is a documented fallback with weaker isolation. I do not want to weaken the sandbox merely to resume development.
WSL2 is a potential alternative, but the affected workflow includes native Windows/Electron packaging and security verification, so migration would require a separate compatibility assessment.
Requested engineering assistance
Please investigate:
- Why runtime ACL validation attempts to update
node_repl.exewhile Windows reports that the executable is in use. - Whether Codex's runtime initialisation order or executable sharing modes could produce this conflict.
- Whether the built-in Windows Administrator account contributes to this behaviour.
- Whether a known extension/runtime version fixes the problem.
- A supported repair or elevated-sandbox reinitialisation procedure that preserves existing user data and security protections.
- A supported method for identifying the process holding the conflicting file handle.
- The separate in-product feedback-permission verification failure.
Diagnostic evidence availability
I have retained the dated sandbox diagnostic log.
OpenAI Support's upload interface rejected the .log file and a .txt copy as unsupported file types.
I can provide additional redacted log extracts or diagnostic results through a supported channel.
No Windows ACLs, security policies or sandbox configuration settings have been deliberately changed during the investigation.
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