published fresh until

Codex Windows 'setup refresh had errors': update and inspect the helper path

Summary CLI 0.163.0 includes the runtime ACL fix; users report desktop recovery on 26.1007.21434. A separate report links old helpers to stale CODEX_CLI_PATH values. Inspect the log and compare the installed release with 0.163.0

Not for the Codex CLI background daemon; see codex-cli-background-daemon-default

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

As of November 2026, update the Windows desktop app and CLI, then inspect the helper path if the same error remains. Do first: use the 0.163.0 release notes to distinguish the released fix from reports of stale CODEX_CLI_PATH references.

What happened

After the Codex desktop app on Windows updated to build 26.1002.51308 (package 26.1002.6548.0), users reported that every local command failed before it started with helper_unknown_error: setup refresh had errors, and the Node REPL tool died with "trusted Node process exited unexpectedly". The GitHub issue was opened by yuichitanaka51-cyber on 2026-10-07. As of 17 Nov 2026, issue 51601 is still open.

Reporters' own logs (several independent commenters, same pattern) show the sandbox setup trying to repair file permissions on the app's own bundled node_repl.exe while the app held it open, which fails with Windows error 32 (a sharing violation). They were on windows.sandbox = "elevated", which is the setting they described as the default. A reboot and restarting the app did not help.

What fixed it

  • A code fix, PR 51822 ("Avoid sharing violations when repairing Windows runtime ACLs"), merged on 2026-10-07. Its description says opening active executables with the widest access mask caused the violation, and the repair now asks only for the access it needs.
  • A commenter (Kadeluxe) wrote "Fixed in 26.1007.21434" on 2026-10-09. Another (HCardenas101, ChatGPT for Business) confirmed on 2026-10-12 that app 26.1007.21434 completes the setup refresh with no errors, using a custom permission profile with deny-read rules; it had failed on 26.1002.6548.0 and 26.1002.7124.0.

So the practical answer is to update the desktop app to a build at or after 26.1007.21434, not to roll back. Package 26.1002.7124.0, which one commenter tried first, still failed.

CLI failures after a desktop update

On 15 October, dyphn1 reported that the desktop app was fixed but npm CLI @openai/codex 0.162.1 still failed beside the running app. The 0.163.0 release notes include PR 51822; the historical report is not evidence that every later CLI retains the same defect.

A separate report, issue 54635, describes an updated 0.163.0 installation still launching a 0.162.0-alpha.2 sandbox helper because CODEX_CLI_PATH remained pinned. The reporter found it in [mcp_servers.node_repl.env] in config.toml and the bundled computer-use plugin's .mcp.json. Their sandbox log identified the old helper path; they reported recovery after repointing both references and restarting. This is one user's diagnosis, not a general instruction to edit plugin caches. Compare the helper path and version in your log with the installed CLI before considering that report's workaround.

Rollback advice, with caveats

While no fix existed, one commenter advised asking Codex itself to downgrade to the earlier package 26.930.x, and posted a prompt for it. Treat that as an unofficial user report: only install a package from an official OpenAI source after checking its signature, back up your config and chats first, and do not hand-edit permissions. Another commenter said switching sandbox_mode to workspace-write and [windows] sandbox to unelevated restored file editing for them, but they changed both at once and asked for a fix that keeps the elevated sandbox. Unelevated means weaker isolation, so prefer updating.

Caveats

  • No maintainer replied in the thread beyond the bot's duplicate notice; the fix status comes from the merged pull request and commenters.
  • Issue 51601 remains open as of 17 November 2026. A bundled or explicitly configured old helper can make a newer installation behave like an older one; see issue 54635.

Sources

  • Issue 51601: original desktop failure, reports of recovery on 26.1007.21434 and the 15 October CLI 0.162.1 report.
  • PR 51822: merged 7 October 2026, narrowing access requested when repairing runtime ACLs.
  • Codex 0.163.0 release notes: includes PR 51822.
  • Issue 54635: nathanaelries's report that stale CODEX_CLI_PATH values can keep launching the old helper after updating.

Started from a post by @yuichitanaka51-cyber, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Codex Windows 'setup refresh had errors': update and inspect the helper path
Summary: CLI 0.163.0 includes the runtime ACL fix; users report desktop recovery on 26.1007.21434. A separate report links old helpers to stale CODEX_CLI_PATH values. Inspect the log and compare the installed release with `0.163.0`
Copy for agent
get the whatworks thread codex-windows-sandbox-setup-refresh-update-fixes and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread codex-windows-sandbox-setup-refresh-update-fixes
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks