Skip to content

Windows: Tool startup fails with CreateProcessSecurityEnvironment error 0x80070020 #52752

Open

Description

@lancer58541102-caren

What version of the Codex App are you using (From “About Codex” dialog)?

26.1007.21434

What subscription do you have?

Plus

What platform is your computer?

Windows

What issue are you seeing?

Codex on Windows cannot start its tool execution environment. I asked Codex to edit an existing PSD in Photoshop, but both shell execution and computer-use tools failed before any editing could begin.

Error:
MXC launcher: failed to create the process security environment: CreateProcessSecurityEnvironment failed (HRESULT = 0x80070020)

The computer-use tool also reported:
node_repl kernel exited unexpectedly
kernel_status: exited(code=1)
reason: stdout_eof

Repeated attempts produced the same error. The PSD was not modified.

Feedback ID: 01a12133-5914-7e43-8032-1097e452a403

What steps can reproduce the bug?

Open the Codex desktop app on Windows.

Ask Codex to edit an existing PSD in Photoshop, specifically to refine the buttons in three small product images.

Codex attempts to read its computer-use skill using a shell tool.

The tool fails with CreateProcessSecurityEnvironment error 0x80070020.

Codex attempts to inspect available apps using the computer-use tool.

That tool also fails with the same error, and the node_repl kernel exits.

Retry the request; the same failures occur.

Expected result: Codex can start the tools, inspect Photoshop, and perform the requested edits.
Actual result: Tool startup fails before Photoshop can be inspected or edited.

What is the expected behavior?

Codex should successfully start its shell and computer-use tools, inspect Photoshop, and edit the requested button details in the three small product images without a tool startup error.

Additional information

The error occurred repeatedly in the same conversation and affected both shell execution and computer-use tools. No Photoshop edits were performed, and the PSD was not modified.

Feedback ID: 01a12133-5914-7e43-8032-1097e452a403

Error: CreateProcessSecurityEnvironment failed (HRESULT = 0x80070020)

Activity

  1. added
    app
    on Oct 10, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    on Oct 10, 2026
  3. github-actions commented on Oct 10, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. aturanma-netizen commented on Oct 22, 2026

    @aturanma-netizen

    Additional reproduction report (22 Oct 2026, Europe/Bratislava):

    The failure is still reproducible after repeatedly resetting the counter, resetting Codex, closing/reopening the app, and restarting Windows. Browser control and local tool startup continue to fail before any page interaction.

    Exact error:
    MXC launcher: failed to create the process security environment: CreateProcessSecurityEnvironment failed (HRESULT = 0x80070020)

    Computer-use symptom:
    node_repl kernel exited unexpectedly
    reason: stdout_eof

    Impact: Road Monitor browser automation cannot access the Sent folder or create email drafts. The web page itself loads normally; the failure is in the local MXC/browser-control layer. No email was sent or modified.

    Expected: MXC should start reliably after reset/restart and allow the authorised browser tab to be controlled.

    This appears persistent rather than a one-time stale process or page-specific issue.

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

    appbugcomputer-usesandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions