codex icon indicating copy to clipboard operation
codex copied to clipboard

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

Open lwz20210407 opened this issue 3 months ago • 12 comments

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

  • #27377 — update stuck after "Update downloading", version mismatch
  • #25770 — old MSIX package locked in use / mounted Helium hives
  • #23053 — update prompt should show target versions / component diff

lwz20210407 avatar Aug 16 '26 07:08 lwz20210407

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

  • #38758

Powered by Codex Action

github-actions[bot] avatar Aug 16 '26 07:08 github-actions[bot]

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

MilkyWay008 avatar Aug 17 '26 01:08 MilkyWay008

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.

maxtalwar avatar Aug 20 '26 15:08 maxtalwar

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.

sunnyspot114514 avatar Aug 24 '26 20:08 sunnyspot114514

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.

Mlppprrowo avatar Aug 29 '26 06:08 Mlppprrowo

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: https://github.com/openai/codex/issues/25770#issuecomment-5828017211

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.

tolga-guldutuna avatar Sep 25 '26 07:09 tolga-guldutuna

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.

openconcerto avatar Oct 11 '26 14:10 openconcerto

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!

forgottenlab avatar Nov 03 '26 09:11 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.

forgottenlab avatar Nov 17 '26 07:11 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.

forgottenlab avatar Nov 19 '26 12:11 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.

forgottenlab avatar Nov 24 '26 09:11 forgottenlab

Follow-up — November 25, 2026: Automatic background download and successful MSIX registration after Windows reboot, with AppReadiness correlation

Following my November 24 investigation and successful recovery of the native Windows updater, I continued investigating whether Codex could update automatically without requiring me to click the in-app update button or manually install an MSIX package.

The results are encouraging. I have now verified successful automatic background downloading, MSIX staging, and subsequent package registration during Windows sign-in.

More importantly, I was able to identify the actual caller responsible for the final registration through raw Windows event XML and correlate the deployment operation with the Windows AppReadiness service's own event log.

This follow-up also provides additional evidence concerning Delivery Optimization (DoSvc) and Update Orchestrator (UsoSvc), while distinguishing confirmed observations from unproven causal relationships.

1. Executive summary

The following outcomes have now been verified on my machine:

  • Restoring Delivery Optimization was followed by successful native Codex updates.
  • A separate Microsoft Store application, Microsoft Desktop App Installer, recovered from the same download-stage HRESULT.
  • Codex automatically detected, downloaded, and staged a subsequent MSIX update without an update-button click.
  • Restarting Codex alone did not register the staged package.
  • Windows Store automatic updates were confirmed to be enabled.
  • Update Orchestrator (UsoSvc) was also discovered to be disabled.
  • Restoring UsoSvc was followed by successful device-level and user-level update scans.
  • Those Update Orchestrator queue items were subsequently aborted during rescans, rather than being observed completing installation.
  • After restarting Windows, AppReadiness automatically registered the previously staged Codex package during sign-in.
  • Raw AppX event XML and AppReadiness events independently confirm the final registration path.

The registered MSIX version successfully advanced from 26.1120.5083.0 to 26.1120.6357.0.

No manual MSIX installation or in-app update-button click was required for this November 25 upgrade. A Windows restart was performed.

2. Environment

Item Value
Operating system Windows 11 25H2, x64
OS build 26200.9168
PowerShell 7.6.3
Package name OpenAI.Codex
Package family OpenAI.Codex_2p2nqsd0c76g0
Microsoft Store product ID 9PLM9XGG6VKS
Previously registered MSIX 26.1120.5083.0
Target MSIX 26.1120.6357.0
Final registered MSIX 26.1120.6357.0
Final package status Ok
Signature kind Store
Investigation dates November 24–25, 2026
Time zone UTC+08:00

All timestamps below are local time unless otherwise specified.

The version identifiers in this report refer to registered Windows MSIX package versions, not necessarily the version displayed in the application's About dialog.

