Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1111.9664.0 - 26.1117.3838.0
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26300.0 x64
What issue are you seeing?
Since more than a week (also after Windows 2026-10 Preview Update (KB5127936) and 2026-11 Security Update (KB5132061) on 11/11/2026), underlying AppX deployment, AppContainer, and package cleanup bugs introduced in this build are also impacting the Desktop ChatGPT / Codex app.
The ChatGPT for Windows and Codex App is throwing new errors and bugs. These 0x80073D02 (ERROR_PACKAGES_IN_USE) errors cannot be resolved on the user side—regardless of any troubleshooting. They only disappear when uninstalling ChatGPT and immediately reappear upon reinstallation:
At every boot (AppXDeployment-Server - 3 errors) — svchost.exe (wsappx -p)
Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.Deployment Remove operation with target volume C: on Package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt from: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.AppX Deployment operation failed for package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt with error 0x80073D02. The specific error text for this failure is: Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.
Every time the ChatGPT / Codex app is opened (AppXDeployment-Server - 2 errors)
Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.Deployment Remove operation with target volume C: on Package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt from: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.
Pre-existing errors on exits/reboots
These errors were already appearing occasionally before these updates (for months) on exits/reboots as Codex/OpenAI tries to start this system service early (along with the Codex OpenAI Sandbox service not being able to complete the function - error OS 1800 on the subsequent boot):
AppXDeployment(2):Failed to start system service: appxsvc with error: 0x8007045B (2)CodexSandboxService.OpenAI.Codex(2, sometimes 4):unable to restore package uninstall listener: open the logged-in user’s token and os error 1008(the last error records disappear whenDelayedStart 1is added to the service).
Also introduced with a recent Windows November Update (AppModel-Runtime) and only happening on Codex/Chat GPT Windows installations.
DeleteAppContainerProfile failed with error 0x800706D9 because it was unable to unregister with the firewall.CreateAppContainerProfile failed for AppContainer onecore\ds\security\gina\profile\profext\appcontainer.cpp Line:1962 defenderaiplatformhost DefenderAiPlatformHost with error 0x800706D9.
What steps can reproduce the bug?
-
One time: Install the ChatGPT desktop app from Microsoft Store and sign in.
-
Restart Windows.
-
Do or do not not manually launch ChatGPT or use Codex.
-
Open the Windows Application event log.
-
Observe the errors on boot : 3 AppXDeployment-Server (0x80073D02), 2 AppModel-Runtime (0x800706D9)
-
Occionally also 2 CodexSandboxService.OpenAI.Codex` (can't complete function / unable to restore package uninstall listener error 1008).
-
Observe also other errors from shutdown/reboot such as 2 AppXDeployment: Failed to start system service: appxsvc with error: 0x8007045B.
-
Repeat the restart: the same errors return.
-
Open the Chat GPT desktop app
-
Observe 3
0x80073D02(ERROR_PACKAGES_IN_USE) for OpenAI.CodexPrimaryRuntime
What is the expected behavior?
- No errors should appear in Event Viewer on boot or opening the Chat GPT Desktop app for the runtime package.
- The installed tasks and services should start or deploy successfully without producing bugs, duplicate errors after every single boot, including or besides when ChatGPT is not opened or used.
- The app package should be deployed or removed succesfully especially when resources are not in use.
Additional information
Reinstalling or a clean Windows/PC reset and installation does not fix this. The version is marked with a placeholder because it updates frequently to a new version package, keeps trying to remove the current one, and keeps failing on boot—even when ChatGPT is not running or anything.
The only way to fix these errors is by uninstalling Codex / the Desktop ChatGPT app, but it comes back again after reinstalling — I have been through every troubleshooting step.
Note: Please note that I monitor all logs (errors and alerts) across all log sources and files, not just the ones filtered under Administrative Events.
Version app : until 26.1117.3838.0
Windows 11 Pro - 26H2 - 26300.9974 to 26300.10075
Errors started to appear after 30 October - 10 November 2026 - not before.
Activity
github-actions commentedon Nov 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
mdruy commentedon Nov 21, 2026
Additional verification: the active runtime is queued for removal
I reproduced this on Windows 11 26H2 with desktop package
26.1117.3838.0and runtime26.1119.907.0. The installed bootstrap callspinPrimaryRuntimePackageand thendeferPrimaryRuntimeRemovalfor the same selected framework. The Windows StateRepository has a persistent file-backed package dependency for that runtime, pointing toLocalState/PrimaryRuntime.lifetime.ChatGPT.exewithDeploymentOptions=0x2000. At boot, a separate Remove activity identifiessvchost.exe,AppReadinesswithDeploymentOptions=0x0. Both stop atDynamicDependenciesInUsewith0x80073D02. The boot failure also occurred with the Codex sandbox service stopped.26.1116.1220.0, at boot (22:31:55.796) and on launch (23:21:16.372), before KB5132057 was installed. The older source MSIX still exists, while the current runtime's source archive was cleaned from LocalCache. Both cases fail at the dependency check.0x8007045Brecords came from the stopping Codex sandbox service PID. The separate startup1008events concern restoring the uninstall listener before the owner's logon token is available (Chat GPT for Windows: duplicate CodexSandboxService errors / ERROR_NO_TOKEN (1008) on every boot and AppXDeployment/AppXDeployment-Server errors 0x8007045B and 0x80080008 #50719). The Defender0x800706D9error appeared before the OpenAI Remove activity during a captured boot. Its causal link to this runtime remains unverified.Could the desktop client avoid queuing removal of the selected framework while it has a persistent dependency, or can the boot path preserve deferral until the dependency is released? Please identify a fixed desktop build or a supported setting that avoids the recurring errors. No package or service was changed for these checks.