Skip to content

Computer Use fails on Windows 11 with CreateProcessAsUserW failed: 5 #27987

Description

@Masssssssssssiiinnn

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

26.609.4994.0

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Windows 11 Home Single Language 25H2 (Build 26200.8655) x64

What issue are you seeing?

I am unable to use Computer Use at all.

My goal was very simple: I wanted Codex to perform basic desktop tasks for me, such as opening specific pages in Google Chrome before I arrive home, so that everything would already be prepared when I get back.

However, every attempt to use Computer Use fails before any visual interaction with Windows begins.

Examples of prompts that failed:

  • Open Notepad.
  • Open Calculator.
  • Open Google Chrome.
  • Open Netflix in Chrome.

The same error occurs every time:

CreateProcessAsUserW failed: 5

The failure happens before Codex can control the desktop, move the mouse, click anything, or interact with any application.

I also asked Codex to retry multiple times and reconnect to Windows, but the same error occurred repeatedly.

The helper reports:

windows sandbox failed: runner error: CreateProcessAsUserW failed: 5

What steps can reproduce the bug?

Feedback ID: 019ebe40-2480-7931-838c-e000e7aab3fc

  1. Open the Codex App on Windows 11.

  2. Start a new conversation.

  3. Ask Computer Use to perform any desktop action.

Examples:

  • Open Notepad.
  • Open Calculator.
  • Open Chrome.
  • Open Netflix.
  1. Codex attempts to connect to Windows.

  2. The helper initialization fails.

  3. The following error is returned:

CreateProcessAsUserW failed: 5

The issue is reproducible every time.

Additional troubleshooting performed:

  • Restarted the computer.
  • Reinstalled the Codex workspace.
  • Ran workspace diagnostics successfully.
  • Tested running Codex normally.
  • Tested running Codex as Administrator.
  • Checked Windows Defender history.
  • Verified folder permissions.
  • Verified helper executable existence.
  • Executed helper manually.
  • Collected logs.

The issue persists after all troubleshooting steps.

What is the expected behavior?

Computer Use should successfully connect to Windows and control the desktop.

For example, when I ask:

"Open Notepad"

Computer Use should launch Notepad and interact with Windows normally.

Likewise, when I ask it to open Chrome or a website, it should be able to perform those actions without failing during initialization.

I expected Computer Use to execute simple desktop automation tasks.

Additional information

I am not a programmer and I do not have a technical background in software development.

Because I did not know how to investigate the issue, I asked ChatGPT for help.

Together we performed a detailed troubleshooting process and collected logs from Codex.

The goal was simple: I wanted to use Computer Use for basic personal productivity tasks, such as opening specific pages in Chrome before I arrive home.

During the investigation we found:

  • Workspace diagnostics completed successfully.
  • Windows Defender showed no relevant blocks.
  • Folder permissions appeared correct.
  • The helper executable exists.
  • The helper executable can be launched manually.

The helper executable launches successfully when executed directly.

It returns:

Error: runner: no pipe-in provided

This suggests that the executable itself is present and runnable, but Computer Use fails before establishing the expected communication channel.

The helper path is:

C:\Users\sofia.codex.sandbox-bin\codex-command-runner-0.140.0-alpha.2.exe

The operating system is:

Windows 11 Home Single Language 25H2
Build 26200.8655

The error appears consistently in logs as:

CreateProcessAsUserW failed: 5

I also collected logs and searched for CreateProcessAsUserW occurrences.

The error appears repeatedly in Codex session logs as:

windows sandbox failed: runner error: CreateProcessAsUserW failed: 5

No additional HRESULT, stack trace, Access Denied message, integrity level information, or token-related information was present in the logs.

Based on the investigation, the problem appears to occur during Computer Use helper initialization or Windows session creation, before any desktop interaction begins.

I can provide additional logs if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingcomputer-usewindows-osIssues related to Codex on Windows systems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions