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 Desktop: unelevated sandbox still repeatedly launches elevated setup helper #23712
Open or create C:\Users\<user>\.codex\config.toml.
Configure Codex with:
sandbox_mode = "workspace-write"
[windows]
sandbox = "unelevated"
Fully restart Codex Desktop.
Open any local workspace.
Ask Codex to run a simple sandboxed shell command, for example Get-ChildItem -Force or Get-Location.
Observe that a Windows credential/UAC prompt appears for the Codex sandbox/helper elevated setup.
Cancel the credential prompt.
Repeat another simple shell command.
Observe that the same helper prompt appears again.
What is the expected behavior?
With windows.sandbox = "unelevated", Codex should not repeatedly prompt for elevated helper setup, or should provide a documented config option to disable that setup attempt while keeping sandbox_mode = "workspace-write".
the potential duplicates are in fact installing sandbox app (succesfully, it "just" repeats). It is problem of sandbox installation/verification.
Here is custom config, unelevated, no sandbox installed or willing to install. I see it as problem of configuration evaluation. So not a duplicate.
Activity
github-actions commentedon May 20, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
mpetr commentedon May 20, 2026
the potential duplicates are in fact installing sandbox app (succesfully, it "just" repeats). It is problem of sandbox installation/verification.
Here is custom config, unelevated, no sandbox installed or willing to install. I see it as problem of configuration evaluation. So not a duplicate.