Computer Use fails to start on Windows with sandbox ACL setup error
What version of the Codex App are you using (From “About Codex” dialog)?
Codex 26.527.30818
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Windows 11 25H2
What issue are you seeing?
Summary
Computer Use fails to start on my Windows environment. Based on the sandbox logs, it appears related to ACL setup for the Codex app directory under C:\Program Files\WindowsApps, but I’m not sure whether this is environment-specific or a Codex sandbox compatibility issue.
Environment
- OS: Windows
- Codex Desktop: 26.527.3378.0
- Computer Use plugin: 26.527.30818
- Codex app path:
C:\Program Files\WindowsApps\OpenAI.Codex_<version>_x64__<publisher-id>\app
- Plugin cache:
%USERPROFILE%\.codex\plugins\cache\openai-bundled\computer-use\26.527.30818
What happened
When I call Computer Use, node_repl exits unexpectedly:
node_repl kernel exited unexpectedly
windows sandbox failed: spawn setup refresh
The sandbox log shows that setup tries to grant a read ACE to the Codex app directory under WindowsApps, but fails with access denied:
read-acl-only mode: applying read ACLs
granting read ACE to C:\Program Files\WindowsApps\OpenAI.Codex_<version>_x64__<publisher-id>\app for sandbox users
grant read ACE failed on C:\Program Files\WindowsApps\OpenAI.Codex_<version>_x64__<publisher-id>\app for sandbox_group: SetNamedSecurityInfoW failed: 5
read ACL run completed with errors: ["grant read ACE failed on C:\\Program Files\\WindowsApps\\OpenAI.Codex_<version>_x64__<publisher-id>\\app for sandbox_group: SetNamedSecurityInfoW failed: 5"]
setup error: read ACL run had errors
A later attempt also logged:
setup refresh: failed to spawn %LOCALAPPDATA%\OpenAI\Codex\bin\<hash>\codex-windows-sandbox-setup.exe: 要求された操作には管理者特権が必要です。 (os error 740)
What I checked
codex-computer-use.exe exists:
%USERPROFILE%\.codex\plugins\cache\openai-bundled\computer-use\26.527.30818\node_modules\@oai\sky\bin\windows\codex-computer-use.exe
config.toml contains the notify path to codex-computer-use.exe.
Controlled Folder Access is disabled:
EnableControlledFolderAccess : 0
Windows Security / Defender status:
IsTamperProtected : True
AntivirusEnabled : True
RealTimeProtectionEnabled : True
BehaviorMonitorEnabled : True
Owner of the Codex app folder:
Owner : NT AUTHORITY\SYSTEM
Group : NT AUTHORITY\SYSTEM
ACL excerpt for:
C:\Program Files\WindowsApps\OpenAI.Codex_<version>_x64__<publisher-id>\app
BUILTIN\Users Allow ReadAndExecute, Synchronize
NT SERVICE\TrustedInstaller Allow FullControl
NT AUTHORITY\SYSTEM Allow FullControl
BUILTIN\Administrators Allow ReadAndExecute, Synchronize
NT AUTHORITY\LOCAL SERVICE Allow ReadAndExecute, Synchronize
NT AUTHORITY\NETWORK SERVICE Allow ReadAndExecute, Synchronize
NT AUTHORITY\RESTRICTED Allow ReadAndExecute, Synchronize
I also tested with a newly created local Windows user account. The same failure occurs there as well, so this does not appear to be specific to my original Windows user profile or .codex cache.
Request
Could you investigate whether this is an expected limitation of the Windows Store/MSIX install path, an environment-specific ACL issue, or a Codex sandbox setup bug?
What steps can reproduce the bug?
1. Install and launch Codex Desktop on Windows.
2. Enable/use the bundled Computer Use plugin.
3. In a Codex thread, call Computer Use, for example with a simple test request.
4. Computer Use fails before returning `list_apps()`.
The failure happens during Windows sandbox setup. `node_repl` exits unexpectedly with:
```text
node_repl kernel exited unexpectedly
windows sandbox failed: spawn setup refresh
The sandbox log shows that setup tries to grant a read ACE to the Codex app directory under C:\Program Files\WindowsApps, but the ACL operation fails:
read-acl-only mode: applying read ACLs
granting read ACE to C:\Program Files\WindowsApps\OpenAI.Codex_<version>_x64__<publisher-id>\app for sandbox users
grant read ACE failed on C:\Program Files\WindowsApps\OpenAI.Codex_<version>_x64__<publisher-id>\app for sandbox_group: SetNamedSecurityInfoW failed: 5
read ACL run completed with errors: ["grant read ACE failed on C:\\Program Files\\WindowsApps\\OpenAI.Codex_<version>_x64__<publisher-id>\\app for sandbox_group: SetNamedSecurityInfoW failed: 5"]
setup error: read ACL run had errors
A later attempt also logged:
setup refresh: failed to spawn %LOCALAPPDATA%\OpenAI\Codex\bin\<hash>\codex-windows-sandbox-setup.exe: 要求された操作には管理者特権が必要です。 (os error 740)
This also reproduces with a newly created local Windows user account, so it does not appear to be specific to my original Windows user profile or .codex cache.
I do not have a code snippet beyond invoking Computer Use from a Codex thread, since the failure happens during plugin/sandbox initialization before app automation begins.
### What is the expected behavior?
_No response_
### Additional information
_No response_This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