Skip to content

Windows desktop 26.1016.61520: shell and Node tools fail with MXC CreateProcessSecurityEnvironment 0x80070020 after reboot #56138

Open

Description

@Sakura030

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

  1. Open Codex desktop on Windows.
  2. Ask the agent to run a harmless local command (for example cmd.exe /c ver) or start its Node runtime.
  3. 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

Please investigate the persistent MXC environment creation failure and provide a supported recovery path. Personal file paths and unrelated document contents are omitted.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions