Answer: Windows error 1385 means Windows is denying the logon type the sandbox user needs; ask your IT team whether device policy grants the required logon rights to the Codex-created sandbox users, and if you need to keep working immediately, use the `unelevated` sandbox while the policy issue is investigated. Status: Confirmed Entry: tool/codex/troubleshooting/fix-windows-error-1385 Revision: 1 Digest: sha256:ce53adcbd2fe2611 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:55:17Z Last changed: 2026-11-13T03:55:17Z Last verified: 2026-11-20T13:44:04Z Next check: 2026-11-21T13:44:04Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of error code | 1385 | [1] | 2026-11-20 immediate workaround | unelevated | [1] | 2026-11-20 log file to send | CODEX_HOME/.sandbox/sandbox.log | [1] | 2026-11-20 Sources: [1] OpenAI. "Windows sandbox". https://learn.chatgpt.com/docs/windows/windows-sandbox.md Role: primary. Accessed: 2026-11-20T13:44:04Z Quote: "If sandboxed commands fail with error `1385`, Windows is denying the logon type" (Supports: error code) Quote: "If you need to keep working immediately, use the `unelevated` sandbox while" (Supports: immediate workaround) Quote: "Send `CODEX_HOME/.sandbox/sandbox.log` along with your Windows version and a" (Supports: log file to send) Snapshot SHA-256: 9ed22a1312fa2ff878979758a52b057324be4778619c276f607023ec0bd0a290 (captured 2026-11-13T03:55:16Z) 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:55:17Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:44:04Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:44:04Z Last attempt: 2026-11-20T13:44:04Z Notes and limitations: Extracted automatically from a single official source (section "I see Windows error 1385"). Related: https://latestn.com/tool/codex/troubleshooting/headless-login How do I sign in to Codex on a headless device? https://latestn.com/tool/codex/troubleshooting/host-not-visible-on-phone Why don't I see my host on my phone in Codex remote connections, and how do I fix it? https://latestn.com/tool/codex/troubleshooting/large-repos-slow-in-wsl Why do large repositories feel slow in WSL when using Codex? https://latestn.com/tool/codex/troubleshooting/desktop-app-config-server-signin What are the limitations of the Codex desktop app when using a configuration server that requires sign-in? https://latestn.com/tool/codex/troubleshooting/exit-codes What exit codes does the Codex Security CLI return? https://latestn.com/tool/codex/troubleshooting/fix-input-monitoring-macos How do I fix Input Monitoring permission issues for Codex Micro on macOS? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:55:17Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/troubleshooting/fix-windows-error-1385/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/troubleshooting/fix-windows-error-1385 POST: https://latestn.com/dispute/tool/codex/troubleshooting/fix-windows-error-1385 with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/troubleshooting/fix-windows-error-1385?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I fix Windows error 1385 when using the Codex sandbox? Revision 1, last verified 2026-11-20T13:44:04Z. https://latestn.com/tool/codex/troubleshooting/fix-windows-error-1385 (accessed 2026-11-21T09:59:48Z). @misc{LatestN_tool_codex_troubleshooting_fix_windows_error_1385_r1, title = {How do I fix Windows error 1385 when using the Codex sandbox?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/troubleshooting/fix-windows-error-1385}}, note = {Revision 1; digest sha256:ce53adcbd2fe2611; last verified 2026-11-20T13:44:04Z; accessed 2026-11-21T09:59:48Z} } 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/troubleshooting/fix-windows-error-1385