codex icon indicating copy to clipboard operation
codex copied to clipboard

[Windows][26.1117.3838.0] Desktop app hangs on launch every time (MoAppHang c6e5), reproduces with empty CODEX_HOME

Open DavideFedi opened this issue 1 week ago • 18 comments

[Windows][26.1117.3838.0] Desktop app hangs on launch every time (MoAppHang c6e5), reproduces with empty CODEX_HOME

What happens

After the Microsoft Store auto-update to 26.1117.3838.0, the Windows desktop app freezes immediately on every launch. The window never becomes responsive, and Windows eventually kills it ("ChatGPT.exe stopped interacting with Windows").

Environment

  • OS: Windows 11 Home 10.0.26300, x64, Italian locale
  • Package: OpenAI.Codex_26.1117.3838.0_x64__2p2nqsd0c76g0 (Microsoft Store)
  • ChatGPT.exe file version: 158.0.8127.37
  • RAM: 32 GB

Event log

  • Application Hang event 1002: ChatGPT.exe 158.0.8127.37, HangType Unknown
  • Windows Error Reporting event 1001: EventName MoAppHang
    • P1 OpenAI.Codex_26.1117.3838.0_x64__2p2nqsd0c76g0, P3 158.0.8127.37, P4 6af4d8ff
    • Hang signature c6e5, additional hang signature c6e51414e0734d8ce127d993a31bb1f8 / bba6f04553b7e7b3dfc5388def3a1542
    • Hang type 134217728
  • No third-party DLLs are injected in the hung process. Only the app's own modules and system modules are loaded.

Desktop log (LocalCache\Local\Codex\Logs, run with empty CODEX_HOME)

This does not look like the splash race in #49718. The renderer receives the local app-server state and handles ready, and then the window freezes:

[remote-connections] connection_state_changed appServerVersion=0.171.0-alpha.13 hostId=local
manager_state_set hostId=local nextState=connected
Handled 'ready' message, sent ide-context-updated
[wallpaper-tint] Unable to update wallpaper tint preview errorMessage="e.hookWindowMessage is not a function" (TypeError)
Loading local plugin inventory hostId=local
[primary-runtime-installer] primary_runtime_validation_finished bundleVersion=26.1119.11507 outcome=passed
<- last lines, then the window hangs