3. Additional evidence supporting the Delivery Optimization recovery

In my previous report, I described repeated download failures and the successful recovery observed after restoring the disabled Delivery Optimization service.

Further examination of the historical Store events has now confirmed the raw HRESULT for the November 24 failure.

Log source:

Microsoft-Windows-Store/Operational

Selected telemetry fields from the November 24 failure:

Time: 2026-11-24 17:07:43
Event ID: 2006
Event: EndDownload

ProductId = 9PLM9XGG6VKS
PFN = OpenAI.Codex_2p2nqsd0c76g0
IsUpdate = true
DownloadSize = 0
HResult = -2147467262

The signed decimal HRESULT corresponds to:

0x80004002 (E_NOINTERFACE)

The following Event ID 2008 reported that the download and installation operation had failed at the downloading stage.

After restoring DoSvc, the same target version was successfully downloaded and installed:

Time, November 24 Event Result
17:07:43 EndDownload 0x80004002
17:14:29 EndDownload HResult = 0
17:14:39 EndInstall HResult = 0
17:14:39 AppX Event 400, Register Successful

The successful target package was:

OpenAI.Codex_26.1120.5083.0_x64__2p2nqsd0c76g0

3.1 Cross-application evidence: Microsoft Desktop App Installer

A particularly useful additional finding is that the download failure was not limited to Codex.

Microsoft Desktop App Installer had experienced the same download-stage HRESULT before the Delivery Optimization recovery.

Selected Store telemetry:

Time: 2026-11-24 14:23:10
Event: EndDownload

ProductId = 9NBLGGH4NNS1
PFN = Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
IsInteractive = false
IsMandatory = true
DownloadSize = 0
HResult = -2147467262

Later that day, after the Delivery Optimization recovery:

Time: 2026-11-24 19:12:04
Event: EndDownload

PFN = Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
IsInteractive = false
IsMandatory = true
SystemAttemptNumber = 1
UserAttemptNumber = 0
DownloadSize = 18954914
HResult = 0
ExtendedHResult = 0

At 19:12:07, Store telemetry reported a successful EndInstall, and AppX Event 400 independently confirmed successful registration of:

Microsoft.DesktopAppInstaller_2026.1116.2140.0_neutral_~_8wekyb3d8bbwe

This provides additional cross-application evidence that the disabled Delivery Optimization service was likely an important contributor to the download failures on my machine.

It does not establish that every occurrence of 0x80004002 has the same cause. Also, the App Installer update was marked mandatory, so this result should not be treated as proof of ordinary automatic-update scheduling behavior.

4. Automatic background downloading and staging on November 25

On November 25, I launched Codex normally.

Without clicking the update button, I observed the application begin downloading an available update in the background. The progress indicator briefly displayed 13%.

After the download completed, the application displayed the available-update indicator again, but continued running the existing version.

I checked the registered package:

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

The registered version remained:

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

However, querying packages across all users revealed the newer version:

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

Sanitized output:

Version                : 26.1120.5083.0
Status                 : Ok
PackageUserInformation : Current user: Installed

Version                : 26.1120.6357.0
Status                 : Ok
PackageUserInformation : SYSTEM: Staged

This established that the new package was already present in the Windows deployment inventory but had not yet replaced the current user's registered version.

4.1 Successful Store download

Time: 2026-11-25 19:08:30
Event ID: 2006
Event: EndDownload

ClientAppId =
Update;ChatGPT-SearchForUpdatesWithPausedAddAsync;;AllContent

AggregatedPackageFullNames =
OpenAI.Codex_26.1120.6357.0_x64__2p2nqsd0c76g0

DownloadSize = 344577690
StageDurationInMilliseconds = 204024
HResult = 0
ExtendedHResult = 0

4.2 Successful AppX staging

The corresponding AppX deployment log recorded:

Time: 2026-11-25 19:08:29
Event ID: 400
Operation: Stage
Result: Successful

