Skip to content

[Windows] Codex/ChatGPT desktop MSIX auto-updater loops forever — new build downloads but never deploys; app also launches into a permanently-suspended process #38843

Open

Description

@lwz20210407

Summary

On Windows 11, the Codex/ChatGPT desktop app (MSIX, OpenAI.Codex) is stuck in an endless update loop: the in-app updater reports a newer build, downloads it successfully, but the install/deploy never completes — the registered package version never advances. Separately (and compounding it), every launch produces a ChatGPT.exe process that is created suspended and never resumed, so no window ever appears until the process is manually resumed.

Likely related to #27377 and #25770.

Environment

  • Windows 11 Pro (build 26200)
  • Package: OpenAI.Codex_2p2nqsd0c76g0 (Store-signed, SignatureKind=Store), Store ID 9PLM9XGG6VKS
  • Installed build: 26.803.10989.0; updater-advertised build: 26.810.7004.0

Symptom (user-visible)

Sidebar shows a blue Update button. Clicking it → "Installing update — ChatGPT will restart when installation finishes / Preparing…", progress bar reaches ~50%, then the app closes. It never reopens on its own; reopening later still shows the same download/Update prompt. The loop repeats indefinitely.

Evidence 1 — check & download succeed, deploy never happens

Desktop log:

[windows-store-updater] Checking Windows Store for package updates buildVersion=26.803.10989.0 manifestBuildVersion=26.810.7004.0 packageIdentity=OpenAI.Codex
[windows-store-updater] ... completed canSilentlyDownload=true completed=true hasUpdate=true overallState=Completed
[sparkle] ... action=download_completed ... result=succeeded

But Microsoft-Windows-AppXDeploymentServer/Operational over 2 days contains zero deployment operations for 26.810.7004.0. Instead it repeatedly runs, on the old 26.803 build:

RegisterByPackageFullName ... options ForceTargetApplicationShutdownOption,RepairAppRegistrationOption
Register operation: Trying to repair ACLs for ...\OpenAI.Codex_26.803.10989.0_x64__2p2nqsd0c76g0
Register operation: ACLs repaired successfully ... Register next time
Deployment Register operation ... completed successfully   (still 26.803)

→ the system keeps repairing / re-registering the old build; the new build is never staged or registered.

Evidence 2 — the new build is NOT on the public Store, so it can only come from the app's own updater

winget list  --name OpenAI      -> ChatGPT  9PLM9XGG6VKS  26.803.10989.0  msstore
winget upgrade --id 9PLM9XGG6VKS -> "No available upgrade found. No newer package version available in the configured sources."

A forced Windows Store update scan (MDM_EnterpriseModernAppManagement_AppManagement01 -> UpdateScanMethod, ReturnValue=0) also deploys nothing. So 26.810 is served only through the app's own updater feed (ahead of the public Store's 26.803). This means the broken component is the app's own MSIX self-update path (windows-msix-updater), and end users cannot work around it via a Store / winget reinstall.

Evidence 3 — launches into a permanently-suspended process (compounds the loop)

After launch, exactly one ChatGPT.exe: ~2–4 MB, 1 thread, ThreadState=Wait / WaitReason=Suspended, MainWindowHandle=0, no log lines written, userData untouched — i.e. it never executed any app code. Calling NtResumeProcess on it immediately brings it to life (→ ~380 MB, 64 threads, spawns the full Electron child tree, window appears). So the process is created suspended by activation and the resume step never fires. This happens especially right after an update-triggered restart, which is likely why the post-install relaunch never completes and the update can't finalize.

Evidence 4 — earlier occurrence matching #25770 (locked old package)

A prior update left activation failing with 0x80070020 ERROR_SHARING_VIOLATION at "create Desktop AppX container / configuring runtime" (Microsoft-Windows-AppModel-Runtime/Admin Id 208 / 215). The package's Helium hive ...\OpenAI.Codex_2p2nqsd0c76g0\SystemAppData\Helium\User.dat was locked; Restart Manager reported the holders as System (PID 4) + Registry (PID 472) (RmCritical) — i.e. a stale mounted registry hive inside an orphaned per-package Server Silo. Re-register, AppXSvc restart, and app "Reset" did not clear it; only a reboot / sign-out did.

Impact

The update can never complete; the app is unusable after each attempt until the suspended process is manually resumed; users are ultimately forced to reboot.

Likely root cause (hypothesis)

The self-updater applies the new MSIX while the old instance can't cleanly shut down / relaunch (the suspended-launch bug in Evidence 3), so the deploy aborts and Windows rolls back to repairing the current build. The orphaned per-package container / hive state (Evidence 4) further blocks a clean re-deploy.

Suggested fixes

  • Apply the self-update fully offline — defer to the next clean launch after a full shutdown — rather than swapping the package under a live / relaunching instance.
  • Detect the "created-but-never-resumed" state (or the 0x80070020 container-activation failure) and surface a clear "please restart Windows to finish updating" message instead of silently looping.
  • Add a watchdog for the suspended / never-resumed main process so it can self-recover or report.

Related

