Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.915.31029
What subscription do you have?
plus
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64 Windows 10 Pro 22H2
What issue are you seeing?
The Codex Windows desktop in-app updater detected and downloaded package 26.915.3509.0, then closed the application. However, the registered package remained on 26.911.7940.0.
Reopening Codex returned to the old version, and the update was still shown as incomplete.
The updater log reported that the update was successfully downloaded:
2026-09-18T04:09:55.987Z [windows-store-updater] Checking for update: buildVersion=26.911.7940.0 manifestBuildVersion=26.915.3509.0
2026-09-18T04:10:00.421Z [windows-store-updater] completed=true hasUpdate=true overallState=Completed
2026-09-18T04:10:00.421Z [sparkle] action=download_completed result=succeeded
AppXDeploymentServer recorded a successful SYSTEM-context staging operation for:
OpenAI.Codex_26.915.3509.0_x64__2p2nqsd0c76g0
However, the staging summary showed "Registration cost: 0 ms", and I could not find a subsequent successful registration/finalization operation from the updater.
The target package manifest introduces a packaged LocalSystem service:
- packagedServices capability
- localSystemServices capability
- Service name: CodexSandboxService.OpenAI.Codex
- Executable: app/resources/codex-windows-sandbox-service.exe
- Startup type: auto
- Account: localSystem
As a diagnostic test, a separate non-elevated registration attempt failed with:
0x80073D28: The package installation failed because administrator privileges are required.
Administrator privileges are required to install a packaged service.
Running the same package-family registration from an elevated Windows PowerShell 5.1 process succeeded.
After elevated registration:
- The registered package version became 26.915.3509.0
- Package status became Ok
- CodexSandboxService.OpenAI.Codex was installed and running
- Codex opened normally
This appears to be an updater/elevation handoff problem related to the newly added packaged LocalSystem sandbox service.
What steps can reproduce the bug?
- Start Codex on Windows 10 x64 with MSIX package version 26.911.7940.0.
- Wait for the in-app updater to offer version 26.915.3509.0.
- Click the Update button.
- The update downloads and Codex closes.
- Reopen Codex.
- Observe that the registered package is still 26.911.7940.0 and the update remains incomplete.
- Check the AppX deployment events: version 26.915.3509.0 was staged, but registration was not completed.
- As a diagnostic test, run the following from a non-elevated Windows PowerShell 5.1 process:
Add-AppxPackage -RegisterByFamilyName -MainPackage 'OpenAI.Codex_2p2nqsd0c76g0' -ForceApplicationShutdown
- The command fails with 0x80073D28 because installing the packaged service requires administrator privileges.
- Run the same command from an elevated Windows PowerShell 5.1 process.
- Registration succeeds and the new version works.
What is the expected behavior?
The in-app updater should recognize that the target package installs a packaged LocalSystem service and complete registration using the required privileged deployment path.
If elevation is required, it should request elevation through UAC.
The updater should not close Codex and silently leave the previous package version registered. If registration fails, it should show a clear error message and recovery instructions.
Additional information
Related issues with similar user-visible update failures:
- Windows Store Codex repeatedly fails to update because old MSIX package remains locked/in use #25770
- [Windows] MSIX update leaves Codex unregistered #35366
- [Windows] Codex/ChatGPT desktop MSIX auto-updater loops forever — new build downloads but never deploys; app also launches into a permanently-suspended process #38843
- [Windows][26.903.8094.0] ChatGPT desktop app stuck in update loop and exits during update #44702
This report may have a different underlying cause: the target version adds a packaged LocalSystem sandbox service, and non-elevated registration now fails with 0x80073D28.
Potentially related sandbox-service work:
- Add Windows sandbox service lifecycle scaffolding #42341
- Add service-managed package registration for Windows sandbox accounts #45542
I can provide a sanitized AppX deployment event timeline if needed. I have not attached the complete application logs because they contain local paths and other machine-specific information.
Activity
hui6900 commentedon Sep 24, 2026
Same shape here on Windows 11 Pro 26200 (x64), updating a Store-signed
OpenAI.Codex(product9PLM9XGG6VKS) from26.917.8451.0to26.917.9434.0— plus one detail that may explain why the commit never happens.Observed
当前首选版本 … 新的首选版本为 26.917.9434.0), but the commit failed:0x80073D02 — Unable to install because the following apps need to be closed: OpenAI.Codex_26.917.8451.0_x64__2p2nqsd0c76g0CodexSandboxService.OpenAI.Codex(startup type auto, executableapp/resources/codex-windows-sandbox-service.exe), which keeps the old package's files mapped — so "close the app" is not sufficient here.Add-AppxPackagedid not fail fast either: AppXDeploymentServer loggedFailed to reach state BlockDeploymentIfNeededafter ~29 min (active time 470 ms). It parks waiting for the in-use condition instead of returning the error, which is why this looks like a hang.Workaround that completed the update in ~9 seconds (elevated):
Package ends at
26.917.9434.0, statusOk, service back to Running, old package directory removed.Suggestion: the commit path should stop the packaged service before registering (service shutdown, not only application shutdown), since that service runs regardless of whether the app UI is open.
Caveat: the successful run changed two things at once (stopping the service and adding
-ForceApplicationShutdown), so I can't separate them with certainty. The service is the only package-owned process running at the time, hence the prime suspect.gtp97 commentedon Oct 10, 2026
Reproduced again on a newer Windows 11 Store/MSIX upgrade path, so this issue appears to remain present in the October build.
Environment:
OpenAI.Codex_26.901.6511.0_x64__2p2nqsd0c76g0OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0Observed on 2026-10-10:
Found update for package = OpenAI.Codex_2p2nqsd0c76g0.ChatGPT-SearchForUpdatesWithPausedAddAsync.0x80073D28: administrator privileges are required to install a packaged service.After manual elevated intervention, the registered package is now
26.1007.2314.0and status is OK.This confirms that the updater/elevation handoff problem described here still affects a current Store-delivered update. Suggested UX/recovery improvements:
ERROR_PACKAGED_SERVICE_REQUIRES_ADMIN_PRIVILEGESand request UAC explicitly.I am not attaching full logs because they contain machine-specific information; the event details above are sanitized.
zm-oai commentedon Nov 6, 2026
I tested an in-app Microsoft Store update on Windows 11 x64 starting from
26.1007.2314.0, the target version in the October follow-up. To exercise a first-time service install, I removed the sandbox service declaration and capabilities from the starting MSIX and test-signed it. The application files matched the production release.codex-windows-sandbox-setup.exeUAC prompt at startup and verified that the service was absent. The unelevated app then downloaded a real Store offer.26.1103.3517.0for the same Windows user. Windows installedCodexSandboxService.OpenAI.Codexand started it asLocalSystem. No UAC prompt appeared during the update.5748exited cleanly at19:19:09.659 UTCand PID2256started at19:19:11.228 UTC, 1.569 seconds later. Search worked in the restarted app.This confirms the upgrade can succeed on this later client. The cause of the original Windows 10 registration failure is still open. In this test, Windows logged
ChatGPT-SearchForUpdatesWithPausedAddAsyncboth before and after the click, so that caller name alone cannot establish whether the October staging attempts followed a click.forgottenlab commentedon Nov 25, 2026
Hi! I have collected another Windows MSIX staging and registration case that may provide a useful comparison with this investigation.
I also read the later test by zm-oai:
#46370 (comment)
In particular, the observation that
ChatGPT-SearchForUpdatesWithPausedAddAsynccan appear both before and after an update-button click is consistent with my independent findings.On November 25, 2026, I observed the same caller during automatic background downloading, without clicking the update button.
My environment was Windows 11 25H2, build
26200.9168.The observed package states were:
The Store reported successful downloading and staging, but restarting Codex alone did not complete registration.
After a normal Windows restart, AppReadiness successfully registered the new package during sign-in.
The final AppX registration caller was explicitly recorded as:
I did not manually invoke an elevated package-registration command for this update.
The new registered package was independently verified as:
The full investigation is available here:
#38843 (comment)
Sections 4.3, 5, and 11–12 provide the most relevant evidence.
My case does not establish whether the original failure was related to packaged-service elevation, an in-use service, or another deployment condition. I did not reproduce the original first-time sandbox-service installation experiment.
However, it provides additional evidence that:
I hope this comparison helps narrow the investigation into the different Windows registration and update-finalization paths.