Package:
OpenAI.Codex_26.1120.6357.0_x64__2p2nqsd0c76g0

Event ID 613 also reported a staging-operation performance summary with a registration cost of zero.

This distinction is important: a successful download or Stage operation does not establish successful registration for the current user.

4.3 Store queue state

Selected Store telemetry fields:

IsInteractive = 1
StageButDoNotInstall = 1
AllowForcedAppRestart = 0
AutomaticallyDownloadAndInstallUpdateIfFound = 0

PrevState = Working
NewState = BlockedOnUser
PluginLastStage = 4
HResult = 0

The Store status subsequently reported:

AppInstallState = 13
IsStaged = true
IsDownloaded = true
StoreQueueItemState = 4
StoreQueueItemExtendedState = 14

These events establish successful staging followed by a queue state that did not immediately proceed to installation.

Although the telemetry classifies the application request as interactive, I did not click the update button during this background-download test. The IsInteractive flag should not, by itself, be interpreted as evidence of a physical user click.

5. Restarting Codex did not register the staged package

To determine whether simply restarting the desktop application would apply the staged update, I exited Codex normally and checked for remaining visible processes.

Get-Process -Name ChatGPT, Codex -ErrorAction SilentlyContinue

The command returned no matching processes.

However, the registered package remained on 26.1120.5083.0 both before and after relaunching Codex.

The application briefly displayed update progress again before returning to the available-update indicator.

A subsequent staging operation recorded:

Time: 2026-11-25 19:22:33
Event: EndDownload

DownloadSize = 1664000
HResult = 0
ExtendedHResult = 0

The corresponding AppX staging summary showed:

Stage required cost: 0 ms
Registration cost: 0 ms

The much smaller reported download size and absence of additional staging cost are consistent with reuse of previously prepared content. These telemetry fields do not establish the exact amount of network traffic transferred.

At this point:

  • Background downloading was working.
  • The new package was staged.
  • Application restart alone had not completed registration.

6. Discovery of a second disabled Windows service: Update Orchestrator

I then investigated whether automatic updates were disabled by Windows or Microsoft Store configuration.

Store telemetry explicitly reported:

IsAutoUpdateEnabled = true

At 19:33:36, a non-interactive Store update scan completed successfully:

Event: EndScanForUpdates

IsOnline = true
IsInteractive = false
NumberOfApplicableUpdates = 40
AutoUpdateWorkScheduledWithUOTime =
2026-11-25T19:05:43+08:00
HResult = 0

The reported number of applicable updates refers to the overall scan, not specifically to Codex.

At 19:33:46, the Store created a non-interactive Codex update work item:

CallerApplicationId =
ScanForUpdatesForUser-taskhostw-SearchForAllUpdatesWithUpdateOptionsAsync

IsInteractive = 0
StageButDoNotInstall = 0

PrevState = Pending
NewState = LowPriority
HResult = 0

However, further service inspection revealed that Update Orchestrator (UsoSvc) was disabled.

Get-Service -Name UsoSvc, DoSvc |
    Format-Table Name, Status, StartType -AutoSize

sc.exe qc UsoSvc
sc.exe query UsoSvc

Relevant output before recovery:

Name    Status   StartType
----    ------   ---------
DoSvc   Running  Manual
UsoSvc  Stopped  Disabled
SERVICE_NAME: UsoSvc
START_TYPE: 4 DISABLED
STATE: 1 STOPPED

A read-only registry query additionally confirmed:

Start            : 4
DelayedAutoStart : 1

As with Delivery Optimization, I have not established when or why this service was originally disabled.

7. Restoring Update Orchestrator

Because the service retained its delayed automatic startup flag, I chose to restore delayed automatic startup through the standard Windows Service Control utility.

This was a recovery choice based on the configuration observed on my machine, not a claim that this is the factory-default startup type for every Windows version or edition.

Before making changes, I exported the original service registry configuration.

$backup = Join-Path $env:USERPROFILE `
    "UsoSvc-backup-$(Get-Date -Format 'yyyyMMdd-HHmmss').reg"

reg.exe export `
    'HKLM\SYSTEM\CurrentControlSet\Services\UsoSvc' `
    $backup

Test-Path -LiteralPath $backup

The export succeeded, and Test-Path returned True.

In an elevated PowerShell session, I then ran:

sc.exe config UsoSvc start= delayed-auto

Start-Service -Name UsoSvc -ErrorAction Stop

The configuration change succeeded.

Verification:

Name    Status   StartType
----    ------   ---------
DoSvc   Running  Manual
UsoSvc  Running  Automatic
SERVICE_NAME: UsoSvc
START_TYPE: 2 AUTO_START (DELAYED)

No service ACL, registry permission, or ownership changes were made.

I did not directly edit service registry values, reset Microsoft Store, or force installation of the target MSIX package.

Important: These commands document the recovery performed on my personally managed computer. I would not recommend changing a correctly functioning service or overriding organizational update policies.

8. What happened immediately after restoring UsoSvc?

The Store log recorded two new update-orchestrator requests shortly after the recovery.

8.1 Device-level scan

Time: 2026-11-25 20:04:10

ClientAppId =
Update;MoUpdateOrchestratorDeviceScan-MoUsoCoreWorker-
SearchForAllUpdatesWithUpdateOptionsAsync

PluginWorkCreationHr = 0

The Codex work item entered:

IsInteractive = 0
StageButDoNotInstall = 0
PrevState = Pending
NewState = LowPriority
HResult = 0

8.2 User-level scan

Time: 2026-11-25 20:04:50

ClientAppId =
Update;MoUpdateOrchestratorUserScan-MoUsoCoreWorker-
SearchForAllUpdatesWithUpdateOptionsAsync

PluginWorkCreationHr = 0

This request also created a non-interactive Codex work item in the LowPriority state.

These events provide direct evidence that Update Orchestrator participated in Store update scanning after the service was restored.

However, the subsequent events revealed an important limitation.

8.3 The orchestrator work items were aborted during rescans

The more complete Store event sequence contained:

Aborting update item due to rescan
Item = 9PLM9XGG6VKS

At 20:04:50, the previous device-level orchestrator work item completed with:

Event: FulfillmentComplete

ClientAppId =
Update;MoUpdateOrchestratorDeviceScan-MoUsoCoreWorker-
SearchForAllUpdatesWithUpdateOptionsAsync

HResult = -2147467260

At 20:06:55, the user-level orchestrator work item also completed with:

Event: FulfillmentComplete

ClientAppId =
Update;MoUpdateOrchestratorUserScan-MoUsoCoreWorker-
SearchForAllUpdatesWithUpdateOptionsAsync

HResult = -2147467260

The HRESULT corresponds to 0x80004004 (E_ABORT).

The surrounding events indicate that the work items were aborted during rescanning. A subsequent application-initiated request replaced the previous queue work.

Therefore, I did not observe either orchestrator work item directly completing installation of the Codex update.

This is why I cannot attribute the eventual registration solely to restoring UsoSvc.

9. Second application restart experiment

After restoring Update Orchestrator, I performed another normal Codex restart without clicking the update button.

The application briefly displayed update progress and then returned to the available-update indicator.

The Store log identified the application process and the update request:

Process: ChatGPT.exe

ClientAppId =
Update;ChatGPT-SearchForUpdatesWithPausedAddAsync

The request was followed by:

ResumeWithFlags request
clientAppId = ChatGPT

At 20:07:14, the download and staging operation completed successfully again.

Event: EndDownload
HResult = 0
ExtendedHResult = 0
DownloadSize = 1664000

The work item returned to:

StageButDoNotInstall = 1
PrevState = Working
NewState = BlockedOnUser

The registered MSIX remained on 26.1120.5083.0.

This demonstrated that restoring and starting Update Orchestrator did not immediately resolve the registration behavior through application restart alone.

10. Successful automatic registration after restarting Windows

I then restarted Windows normally, without manually installing an MSIX or clicking the in-app update button.

The operating system's boot time was independently verified:

Get-CimInstance Win32_OperatingSystem |
    Select-Object LastBootUpTime

Actual result:

2026/11/25 20:28:17

After signing in, I found that the available-update indicator had disappeared.

More importantly, querying the actual registered package confirmed:

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

This was independently confirmed at 20:30:17 and again at 20:30:56.

The change was therefore not merely a UI state change: the newer package was actually registered for the current user.

11. Identifying the actual registration caller

To determine which Windows component completed the upgrade, I extracted the original AppX deployment event XML rather than relying only on rendered event messages.

Log source:

Microsoft-Windows-AppXDeploymentServer/Operational

11.1 On-demand registration

At 20:28:30, Event ID 604 recorded the beginning of an OnDemandRegisterOperation.

Selected fields from the original XML:

<Data Name='DeploymentOperation'>27</Data>
<Data Name='DependencyPaths'>OpenAI.Codex_26.1120.6357.0_x64__2p2nqsd0c76g0</Data>
<Data Name='CallingProcess'>svchost.exe,AppReadiness</Data>

The same deployment activity contained Event ID 642:

OnDemandRegisterPackage
PACKAGE_STATUS_REGISTRATION_REQUIRED_BLOCKING

This event identified the existing 26.1120.5083.0 package and recorded the registration-required blocking status.

Event ID 400 subsequently confirmed successful completion of the on-demand registration operation.

11.2 Actual package registration

At 20:29:01, the formal Register operation began.

The resolved deployment request explicitly identified the old-to-new package transition:

OpenAI.Codex_26.1120.5083.0_x64__2p2nqsd0c76g0

is updating to

OpenAI.Codex_26.1120.6357.0_x64__2p2nqsd0c76g0

At 20:29:04, Event ID 400 reported successful registration.

Selected raw XML fields:

<Data Name='DeploymentOperation'>6</Data>
<Data Name='PackageFullName'>OpenAI.Codex_26.1120.6357.0_x64__2p2nqsd0c76g0</Data>
<Data Name='CallingProcess'>svchost.exe,AppReadiness</Data>

The same event contained a PackageSourceUri using the x-windowsupdate:// scheme.

The deployment activity also recorded successful removal of the old package registration.

The explicit CallingProcess field is important here. It identifies the caller recorded by the deployment operation, rather than requiring an inference based only on the event-emitting process ID.

11.3 Registration during sign-in

At 20:29:05, the following events were recorded:

Event ID Operation Result
613 Register performance summary 4078 ms
821 Package registration at user sign-in 0x0
822 Registry update completion 0x0

These events establish that the previously staged package was registered successfully during Windows sign-in.

12. Independent confirmation from AppReadiness

I then checked the AppReadiness event logs themselves.

Both channels were enabled:

Microsoft-Windows-AppReadiness/Operational
Microsoft-Windows-AppReadiness/Admin

The relevant AppReadiness events were:

Time Event ID Description
20:28:31 240 Added install::OpenAI.Codex_2p2nqsd0c76g0 task
20:29:05 213 Installation succeeded in 4.0849063 seconds
20:29:05 241 Removed the completed installation task

The event descriptions above are translated from my localized Windows logs.

12.1 Cross-provider ActivityID correlation

The ActivityID recorded in AppReadiness Event 240 was identical to the ActivityID of AppX Event 604:

7346e6b3-7cd8-0006-1907-4773d87cdd01

This directly correlates the AppX on-demand registration activity with the creation of the AppReadiness installation task.

The later formal Register activity used a different ActivityID. I did not observe a RelatedActivityID connecting every deployment event into a single continuous activity.

Nevertheless, the explicit CallingProcess fields, matching package identity, operation sequence, completion timestamps, and AppReadiness installation event provide mutually supporting evidence for the final registration path.

12.2 Independent duration comparison

Source Reported duration
AppX Event 613 4.078 seconds
AppReadiness Event 213 4.0849063 seconds

The reported durations differ by approximately 7 milliseconds.

Together with the matching completion time and package identity, this strongly corroborates that the two providers were reporting the same installation operation.

The final registration caller recorded by Windows was AppReadiness, not the Codex application process or Update Orchestrator.

13. Store checkpoint recovery after successful registration

After the package had already been registered successfully, the Store attempted to recover the earlier update work from its checkpoint.

At 20:30:38, Event ID 2007 reported:

Failed to recover work from checkpoint.
PackageFamilyName = OpenAI.Codex_2p2nqsd0c76g0
HRESULT = 0x80240024

Microsoft defines 0x80240024 as WU_E_NO_UPDATE.

One possible explanation is that the previously queued update was no longer applicable because AppReadiness had already registered the target version.

The timing and the verified installed version are consistent with that interpretation. However, the log does not explicitly establish that as the reason for the checkpoint recovery result.

The registered MSIX remained healthy on the target version.

14. Consolidated timeline

Date and time Observed event
Nov 24, 14:23:10 Microsoft Desktop App Installer download fails with 0x80004002
Nov 24, 17:07:43 Codex download fails with the same HRESULT
Nov 24, before 17:14 Delivery Optimization restored
Nov 24, 17:14:39 Codex native update successfully registers 26.1120.5083.0
Nov 24, 19:12:07 Microsoft Desktop App Installer background update succeeds
Nov 25, approximately 19:04 Codex begins downloading the next update automatically
Nov 25, 19:08:29 New MSIX successfully staged
Nov 25, 19:08:30 Store EndDownload succeeds
Nov 25, 19:22:33 Application restart experiment stages the update again
Nov 25, 19:33:36 Non-interactive Store scan succeeds
Nov 25, 19:33:46 Codex update work enters LowPriority
Nov 25, approximately 20:01 Update Orchestrator restored
Nov 25, 20:04:10 Device-level orchestrator scan
Nov 25, 20:04:50 User-level orchestrator scan; previous work aborted during rescan
Nov 25, 20:06:55 Application update request replaces orchestrator work
Nov 25, 20:07:14 Stage succeeds again; queue returns to BlockedOnUser
Nov 25, 20:28:17 Windows boots
Nov 25, 20:28:30 AppReadiness calls on-demand package registration
Nov 25, 20:28:31 AppReadiness creates installation task
Nov 25, 20:29:01 Formal Register operation begins
Nov 25, 20:29:04 New MSIX successfully registered
Nov 25, 20:29:05 Sign-in registration and AppReadiness installation succeed
Nov 25, 20:30:17 Registered MSIX verified as 26.1120.6357.0
Nov 25, 20:30:38 Store checkpoint recovery reports WU_E_NO_UPDATE
Nov 25, 20:30:56 Target MSIX independently verified again

15. Practical diagnostic guidance for other affected users

For users experiencing similar update failures, I would first recommend read-only checks rather than reinstalling the application or changing protected Windows components.

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

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

sc.exe qc DoSvc
sc.exe qc UsoSvc

In an elevated PowerShell session, the package inventory can also be inspected:

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

The three principal diagnostic scenarios are:

Observation Suggested diagnostic direction
No newer package is staged Investigate download and staging failures
Newer package is staged, but the old version remains installed Investigate registration and update finalization
New version is registered, but the application does not relaunch Investigate application restart and activation

If a relevant Windows service is unexpectedly disabled, investigate why before modifying it.

If a newer package is already staged, a normal Windows restart may provide a useful diagnostic or recovery path. Save all work first.

On my machine, restarting Windows allowed AppReadiness to complete the registration. This is an observed recovery path, not a universal guarantee or an ideal requirement for routine desktop application updates.

I would not recommend disabling working services to reproduce the problem, taking ownership of protected Windows components, modifying service ACLs, or overriding organizational policies.

16. What this investigation establishes — and what it does not

Finding Evidence status
Delivery Optimization was disabled before recovery Confirmed
Update Orchestrator was disabled before recovery Confirmed
Native Codex update succeeded after restoring DoSvc Confirmed
Another Store application recovered from the same download-stage HRESULT Confirmed
DoSvc was an important contributor to the download failures on this machine Strongly supported, not experimentally isolated
Codex automatically downloaded and staged the next update Confirmed
Store automatic updates were enabled Confirmed
Update Orchestrator participated in scans after restoration Confirmed
The orchestrator work items directly completed Codex installation Not established; the observed work items were aborted during rescans
AppReadiness was the final recorded registration caller Confirmed
AppReadiness and AppX on-demand registration activities were correlated Confirmed
A Windows reboot followed by sign-in completed the staged update Confirmed
Restoring UsoSvc was necessary for the successful registration Not established
Rebooting with only DoSvc restored would have produced the same result Not tested
Completely unattended installation without a Windows reboot Not yet verified
The original Microsoft Store graphical-interface problem was resolved Not revalidated in this follow-up

I have intentionally not disabled the recovered services again to perform a destructive counterfactual test.

17. Suggestions for the Codex Windows updater

Based on the combined November 24 and November 25 findings, I would particularly welcome improvements in the following areas:

  1. Read-only service diagnostics

    Detect unexpectedly disabled Windows services when relevant to a failed update, including Delivery Optimization and Update Orchestrator. Do not automatically change system service configurations.

  2. Explicit separation of update phases

    Distinguish between update discovery, downloading, staging, registration, and application relaunch.

    A successful Stage operation should not be presented as equivalent to a successful installation.

  3. Accurate handling of staged packages

    If a newer MSIX package is already staged while an older version remains registered, expose this state clearly rather than repeatedly displaying indistinguishable download or update progress.

  4. Update-finalization diagnostics

    Investigate why normal application restart may leave a staged update unregistered, while Windows sign-in and AppReadiness successfully complete registration.

  5. Store queue reconciliation

    Improve diagnostics when application-initiated scans replace existing background update work or when previously queued work is recovered after a package has already been registered by another Windows component.

  6. Actionable error reporting

    Preserve the underlying HRESULT, update stage, queue status, and deployment caller information when available.

  7. Explicit restart requirements

    If registration is deferred until Windows sign-in or reboot, make this clear to the user instead of leaving the application in a persistent available-update state.

  8. Optional sanitized updater diagnostics

    A support-oriented report containing the current registered MSIX version, staged package version, Store queue state, relevant service startup types, and recent deployment results would significantly simplify investigations of this kind.

18. References

Previous investigation:

Microsoft documentation:

19. Conclusion

After several months of relying on manually downloaded MSIX packages, I have now verified two successful recovery outcomes:

  1. The native Codex updater successfully downloaded, installed, and relaunched the application after Delivery Optimization was restored on November 24.
  2. The next update was automatically downloaded and staged on November 25, then successfully registered by Windows AppReadiness during sign-in after a system reboot, without requiring a manual MSIX installation or an in-app update-button click.

Restoring Update Orchestrator was also followed by observable recovery of device-level and user-level Store update scanning. However, I cannot establish that this service restoration was necessary for the final registration.

The remaining question is whether subsequent updates can complete registration automatically without a Windows reboot or explicit installation confirmation.

I hope this investigation helps distinguish the different Windows updater failure modes and provides actionable evidence for improving Codex's update diagnostics and finalization behavior.

For transparency, AI-assisted tools were used to research documentation, analyze event logs, and organize this report. All local commands, configuration changes, system restarts, and observed verification results were personally performed on my Windows machine. Event excerpts have been selected and sanitized to remove personal and device-specific identifiers.

forgottenlab avatar Nov 25 '26 12:11 forgottenlab