Repository navigation
Description
Codex desktop version
26.1016.61520, build 21421, prod release channel. The desktop updater reports up_to_date.
Platform
Windows. Exact Windows version/build and subscription were not collected.
Problem
Local shell commands and the Node tool kernel consistently fail before the requested command runs. This blocks reading local PDF/PPTX documents and preparing a product white paper.
Exact error:
MXC launcher: failed to create the process security environment: CreateProcessSecurityEnvironment failed (HRESULT = 0x80070020)
Node also reports:
node_repl kernel exited unexpectedly
kernel_status: exited(code=1)
reason: stdout_eof
Reproduction
- Open Codex desktop on Windows.
- Ask the agent to run a harmless local command (for example
cmd.exe /c ver) or start its Node runtime. - The launcher fails before command execution with the error above.
Expected: the protected tool environment starts and the command returns normally.
Actual: both shell and Node startup fail.
Troubleshooting completed
- User restarted Windows; the failure persists.
- Retried commands multiple times.
- Tried the command processor with login initialization disabled as well as PowerShell.
- Reset the Node kernel and ran a trivial output-only runtime check; startup still failed with the same HRESULT.
- Checked the installed app version and updates using the app tool; result was up_to_date.
Log excerpt
Observed on October 22, 2026 (Asia/Shanghai). User-provided sandbox log repeatedly contains:
[2026-10-22 18:07:45.765 codex.exe] MXC availability: true
[2026-10-22 18:07:45.774 codex.exe] Windows sandbox selection: elevated
[2026-10-22 18:07:50.007 codex.exe] MXC availability: true
[2026-10-22 18:07:50.011 codex.exe] Windows sandbox selection: mxc
[2026-10-22 18:09:33.686 codex.exe] MXC availability: true
[2026-10-22 18:09:33.691 codex.exe] Windows sandbox selection: mxc
This excerpt does not identify a locked resource or root cause. No successful explicit legacy sandbox probe was performed in this case; the elevated selection log is not evidence of successful execution.
Related reports
- Windows: Tool startup fails with CreateProcessSecurityEnvironment error 0x80070020 #52752: same HRESULT and tool startup failure.
- Windows: browser tools fail with MXC CreateProcessSecurityEnvironment error 0x80070020 #55100: same HRESULT on another desktop version, affecting browser tools.
- files not processing #52042: shell and Node failures persist after reboot.
Please investigate the persistent MXC environment creation failure and provide a supported recovery path. Personal file paths and unrelated document contents are omitted.
Activity
github-actions commentedon Oct 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action