Skip to content

[BUG] Codex CLI 0.157.0 fails to start on Windows with daemon privilege error (0.156.1 works) #48043

Description

@SingCJ

What version of Codex CLI is running?

0.157.0

What subscription do you have?

PLUS

Which model were you using?

No response

What platform is your computer?

Windows

What terminal emulator and version are you using (if applicable)?

No response

Codex doctor report

What issue are you seeing?

Description

Codex CLI 0.157.0 fails to start on Windows with the following error:

Error: start the Windows daemon from a non-elevated terminal; shared clients must not inherit administrator privileges
To work without the background server, rerun the same command with --no-daemon (including resume or fork and its arguments).

Downgrading to version 0.156.1 resolves the issue.

What steps can reproduce the bug?

Steps to Reproduce

  1. Install Codex CLI 0.157.0 on Windows:
    npm install -g @openai/codex@0.157.0
  2. Launch Codex CLI:
    codex
  3. Observe the daemon privilege error.

What is the expected behavior?

Expected Behavior

Codex CLI should start normally, as it does with version 0.156.1.

Actual Behavior

Codex CLI 0.157.0 fails to start and displays an error about launching the Windows daemon from a non-elevated terminal.

Additional information

Workaround

Downgrading to version 0.156.1 restores normal operation:

npm install -g @openai/codex@0.156.1

Environment

  • OS: Windows
  • Affected version: Codex CLI 0.157.0
  • Last known working version: Codex CLI 0.156.1

Additional Information

This appears to be a regression introduced in version 0.157.0, as the previous version works in the same environment.

Activity

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

    CLIIssues related to the Codex CLIapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions