Skip to content

AppX errors 0X80073D02 - 0x8007045B ( OpenAI.CodexPrimaryRuntime ) / x64 Chat GPT/Codex for Windows #62868

Open

Description

@mdruy

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 when DelayedStart 1 is 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?

  1. No errors should appear in Event Viewer on boot or opening the Chat GPT Desktop app for the runtime package.
  2. 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.
  3. 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

  1. added
    appIssues related to the Codex desktop app
    on Nov 21, 2026
  2. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    sandboxIssues related to permissions or sandboxing
    on Nov 21, 2026
  3. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. mdruy commented on Nov 21, 2026

    @mdruy
    Author

    Additional verification: the active runtime is queued for removal

    I reproduced this on Windows 11 26H2 with desktop package 26.1117.3838.0 and runtime 26.1119.907.0. The installed bootstrap calls pinPrimaryRuntimePackage and then deferPrimaryRuntimeRemoval for the same selected framework. The Windows StateRepository has a persistent file-backed package dependency for that runtime, pointing to LocalState/PrimaryRuntime.lifetime.

    • At app launch, Event 401 identifies ChatGPT.exe with DeploymentOptions=0x2000. At boot, a separate Remove activity identifies svchost.exe,AppReadiness with DeploymentOptions=0x0. Both stop at DynamicDependenciesInUse with 0x80073D02. The boot failure also occurred with the Codex sandbox service stopped.
    • An older trace on November 17 shows the same caller, flags and failure stage for runtime 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.
    • All 26,157 files listed in the two installed package block maps matched their hashes. The currently published signed x64 MSIX has the same app version and identical bootstrap archive, native updater and sandbox service binaries as the installation I tested.
    • In a captured shutdown, the two 0x8007045B records came from the stopping Codex sandbox service PID. The separate startup 1008 events 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 Defender 0x800706D9 error 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions