Repository navigation
Description
Summary
The ChatGPT Desktop in-app updater queues its own Microsoft Store update in a paused state, downloads the payload, then tries to commit the install from inside the running process whose files the install must replace. That can never succeed, so the UI hangs on "Preparing the update" with the bar about half filled: download complete, install impossible.
Worse, the abandoned paused queue item is left in invalid state, which makes the Microsoft Store's own Update button inert for this product. Pressing the in-app button therefore disables the one path that does work, and the app can sit many builds behind indefinitely.
Environment
| OS | Windows 11 Home Single Language 26100 |
| Package | OpenAI.Codex_2p2nqsd0c76g0 (Store product 9PLM9XGG6VKS) |
| Versions seen | 26.820.7780.0 through 26.903.9818.0 |
| Install source | Microsoft Store (MSIX) |
What happens
From Microsoft-Windows-Store/Operational, after pressing Update inside ChatGPT:
18:34:58 ResumeWithFlags request: productId = 9PLM9XGG6VKS, clientAppId = ChatGPT
18:34:58 DirectDownloadState check: clientId=ChatGPT, installType=Update
18:34:58 BeginAcquireLicense -> EndAcquireLicense -> BeginDownload
18:35:01 DownloadProgressHeartbeat :: ClientAppId = Update;ChatGPT-SearchForUpdatesWithPausedAddAsync
18:37:15 EndDownload <-- payload fully downloaded
06:07:10 FulfillmentComplete ... DownloadSize = 620977902
06:50:17 ResumeWithFlags request: clientAppId = ChatGPT <-- errors
06:59:45 ResumeWithFlags request: clientAppId = ChatGPT <-- errors
07:20:10 ResumeWithFlags request: clientAppId = ChatGPT <-- errors
The commit fails because the app is running. From AppXDeploymentServer/Operational:
Packages were not updated because affected apps are still running.
Running apps: {OpenAI.Codex_2p2nqsd0c76g0!App}
error 0x80073D02: Unable to install because the following apps need to be closed
OpenAI.Codex_<version>_x64__2p2nqsd0c76g0
Afterwards the Store's own button is dead. Every press logs only:
MoveToFront request: productId = 9PLM9XGG6VKS
Queue item cannot be moved to front of queue, invalid state Item = 9PLM9XGG6VKS
[Warning] Download running, not restarting Function: UWAInstallWork::Resume
[Error] ResumeWithFlags2 QueueItemId = {...}
while Delivery Optimization confirms nothing is transferring:
ForegroundDownloadCount : 0 BackgroundDownloadCount : 0
ForegroundDownloadsPending : 0 BackgroundDownloadsPending : 0
Impact
Full 600 to 800 MB packages are downloaded, staged, then discarded when registration fails, and re-downloaded on the next build. Observed repeatedly:
| Date | Build | Outcome |
|---|---|---|
| 08-28 | 26.820.10647.0 | register failed 0x80073D02, removed 2h33m later |
| 09-01 | 26.831.1445.0 | staged 757 MB, removed next morning, never registered |
| 09-03 | 26.901.1978.0 | register failed twice (13:20, 14:32), removed next day |
| 09-10 | 26.903.9818.0 | staged 06:41, removed 10:51 |
At one point the Delivery Optimization cache held 3.9 GB across seven partial Codex payloads (0%, 1%, 5%, 27%, 50%, 82%, 83%) from discarded builds. The app stayed on a build from five days earlier while this repeated daily.
Hibernation makes it self-sustaining: it preserves running processes, so the app resumes still running and effectively never exits, so registration never gets its window.
Expected behaviour
The updater should either request the install with ForceTargetApplicationShutdown and exit, or defer the commit to next launch, which is the pattern Chrome and other Electron updaters use. It should not attempt to commit an MSIX install from inside the process being replaced, and it should not leave a paused queue item behind when it gives up.
Workaround for other users
- Never press the in-app Update button.
- Fully quit ChatGPT (tray icon, Quit). Closing the window leaves around 9 processes alive.
- Update from the Microsoft Store product page with the app closed.
If the Store button is already dead, the queue item has to be cleared first: stop InstallService, wuauserv, DoSvc and BITS, clear %LOCALAPPDATA%\Packages\Microsoft.WindowsStore_8wekyb3d8bbwe\LocalCache, then run wsreset. Note that a Microsoft.WindowsStore item stuck at 0x80240016 ("another installation is already in progress") in the same queue can head-of-line block this product.
Notes for triage
downloadSize: 1in earlyInstallStatenotifications is a normal placeholder, not corruption. Healthy items show it too, before the real size resolves.- The Store UI is unreliable here: it displayed "Downloading" and "Queued" while
AppInstallManager.GetCurrentStatus()reportedReadyToDownloadorPendingwith 0 bytes. AppInstallItem.Restart()andAppInstallManager.Restart(productId)both returnE_FAILon the stuck item.Cancel()reports success without removing it.
Activity
github-actions commentedon Sep 10, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
forgottenlab commentedon Nov 25, 2026
Hi! I found several observations in my November 25 investigation that appear particularly relevant to your analysis of paused Store update items and the installation handoff.
I independently observed the same updater request:
The Store work item contained:
One potentially useful distinction is that I observed this sequence during automatic background downloading, without clicking the in-app update button. The
IsInteractiveclassification therefore does not necessarily indicate a physical user click.I also found three additional behaviors:
1. Background update work was replaced during rescans.
Device-level and user-level Update Orchestrator work items entered
LowPriority. Subsequent rescans aborted them with0x80004004 (E_ABORT), and a ChatGPT-initiated update request replaced the previous work.2. The staged payload appeared to be reused.
The first successful EndDownload reported
344577690bytes. A subsequent application restart reported1664000bytes, while AppX recorded zero additional stage-required cost.This is consistent with reuse of previously prepared content, although these telemetry values do not establish actual network traffic.
3. Windows eventually completed registration through AppReadiness.
Restarting ChatGPT alone did not apply the staged update. After restarting Windows, AppReadiness registered the newer package during sign-in.
Raw AppX XML confirmed:
After successful registration, Store Event 2007 reported:
This is
WU_E_NO_UPDATE. One possible explanation is that the queued update was no longer applicable after AppReadiness had already registered it.My full investigation is available here:
#38843 (comment)
Sections 4.3, 5, 8, 9, and 13 are particularly relevant to your queue analysis. Sections 11–12 document the final registration caller and cross-provider event correlation.
I have not established that the application-in-use error or invalid queue state in your report has the same underlying cause as my case. However, these additional observations may help investigate how the in-app updater interacts with existing Store work items and deferred package registration.