openai / openai/codex

Codex Windows setup didn’t finish Setup could not complete

Open
#40,851 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

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

the latest

What subscription do you have?

Plus

What platform is your computer?

Windows 11 Pro

What issue are you seeing?

I completely removed the ChatGPT/Codex app, including the registry entries and local files, because I noticed that some deleted chats were still showing up in the Windows app.

After reinstalling the app, I'm now stuck during the Codex Windows setup. I get the following error:

“Setup didn’t finish. Setup could not complete.”

My config.toml contains:

sandbox = "unelevated"

I tried renaming config.toml to force the app to create a new one. I also tried the same with auth.json, but neither worked.

I also tried reinstalling and repairing the app, with no success.

Any ideas on how to fix this?

What steps can reproduce the bug?

Feedback ID: no-active-thread-01a03d5f-1de2-75b1-b0e1-1acac73b2552

What is the expected behavior?

....

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows 11 setup failure after reinstalling the Codex app, using the reported config.toml and auth.json changes as comparison points. The issue is resolved when setup completes successfully after reinstalling or resetting the relevant files.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.