Activity

  1. added
    bug
    app
    windows-os
    on Aug 16, 2026
  2. github-actions commented on Aug 16, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. MilkyWay008 commented on Aug 17, 2026

    @MilkyWay008

    Saw the 0x80070020 sharing violation you hit, that's the Helium registry hive (User.dat) still being held by an orphaned package Server Silo, which is why the new build never actually deploys. What usually clears it: reboot once to release the hive, then install the .msix that Sparkle already staged via Add-AppxPackage, and taskkill the suspended ChatGPT.exe so it stops blocking. Store reinstall won't help since the new build only ships through the app's own feed, so doing it manually is the reliable path. Oh, btw, in case it might help that, I built a portable Hermes OTG repo, check it, imo it may be able to help you diagnose and figure out the fix in no time. https://github.com/MilkyWay008/Hermes-OTG

  4. maxtalwar commented on Aug 20, 2026

    @maxtalwar

    I reproduced the updater half of this failure on another Windows system with Codex Desktop 26.814.5517.0.

    Sanitized evidence:

    • The in-app updater detected manifest build 26.818.2441.0.
    • Codex logged: completed=true hasUpdate=true overallState=Completed.
    • Microsoft-Windows-AppXDeploymentServer/Operational recorded that staging OpenAI.Codex_26.818.2441.0_x64 finished successfully.
    • Microsoft Store telemetry for the update recorded StageButDoNotInstall=1 and AllowForcedAppRestart=0.
    • The staged manifest exists, but Get-AppxPackage OpenAI.Codex still reports the current user's registered version as 26.814.5517.0.
    • Store, AppX Deployment, InstallService, and StateRepository services are healthy; the package status is Ok; no Windows Update or CBS reboot is pending.
    • Clicking Update says the app will reopen, but it closes without completing the registration/activation handoff or reopening.

    A separate external watchdog that fully terminates the package process tree, waits, and activates shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App can reliably restart the app. That suggests the fragile point is the self-exit/post-update activation path rather than package download or staging.

    No screenshots, raw logs, usernames, machine names, SIDs, or local paths are included here.

  5. sunnyspot114514 commented on Aug 24, 2026

    @sunnyspot114514

    Same updater loop on Windows 10. Sharing a more recent version pair in case it helps.

    Environment

    • Windows 10 Pro 10.0.19045 x64
    • Microsoft Store package: OpenAI.Codex_26.818.5229.0_x64__2p2nqsd0c76g0
    • Store ID: 9PLM9XGG6VKS
    • Package status: Ok

    Symptom
    In-app Update button appears. Clicking it shows install/restart progress, then the app closes. Relaunch still shows the same update. This repeated several times in one afternoon.

    Evidence
    Installed package stays at 26.818.5229.0.

    Desktop log:
    [windows-store-updater] Checking Windows Store for package updates buildVersion=26.818.5229.0 manifestBuildVersion=26.818.8289.0 packageIdentity=OpenAI.Codex
    [windows-store-updater] Windows Store package update check completed canSilentlyDownload=true completed=true hasUpdate=true overallState=Completed
    [sparkle] Production Sparkle update event action=download_completed result=succeeded

    Microsoft Store / winget have no newer package:
    winget upgrade --id 9PLM9XGG6VKS
    -> No available upgrade found. No newer package version available in the configured sources.

    AppX deployment logs had no Stage/Register for 26.818.8289.0.

    Timeline

    • Previous evening: updater checked manifestBuildVersion=26.818.5345.0 and reported hasUpdate=false / overallState=NoUpdates.
    • Next afternoon: manifest jumped to 26.818.8289.0 and the download-completed / never-installed loop started.

    This machine does not show the suspended-process launch failure from the original report. The updater half matches: OpenAI feed is ahead of Store, download is marked complete, package never registers, clicking Update only exits the app.

  6. Mlppprrowo commented on Aug 29, 2026

    @Mlppprrowo

    I am seeing a possibly related Windows desktop issue on a newer build.

    Environment:
    Windows 11 Home, build 26200, x64
    Package family: OpenAI.Codex_2p2nqsd0c76g0
    Updated from 26.820.7780.0 to 26.825.3734.0
    Package status after the incident: Ok (SignatureKind: Store)

    What happened:
    Clicking ChatGPT created processes but showed no main window and no taskbar item.
    There was no matching Application Error / Windows Error Reporting crash event.
    Repeated clicks caused repeated AppX LaunchProcess activations.

    Relevant local event timeline:
    00:12: the Store/MSIX update from 26.820.7780.0 to 26.825.3734.0 completed successfully.
    01:47–01:49: Microsoft-Windows-AppModel-Runtime/Admin recorded four successful LaunchProcess activations for
    OpenAI.Codex_...!App, but no UI appeared.
    01:51: AppXDeploymentServer started RepairPackageOperation / RepairAppRegistrationOption for the same package.
    01:52: that operation failed with 0x80073D02 because OpenAI.Codex was still running.

    I did not capture the process/thread state at the exact moment of the failed click, so I cannot confirm or rule out the
    suspended-process state described in this issue.

    By the time I inspected the running instance, the full Electron process tree (GPU, network, storage, renderer) had started.
    The main Electron process had --no-startup-window, was responsive, and had a nonzero main-window handle, but still had no
    visible/taskbar window. Explicitly restoring and foregrounding that existing window made it appear.

    This may be a later or partially recovered stage of the same post-update activation problem. The repair operation racing
    with a live app instance may also be relevant.

  7. tolga-guldutuna commented on Sep 25, 2026

    @tolga-guldutuna

    This update-loop report is one of the reasons I switched to a controlled manual-update workflow on Windows.

    The approach is intentionally conservative:

    • disable the Codex in-app updater during normal use;
    • disable Microsoft Store automatic app updates;
    • back up the current policy/package state before every planned update;
    • temporarily unblock;
    • update manually;
    • verify the registered package/version and Status: Ok;
    • re-block.

    Scripts, logging, backup/restore, and exact settings:
    #25770 (comment)

    Important caveat for this specific issue: if the newer build exists only on Codex's own updater feed and is not yet available from the public Microsoft Store, a manual Store/winget update obviously cannot obtain that target build. So this is a way to avoid the endless unattended loop, not a way to force-install an unpublished Store version.

  8. openconcerto commented on Oct 11, 2026

    @openconcerto

    Confirmed reproduction on Windows — MSIX staging succeeds but registration is missing

    I reproduced the infinite update loop on October 11, 2026.

    Environment

    • Windows desktop application: ChatGPT.exe
    • MSIX package: OpenAI.Codex
    • Previous registered version: 26.1002.7124.0
    • Update version: 26.1007.2314.0

    Observed behavior

    1. ChatGPT displays an available update.
    2. Clicking the update button starts the update and closes the application.
    3. Restarting ChatGPT launches the previous version.
    4. The update notification appears again.

    Windows AppXDeploymentServer logs

    At 2026-10-11 16:38:10, Windows reports:

    • Event ID 400: Stage operation for OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0 completed successfully.
    • Event ID 613: Stage deployment performance summary, approximately 1609 ms.
    • Event ID 649: PostDeploymentOperationCheck, 0 ms.

    No deployment error was present in the filtered events.

    Confirmed workaround

    After closing ChatGPT, manually executing:

    Add-AppxPackage -Register -MainPackage "OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0"

    successfully registered the new version.

    Verification:

    Name          Version          Status
    OpenAI.Codex  26.1007.2314.0   Ok
    

    ChatGPT subsequently launched normally and the update loop disappeared.

    Likely root cause

    The updater successfully stages the new MSIX package, but fails to complete or trigger the package registration step for the current Windows user.

    The successful manual Add-AppxPackage -Register -MainPackage operation strongly suggests that the downloaded package itself is valid.

    Please investigate the stage-to-register transition in the Windows desktop auto-updater.

  9. forgottenlab commented on Nov 3, 2026

    @forgottenlab

    Additional reproduction — November 3, 2026: In-app update repeatedly fails with Microsoft Store queue errors

    I can reproduce a similar Codex Desktop in-app update failure on Windows 11.

    The application detects an available update and starts the update/download workflow, but the update does not complete. The installed MSIX package version remains unchanged, and the update notification reappears after manually restarting the application.

    Unlike the original report, I have not observed the suspended-process or no-window startup issue. Codex can still launch normally.


    1. Environment

    Item Verified value
    Operating system Windows 11, x64 (exact Windows build not recorded)
    Codex version (reported in app) 26.1026.10807
    Installed MSIX version 26.1027.3384.0
    Installed package status Ok
    Package family OpenAI.Codex_2p2nqsd0c76g0
    Store product ID 9PLM9XGG6VKS
    Update target from Store telemetry 26.1027.6604.0
    Test date November 3, 2026
    Time zone UTC+08:00
    Diagnostic start 15:33:46.492

    Installation background:

    My Codex installation has previously been maintained through a manual update workflow.

    However, this reproduction specifically tested the built-in Codex update button, without manually installing, registering, or replacing any package during the test.

    The application-reported version and installed MSIX package version differ. Both are documented separately to avoid confusing the two version identifiers.


    2. Steps to reproduce

    1. Launch Codex Desktop on Windows 11.
    2. Observe the orange update indicator in the left sidebar.
    3. Click the built-in update button.
    4. The application displays an update/download indication.
    5. The update indicator temporarily disappears.
    6. Codex does not automatically close and relaunch to complete the update.
    7. Manually restart Codex.
    8. Observe that the update indicator appears again.
    9. Verify the installed MSIX package version using PowerShell.

    Actual behavior:

    • No clear update failure message appears.
    • The update does not complete successfully.
    • The application did not automatically close/relaunch during this observed attempt.
    • The update notification returns after relaunch.
    • The installed MSIX package version remains unchanged.

    Expected behavior:

    The built-in updater should:

    1. Detect the available update.
    2. Download the update successfully.
    3. Install/register the new MSIX package.
    4. Restart the application when required.
    5. Confirm successful installation and clear the update indicator.

    If any stage fails, the updater should display a meaningful error message and provide an appropriate retry or recovery option.


    3. Installed package verification

    The registered MSIX package was queried both before and after the update attempt. The following read-only command shows the package information (the before/after values below came from separate queries during the test):

    Get-AppxPackage -Name OpenAI.Codex |
        Select-Object Name, Version, Status, PackageFullName

    Verified result:

    Before MSIX: 26.1027.3384.0
    After MSIX:  26.1027.3384.0
    Changed:     False
    Status:      Ok
    

    The registered package was unchanged after the update attempt.

    This confirms that the update did not produce a new registered MSIX version during the observed test.


    4. Microsoft Store event log evidence

    Log source:

    Microsoft-Windows-Store/Operational

    The diagnostic capture started at:

    2026-11-03 15:33:46.492 +08:00

    During the test window:

    Total Microsoft Store events: 611
    Events matching Codex/ChatGPT identifiers: 252
    

    The diagnostic filter searched for:

    • OpenAI.Codex
    • 2p2nqsd0c76g0
    • 9PLM9XGG6VKS
    • ChatGPT

    Store telemetry identified the target update:

    OperationType: Update
    
    ClientAppId:
    Update;ChatGPT-SearchForUpdatesWithPausedAddAsync
    
    ContentId:
    OpenAI.Codex_26.1027.6604.0_x64__2p2nqsd0c76g0
    

    The installed MSIX version was 26.1027.3384.0, while Store telemetry referenced 26.1027.6604.0 as the update target.

    4.1 Repeated Store queue state transitions

    Microsoft Store Event ID 2002 recorded three similar sequences:

    Time (UTC+08:00) AppInstallState sequence Final QueueState Final ExtendedState
    15:37:57–15:37:59 8 → 0 → 1 → 2 → 3 → 9 3 9
    15:39:27–15:39:29 8 → 0 → 1 → 2 → 3 → 9 3 9
    15:40:26–15:40:28 8 → 0 → 1 → 2 → 3 → 9 3 9

    Each recorded sequence ended with:

    AppInstallState: 9
    IsStaged: false
    IsDownloaded: false
    StoreQueueItemState: 3
    StoreQueueItemExtendedState: 9
    

    These final values indicate that the Store queue entered an error state.

    Per Microsoft's documented enums, the AppInstallState sequence corresponds to Paused (8) → Pending (0) → Starting (1) → AcquiringLicense (2) → Downloading (3) → Error (9). The final StoreQueueItemState = 3 and StoreQueueItemExtendedState = 9 also correspond to Error. This describes the observed queue state, not the underlying cause.

    References: AppInstallState, StoreQueueItemState, StoreQueueItemExtendedState.

    Important clarification:

    These are three observed Store queue cycles, not necessarily three separate manual update-button clicks.

    The state transitions appear highly similar and end in the same error state.

    Representative Store queue event (key fields, normalized formatting)

    The following key fields were transcribed from Microsoft Store Event ID 2002 at 2026-11-03 15:40:28 (UTC+08:00). The original single-line message has been reformatted for readability; this is not a verbatim raw event export:

    Converted Store Queue State for Package OpenAI.Codex_2p2nqsd0c76g0
    AppInstallState: 9
    IsStaged: false
    IsDownloaded: false
    StoreQueueItemState: 3
    StoreQueueItemExtendedState: 9
    

    This excerpt represents the final error state observed in the Store queue. The complete event history was summarized in the table above.

    4.2 Download progress telemetry

    A Microsoft Store Event ID 2006 heartbeat reported:

    DownloadSize: 0
    PreviousPercentDownloaded: 0
    CurrentPercentDownloaded: 0
    BytesDownloadedSinceLastProgress: 0
    ConcurrentWorkingItems: 1
    

    The download-related fields did not report measurable progress in this sampled heartbeat.

    Additionally, the final queue state reported:

    IsDownloaded: false
    IsStaged: false
    

    Therefore, I cannot confirm that the new MSIX payload was fully downloaded or successfully staged.

    The failure may occur during the download workflow or its surrounding Store queue operations, rather than during MSIX registration.


    5. AppX deployment log inspection

    Log source:

    Microsoft-Windows-AppXDeploymentServer/Operational

    The following reproduces the message-based inspection method. The timestamp is set explicitly for clarity (during the original interactive test it was stored in $CodexTestStart):

    $CodexTestStart = ([datetimeoffset]::Parse('2026-11-03T15:33:46.4920285+08:00')).LocalDateTime
    
    Get-WinEvent -FilterHashtable @{
        LogName   = 'Microsoft-Windows-AppXDeploymentServer/Operational'
        StartTime = $CodexTestStart
    } |
    Where-Object {
        $_.Message -match 'OpenAI\.Codex|2p2nqsd0c76g0'
    } |
    Sort-Object TimeCreated |
    Select-Object TimeCreated, Id, LevelDisplayName, Message

    Observed result:

    Total AppXDeploymentServer events: 36
    
    Events containing matching Codex package identifiers: 0
    

    No matching Codex deployment messages were found in the filtered event messages.

    This result does not definitively rule out all deployment-related activity, since the check was based on message text.

    However, the collected evidence does not establish a successful Stage/Register operation for the target package.

    It also does not confirm an old-process locking or MSIX registration failure.


    6. Error-code investigation

    A limited text search was performed on selected Microsoft Store Event IDs 2002 and 2006, filtering for Codex-related messages containing StateTransition, Error, or Fail and searching for 8-digit hexadecimal codes.

    That filtered search did not reveal another distinct error code after excluding 0xefffffff. The latter appeared in Store logging/queue-query contexts and has not been established as the underlying update failure code. This limited search does not rule out more specific errors in other event fields or client logs.

    Confirmed:

    • Store queue error states were recorded.
    • The installed MSIX version remained unchanged.
    • The update indicator returned after restarting Codex.

    Not yet confirmed:

    • The underlying Store queue failure reason.
    • Whether the update payload was successfully downloaded.
    • Whether the failure was caused by networking, licensing, Store services, or updater integration.
    • Whether MSIX registration was attempted outside the message-based diagnostic filter.

    7. Comparison with the original issue

    This reproduction shares several symptoms with the original report:

    • The built-in update indicator repeatedly appears.
    • The updater does not complete the installation.
    • The installed MSIX version does not advance.
    • The application does not provide a meaningful failure message.

    However, there are important differences:

    1. I have not reproduced the suspended ChatGPT.exe process issue.
    2. Codex continues to launch normally.
    3. No matching Codex AppX deployment events were identified in the collected test-window messages.
    4. Store queue telemetry ended in an error state before successful download or staging could be verified.

    This may represent a different failure point within the broader Windows in-app update workflow.


    8. Suggested investigation

    Based on the available evidence, I suggest investigating the following areas:

    Store queue lifecycle

    • Why does the Store queue repeatedly transition into an error state?
    • Why do similar state sequences appear multiple times?
    • Is a paused or failed queue item being recreated or retried incorrectly?

    Download and staging

    • Is the target MSIX package successfully acquired?
    • Is the update interrupted before download completion?
    • Are Store queue errors correctly propagated to Codex?

    Updater integration

    • Does the in-app updater correctly detect an unsuccessful Store operation?
    • Why does the update indicator temporarily disappear despite the failed update?
    • Why does Codex continue running without completing the expected update/restart workflow?

    User-facing error handling

    • Display a meaningful error if the update fails.
    • Avoid silently returning to the same update state.
    • Provide an actionable retry option.
    • Consider exposing a diagnostic reference or relevant error code for support.

    I am not attributing this issue exclusively to Microsoft Store or Codex itself. The current evidence confirms a failure involving the Store update queue, but does not identify the underlying component responsible.


    9. Screenshot evidence

    The following screenshots document the user-visible behavior.

    Figure 1 — Codex version before the update

    Image

    Figure 2 — Built-in update indicator

    Image

    Figure 3 — Update/download interface

    Image

    Figure 4 — Installed MSIX version verification

    Image

    The relevant Store queue state transitions and diagnostic results are reproduced in the sections above.


    10. Scope and safety of the reproduction

    During this diagnostic test:

    • No manual MSIX installation was performed.
    • No package re-registration was performed.
    • No application reset or reinstall was performed.
    • No forced process termination was performed.
    • No registry modifications were performed.
    • Windows event logs and package status were inspected using read-only PowerShell commands.

    The current Codex installation remains launchable.

    This report documents the naturally observed in-app update failure without applying potentially disruptive recovery operations.


    11. Conclusion

    On November 3, 2026, Codex Desktop on Windows 11 repeatedly failed to complete an in-app update from installed MSIX version 26.1027.3384.0 toward target version 26.1027.6604.0.

    Three similar Microsoft Store queue-state sequences ended in an error state.

    The installed MSIX package remained unchanged, Codex did not automatically complete the update/restart workflow, and the update indicator reappeared after manually restarting the application.

    The evidence suggests that the failure may occur during Store queue or download processing, before successful package staging/registration can be confirmed.

    I hope these additional logs and version details help the maintainers narrow down the Windows updater issue.

    Thank you for investigating!

  10. forgottenlab commented on Nov 17, 2026

    @forgottenlab

    Follow-up — November 17, 2026: In-app MSIX update still fails on 26.1106.6628.0 (Store download error)

    I have reproduced the Codex Desktop in-app update failure again on a newer Codex Desktop MSIX build.

    This follows my November 3 reproduction. This time, I captured Microsoft Store event logs identifying the target package and the stage at which the update failed.

    Environment

    Item Verified value
    Operating system Windows 11 x64, build 26200
    Installed MSIX version 26.1106.6628.0
    Package family OpenAI.Codex_2p2nqsd0c76g0
    Package status Ok
    Store product ID 9PLM9XGG6VKS
    Update target from Store telemetry 26.1111.2228.0
    Test date November 17, 2026
    Time zone UTC+08:00

    1. Observed behavior

    1. I opened Codex Desktop and clicked the built-in update button.
    2. An "Installing update" dialog appeared, indicating that ChatGPT would restart after installation.
    3. The progress bar briefly advanced while displaying a preparation message.
    4. The dialog disappeared without a visible error message.
    5. The application did not automatically close or restart.
    6. The registered MSIX package version remained unchanged.

    The update dialog looks the same as in my November 3 report, so I am not attaching a duplicate screenshot. The new diagnostic evidence is provided below.

    2. Microsoft Store event log evidence

    Log source: Microsoft-Windows-Store/Operational

    The relevant events occurred approximately between 14:42:47 and 14:42:50 (UTC+08:00).

    Event ID 2006 — Update target identified

    OperationType: Update
    ClientAppId: Update;ChatGPT-SearchForUpdatesWithPausedAddAsync
    ContentId: OpenAI.Codex_26.1111.2228.0_x64__2p2nqsd0c76g0
    

    The workflow reached scanning, license acquisition, and download attempts.

    Event ID 2006 — Error and immediate retry

    PrevState: ImmediateRetry
    NewState: Error
    PluginLastStage: 4
    HResult: -2147467262
    

    The signed HRESULT corresponds to 0x80004002 (E_NOINTERFACE). The event history also records transitions between Error and ImmediateRetry.

    Event ID 2008 — Download-stage error

    Error encountered during install
    Item = 9PLM9XGG6VKS
    Progress Stage = DownloadingProduct
    Error: Interface not supported
    

    Event ID 2002 — Error state of the Store queue

    AppInstallState: 9
    IsStaged: false
    IsDownloaded: false
    StoreQueueItemState: 3
    StoreQueueItemExtendedState: 9
    

    These records show that the Store update attempt entered an error state while attempting to download the product. The reported state was neither downloaded nor staged. They do not identify the underlying Windows or Store interface responsible for the failure.

    3. Final MSIX version verification

    PowerShell command:

    Get-AppxPackage -Name OpenAI.Codex |
        Select-Object Name, Version, Status, PackageFullName

    Verification timeline (UTC+08:00):

    14:42:35       MSIX 26.1106.6628.0, Status: Ok
    14:42:47–50    Store update attempt enters Error state
    14:47:10       MSIX 26.1106.6628.0, Status: Ok
    

    The registered package version remained unchanged after the recorded failure.

    4. Comparison with my previous report

    On November 3, the in-app updater failed with registered MSIX version 26.1027.3384.0. On November 17, a similar user-visible failure occurred with version 26.1106.6628.0.

    Both attempts left the registered package version unchanged. The latest logs specifically show a Store download-stage error, but I cannot confirm the two incidents share the same underlying cause.

    5. Separate startup issue

    I separately reported an intermittent Windows startup splash-screen issue affecting MSIX 26.1106.6628.0 in #49718. I have not established a causal relationship between the splash-screen issue and the updater failure.

    Expected behavior

    The built-in updater should download, stage, and register the new MSIX package, restarting the application when required. If the update fails, it should display a useful error message and provide a reliable recovery or retry option.

    Actual behavior

    The installer dialog disappears without displaying a failure, Store telemetry records an error during the download attempt, and the registered MSIX version remains unchanged.

    I have preserved local event logs and can provide further sanitized diagnostic evidence if the maintainers request it.

  11. forgottenlab commented on Nov 19, 2026

    @forgottenlab

    Follow-up — November 19, 2026: Update download failure persists on a newer MSIX build

    I reproduced the Codex Desktop in-app update failure again on Windows 11.

    Environment

    • OS: Windows 11 x64, build 26200
    • Installed MSIX: OpenAI.Codex 26.1111.2228.0
    • Package status: Ok
    • New update target identified in Store telemetry: 26.1111.9664.0
    • Test date: November 19, 2026 (UTC+08:00)

    Observations

    Codex launched successfully and reached the main interface. I then attempted to use the built-in update function.

    The update dialog appeared and disappeared without an automatic restart or visible error message. The registered MSIX version remained unchanged.

    Windows Store telemetry recorded:

    • 20:08:24–20:08:25: StoreAgentDownloadFailure1, HRESULT 0x80004002.
    • 20:08:34: State transition Error → ImmediateRetry.
    • 20:08:35: State transition ImmediateRetry → Error, HRESULT 0x80004002.
    • 20:08:36: Event 2008 reported an error at DownloadingProduct.
    • Final observed queue state: AppInstallState: 9, IsDownloaded: false, IsStaged: false.

    The update operation identified OpenAI.Codex_26.1111.9664.0_x64 as its target.

    The event timestamps align with this test session, although the exact Update-button click time was not independently recorded.

    Additional note

    A separate AppX deployment event reported 0x80073D02 while attempting to remove an in-use Codex Primary Runtime package. I have not established that this event caused the main MSIX update failure.

    Conclusion

    The previous target version (26.1111.2228.0) is now successfully installed, but the same Store download-stage error recurred while a newer target was available.

    This provides another cross-version reproduction of the updater failure. I have not identified the underlying cause.

  12. forgottenlab commented on Nov 24, 2026

    @forgottenlab

    Follow-up — November 24, 2026: Native Windows updater successfully restored after re-enabling Delivery Optimization (DoSvc)

    After several months of troubleshooting, I have finally managed to restore the built-in Codex updater on my Windows machine.

    I first encountered this problem during the summer of 2026. Since then, the native updater had repeatedly failed to complete updates, and I was unable to identify the underlying cause.

    As a workaround, I gradually developed a manual PowerShell-based workflow to download the official MSIX package, install it, and verify the registered package version. For months, this was my primary method of keeping Codex up to date on Windows.

    I later documented several reproductions in this issue:

    These reports represent documented reproductions of a problem that had already affected my installation for several months.

    Today, while attempting another manual update, I unexpectedly discovered a system-level condition that appears to have contributed to these failures.

    I would like to share the complete investigation and the recovery method that worked on my machine, in the hope that it may help other affected Windows users.

    1. Environment

    Item Value
    Operating system Windows 11 25H2, x64
    OS build 26200.9168
    PowerShell 7.6.3
    Package OpenAI.Codex
    Package family OpenAI.Codex_2p2nqsd0c76g0
    Microsoft Store product ID 9PLM9XGG6VKS
    Previously installed MSIX version 26.1117.4957.0
    Successfully installed MSIX version 26.1120.5083.0
    Desktop application version after update (About dialog) 26.1120.41243
    Workspace tools version after update (Settings) 26.1119.11507
    Desktop release date (About dialog) November 24, 2026
    Test date November 24, 2026 (UTC+08:00)

    2. How I discovered the problem

    As usual, I initially attempted to update Codex manually by downloading the official MSIX package:

    https://persistent.oaistatic.com/codex-app-prod/ChatGPT-x64.msix

    The installation completed successfully. However, Codex continued to display the available-update indicator.

    I initially suspected that the downloaded package might not have been current, so I downloaded the entire MSIX package again and reinstalled it.

    The registered version remained 26.1117.4957.0.

    This prompted me to compare the installed package version against the two official Windows release manifests.

    $installed = (Get-AppxPackage -Name OpenAI.Codex).Version
    
    $base = 'https://persistent.oaistatic.com/codex-app-prod'
    
    $store = Invoke-RestMethod `
        -Uri "$base/windows-store-update.json"
    
    $release = Invoke-RestMethod `
        -Uri "$base/windows-release.json"
    
    [PSCustomObject]@{
        InstalledVersion    = $installed
        DirectLatestVersion = $release.packageVersion
        StoreLatestVersion  = $store.buildVersion
        DirectUpdate        = (
            [version]$release.packageVersion -gt [version]$installed
        )
        StoreUpdate         = (
            [version]$store.buildVersion -gt [version]$installed
        )
        ChannelsConsistent  = (
            $release.packageVersion -eq $store.buildVersion
        )
    } | Format-List

    Actual output:

    InstalledVersion    : 26.1117.4957.0
    DirectLatestVersion : 26.1117.4957.0
    StoreLatestVersion  : 26.1120.5083.0
    DirectUpdate        : False
    StoreUpdate         : True
    ChannelsConsistent  : False
    

    At the time of this test, the official Store update manifest advertised a newer version than the official direct MSIX release.

    This explained why repeatedly downloading the direct MSIX package did not resolve the update notification.

    I then attempted to obtain the newer version through Microsoft Store itself. However, the Store application could not load its interface and eventually reported an initialization failure.

    This led me to investigate whether the Microsoft Store malfunction might be related to my long-standing Codex update failures.

    For transparency, I used AI-assisted tools to research relevant Windows documentation, look for similar reports, analyze event logs, and develop diagnostic PowerShell commands.

    All commands, configuration changes, observations, and verification results presented in this report were personally executed and observed on my Windows machine.

    3. Investigating Microsoft Store and Windows update services

    I first inspected the WinHTTP proxy configuration, Windows user proxy settings, Microsoft Store package status, relevant Windows services, and Store event logs.

    The Microsoft Store package itself reported Status: Ok.

    The following command also successfully located the ChatGPT product:

    winget search --id 9PLM9XGG6VKS --source msstore --exact

    However, the Microsoft Store graphical interface remained unavailable, and its event log contained download-stage errors associated with ChatGPT.

    Log source:

    Microsoft-Windows-Store/Operational
    

    Relevant event at approximately 15:00:28 (UTC+08:00):

    Event ID: 2008
    
    Error encountered during install
    Item = 9PLM9XGG6VKS
    Progress Stage = DownloadingProduct
    Error: No such interface supported
    

    Additional events reported:

    Immediate Retry Download failed
    Download and Install Failed at Stage: Downloading
    

    The English error descriptions above are translated from my localized Windows event log.

    These symptoms were consistent with my earlier reproductions on November 17 and November 19, where HRESULT 0x80004002 (E_NOINTERFACE) was explicitly recorded. The raw HRESULT was not independently extracted from this particular November 24 event.

    I then inspected the Windows services involved in application downloads and deployment:

    Get-Service -Name @(
        'InstallService',
        'ClipSVC',
        'AppXSvc',
        'BITS',
        'DoSvc',
        'wuauserv',
        'LicenseManager'
    ) | Select-Object Name, Status, StartType |
        Format-Table -AutoSize

    Actual output:

    Name            Status   StartType
    ----            ------   ---------
    AppXSvc         Running  Automatic
    BITS            Running  Automatic
    ClipSVC         Running  Manual
    DoSvc           Stopped  Disabled
    InstallService  Running  Manual
    LicenseManager  Running  Manual
    wuauserv        Running  Manual
    

    The most significant finding was that Delivery Optimization (DoSvc) was completely disabled, rather than simply stopped while idle.

    I verified its configuration using the native Windows Service Control utility and a read-only registry query:

    sc.exe qc DoSvc
    sc.exe query DoSvc
    
    Get-ItemProperty `
        'HKLM:\SYSTEM\CurrentControlSet\Services\DoSvc' |
        Select-Object Start, DelayedAutoStart |
        Format-List

    Relevant results:

    START_TYPE : 4 DISABLED
    STATE      : 1 STOPPED
    
    Start            : 4
    DelayedAutoStart : 1
    

    According to Microsoft's documentation, Delivery Optimization is used to download content including Microsoft Store applications:

    https://learn.microsoft.com/en-us/windows/deployment/do/waas-delivery-optimization

    This made the disabled service a plausible contributor to the download failures I had been experiencing.

    I have not established when or why the service was originally disabled.

    4. Initial attempts to restore Delivery Optimization

    My initial attempts to restore the service were unsuccessful, despite running PowerShell with administrator privileges.

    The following commands both encountered access denied errors:

    Set-Service -Name DoSvc -StartupType Manual
    sc.exe config DoSvc start= demand

    The second command returned:

    [SC] ChangeServiceConfig2 (delayed autostart flag) FAILED 5:
    
    Access is denied.
    

    I subsequently confirmed that the service remained disabled.

    Further inspection showed that the service retained its delayed automatic startup flag and that the Administrators group had configuration permissions.

    Rather than changing registry permissions, modifying service security descriptors, or taking ownership of protected system components, I attempted to restore delayed automatic startup through the native Windows Service Control utility.

    5. Recovery method that worked

    If you are experiencing similar update failures, first check whether DoSvc is unexpectedly disabled. Do not modify an already functional service or override organizational management policies.

    On my personally managed Windows device, the following command succeeded in an elevated PowerShell session:

    sc.exe config DoSvc start= delayed-auto

    Actual output:

    [SC] ChangeServiceConfig SUCCESS
    

    I then verified the configuration:

    sc.exe qc DoSvc

    Relevant output:

    START_TYPE : 2 AUTO_START (DELAYED)
    

    The registry configuration also confirmed:

    Start            : 2
    DelayedAutoStart : 1
    

    After confirming the configuration change, I started the service:

    Start-Service -Name DoSvc -ErrorAction Stop
    
    Get-Service DoSvc |
        Format-List Name, Status, StartType

    Actual output:

    Name      : DoSvc
    Status    : Running
    StartType : Manual
    

    Interestingly, although sc.exe qc initially reported delayed automatic startup, Get-Service reported Manual after the service was started.

    I have not investigated the reason for this transition. The important observation was that the service was no longer disabled and could run successfully.

    During this recovery experiment, I did not:

    • Modify registry values directly.
    • Modify service or registry permissions.
    • Take ownership of protected system components.
    • Reset or reinstall Microsoft Store.
    • Change proxy or network settings.
    • Restart Windows.
    • Manually download or install the target MSIX package.

    6. Successful native in-app update

    After restoring Delivery Optimization, I returned to Codex and clicked the built-in update button again.

    This time, I observed a noticeable difference compared with my previous failed attempts.

    Previously, the updater would briefly display a preparation or installation dialog before disappearing without completing the update. I had not observed sustained percentage-based progress through to a successful installation and automatic restart.

    After restoring DoSvc, the update proceeded normally:

    • The installation progress advanced from 3% to 41% and then to 94%.
    • The application automatically closed.
    • The application automatically restarted.
    • The registered MSIX package version advanced to the expected target version.
    Codex native in-app update progressing to 41% after restoring Delivery Optimization

    Figure 1. The native updater displaying measurable installation progress after restoring Delivery Optimization (DoSvc). Unlike my previous failed attempts, the progress continued normally and the application subsequently restarted automatically. The interface is displayed in Simplified Chinese.

    After the automatic restart, I verified the installed package:

    Get-AppxPackage -Name OpenAI.Codex |
        Format-List Name, Version, Status, SignatureKind

    Actual output:

    Name          : OpenAI.Codex
    Version       : 26.1120.5083.0
    Status        : Ok
    SignatureKind : Store
    

    The AppX deployment event log also recorded a registration-operation performance summary for the new package:

    Time: 2026-11-24 17:14:39 (UTC+08:00)
    Log: Microsoft-Windows-AppXDeploymentServer/Operational
    Event ID: 613
    Operation: Register
    Package:
    OpenAI.Codex_26.1120.5083.0_x64__2p2nqsd0c76g0
    Overall time: 1516 ms
    

    Together with the package version returned by Get-AppxPackage, this confirms that the target version was successfully registered for the current user, rather than merely downloaded or staged.

    As an additional verification after the automatic restart, I checked the About ChatGPT dialog, which reported:

    • Desktop application version: 26.1120.41243
    • Release date: November 24, 2026

    The registered MSIX package version, independently verified through PowerShell, was 26.1120.5083.0.

    These version identifiers are documented separately to avoid conflating the desktop application version with the Windows MSIX package version.

    • Desktop application version: 26.1120.41243
    • Release date: November 24, 2026
    • Registered MSIX package version: 26.1120.5083.0

    The desktop application and MSIX package use different version identifiers, so they are documented separately here.

    About ChatGPT dialog showing version 26.1120.41243 and release date November 24, 2026

    Figure 2. The About ChatGPT dialog after the successful native update and automatic restart, showing desktop application version 26.1120.41243, released on November 24, 2026.

    7. Microsoft Store UI remains unavailable

    One particularly interesting observation is that the Microsoft Store graphical interface still failed to initialize, even after Codex successfully updated.

    The Store event log continued to report network-related errors, including:

    0x80072EFD
    WinStore.Network.TransportException
    WinStore.DataModel.DataUnavailableException
    

    These errors occurred while retrieving Store pages and product details.

    There were also AppX cleanup errors, including 0x80073D02 when attempting to remove an in-use Codex Primary Runtime package. However, these did not prevent the main application package from successfully updating.

    This suggests that the following components may represent distinct failure points:

    • Microsoft Store UI connectivity.
    • Store update downloading.
    • MSIX staging and registration.
    • Application shutdown and restart.
    • Cleanup of previous application and runtime packages.

    In this test, restoring Delivery Optimization was followed by a successful native update, despite the remaining Microsoft Store UI connectivity problems.

    8. Possible improvements to the Windows updater

    Based on this investigation, I would suggest considering the following diagnostic improvements:

    • Add a read-only check for Delivery Optimization (DoSvc) when a Store update download fails.
    • Provide an actionable error message if a required Windows service is unexpectedly disabled.
    • Preserve relevant HRESULTs and download-stage diagnostic information instead of silently dismissing the update dialog.
    • Distinguish between download, staging, registration, restart, and cleanup failures.
    • Account for differences between the official direct MSIX release and Store update manifests when providing troubleshooting guidance.

    I would particularly welcome improved diagnostic reporting, as the absence of a meaningful user-facing error made this problem difficult to investigate over several months.

    I would not recommend automatically modifying Windows service configurations without explicit user consent.

    Conclusion

    After relying on manual MSIX installation since the summer of 2026, I have now successfully completed an update through the original built-in updater.

    Before: 26.1117.4957.0
    After:  26.1120.5083.0
    Status: Ok
    
    Update method: Native in-app updater
    
    Delivery Optimization before: Disabled / Stopped
    Delivery Optimization after:  Manual / Running
    
    Microsoft Store UI: Still unavailable
    

    The observed before-and-after results provide strong evidence that the disabled Delivery Optimization service contributed to the update failures in my environment.

    However, this is a verified recovery on one machine, not proof that Delivery Optimization is responsible for every Windows updater failure discussed in this issue.

    I have also not established the cause of the suspended-process startup problem described in the original report.

    Persistence across system restarts and future update cycles still needs to be verified.

    I hope that sharing this investigation, including both the unsuccessful diagnostic attempts and the recovery method that ultimately worked, will help other affected Windows users avoid months of manual updates and provide useful evidence for improving the updater's diagnostics.

    Thank you to everyone who has shared their findings in this issue.

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

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions