Skip to content

Computer Use fails to initialize in Codex App on Windows + WSL #29482

Description

@Pilseniro

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

Version 26.616.51431 • Released Jun 20, 2026

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows 10.0.26200.8655 x64; Codex App running with WSL agent environment and WSL terminal.

What issue are you seeing?

Computer Use / Computadora does not initialize correctly in Codex App when the project/thread is running from WSL.

The plugin appears installed and computer-use-client.mjs exists, but the runtime fails before it can list Windows apps/windows.

I reproduced two related initialization errors:

codex/sandbox-state-meta: missing field sandboxPolicy

And in a later fresh session:

codex/sandbox-state-meta: sandboxCwd is not a local file URI:
file:///mnt/c/Users/nirst/Documents/Codex/2026-06-22/...

The failure happens before any Windows app automation runs.

What steps can reproduce the bug?

  1. Open Codex App on Windows.
  2. Open a project stored in WSL, for example /home/pilsenir/projects/sfo-web.
  3. Use WSL as the agent environment and WSL terminal.
  4. Ask Codex to use Computer Use / Computadora.
  5. Try a minimal smoke test, such as listing available Windows apps/windows.
  6. Computer Use fails before listing apps/windows.

I also reproduced this after restarting Codex App and starting a fresh session.

What is the expected behavior?

Computer Use should initialize successfully from Codex App and either list controllable Windows apps/windows or show a recoverable configuration/setup error.

It should not fail before app/window listing because the project is running from WSL.

Additional information

Normal WSL tooling is working in the same environment:

  • Node/npm work.
  • GitHub CLI works.
  • Browser opener works.
  • Repo typecheck/tests work.

This appears isolated to the Computer Use / Windows automation runtime, not the repo shell environment.

I also reported this through Codex App /feedback from the affected session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingcomputer-usesandboxIssues related to permissions or sandboxingwindows-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