Answer: For standalone CLI use, enable MXC preference in `config.toml` by setting `prefer_mxc = true` under `[features]`. You can also enforce this feature value through `requirements.toml`, and on CLI version 0.162.0 or later you can run a compatibility probe. Status: Confirmed Entry: tool/codex/permissions-and-security/configure-windows-sandbox Revision: 1 Digest: sha256:7a4d6a7cc340921e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:50:45Z Last changed: 2026-11-13T03:50:45Z Last verified: 2026-11-20T13:39:00Z Next check: 2026-11-21T13:39:00Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of MXC preference setting | prefer_mxc = true | [1] | 2026-11-20 Config section | [features] | [1] | 2026-11-20 Enforcement file | requirements.toml | [1] | 2026-11-20 Minimum CLI version for probe | 0.162.0 | [1] | 2026-11-20 Legacy fallback restriction file | %ProgramData%\OpenAI\Codex\requirements.toml | [1] | 2026-11-20 Allowed legacy implementation | elevated | [1] | 2026-11-20 Sources: [1] OpenAI. "Deploy the Windows app and Codex CLI". https://learn.chatgpt.com/docs/enterprise/windows-deployment.md Role: primary. Accessed: 2026-11-20T13:39:00Z Quote: "prefer_mxc = true" (Supports: MXC preference setting) Quote: "[features] prefer_mxc = true" (Supports: Config section) Quote: "You can also enforce this feature value through `requirements.toml`." (Supports: Enforcement file) Quote: "On CLI version 0.162.0 or later, run this compatibility probe from a project directory:" (Supports: Minimum CLI version for probe) Quote: "add the following to `%ProgramData%\OpenAI\Codex\requirements.toml`, not `config.toml`" (Supports: Legacy fallback restriction file) Quote: "allowed_sandbox_implementations = ["elevated"]" (Supports: Allowed legacy implementation) Snapshot SHA-256: 271ec749bdee9846e86bd4c47314d82dfc20235c618d9af5df4dbc99d1f9334d (captured 2026-11-13T03:50:45Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:50:45Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:39:00Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:39:00Z Last attempt: 2026-11-20T13:39:00Z Notes and limitations: Extracted automatically from a single official source (section "Configure the Windows sandbox"). Related: https://latestn.com/tool/codex/permissions-and-security/control-browser-computer-use How do I control browser and Computer Use access for Codex and ChatGPT Work? https://latestn.com/tool/codex/permissions-and-security/create-rules-file How do I create a rules file to control which commands Codex can run outside the sandbox? https://latestn.com/tool/codex/permissions-and-security/create-service-account-access-token How do I create an access token for a Codex service account? https://latestn.com/tool/codex/permissions-and-security/configure-networking-allowed-destinations How do I configure networking and allowed destinations for Codex in the Agent Security UI? https://latestn.com/tool/codex/permissions-and-security/configure-sandbox-defaults How do I configure the default sandbox permissions in Codex? https://latestn.com/tool/codex/permissions-and-security/configure-severity-policy How do I configure a severity policy to enforce Codex Security scan results in GitHub Actions? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:50:45Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/permissions-and-security/configure-windows-sandbox/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/permissions-and-security/configure-windows-sandbox POST: https://latestn.com/dispute/tool/codex/permissions-and-security/configure-windows-sandbox with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/permissions-and-security/configure-windows-sandbox?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure the Windows sandbox for Codex CLI? Revision 1, last verified 2026-11-20T13:39:00Z. https://latestn.com/tool/codex/permissions-and-security/configure-windows-sandbox (accessed 2026-11-21T10:03:30Z). @misc{LatestN_tool_codex_permissions_and_security_configure_windows_sandbox_r1, title = {How do I configure the Windows sandbox for Codex CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/permissions-and-security/configure-windows-sandbox}}, note = {Revision 1; digest sha256:7a4d6a7cc340921e; last verified 2026-11-20T13:39:00Z; accessed 2026-11-21T10:03:30Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/permissions-and-security/configure-windows-sandbox