Persisting AppXDeployment-Server - 0X80073D02 errors (OpenAI.CodexPrimaryRuntime) / x64 - occasional crashes too
What version of the Codex App are you using (From “About Codex” dialog)?
26.1111.9664.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 less than a week (might be related to 2026-10 Preview Update (KB5127936) or introduced by 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.
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):
- Error 0x80073D02: The request cannot be processed because package
OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtis in use. - Deployment Remove operation with target volume C: on Package
OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtfrom: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02. - AppX Deployment operation failed for package
OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtwith error 0x80073D02. The specific error text for this failure is: Error 0x80073D02: The request cannot be processed because packageOpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtis 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__3k8sg7r9htsxtis in use. - Deployment Remove operation with target volume C: on Package
OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxtfrom: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.
The
OpenAI.CodexPrimaryRuntime.v26-1118-904-0_26.1118.904.0_x64__3k8sg7r9htsxt
Error 0x80073D02: Failure in the DynamicDependenciesInUse state handler.
These errors were already appearing occasionally before these update (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
(last error records disappeares when DelayedStart 1 is added to the service).
The only way to fix these errors is by uninstalling the Deskotp ChatGPT app but it comes back again after reinstalling - i have been through any troubleshoot step.
Occasional crashes or slow loading on opening Chat GPT happens as well since these errors became a bug.
What steps can reproduce the bug?
- Boot up Windows and sign in : 0x80073D02 - AppXDeployment-Server (2-3 errors)
- Open/ or start Chat GPT Desktop app : 0x80073D02 - AppXDeployment-Server (3 errors)
The same errors and frequency of them are reproducable accross multiple devices and regardless of clean (re-)installation Windows. Clean reset for PC and Windows did not help either.
Removing or letting the Chat GPT for Windows app uninstalled does not reproduce any errors.
Depending on current build/package version, the errors change the version in the event viewer errors.
What is the expected behavior?
Booting up to Windows or opening the Chat GPT for Windows app should not trigger these errors consequently - regardless of the app or any service running in background or not.
Additional information
Clean PC/Windows reinstall did not help. Moreover, Chat GPT started to regularly crash/auto-close at certain times since a November update.
The 0x80073d02 errors keep returning on every session for: OpenAI.CodexPrimaryRuntime
The only difference is that versions number change every now and then but the deployment operations keep failing on boot (even when not any services or Codex/Chat GPT app is running); In fact opening on every Chat GPT opening it trigger the exact same 3 errors consequently. Besides this 2-3 errors on boot every time (even when closed or not running any services); theres no way to not get the AppXDeployment-Server errors at any time.
Besides this the following others errors were already appearing occasionally before these update (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 (last error records disappeares when DelayedStart 1 is added to the service).
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #61514
Powered by Codex Action
I observed that only since November 2026, even through clean Windows-installs, everything is set up, run from and being used for Codex/Chat GPT in:
C:\Program Files\WindowsApps\ in stead of C:\Users\
This has since been resulting in a lot of issues, including unavoidable AppX- 0x80073D02 (ERROR_PACKAGES_IN_USE) / App-ModelRuntime 0x800706D9 errors cannot be resolved on the user side—regardless of any troubleshooting. They only disappear when uninstalling ChatGPT and immediately reappear upon reinstallation.
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.
The only way to fix these errors is by uninstalling the Deskotp ChatGPT app but it comes back again after reinstalling - i have been through any troubleshoot step. Clean PC/Windows reinstall did not help or avoid this mess from Codex/Chat GPT. Moreover, Chat GPT started to regularly crash/auto-close at certain times since a November update.
The 0x80073d02 errors keep returning on every session and now due to the November Update for: OpenAI.CodexPrimaryRuntime
Cross-referencing a new report that splits this into two separate problems, since the symptom "update never completes" and the 0x80073D02 errors are not the same failure.
The new issue: https://github.com/openai/codex/issues/63578
Summary of the distinction:
- (A) The
OpenAI.CodexPrimaryRuntime0x80073D02/Failure in the DynamicDependenciesInUse state handlerloop — same as reported here. Present on the reporter's machine as well, with 40 such events in 3 days. Not user-fixable, and it does not by itself block the app update. - (B) The update hang is caused by something else: a leftover
codex-chrome-native-host.exe(native messaging host of the ChatGPT browser extension) that keeps the old package's deployment metadata open, so AppX never satisfiesPackagesInUseClosedand cancels the register after ~10 minutes with no error shown in the Store UI.
One data point that may help triage the (A) side: on the reporter's machine the problem reproduces without KB5127936 / KB5132061 installed (build 26200.9457, only cumulative rollups 26100.1742.1.10 and 26100.9457.1.0 present), and none of the companion errors 0x8007045B, 0x800706D9 or os error 1008 ever appear there (0 hits over 14 days of AppXDeploymentServer/Operational, AppModel-Runtime/Admin and System). So the two suspect KBs are not necessary for (A) to occur, and the companion-error triad is not required either.
A version comparison for this older report. The current clean Windows install is 26300.10075, with KB5132688 listed as installed on November 23. The current OpenAI desktop MSIX is 26.1120.6357.0 and the framework is 26.1123.915.0. Both are newer than the versions in the original report. On November 25, I still recorded 0x80073D02 for three framework removal activities. For the exact AppX activities and process evidence, see #62868.
DISM CheckHealth and SFC verifyonly succeeded. The available matching Defender/AppContainer 0x800706D9 records in my archive predate this Windows installation and do not name an OpenAI package. The current AppX capture does not establish a causal link to Defender or a particular Windows KB. Please identify the supported way to trace the runtime dependency owner during cleanup on this build. An update that is blocked from installing should also remain distinct from this cleanup after boot or launch.
I can confirm that this issue is still present as of November 26, 2026.
Environment
- Windows 11 Home, 25H2, x64
- ChatGPT Plus
- Desktop app installed via Microsoft Store
Installed packages
| Package | Version | Status |
|---|---|---|
| OpenAI.Codex | 26.1120.6357.0 | Ok |
| OpenAI.CodexPrimaryRuntime | 26.1119.907.0 | NotAvailable |
| OpenAI.CodexPrimaryRuntime | 26.1123.915.0 | Ok |
Additional symptoms
- Occasional startup failures.
- An error during application startup.
- The Codex Windows Sandbox Service process remains running after closing the application.
- A newly created conversation disappeared after restarting the app.
- The reasoning effort slider is stuck on Ultra and cannot be adjusted.
Windows Event Viewer
Log: Microsoft-Windows-AppXDeploymentServer/Operational
Event IDs: 401, 664
Error: 0x80073D02 (ERROR_PACKAGES_IN_USE)
The Remove operation repeatedly fails for the following package because it is in use:
OpenAI.CodexPrimaryRuntime.v26-1123-915-0_26.1123.915.0_x64__3k8sg7r9htsxt
Recorded occurrences on November 26: 12:47:18, 13:43:05, 13:45:52, 13:47:31, 13:48:04.
The application is currently usable, but the reasoning effort selector remains broken.
I cannot confirm whether all these symptoms are related to the Runtime deployment errors.