Note the wallpaper-tint TypeError: the macOS 26.1117 launch crash (#62650) is in the same wallpaper-tint code path. The wallpaper here is a static JPG (not a slideshow or Spotlight), with transparency effects enabled.

Already tried (still hangs every time)

  • [x] Killed all processes and relaunched
  • [x] Killed the bundled resources\codex.exe app-server process while the window was frozen (the workaround from #62277). The window stayed frozen, and the app-server was not respawned.
  • [x] Switched the wallpaper to a solid color and turned off transparency effects (the macOS workaround). It still hangs.
  • [x] Freed RAM (more than 10 GB free)
  • [x] Unplugged all USB devices
  • [x] Uninstalled and reinstalled from the Microsoft Store (twice)
  • [x] Moved a skill with a very large number of files out of ~/.codex/skills
  • [x] Launched with CODEX_HOME pointing to a new, empty folder. The app created its fresh state there (config.toml, state_5.sqlite, etc.) and still hung, so this is not caused by existing user data.

Expected

The app opens normally, as it did on the previous version.

Related

  • #62277 and #62516: similar Windows MoAppHang reports on 26.1111.x. Here, killing the app-server does not help.
  • #49718: splash race. It does not match, because ready is handled (see the log above).
  • #62650: macOS wallpaper-tint crash on 26.1117.

Codex CLI (codex) works fine on the same machine.

DavideFedi avatar Nov 20 '26 10:11 DavideFedi

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

  • #61460

Powered by Codex Action

github-actions[bot] avatar Nov 20 '26 10:11 github-actions[bot]

Update with new findings:

  • The same Microsoft Store package (26.1117.3838.0) works on another PC running Windows 11 25H2, build 26200.8655. On this PC (Windows 11 Home 26H2, build 26300.10075, not Insider) it hangs on every launch.
  • Still hangs after a reboot with the latest Windows updates.
  • GPU ruled out: this is a hybrid laptop (Intel Graphics 32.0.101.8132 + NVIDIA RTX 5070 Ti Laptop 32.0.16.1091). It hangs with ChatGPT forced to either "Power saving" (Intel) or "High performance" (NVIDIA) in Windows Graphics settings.
  • Solid-color wallpaper with transparency effects off: still hangs.

This looks like an incompatibility between the app and Windows 11 26H2 (build 26300). It may be related to the wallpaper-tint error in the log (e.hookWindowMessage is not a function).

DavideFedi avatar Nov 20 '26 12:11 DavideFedi

Same version on Windows 11 Pro (build 26300) — with one additional signal: the freeze is input-triggered. The app stays responsive until I click into the window; the freeze happens at/just after the click.

Environment: OpenAI.Codex 26.1117.3838.0 (ChatGPT.exe 158.0.8127.37), PrimaryRuntime 26.1119.907.0, Windows 11 Pro 26300.x, 32 GB RAM, stock NVIDIA + AMD hybrid graphics.

Repro (watcher polling IsHungAppWindow every 2 s):

  1. Launch → window paints and is fully responsive (IsHungAppWindow=False). Left untouched, it stays responsive.
  2. The freeze reliably occurs when I click into the window (anywhere in the app UI): within ~5 s of the click IsHungAppWindow=True and Windows shows "Codex is not responding". It never recovers — while all child processes (gpu-process, network service, renderers, codex.exe app-server, computer-use helper) are still alive.
  3. Killing the codex.exe children while hung does not unblock the window on this machine.

Last app-log lines around the freeze (main-process and node-service logs): warning [mcp-app-sandbox] mcp_app_sandbox.attach_unmatched guestWebContentsId=3 url=undefined urlProtocol=invalid

followed by a ~15 s gap in the node-service log, then: info [AppServerConnection] response_routed ... method=mcpServerStatus/list ... durationMs=10345

Nothing is logged after that. Total onset ≈16 s after launch, coincident with the first click.

Note: we first observed this freeze before 26.1117.3838 finished installing (the machine was still on the previously staged build from Nov 19), and it persists after the update completed — so on this machine it reproduced across two consecutive builds. Store delivery events show the update repeatedly failing to install with 0x80073D02 (app in use) for days before succeeding, in case sequencing matters.

For correlation with #62650 (wallpaper-tint path): this machine uses a static JPG wallpaper with transparency effects enabled.

Tried without success: --disable-gpu, full Reset + re-registration (Add-AppxPackage -Register), fresh Store reinstall, clearing app data, killing codex.exe helpers while hung.

ShaneGore avatar Nov 21 '26 01:11 ShaneGore

Additional data point: this also reproduces on Windows 11 25H2, build 26200.9974, and on the newer Store build 26.1117.4957.0. So it doesn't look limited to 26H2 / build 26300. (The 25H2 machine reported as working above was on 26200.8655.)

Environment

  • Windows 11 Home 25H2, 10.0.26200.9974, x64
  • Package: OpenAI.Codex_26.1117.4957.0_x64__2p2nqsd0c76g0 (Microsoft Store); it hung the same way on 26.1117.3838.0
  • ChatGPT.exe 158.0.8127.37; PrimaryRuntime framework OpenAI.CodexPrimaryRuntime.v26-1119-907-0
  • WSL2 + Docker in use

Timeline from local desktop logs

  • 26.1103 / 26.1106 / 26.1111.2228.0: launched normally for weeks. wallpaper-tint never appears in any of those logs.
  • First launch after the Store update to 26.1117.3838.0 (2026-11-20): hang. All 9 launches since then (including 26.1117.4957.0) log the same [wallpaper-tint] Unable to update wallpaper tint preview errorMessage="e.hookWindowMessage is not a function" TypeError, and the main-process log stops 2–3 s after start.
  • The last main-process lines before the hang match the original report: Handled 'ready' message, sent ide-context-updated → wallpaper-tint TypeError → Loading local plugin inventory hostId=local.

Event log

  • 1001 MoAppHang: P1 OpenAI.Codex_26.1117.4957.0_x64__2p2nqsd0c76g0, P3 158.0.8127.37, P4 6af4d8ff, P5 (hang signature) 7a87, P6 134217728
  • 1002 Application Hang: ChatGPT.exe 158.0.8127.37, 7 times since the update

Repro note: I launched the app from a script via shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App; the script sent no mouse or keyboard input. The main window was already Responding=False at the first check (+10 s) and stayed hung through 90 s.

yaoharuka0918 avatar Nov 21 '26 06:11 yaoharuka0918

Additional reproduction on another Windows 11 25H2 machine, with the same stable build and the same wallpaper-tint failure.

Environment

  • Windows 11 Pro 25H2, 10.0.26200.8875, x64, zh-CN
  • Package: OpenAI.Codex_26.1117.4957.0_x64__2p2nqsd0c76g0
  • ChatGPT.exe version: 158.0.8127.37
  • Primary Runtime: OpenAI.CodexPrimaryRuntime.v26-1119-907-0_26.1119.907.0_x64
  • The Beta package OpenAI.CodexBeta_26.727.4816.0 works normally on the same machine.

Matching evidence

Across nine preserved stable-app launch logs, the main-process log repeatedly contains:

warning [wallpaper-tint] Unable to update wallpaper tint preview
errorMessage="e.hookWindowMessage is not a function"
errorName=TypeError

The stack points to early-bootstrap-916-2fd4cc5178eaa3b5.js in the packaged app. Windows WER repeatedly records:

EventName: MoAppHang
P1: OpenAI.Codex_26.1117.4957.0_x64__2p2nqsd0c76g0
P3: 158.0.8127.37
P4: 6af4d8ff
P5: 7a87
P6: 134217728
Bucket hash: 56064458e21dc9bb61b6ea2008982915

Additional isolation performed

  • Cleared Chromium Cache and Code Cache with backups.
  • Reset Local Storage, Session Storage, IndexedDB, WebStorage, and Preferences with backups.
  • Performed a full Reset-AppxPackage after making and byte-verifying a complete backup. The hang still reproduced with only about 0.1 MB of newly generated AppX user data.
  • Installed and verified the official Primary Runtime framework; logs reported windows_primary_runtime_framework_ready and runtime installation completed successfully.
  • Reproduced with --disable-gpu --disable-gpu-compositing.
  • Reproduced with a completely empty temporary CODEX_HOME.
  • The main window was already non-responsive after 15-20 seconds without any UI input and did not recover during observation.

This adds another affected 26200 build (26200.8875) and confirms that 26.1117.4957 still follows the same wallpaper-tint TypeError path even after a full per-user AppX reset. The working Beta package on the same account/system is an additional control.

ZHT0711 avatar Nov 21 '26 07:11 ZHT0711

I can confirm a very similar issue on my university-managed Windows laptop, particularly the input-triggered freeze described by @ShaneGore.

Environment: Windows 11 Enterprise, build 26200 OpenAI.Codex 26.1117.4957.0 (previously also reproduced on 26.1117.3838.0) ChatGPT.exe 158.0.8127.37 Windows Event Viewer: Event ID 1002 (Application Hang), Event ID 1001 (MoAppHang) Hang signature: P5 = 7a87, P6 = 134217728

What happens:

The problem started after a Windows system update on Friday, November 20, 2026.

Initially, the desktop app could launch and render its interface, with visible loading animations. However, clicking or interacting with the window would cause it to freeze and become permanently "Not Responding". In subsequent tests, the app also froze during startup without requiring interaction.

Troubleshooting already attempted without success:

Multiple Windows restarts Repair / Reset (Reset failed) Complete Microsoft Store uninstall and reinstall Clearing or isolating local web cache and authentication credentials Temporarily isolating config.toml Verifying MSIX package status (Ok) Verifying Codex Sandbox Service (RUNNING, exit code 0)

The Codex CLI diagnostic tool can run successfully, and HTTP connectivity is working. However, the desktop UI remains unusable.

After a fresh reinstall, the app sometimes reaches the "Welcome back / Choose account" screen but freezes there. With the original authentication state restored, it may display the main workspace, but the profile/avatar keeps loading and the UI becomes unresponsive.

Given the matching application version, MoAppHang signature, and UI freezing behavior, this appears closely related to the issue reported here. Adding my case to confirm that this also affects Windows 11 Enterprise build 26200, not only Windows 11 build 26300. I hope the development team can investigate this regression.

ZhouXJCDC avatar Nov 21 '26 21:11 ZhouXJCDC

I observed for Windows 11 26H2 for Codex/Chat GPT on Windows, that only since November 2026, even through clean Windows-installs, everything is set up, run from and being used for Codex/Chat GPT in:

C:\Program Files\WindowsApps\ in stead of C:\Users\\AppData\Local\OpenAI\(Codex)

This has since been resulting in a lot of unexpected behaviour, such as crashes, auto-closes, freezes, but more importantly unavoidable AppX- 0x80073D02 (ERROR_PACKAGES_IN_USE) / App-ModelRuntime 0x800706D9 errors cannot be resolved on the user side—regardless of any troubleshooting. They only disappear when uninstalling ChatGPT and immediately reappear upon reinstallation, regardless on which device on Windows 11 it is installed or being used on.

Might be related to 2026-10 Preview Update (KB5127936) or introduced by 2026-11 Security Update (KB5132061) on 11/11/2026), underlying AppX deployment, AppContainer, App-ModelRuntime (Defender AI platform host) and package cleanup bugs introduced in this build are also impacting the Desktop ChatGPT / Codex app.

At every boot (AppXDeployment-Server - 3 errors):

  • Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.
  • Deployment Remove operation with target volume C: on Package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt from: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.
  • AppX Deployment operation failed for package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt with error 0x80073D02. The specific error text for this failure is: Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.

Every time the ChatGPT / Codex app is opened (AppXDeployment-Server - 2 errors):

  • Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.
  • Deployment Remove operation with target volume C: on Package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt from: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.
  • Informative error 0x80073D02: Failure in the DynamicDependenciesInUse state handler.

The is a placeholder for the current version/package number as they keep updated , but the error does not get resolved.

Also introduced with a recent Windows November Update (AppModel-Runtime) and only happening on Codex/Chat GPT Windows installations.

  • DeleteAppContainerProfile failed with error 0x800706D9 because it was unable to unregister with the firewall.
  • CreateAppContainerProfile failed for AppContainer onecore\ds\security\gina\profile\profext\appcontainer.cpp Line:1962 defenderaiplatformhost DefenderAiPlatformHost with error 0x800706D9.

These errors were already appearing occasionally before these update (for months) on exits/reboots as Codex/OpenAI tries to start this system service early (along with the Codex OpenAI Sandbox service not being able to complete the function - error OS 1800 on the subsequent boot):

  • AppXDeployment (2) : Failed to start system service: appxsvc with error: 0x8007045B (2)
  • CodexSandboxService.OpenAI.Codex (2, sometimes 4) : unable to restore package uninstall listener: open the logged-in user's token and os error 1008
  • (last error records disappeares when DelayedStart 1 is added to the service).

The only way to fix these errors is by uninstalling the Deskotp ChatGPT app but it comes back again after reinstalling - i have been through any troubleshoot step. Clean PC/Windows reinstall did not help or avoid this mess from Codex/Chat GPT. Moreover, Chat GPT started to regularly crash/auto-close at certain times since a November update.

The 0x80073d02 errors keep returning on every session and now due to the November Update for: OpenAI.CodexPrimaryRuntime

mdruy avatar Nov 22 '26 19:11 mdruy

I can confirm the input-triggered freeze on Windows 11 Pro, build 26300, with the following versions and Windows Error Reporting signature:

  • Package: OpenAI.Codex_26.1117.4957.0_x64__2p2nqsd0c76g0
  • ChatGPT.exe: 158.0.8127.37
  • Event: MoAppHang, accompanied by Application Hang event 1002
  • P2: praid:App
  • P4: 6af4d8ff
  • P5: 7a87
  • P6: 134217728

Windows recorded the same signature repeatedly on 23 November 2026, including at 13:29:52 and 13:33:51 CET.

The app opens and displays its interface, then becomes permanently unresponsive on the first click. Restarting the app and rebooting Windows do not recover it. In-app diagnostics are inaccessible.

The same installed version worked earlier that day. The first hang occurred while opening the age-verification flow from Settings → Account. Verification was subsequently completed in a web browser, but the desktop app continues to freeze. This is the observed sequence, not a claim that the verification flow caused the persistent hang.

Troubleshooting completed without improvement:

  • Fully stopped the application and its remaining package processes.
  • Tested a reversible reset of .codex-global-state.json and its backup, then restored the originals.
  • Rebuilt the Chromium code and graphics caches.
  • Confirmed the active profile path and backed up/moved both Default\Local Storage and Default\Session Storage under the MSIX package’s LocalCache\Roaming\Codex\web\Codex profile. Both moves were confirmed; the first-click freeze remained.
  • Checked for updates with winget; no newer package was offered.

The UI-storage test did not modify the conversation databases.

Logs from an affected launch show successful account lookup, app-server connection, primary route mounting, and app_start outcome=success. They also contain the wallpaper-tint warning “e.hookWindowMessage is not a function”, but its relationship to the hang is unproven.

Could the desktop team confirm whether this matches the hang tracked here and provide a fixed build or a supported rollback procedure that preserves existing local conversations and configuration?

domsie avatar Nov 23 '26 12:11 domsie

I can reproduce the startup freeze on Windows 11 26H2 x64, build 26300.10075. On this PC, Microsoft Store version 26.1111.9664.0 (November 19) opens normally. Every later update I tested freezes immediately on launch and Windows shows “Not Responding.”

For one of those freezes, Windows Event Viewer recorded Application Hang, event ID 1002, for ChatGPT.exe version 158.0.8127.37 in Store package OpenAI.Codex_26.1117.3838.0_x64__2p2nqsd0c76g0. That gives a working build and a confirmed failing build on the same Windows installation.

damzaru avatar Nov 23 '26 14:11 damzaru

Adding another reproducible Windows startup hang with the same WER/MoAppHang signature as reports in this thread (observed on 2026-11-24, local PC time).

Environment

  • Windows desktop app package: OpenAI.Codex_26.1117.4957.0_x64__2p2nqsd0c76g0
  • ChatGPT.exe file version: 158.0.8127.37
  • Get-AppxPackage -Name OpenAI.Codex reports Status: Ok.
  • Exact Windows build not collected yet.

Reproduction

  1. Launch Codex on Windows. The window appears, but the UI remains stuck/loading with the busy cursor and eventually becomes completely unresponsive.
  2. In Task Manager the main ChatGPT.exe shows Not Responding, while child codex.exe processes can still be Running.
  3. Ending the hung main ChatGPT.exe closes the window and its child processes. Relaunching reproduces the hang.
  4. Rebooting Windows does not resolve it.

Windows Event Viewer (repeated)

  • 2026-11-24 01:14:30 and 01:31:24: Event ID 1001, Windows Error Reporting, event name MoAppHang.
  • Immediately following each event, Event ID 1002, Application Hang, confirms ChatGPT.exe stopped interacting with Windows.
  • WER signature:
    • P1: OpenAI.Codex_26.1117.4957.0_x64__2p2nqsd0c76g0
    • P2: praid:App
    • P3: 158.0.8127.37
    • P4: 6af4d8ff
    • P5: 7a87
    • P6: 134217728
    • Hash bucket: 56064458e21dc9bb61b6ea2008982915

Additional observations

  • Windows Repair cannot run: even immediately after a Windows reboot, without manually launching Codex, Settings > Apps > Codex > Repair reports that the app is still running / the repair cannot be completed. A subsequent PowerShell check with Get-Process -Name ChatGPT,codex -ErrorAction SilentlyContinue returned no processes with either name. This may be a separate package-management symptom, not necessarily the root cause of the UI hang.
  • A recent codex-desktop-*.log contains successful backend responses (errorCode=null) for configuration/thread requests and plugin_install_succeeded entries. The app-server was clearly responding while the desktop UI was unusable.
  • Searching that latest desktop log for hookWindowMessage, wallpaper-tint, warning, error, and app_start returned no matches. Thus I cannot confirm the wallpaper-tint TypeError reported by others from this particular log.
  • I tried terminating/relaunching the application, rebooting Windows, and checking/changing proxy/TUN settings without recovering the desktop app. I have not performed a full reset or clean reinstall.

This looks closely related based on the exact WER signature. Could maintainers confirm whether this is a known regression and identify a fixed build or a supported workaround that preserves local data? I can provide further redacted logs or event details if needed.

BensonWang98 avatar Nov 23 '26 17:11 BensonWang98

Following up on my detailed diagnostic report above: this is extremely frustrating and unacceptable for a production desktop app. Codex worked previously, but the current Windows build is now unusable, and repeated troubleshooting has cost users significant time and interrupted real work.

Please prioritize a fix and provide an official update, including whether the team has reproduced the issue, a safe workaround or rollback option, and an estimated timeline when one is available. Users should not have to spend hours troubleshooting a broken release without clear communication.

I also ask OpenAI to consider appropriate compensation or service credits for affected paying users, particularly those who have lost access to a key part of the product while their subscriptions continue. An acknowledgment, transparent communication, and a practical remedy would go a long way.

Please treat this as urgent.

BensonWang98 avatar Nov 23 '26 18:11 BensonWang98

Beta version from windows store seems to work but the list of models is limited

MaximBalaganskiy avatar Nov 23 '26 21:11 MaximBalaganskiy

September version works https://github.com/openai/codex/issues/51668#issuecomment-6071846740, SOl 6.2 is missing

MaximBalaganskiy avatar Nov 23 '26 21:11 MaximBalaganskiy

26.1117.4957.0 OpenAI Codex for Windows,我也存在这个问题 ,今天早上更新 就不能用了 ,打开首页之后移动键盘或鼠标,程序直接卡死

jingtianyiyi avatar Nov 24 '26 05:11 jingtianyiyi

Confirmed temporary rollback workaround on a Windows 11 26H2 machine (2026-11-24).

This may be related to the startup failures reported here, although our observed symptom was a full-window “ChatGPT hit a snag” / “ChatGPT ha tenido un problema” error rather than a confirmed native MoAppHang. The desktop app (Start menu name ChatGPT, MSIX package OpenAI.Codex) became unusable and the error recurred after restarting the PC.

Package version Observed result
26.1117.4957.0 Startup error
26.1120.5083.0 Same error after successful signed MSIX update
26.930.7945.0 Desktop access restored after rollback

Environment: Windows 11 Home 26H2, build 26300.9974, x64. Desktop logs included an AggregateError in AppRoutes, while several local app-server requests returned errorCode=null. Windows package diagnostics also showed PrimaryRuntime 26.1119.907.0 as NotAvailable and AppX errors 0x80073D02 (package in use) / 0x80073D3C (pending removal). Their causal relationship to the UI failure is unknown.

Reinstallation, reversible web-cache/global-state isolation, direct executable launch, disabling GPU acceleration for launch, and updating to 26.1120.5083.0 did not provide a lasting recovery. Windows repair attempts did not resolve the issue either.

What worked: the signed September MSIX rollback described in #51668.

  1. Close ChatGPT and back up local sessions/configuration (%USERPROFILE%\.codex) and app package data. Our .codex copy completed with 8,370 files and no file-copy errors. Six locked registry-hive files under the package's SystemAppData\Helium could not be copied; the remaining package data was backed up with that directory excluded. Do not delete or forcibly unlock those system files. Keep backups private.
  2. Download the previous x64 MSIX from the OpenAI-hosted release URL and verify that its digital signature is valid and its publisher matches the official package: https://persistent.oaistatic.com/codex-app-prod/releases/26.930.7945.0/ChatGPT-x64.msix
  3. With the app closed, use elevated PowerShell. In our case we temporarily stopped the app's CodexSandboxService.OpenAI.Codex service if running, installed the signed package with Add-AppxPackage -Path $file -ForceUpdateFromAnyVersion -ForceApplicationShutdown (where $file is the downloaded MSIX path), then restored the service if it had been running.
  4. Get-AppxPackage -Name OpenAI.Codex | Select-Object Name,Version,Status returned 26.930.7945.0 / Ok. Launching the desktop app under the original Windows user restored access, confirmed by the affected user.

No Windows reinstall, user-account migration, BitLocker changes or sandbox security bypass was needed for the successful rollback. This is a single confirmed recovery, not proof of the exact root cause or long-term stability. Older builds may lack newer features and security fixes; use only as a temporary workaround.

Could the desktop team investigate the version-dependent startup regression and provide a supported fixed build or safe rollback guidance?

camachoab21-cmd avatar Nov 24 '26 11:11 camachoab21-cmd

I’m seeing the same startup hang on Windows 11 build 26200 with Microsoft Store package OpenAI.Codex 26.1120.5083.0 and ChatGPT.exe 158.0.8127.37. Reliability Monitor reports MoAppHang, hang signature 7a87. The desktop log contains e.hookWindowMessage is not a function. Restart, Repair, Reset, and reinstalling from the Microsoft Store did not help.

vladduu avatar Nov 24 '26 13:11 vladduu

Additional reproducible case on Windows 10 22H2 with the same MoAppHang signature.

Environment

  • Windows 10 22H2, build 19045.6456, x64
  • Microsoft Store package: OpenAI.Codex
  • Failing ChatGPT.exe file version: 158.0.8127.37
  • Windows Error Reporting: MoAppHang, hang signature P5 = 7a87, P6 = 134217728
  • Current Store package: OpenAI.Codex 26.1120.5083.0, Status = Ok
  • The updated package still contains ChatGPT.exe 158.0.8127.37
  • Working comparison package: OpenAI.CodexBeta 26.727.4816.0

Reproduction

The released desktop client becomes Not Responding immediately after launch and does not recover. Task Manager's Analyze Wait Chain returns empty, with no other blocking process identified.

The official Beta package works normally on the same Windows account and machine, including launching the UI and completing conversations. Its model catalog is older and limited, but it provides a useful control showing that the account, network path, and basic Codex functionality work.

Troubleshooting already completed

  • Uninstall/reinstall, Repair, and Reset
  • DISM and SFC, both clean
  • Launched after isolating the existing .codex directory
  • Tested with a fresh/empty Codex data location
  • Wait-chain analysis of the hung ChatGPT.exe, no blocking process found
  • Verified that standalone Codex CLI 0.172.0 can converse normally
  • The bundled CLI 0.171.0-alpha.13.2 reported an incomplete local package, but could start with --no-daemon

None of these restored the released desktop UI.

Sandbox and service observations

  • CodexSandboxService.OpenAI.Codex stopped unexpectedly during testing
  • Administrator sandbox initialization fails
  • Non-administrator sandbox initialization succeeds
  • The service is configured as Automatic and is currently stopped while the application is closed

This may indicate a failure in the elevated sandbox/service initialization path, although the available evidence does not establish whether it causes the renderer hang or is a parallel symptom.

A HYPERVISOR_ERROR bugcheck (0x00020001) occurred the previous day. This is recorded as a possible correlation only. Causality has not been established.

Current status and request

The Store update to 26.1120.5083.0 is installed, but it still ships ChatGPT.exe 158.0.8127.37. I have not treated this update as a confirmed fix. The working Beta remains installed to preserve desktop access and local development data.

Could the desktop team confirm:

  1. Whether 26.1120.5083.0 contains a fix for MoAppHang signature 7a87.
  2. Whether the administrator sandbox/service initialization failure is related.
  3. Which released build is confirmed fixed on Windows 10 22H2.
  4. Whether there is an officially supported rollback that preserves .codex sessions, Skills, and MCP configuration.

All diagnostic data and memory dumps are being kept local and private. Redacted event details can be provided if maintainers request specific fields.

renahln2527-beep avatar Nov 24 '26 15:11 renahln2527-beep

Worked after installing from Microsoft Store the beta version.

vladduu avatar Nov 26 '26 05:11 vladduu