Codex Windows app crashes on startup with non-ASCII Windows user path

Open 💬 2 comments Opened Jun 12, 2026 by yunsung6497-lang
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Codex Windows app crashes on startup with non-ASCII Windows user path

Summary

After updating Codex on Windows, the Codex desktop app opens a blank white window briefly and then exits. This appears to be a regression in the Windows desktop app runtime staging/copy path when the Windows user profile path contains non-ASCII characters.

Environment

  • OS: Windows, native Codex desktop app
  • User profile path contains Korean characters: C:\Users\<Korean_name>_Jea
  • Codex desktop package: OpenAI.Codex_26.609.3341.0_x64__2p2nqsd0c76g0
  • Codex app version seen in config/runtime logs: 26.609.30741
  • Codex CLI: codex-cli 0.139.0
  • Node runtime in app bundle: v24.14.0

Symptoms

  1. Launching Codex from the normal Windows app shortcut starts the app.
  2. A blank white window appears briefly.
  3. The app exits after about 2-3 seconds.
  4. A new Crashpad dump is created on each launch under:

AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex\Crashpad\reports

  1. The app log only contains startup lines and then stops:
  • Launching app ... platform=win32
  • Appshot hotkey inactive configured=true enabled=true platform=win32

Crash evidence

Strings extracted from the generated .dmp files include:

  • node:internal/fs/cp/cp
  • .staging-789504f803e82e2b-*
  • copy_directory
  • rename_staging
  • cua_node
  • __char_to_wide
  • Paths under C:\Users\<Korean_name>_Jea\AppData\Local\OpenAI\Codex\runtimes\cua_node\.staging-*
  • Source path:

C:\Program Files\WindowsApps\OpenAI.Codex_26.609.3341.0_x64__2p2nqsd0c76g0\app\resources\cua_node

This suggests the app is crashing while copying/staging the bundled cua_node runtime into the user's LOCALAPPDATA path.

Local observations

Before repair, this directory contained only stale staging directories and no complete runtime:

C:\Users\<Korean_name>_Jea\AppData\Local\OpenAI\Codex\runtimes\cua_node

The expected complete runtime structure is:

  • manifest.json
  • bin\node.exe
  • bin\node_repl.exe
  • bin\node_modules

Copying the bundled runtime manually into the local runtime path made node.exe --version work, but launching the normal app still produced a new .staging-* directory and crashed again.

Workaround that succeeds

Launching Codex.exe with LOCALAPPDATA set to an ASCII-only directory avoids the crash:

$env:LOCALAPPDATA = "C:\Users\Public\Documents\ESTsoft\CreatorTemp\CodexLocalAppData"
Start-Process -FilePath "C:\Program Files\WindowsApps\OpenAI.Codex_26.609.3341.0_x64__2p2nqsd0c76g0\app\Codex.exe" -WorkingDirectory "C:\Program Files\WindowsApps\OpenAI.Codex_26.609.3341.0_x64__2p2nqsd0c76g0\app"

With this workaround:

  • The Codex desktop process remains running.
  • The local runtime is installed under the ASCII-only LOCALAPPDATA.
  • No new Crashpad dump is created in the original package Crashpad directory.

Expected behavior

The Windows desktop app should start normally when the Windows user profile path contains non-ASCII characters, and runtime staging/copy should correctly handle Unicode paths.

Actual behavior

The app crashes during startup while staging/copying cua_node into LOCALAPPDATA when that path includes Korean characters.

Additional note

The Windows sandbox setting was also changed locally from:

[windows]
sandbox = "elevated"

to:

[windows]
sandbox = "unelevated"

because elevated command execution showed CreateProcessWithLogonW failed: 1056 in this environment after the Windows/Codex update. This appears separate from the desktop white-screen crash, but may be related to the same Windows update window.

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 2 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #27722
  • #27506
  • #27781
  • #27780
  • #27409

Powered by Codex Action

fu-0223 · 2 months ago

Additional confirmation from a Japanese Windows user profile path.

This appears to be the same cua_node runtime staging failure, but on a Japanese user profile path rather than Korean. I am intentionally omitting the real username, machine name, account details, project names, thread contents, and any tokens/URLs.

Environment / scope:

  • Windows desktop app, Microsoft Store / MSIX install.
  • Failing Windows user profile path contained Japanese characters: C:\Users\<JapaneseName>.
  • A separate Windows user profile on the same machine with an ASCII-only profile path could launch Codex normally.
  • The Codex MSIX / Store package state appeared OK.
  • AppModel-Runtime showed that process creation for OpenAI.Codex succeeded.
  • Codex.exe exited shortly after launch before showing the main window.
  • No Windows Error Reporting APPCRASH entry for Codex.exe was observed, but Codex Crashpad dumps were created.

The visible desktop log stopped after the same early startup point:

Launching app ...
Appshot hotkey inactive configured=true enabled=true platform=win32

Local runtime state before repair:

%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\
  .staging-789504f803e82e2b-*

In the failing Japanese-path profile, only empty .staging-789504f803e82e2b-* directories were present under cua_node; the completed runtime directory was missing.

The working ASCII-path profile on the same machine had the completed runtime:

%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\789504f803e82e2b\
  bin\
  manifest.json

Workaround that restored launch:

  1. Copied the completed cua_node\789504f803e82e2b runtime directory from the working ASCII-path Windows profile.
  2. Placed it under the failing Japanese-path profile at:
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\789504f803e82e2b
  1. After that, the Codex Windows app launched successfully again from the Japanese-path profile.

Other causes checked and not found to be the direct cause in this case:

  • AppModel activation failure: not observed; process creation succeeded.
  • Missing chrome.dll: not observed.
  • IFEO / AppInit_DLLs / AppCompatFlags / Policies / graphicsCaptureProgrammatic: checked and not found to be the cause.
  • File association noise was present for .xlsx / OpenWithList, but removing it did not restore launch.

This suggests the issue is not Korean-specific. It affects at least Japanese / CJK non-ASCII Windows user profile paths as well, and manually preinstalling or copying the completed cua_node runtime can recover the app, at least for the 789504f803e82e2b runtime hash.