openai/codex · error
network proxy restricting SID requires the elevated Windows
Error message
network proxy restricting SID requires the elevated Windows sandbox backend
What it means
Error "network proxy restricting SID requires the elevated Windows sandbox backend" thrown in openai/codex.
Source
Thrown at codex-rs/windows-sandbox-rs/src/unified_exec/mod.rs:78
request.network_proxy_restricting_sid,
request.proxy_settings_mode,
request.timeout_ms,
request.read_roots_override,
request.read_roots_include_platform_defaults,
request.write_roots_override,
request.deny_read_paths_override,
request.deny_write_paths_override,
request.tty,
request.stdin_open,
request.use_private_desktop,
)
.await
} else {
if request.proxy_enforced {
bail!("managed networking requires the elevated Windows sandbox backend");
}
if request.network_proxy_restricting_sid.is_some() {
bail!("network proxy restricting SID requires the elevated Windows sandbox backend");
}
spawn_windows_sandbox_session_legacy(
request.permission_profile,
request.workspace_roots,
request.codex_home,
request.command,
request.cwd,
request.env_map,
request.timeout_ms,
request.deny_read_paths_override,
request.deny_write_paths_override,
request.tty,
request.stdin_open,
request.use_private_desktop,
)
.await
}
}View on GitHub (pinned to 339751715c)
Solutions
- Enable the elevated Windows sandbox backend, or remove the network proxy restricting SID configuration.
When it happens
Trigger: Thrown at codex-rs/windows-sandbox-rs/src/unified_exec/mod.rs:78 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of openai/codex@339751715c (2026-08-25).
Data as JSON: /api/errors/8fcfaf0b7cbc432d.
Report an issue: GitHub.