Skip to content

[Windows 11] ChatGPT/Codex MSIX installation repeatedly fails with 0x80073CF6 / 0x80070005 – stale packaged service registration #53132

Open

Description

@y614516676

What version of the Codex App are you using (From “About Codex” dialog)?

26.1007.2314.0

What subscription do you have?

plus

What platform is your computer?

Windows 11 Home Single Language (Chinese), x64, Build 26200.9457

What issue are you seeing?

Environment

  • OS: Windows 11 Home Single Language (Chinese), x64
  • Windows build: 26200.9457
  • Installation source: Microsoft Store
  • Package family: OpenAI.Codex_2p2nqsd0c76g0
  • Current staged package: OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0
  • Previously installed version referenced by the Windows service: 26.928.3736.0

Issue description

The ChatGPT/Codex Windows desktop application repeatedly fails to install or update through Microsoft Store.

After restarting Windows, the application may become unavailable through its normal Windows entry points, even though its executable files remain under C:\Program Files\WindowsApps.

The executable can sometimes be launched directly, but Windows fails to register the application package correctly.

The problem has occurred repeatedly since October 9, 2026.

Steps to reproduce

  1. Install or update the ChatGPT/Codex desktop application using Microsoft Store.
  2. Restart Windows or retry application installation/registration.
  3. Windows attempts to register the OpenAI.Codex MSIX package.
  4. Registration fails during the windows.service extension registration phase.
  5. The package remains in the Servicing / Staged state.
  6. Subsequent installation or registration attempts fail with the same errors.

Expected behavior

The ChatGPT/Codex desktop application should install and update successfully through Microsoft Store.

Application package registration should complete without requiring repeated reinstalls or manual intervention.

Actual behavior

The package is staged, but Windows fails to register its packaged service extension.

The following PowerShell command:

Get-AppxPackage -AllUsers -Name OpenAI.Codex

returns:

Name                   : OpenAI.Codex
Version                : 26.1007.2314.0
Status                 : Servicing
PackageUserInformation : {S-1-5-18 [S-1-5-18]: Staged}

Relevant Windows event logs

Source: Microsoft-Windows-AppXDeploymentServer/Operational

October 11, 2026, 22:13:57 — Event ID 306

Error 0x80070005:
Windows could not register the windows.service extension.
Access is denied.

October 11, 2026, 22:13:57 — Event ID 316

Error 0x80070005:
The registration request failed because access was denied
while registering the windows.service extension.

October 11, 2026, 22:13:57 — Event ID 331

Error 0x8007139F:
The group or resource is not in the correct state
to perform the requested operation.

October 11, 2026, 22:13:57 — Event ID 300

Error 0x80073CF6:
Unable to register package OpenAI.Codex_2p2nqsd0c76g0.
Package registration failed.

October 11, 2026, 22:13:58 — Event ID 404

AppX deployment of package
OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0
failed with error 0x80073CF6.

Underlying error:
0x80070005 — Access denied during
windows.service extension registration.

October 11, 2026, 22:13:58 — Event ID 649

ACLs repaired successfully for
C:\Program Files\WindowsApps\
OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0.

Register next time should succeed.

However, subsequent registration attempts continue to fail.

Additional error — October 11, 2026, 20:58:55 — Event ID 404

Error 0x80073D28:
Administrator privileges are required
to install a packaged service.

The 0x80070005 failure also occurs when attempting package registration from an elevated administrator PowerShell session.

Possible stale packaged service

Windows still contains the following service:

CodexSandboxService.OpenAI.Codex

Observed service details:

Service name: CodexSandboxService.OpenAI.Codex
Display name: ChatGPT
Status: Stopped
Start type: Manual

The service's registered executable path points to the previous package:

C:\Program Files\WindowsApps\
OpenAI.Codex_26.928.3736.0_x64__2p2nqsd0c76g0\
app\resources\codex-windows-sandbox-service.exe

However:

  • The old executable path no longer exists (Test-Path returns False).
  • The new version's sandbox service executable exists (Test-Path returns True).
  • Get-AppxPackage -AllUsers only reports the newer package.
  • Attempting to delete the old service using elevated PowerShell returns OpenService FAILED 5: Access is denied.

This suggests that a stale packaged service registration may be involved, although the root cause has not been confirmed.

Troubleshooting already attempted

  • Reinstalled the application through Microsoft Store.
  • Restarted Windows multiple times.
  • Used Add-AppxPackage -RegisterByFamilyName to register the staged package.
  • Retried registration using -ForceApplicationShutdown.
  • Ran DISM /Online /Cleanup-Image /RestoreHealth successfully.
  • Ran sfc /scannow, which found and successfully repaired corrupted system files.
  • Confirmed that AppXSvc, ClipSVC, InstallService and StateRepository were running.
  • Confirmed elevated administrator privileges.
  • Inspected the packaged service registration and associated executable paths.

The error persists after all these steps.

I have not performed a forced deletion of the service registry key or a full all-users/provisioned-package removal.

Questions for the maintainers

  1. Could the stale CodexSandboxService.OpenAI.Codex registration prevent subsequent MSIX package versions from registering their packaged services?
  2. Is there a supported way to repair this service registration without modifying protected Windows service permissions?
  3. Could the installer/update process detect and recover from an existing packaged service pointing to a removed application version?
  4. Is there a recommended recovery method that preserves local Codex data, sessions and Skills?

I would appreciate any guidance or an installer-side fix, as this issue currently prevents reliable daily use of the Windows desktop application.

Thank you!

What steps can reproduce the bug?

Steps to Reproduce

  1. Use Windows 11 Home Single Language (Chinese), x64, build 26200.9457.

  2. Install or update the ChatGPT/Codex Windows desktop application through Microsoft Store.

  3. Restart Windows or attempt to launch the application after an update.

  4. The installation or update process fails, and the application may disappear from the Start menu or become unavailable through its normal launch entry.

  5. The new application files remain in C:\Program Files\WindowsApps, and the executable can sometimes be launched manually.

  6. Open PowerShell and run:

    Get-AppxPackage -AllUsers -Name OpenAI.Codex

    The package is reported as Servicing, with PackageUserInformation showing Staged.

  7. Attempt to register the existing package from an elevated PowerShell session:

    Add-AppxPackage -RegisterByFamilyName -MainPackage "OpenAI.Codex_2p2nqsd0c76g0" -ForceApplicationShutdown

  8. The registration fails with 0x80073CF6. The underlying error is 0x80070005: Access denied while registering the windows.service extension.

  9. In Windows Event Viewer, navigate to:

    Applications and Services Logs > Microsoft > Windows > AppXDeploymentServer > Operational

    Events 306, 316, 331, 300 and 404 record the service registration and package deployment failures.

Reproducibility

The problem has occurred repeatedly across multiple installation and update attempts since October 9, 2026. Restarting Windows and repairing system components with DISM and SFC did not resolve it.

What is the expected behavior?

No response

Additional information

Possibly related issue

This issue may be related to #38843, which reports repeated MSIX auto-update failures on Windows.

However, my case specifically involves 0x80070005 during windows.service extension registration, along with a packaged sandbox service still pointing to an older, no longer existing application version.

I am filing this report separately to provide the detailed Windows deployment logs and service registration findings.

Activity

  1. added
    app
    on Oct 11, 2026
  2. added
    bug
    windows-os
    on Oct 11, 2026
  3. y614516676 commented on Oct 11, 2026

    @y614516676
    Author

    Additional diagnostic information

    Following a recommendation from OpenAI Support, I would like to add two details to this issue.

    1. OpenAI Support Feedback Session ID

    19e45133-8084-49db-9639-5a1d12c25b9d

    2. Additional Windows deployment error: 0x80073D28

    Source: Microsoft-Windows-AppXDeploymentServer/Operational

    Timestamp: 2026-10-11 20:58:55 (local time)

    Event ID: 404

    Original Windows event message (Chinese):

    程序包 OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0 的 AppX 部署操作失败,错误为 0x80073D28。
    
    此失败的具体错误文本是:
    OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0(0,0):
    错误 0x80073D28:
    无法注册 OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0 程序包。
    需要管理员权限才能安装打包服务。
    

    English translation:

    The AppX deployment failed with error 0x80073D28. Administrator privileges are required to install a packaged service.

    3. Administrator privilege information

    I encountered installation/update failures through Microsoft Store, as well as registration failures through PowerShell.

    I verified that my administrator PowerShell session was elevated using:

    whoami /groups | findstr /i "S-1-16-12288"

    The output contained S-1-16-12288 (High Mandatory Level).

    I also attempted the following command from an elevated PowerShell session:

    Add-AppxPackage -RegisterByFamilyName -MainPackage "OpenAI.Codex_2p2nqsd0c76g0" -ForceApplicationShutdown

    This operation still failed with 0x80073CF6, caused by 0x80070005 (Access denied while registering the windows.service extension).

    The 0x80073D28 event was recorded during deployment. I cannot confirm whether that particular attempt was executed with elevated administrator privileges.

    This may help distinguish the administrator privilege requirement from the persistent packaged-service registration failure.

    Thank you for investigating!

  4. liuyaohui00 commented on Oct 15, 2026

    @liuyaohui00

    Hello, I have a similar issue, but my Windows version is Windows 10 Pro 21H1 (OS build 19043.1023, x64).

    The official ChatGPT/Codex MSIX package fails to install or register.

    Package versions:

    • Old version: 26.1007.2314.0 — Status: Ok
    • New version: 26.1007.9446.0 — Status: Servicing / Staged

    Service:
    CodexSandboxService.OpenAI.Codex

    The service's ImagePath still points to the old package directory:
    OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0

    Installation errors:

    • 0x80073D26: Windows cannot register the windows.service extension because a different version of the service is installed.
    • 0x80073CF6: Package registration failed.
    • 0x8007139F: The group or resource is not in the correct state.

    I downloaded the official MSIX package and tried installing it from an elevated PowerShell session, but the same error persists. The app does not launch when I click its Start menu icon.

    Could you please advise on a supported way to repair the stale packaged service registration on Windows 10 21H1 without manually deleting service or registry entries?

    Thank you.

  5. liuyaohui00 commented on Oct 15, 2026

    @liuyaohui00

    Additional information about my environment:

    • OS: Windows 10 Pro 21H1, build 19043.1023, x64.
    • Old package: 26.1007.2314.0 (Status: Ok).
    • New package: 26.1007.9446.0 (Status: Servicing / Staged).
    • The service CodexSandboxService.OpenAI.Codex still points to the old package directory.
    • Installing the official ChatGPT-x64.msix fails with 0x80073D26 during windows.service extension registration, followed by 0x80073CF6.
    • The app does not launch from the Start menu.

    Could you please advise on a supported recovery method for Windows 10 that does not require manually deleting protected service or registry entries?

    Thank you.

  6. Zhang-0721 commented on Oct 17, 2026

    @Zhang-0721

    Confirming this, and adding the part that took me longest to find: sc.exe cannot clear the stale registration, but the service's registry key can.

    Why the usual recovery commands do nothing
    sc.exe sdshow CodexSandboxService.OpenAI.Codex returns

    D:(A;;CCLCSWRPWPDTLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;S-1-5-80-1949724575-2387902436-65106593-1201171665-3967308604)
    No BUILTIN\Administrators (BA), no NT AUTHORITY\SYSTEM (SY). So from an elevated prompt sc.exe delete, sc.exe config and sc.exe sdset all end in [SC] OpenService FAILED 5: Access is denied, and AppX deployment hits the same wall when it tries to reconcile the existing service during registration — that is where 0x80070005 comes from, wrapped in 0x80073CF6 by events 306/316/331/300/404.

    Worth saying explicitly: that descriptor is the normal shape for packaged services (Microsoft's own GamingServices on the same machine has a byte-identical SDDL), so the absence of BA/SY is not the bug by itself — it just means SCM is not a usable path here. The bug is the orphaned key: after an update the old package directory is gone, but

    HKLM\SYSTEM\CurrentControlSet\Services\CodexSandboxService.OpenAI.Codex
    still points at ...\OpenAI.Codex__x64__2p2nqsd0c76g0\app\resources\codex-windows-sandbox-service.exe.

    What actually clears it
    elevated: Stop-Service -Name CodexSandboxService.OpenAI.Codex -Force
    elevated: Remove-Item 'HKLM:\SYSTEM\CurrentControlSet\Services\CodexSandboxService.OpenAI.Codex' -Recurse -Force
    reboot — not optional; SCM keeps the deleted service in memory, and registration fails again until that cache is dropped
    elevated: Add-AppxPackage -Path <the .msix> (or -Register for an already staged package)
    The key is owned by Administrators with FullControl, so step 2 works even though every SCM call fails. After the reboot AppX recreates the service pointing at the new version, deployment logs event 400, no rollback, and the app starts normally.

    The icacls recipes going around repair the package directory ACLs, which is not where this dies — that is why they do not help.

    I ended up writing a small diagnostic/repair script while digging through AppXDeploymentServer logs, in case it saves someone else the hours: https://github.com/Zhang-0721/fix-packaged-app-service — -Diagnose is read-only and lists packaged services whose registered executable no longer exists. The four steps above are the whole fix though; the script is just the wrapper.

    One thing I could not prove: which access check rejects the reconcile, given the same descriptor permits creating a fresh service. Note that event 649 claims "ACLs repaired successfully ... Register next time should succeed", and it plainly does not.

  7. y614516676 commented on Oct 17, 2026

    @y614516676
    Author

    4. 你找到解决办法了吗?

    I’ve been able to use it all along

  8. y614516676 commented on Oct 17, 2026

    @y614516676
    Author

    您好,我遇到了类似的问题,但我的 Windows 版本是 Windows 10 专业版 21H1(操作系统版本 19043.1023,x64)。

    官方的 ChatGPT/Codex MSIX 软件包无法安装或注册。

    软件包版本:

    • 旧版本:26.1007.2314.0— 状态:Ok
    • 新版本:26.1007.9446.0— 状态:Servicing/Staged

    服务: CodexSandboxService.OpenAI.Codex

    该服务的 ImagePath 仍然指向旧的软件包目录: OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0

    安装错误:

    • 0x80073D26Windows 无法注册该windows.service扩展,因为已安装了不同版本的服务。
    • 0x80073CF6软件包注册失败。
    • 0x8007139F该组或资源的状态不正确。

    我下载了官方的 MSIX 安装包,并尝试从管理员权限的 PowerShell 会话中安装,但仍然出现同样的错误。点击“开始”菜单图标后,应用程序无法启动。

    请问在不手动删除服务或注册表项的情况下,如何以官方支持的方式修复 Windows 10 21H1 上过期的打包服务注册?

    谢谢。

    I’ve now discovered that the Microsoft Store is preventing me from opening the app, but every time the installation fails, the software is actually already fully installed on the system.

    Here’s what I do: first, delete all leftover files (you can skip this if you have important work saved locally in Codex). Each time you start your computer, open the Microsoft Store and try installing ChatGPT, then wait for it to report error 0x80073CF6.

    Next, open File Explorer and go to C:\Program Files\WindowsApps. You’ll find that the most recently modified folder is the OpenAI folder. Open it, find chatgpt.exe, and run it. You should then be able to use the app normally.

    I pin the executable to the Start menu. In my experience, I need to repeat this process roughly every two shutdowns. After the first shutdown and startup, I can still launch it using the pinned shortcut in the Start menu. After the second, the shortcut stops working. When that happens, just repeat the steps above.

    Hello, I have a similar issue, but my Windows version is Windows 10 Pro 21H1 (OS build 19043.1023, x64).

    The official ChatGPT/Codex MSIX package fails to install or register.

    Package versions:

    • Old version: 26.1007.2314.0 — Status: Ok
    • New version: 26.1007.9446.0 — Status: Servicing / Staged

    Service: CodexSandboxService.OpenAI.Codex

    The service's ImagePath still points to the old package directory: OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0

    Installation errors:

    • 0x80073D26: Windows cannot register the windows.service extension because a different version of the service is installed.
    • 0x80073CF6: Package registration failed.
    • 0x8007139F: The group or resource is not in the correct state.

    I downloaded the official MSIX package and tried installing it from an elevated PowerShell session, but the same error persists. The app does not launch when I click its Start menu icon.

    Could you please advise on a supported way to repair the stale packaged service registration on Windows 10 21H1 without manually deleting service or registry entries?

    Thank you.

    I’ve now discovered that the Microsoft Store is preventing me from opening the app, but every time the installation fails, the software is actually already fully installed on the system.

    Here’s what I do: first, delete all leftover files (you can skip this if you have important work saved locally in Codex). Each time you start your computer, open the Microsoft Store and try installing ChatGPT, then wait for it to report error 0x80073CF6.

    Next, open File Explorer and go to C:\Program Files\WindowsApps. You’ll find that the most recently modified folder is the OpenAI folder. Open it, find chatgpt.exe, and run it. You should then be able to use the app normally.

    I pin the executable to the Start menu. In my experience, I need to repeat this process roughly every two shutdowns. After the first shutdown and startup, I can still launch it using the pinned shortcut in the Start menu. After the second, the shortcut stops working. When that happens, just repeat the steps above.

  9. liuyaohui00 commented on Oct 18, 2026

    @liuyaohui00

    7. Confirming this, and adding the part that took me longest to find: sc.exe cannot clear the stale registration, but the service's registry key can.
    Why the usual recovery commands do nothing
    sc.exe sdshow CodexSandboxService.OpenAI.Codex returns
    D:(A;;CCLCSWRPWPDTLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;S-1-5-80-1949724575-2387902436-65106593-1201171665-3967308604)
    No BUILTIN\Administrators (BA), no NT AUTHORITY\SYSTEM (SY). So from an elevated prompt sc.exe delete, sc.exe config and sc.exe sdset all end in [SC] OpenService FAILED 5: Access is denied, and AppX deployment hits the same wall when it tries to reconcile the existing service during registration — that is where 0x80070005 comes from, wrapped in 0x80073CF6 by events 306/316/331/300/404.
    Worth saying explicitly: that descriptor is the normal shape for packaged services (Microsoft's own GamingServices on the same machine has a byte-identical SDDL), so the absence of BA/SY is not the bug by itself — it just means SCM is not a usable path here. The bug is the orphaned key: after an update the old package directory is gone, but
    HKLM\SYSTEM\CurrentControlSet\Services\CodexSandboxService.OpenAI.Codex
    still points at ...\OpenAI.Codex__x64__2p2nqsd0c76g0\app\resources\codex-windows-sandbox-service.exe.
    What actually clears it
    elevated: Stop-Service -Name CodexSandboxService.OpenAI.Codex -Force
    elevated: Remove-Item 'HKLM:\SYSTEM\CurrentControlSet\Services\CodexSandboxService.OpenAI.Codex' -Recurse -Force
    reboot — not optional; SCM keeps the deleted service in memory, and registration fails again until that cache is dropped
    elevated: Add-AppxPackage -Path <the .msix> (or -Register for an already staged package)
    The key is owned by Administrators with FullControl, so step 2 works even though every SCM call fails. After the reboot AppX recreates the service pointing at the new version, deployment logs event 400, no rollback, and the app starts normally.
    The icacls recipes going around repair the package directory ACLs, which is not where this dies — that is why they do not help.
    I ended up writing a small diagnostic/repair script while digging through AppXDeploymentServer logs, in case it saves someone else the hours: https://github.com/Zhang-0721/fix-packaged-app-service — -Diagnose is read-only and lists packaged services whose registered executable no longer exists. The four steps above are the whole fix though; the script is just the wrapper.
    One thing I could not prove: which access check rejects the reconcile, given the same descriptor permits creating a fresh service. Note that event 649 claims "ACLs repaired successfully ... Register next time should succeed", and it plainly does not.

    The above solution was very helpful. It finally solved my problem.
    After execution, the following issue may occur. You can resolve it by following the steps below.

    Fix: Codex Desktop Fails to Load Organization Settings on Windows

    Problem

    Codex Desktop showed an error similar to:

    “Unable to load organization settings” / “App is paused until organization settings can be loaded securely.”

    After an earlier sandbox service fix, the app started but still displayed the error.

    Possible Cause

    I found a notify entry in %USERPROFILE%\.codex\config.toml that referenced a codex-computer-use.exe file that no longer existed at the specified path.

    Steps That Fixed It

    1. Fully exit Codex Desktop.
    2. Open %USERPROFILE%\.codex\config.toml.
    3. Find the notify = [...] line that references the missing executable.
    4. Comment out that line by adding # at the beginning. Do not change other settings.
    5. Save the file and launch Codex Desktop again. No Windows reboot was needed.

    Result

    Codex Desktop launched successfully, and the organization settings error disappeared.

    Note: This suggests the stale notify entry may have been related to the issue, but the root cause has not been conclusively confirmed. If you do not have the same stale path, this workaround may not apply.

  10. zhifengwang-993 commented on Oct 20, 2026

    @zhifengwang-993

    Additional recurrence on Windows desktop (2026-10-20, China Standard Time). The app would not open from its taskbar icon until a Windows restart.

    • Microsoft Store/AppX attempted to register OpenAI.Codex_26.1013.4894.0_x64__2p2nqsd0c76g0 at 09:22–09:23.
    • Microsoft-Windows-AppXDeploymentServer/Operational Event IDs 404/401/300 reported 0x80073CF6, with underlying 0x80070430: registration of the windows.service extension failed because the service was marked for deletion. A separate attempt reported 0x80073CF9 while determining which applications needed to close, also with underlying 0x80070430.
    • Windows restarted at 09:23:47. Package registration then succeeded (Event ID 400 at 09:24:40–09:24:41), and the app opened normally.
    • After restart, package status was Ok; CodexSandboxService.OpenAI.Codex was running and pointed to the current package. The app's update check reported up_to_date.
    • A similar Store update failure (StoreAgentInstallFailure1, 0x80073CF6) was recorded on 2026-09-30 and 2026-10-11; the 2026-10-11 AppX log also recorded 0x80070430 during windows.service registration.

    This appears to be a service-lifecycle/update race rather than a persistent missing service after reboot. Please advise whether the installer/updater can wait for or recover from a packaged service marked for deletion, and whether there is a supported recovery path that does not require restarting the whole machine. No service registry keys or app data were modified during this diagnosis.

  11. rj2000game-git commented on Oct 20, 2026

    @rj2000game-git

    Additional diagnostic evidence: Windows 11 IoT Enterprise LTSC 24H2

    I am encountering a closely related MSIX packaged-service registration failure. The following is an anonymized summary of two rounds of read-only local diagnostics.

    Environment

    • Windows 11 IoT Enterprise LTSC 24H2, build 26100.8655, x64
    • Package family: OpenAI.Codex_2p2nqsd0c76g0
    • Current package: 26.1013.4894.0 — current user Installed, package status Servicing
    • Previous package: 26.1007.2314.0 — SYSTEM Staged, status Ok

    Observed behavior

    • Normal packaged-app launch briefly shows the splash/progress bar and exits.
    • Launching the current package's app\ChatGPT.exe directly works: previous sessions are available and the agent can converse.
    • A local PowerShell command executed successfully through the agent (exit code 0), but this was in an unrestricted execution environment; packaged sandbox operation remains unverified.
    • The normal app icon/activation remains problematic; direct EXE launch displays a generic taskbar icon.

    Service and manifest evidence

    • CodexSandboxService.OpenAI.Codex is a WIN32_PACKAGED_PROCESS service, currently stopped, manual start, with its ImagePath and registry PackageFullName still referring to 26.1007.2314.0.
    • The old executable exists. Exit code 1077 is not evidence of a failed service start.
    • Both versions declare the same desktop6:Service name, StartupType="auto", StartAccount="localSystem", and the packaged service executable exists in both packages. The observed Manual start differs from the manifest declaration, but causality is unknown.
    • SCM service-object ACL grants the AppXSvc service SID full service access; registry service key grants SYSTEM/Administrators FullControl. No conclusive ACL anomaly was identified. The effective token at the instant of failure was not established.

    Deployment failure evidence
    On 2026-10-21 at approximately 01:33:11–01:33:12 JST, deployment Activity ID e1f094ae-60af-000b-9bd7-f3e1af60dd01 recorded:

    • Event 603: RegisterByPackageFamilyName was attempted.
    • Events 9626/9627: new-package and old-package manifests were parsed successfully.
    • Events 306/316: windows.service extension registration failed with 0x80070005 (Access denied).
    • Restricted event details locate the failure in PackagedServiceDEHCommitRequestActivity, AppXDeploymentExtensions.desktop.dll, packagedserviceextensionhelper.cpp(1056); initiating process explorer.exe.
    • Event 331: rollback failed with 0x8007139F.
    • Event 404: overall deployment failed with 0x80073CF6.
    • The activity also says “ACLs repaired successfully,” but the transaction still failed.

    The available event details do not identify the specific object, operation, or access mask denied. No matching 4656/4663 object-access records were found in the inspected Security logs. The prior service registration remains on the old package, but it is not established whether this is the cause or consequence of the failed migration. No explicit 0x80073D26, 0x80070430, or 0x80073D02 was found in the inspected Codex deployment events.

    Attempts already made

    • Reboot: no change.
    • sfc /scannow: no integrity violations.
    • DISM /Online /Cleanup-Image /RestoreHealth: completed successfully.
    • Windows app Repair: unsuccessful.
    • Add-AppxPackage -Register: 0x80073CF6 / 0x80070005 during windows.service registration.
    • No service deletion, registry/ACL edits, package removal, app reset, or user-data deletion was performed. User data has been backed up (with explicitly excluded dependency/build directories).

    Request for maintainers
    Could you advise whether there is a known packaged-service migration/registration issue for this package on Windows 11 IoT Enterprise LTSC 24H2, and a supported non-destructive recovery procedure? In particular, what additional trace would identify the denied operation at PackagedServiceDEHCommitRequestActivity / packagedserviceextensionhelper.cpp(1056)? We would prefer not to delete the old packaged service or alter protected ACLs without a supported procedure.

    This is additional diagnostic evidence, not a claim that the old service registration or LTSC edition is the confirmed root cause.

  12. karanjain0020-source commented on Oct 21, 2026

    @karanjain0020-source

    Confirming this is recurring across successive Microsoft Store Codex updates, not just a one-time broken installation.

    Reproductions on the same Windows machine

    2026-10-19

    • Previously working: OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0.
    • Update attempted: OpenAI.Codex_26.1013.4894.0_x64__2p2nqsd0c76g0.
    • Desktop app would not launch from Windows Search or the Microsoft Store.
    • Get-AppxPackage OpenAI.Codex showed Status: Servicing.
    • CodexSandboxService.OpenAI.Codex still pointed to the older 26.1007.2314.0 package.
    • AppXDeploymentServer Event 404 reported 0x80073CF6 with underlying 0x80073D26: cannot register the windows.service extension because a different version of the service is installed.
    • A targeted recovery (stop service, back up and remove only stale service registry key, restart, re-register the staged package with -ForceTargetApplicationShutdown) restored Status: Ok and the desktop app opened with existing conversations intact. The first re-registration attempt without forced application shutdown encountered 0x80073D02 (package resources in use).

    2026-10-21 — same failure again

    • Previously working: 26.1013.4894.0.
    • New update: 26.1016.6573.0.
    • App again fails to launch.
    • Get-AppxPackage OpenAI.Codex: Status: Servicing.
    • sc.exe qc CodexSandboxService.OpenAI.Codex: service binary still points to 26.1013.4894.0.
    • AppXDeploymentServer Event 404 on October 21 reported the same 0x80073CF6 / 0x80073D26 service-version conflict.
    • Service was stopped, stale registry entry backed up and removed successfully. The subsequent restart/re-registration outcome has not yet been confirmed, so this second repair is not being reported as successful.

    Impact and request

    Two successive updates broke normal desktop startup within approximately 48 hours. Requiring an administrator to manually remove a packaged-service registration and reboot on every update is not a viable recovery strategy.

    Could the Codex Windows installer/updater owners please:

    1. Fix the service lifecycle/version transition so updating the MSIX reconciles CodexSandboxService.OpenAI.Codex automatically, without leaving the package in Servicing.
    2. Provide a supported, non-destructive repair that does not require direct registry deletion or repeated elevation/reboots.
    3. Add regression coverage for at least these consecutive package transitions, including service-running and service-stopped cases, preserving local Codex session data.

    I have intentionally omitted identifying machine/domain/user details and personal file paths. The Windows error codes, event IDs, exact package versions and remediation sequence above are reproducible diagnostic information.

  13. terryou05 commented on Oct 23, 2026

    @terryou05

    Additional reproduction report — recurring Windows update failures

    Description

    I have experienced recurring failures with the ChatGPT/Codex Windows desktop application. The application works normally, but after an apparent background update, it suddenly becomes impossible to launch.

    Double-clicking the application icon produces no response, and no ChatGPT/Codex process appears in Task Manager.

    This issue has occurred at least three times in October 2026. Restarting Windows temporarily resolves the problem, but the same issue returns after subsequent application updates.

    Environment

    • OS: Windows 11
    • Application package: OpenAI.Codex
    • Installation: Microsoft Store
    • Affected application: ChatGPT/Codex Windows desktop app

    History of failures

    Date Previous version New version New package status
    8 October 2026 26.930.7945.0 26.1002.7124.0 Servicing
    13 October 2026 26.1002.7124.0 26.1007.2314.0 Servicing
    23 October 2026 26.1016.6573.0 26.1016.8622.0 Servicing

    In each case, the older package was reported as Ok, while the newer installed package was reported as Servicing.

    Windows error logs

    During the first occurrence, Windows Event Viewer reported AppX deployment and registration failures:

    • 0x80070430 — The specified service has been marked for deletion.
    • 0x80073CF9 — Package deployment failure.
    • 0x80073CF6 — Package registration failure.

    The registration failure involved the windows.service extension and appeared to be associated with CodexSandboxService.OpenAI.Codex.

    The service was subsequently reported as Stopped, with no matching ChatGPT/Codex processes running.

    These errors were confirmed during the initial occurrence. The exact error codes for the subsequent occurrences have not yet been verified.

    Steps to reproduce

    1. Launch and use the Windows desktop application normally.
    2. Leave the application installed while background updates may occur.
    3. After a new version is installed, attempt to launch the application again.
    4. The application fails to launch without displaying an error.
    5. Run Get-AppxPackage -AllUsers -Name OpenAI.Codex.
    6. Observe that the newer package is in the Servicing state.

    The precise trigger has not been confirmed, but the failures consistently coincide with application version changes.

    Expected behaviour

    The application should remain launchable after automatic updates, without requiring a Windows restart.

    Actual behaviour

    The application fails silently. Windows Repair and manual AppX registration have previously failed. Restarting Windows temporarily restores functionality.

    Additional information

    A potentially related issue has already been reported in #53132.

    Could the development team investigate whether the application's update process is failing to remove or replace the previous version of CodexSandboxService, causing subsequent package registration to fail?

    I would also appreciate confirmation of whether a permanent fix or workaround is available, as this issue has repeatedly interrupted normal use of the desktop application.

    This issue has occurred three times within approximately two weeks, each time following an application version change. A Windows restart temporarily restores functionality, but the issue recurs after subsequent updates. I would appreciate a permanent fix rather than having to restart Windows repeatedly.

  14. wakuwakudadada commented on Oct 23, 2026

    @wakuwakudadada

    Additional evidence and request for expert review

    I am investigating a closely related Windows Codex package registration failure and would appreciate an independent technical assessment.

    Environment and observations

    • Package family: OpenAI.Codex_2p2nqsd0c76g0
    • Package version: 26.1013.4894.0
    • Windows version: Windows 10, build 19045, x64
    • Registration attempt: Add-AppxPackage -Register
    • Deployment result: 0x80070005 (Access denied)
    • The available deployment events confirm that registration started and then failed, but do not identify the specific denied object or access check.
    • The associated packaged sandbox service was previously observed to exist and be running.
    • Read-only ACL queries succeeded for the package directory, manifest, application executable, sandbox service executable, and command-runner executable under the affected standard-user account.
    • The package ACL contains a conditional WIN://SYSAPPID ACE. No ACL modification has been performed.

    A related report in this issue describes failures involving CodexSandboxService.OpenAI.Codex and a service registration that may reference a previous package version. I have not yet established whether the same condition exists on my machine.

    Questions

    1. What read-only checks can establish whether the registered packaged-service path and package identity correspond to the current package version?
    2. Which additional deployment event fields or diagnostic traces would identify the exact operation rejected with 0x80070005?
    3. Is there an officially supported recovery procedure for a stale or inconsistent packaged-service registration that preserves user data and avoids manually deleting protected registry entries?
    4. Can the observed conditional package ACL be distinguished from the service-registration authorization failure using the existing evidence?

    I am requesting diagnosis and a supported recovery plan only. No ACL changes, registry edits, service deletion, registration retries, or application launches are authorized at this stage.

    The local diagnostic evidence has been preserved, and the root cause remains unresolved.

  15. zangqingyao commented on Oct 24, 2026

    @zangqingyao

    Additional reproduction: update registration leaves the packaged sandbox service marked for deletion, and subsequent normal app activation fails until the state is released.

    Environment: Windows 11 Home 24H2 x64, build 26100.3476. Windows updates are intentionally paused; changing that setting is not part of this reproduction. Package family: OpenAI.Codex_2p2nqsd0c76g0.

    Verified timeline on 2026-10-24 (UTC+08:00):

    • 09:51:54–09:51:55: staging target 26.1021.2667.0 succeeds.
    • 09:51:56–09:51:57: AppX events 9648/9650 report successful termination of CodexSandboxService.OpenAI.Codex belonging to installed package 26.1016.8622.0.
    • 09:53:02: event 9628 reports failure to delete that old service. The windows.service registration reports inner 0x8007041D, outer 0x80073CF6, with rollback error 0x8007139F.
    • The service is STOPPED, PID 0, Disabled, with registry DeleteFlag=1. The registered package remains the old version.
    • Restarting AppXSvc/InstallService and separately exiting the app plus its runtimes do not clear the state. These are failed recovery attempts, not proposed fixes.
    • 17:42: native winget repair returns success, but the registered version remains old and DeleteFlag=1 persists. No subsequent explicit manifest installation is attempted by the helper.
    • 17:42–17:45: normal app activation attempts registration of the later staged 26.1021.3705.0. It fails with inner 0x80070430 (service marked for deletion), outer 0x80073CF9; the app cannot launch.
    • 19:10: Windows records boot type 0x1. Existing SCM process creation time remains earlier, so this should not be represented as proof of a full SCM restart.
    • 19:16:52: normal activation registration succeeds for 26.1021.3705.0. The service is recreated, RUNNING, points to that version, and no longer has DeleteFlag. Running app version 26.1021.31345, build 21828, reports up_to_date.

    No WindowsApps ACL changes, service-key deletion, package-file modification, app reset, data deletion, or Windows version upgrade was used. The ineffective custom repair entry has been retired.

    What this establishes: a stopped service can remain pending deletion across app exits, and the subsequent activation-time update then prevents the app opening. A successful WinGet repair result does not establish that either the pending service state or the staged-version registration has recovered.

    What remains unknown: the outstanding service/RPC reference or registration state that prevents deletion, and whether ownership is in the app, the packaged service, or Windows deployment. Existing auditing did not capture per-client service-handle lifetime; a negative named kernel-handle scan is not sufficient to rule out RPC service contexts. The recovered build's next actual update has not been verified.

    Could the updater/service owners investigate reference release and registration ordering, and provide a supported recovery that preserves launchability when the service is already marked for deletion? Please also surface the actual deployment failure instead of repeatedly returning only an update/restart indicator.

    This summary excludes account and machine names, SIDs, user paths, raw logs, screenshots, process IDs, credentials, and chat content.

  16. yujie0455 commented on Oct 24, 2026

    @yujie0455

    Additional confirmed recovery — 26.1021.3705.0 (2026-10-25 local time)

    I encountered the same ChatGPT/Codex Windows MSIX registration failure. The desktop app stopped opening over several days. After uninstalling it, Microsoft Store could not reinstall it (error 0x80073CF6), although other Store apps installed normally.

    Before recovery

    Name    : OpenAI.Codex
    Version : 26.1021.3705.0
    Status  : Servicing
    PackageUserInformation : SYSTEM (Staged)
    

    sc.exe qc CodexSandboxService.OpenAI.Codex returned a successful service query, but its BINARY_PATH_NAME still referenced the older OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0 package, rather than target version 26.1021.3705.0.

    Relevant AppXDeploymentServer/Operational events, 2026-10-25 00:39:47–00:39:49 local time:

    • 404: 0x80073CF6, with underlying 0x80070005 (Access denied) while registering the windows.service extension.
    • 401 / 300: package registration failed with 0x80073CF6.
    • 613: failed to reach SingletonRegisterAdd.
    • 649: attempted/reported successful package-directory ACL repair ("Register next time should succeed"), but that registration attempt still failed.
    • 9660: 0xD0074005 while notifying BrokerInfrastructure of the package state change.

    Recovery result

    After troubleshooting the stale packaged-service registration / package re-registration, Get-AppxPackage OpenAI.Codex | Select-Object Name,Version,Status showed Status: Ok, and I verified that the ChatGPT desktop app launched and worked normally.

    The troubleshooting guidance included re-registering the staged package using:

    Add-AppxPackage -RegisterByFamilyName -MainPackage "OpenAI.Codex_2p2nqsd0c76g0" -ForceTargetApplicationShutdown

    It also included, if still necessary, backing up the specific CodexSandboxService.OpenAI.Codex registry entry, removing the stale service entry, and restarting Windows before re-registering. I cannot isolate which specific action resolved the problem, so this is a confirmed recovery observation, not a proven single-step fix or a recommendation to modify the registry without appropriate precautions.

    This adds another confirmed reproduction on a newer target version, 26.1021.3705.0. An officially supported repair for orphaned packaged-service registration would help avoid risky manual workarounds.

    Account identifiers and full machine-specific paths omitted.

  17. aipuxilong0618 commented on Oct 25, 2026

    @aipuxilong0618

    One possible cause, verified on my machine: Huorong Security’s startup manager can interfere with application updates and cause this error.

    On my Windows 11 PC, both Codex and Claude stopped launching normally. Both packages were stuck in Servicing, and the deployment logs reported 0x80073CF6, with the underlying error 0x80070005 (Access denied) while registering the windows.service extension.

    A Process Monitor trace of Claude’s registration showed that services.exe was denied access when attempting to modify this registry value:

    HKLM\System\CurrentControlSet\Services\CoworkVMService\Start

    Huorong’s startup management records contained both services:

    • CodexSandboxService.OpenAI.Codex
    • CoworkVMService

    I changed both entries to “Allow startup” in Huorong under Security Tools → Startup Management → Services, then re-registered the two application packages individually. Both packages returned to Ok, and both services started successfully with their executable paths pointing to the current versions. No application uninstall, reset, or deletion of chat history was needed.

    If you have Huorong installed and encounter these same errors, check whether its startup manager is restricting these services.

  18. Ricodek commented on Oct 27, 2026

    @Ricodek

    Additional recovery confirmation with Huorong Security — package 26.1023.6123.0

    Temporarily exiting Huorong Security and re-registering the already-downloaded package resolved the update failure on my machine.

    Diagnostic findings

    During the failed update, Process Monitor captured:

    Process: services.exe
    Operation: RegSetValue
    Path: HKLM\SYSTEM\CurrentControlSet\Services\CodexSandboxService.OpenAI.Codex\Start
    Data: 4
    Result: ACCESS DENIED
    

    The process ran as NT AUTHORITY\SYSTEM. The service registry key granted SYSTEM FullControl. Huorong's security log showed no entries for the relevant period.

    Recovery that worked

    I exited Huorong through its tray menu, then ran the following in an elevated PowerShell session:

    Add-AppxPackage -Register "C:\Program Files\WindowsApps\OpenAI.Codex_26.1023.6123.0_x64__2p2nqsd0c76g0\AppxManifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown

    The command completed without errors, and the app restarted. Verification:

    Get-AppxPackage -Name OpenAI.Codex | Select-Object Name,Version,Status
    Name          Version          Status
    OpenAI.Codex  26.1023.6123.0    Ok
    

    The manifest path above is specific to the package version already present on my machine.

    This supports the earlier Huorong-related report in this thread. I have not identified the exact Huorong rule responsible or verified a subsequent automatic update. Temporarily exiting Huorong followed by package re-registration was sufficient for this recovery.

  19. Bescouted commented on Oct 28, 2026

    @Bescouted

    Additional recurrence on Windows 10 Home 22H2 (build 19045), with diagnostic evidence:

    • On October 21, 2026, an update to package 26.1016.6573.0 failed during staging with 0x80073CF6 and underlying 0x8007007E: an extension DLL could not be loaded. The event did not identify the DLL.
    • On October 27 at 19:58 local time, staging 26.1023.6123.0 to C: failed in the same way, before MachineRegisterAdd. AppXDeploymentServer activity ID: 00ad2195-65dc-0006-49ce-b900dc65dd01. That activity also recorded failed hardlinks and old package hardlink references; their causal significance is unknown.
    • On October 28, repeated registration attempts failed with 0x80073CF6 / 0x8007139F while registering the windows.service extension. Events 306, 316 and 331 report that registration and rollback of the extension failed. The service registration was observed pointing to a missing older package executable.
    • Backing up and removing the stale CodexSandboxService.OpenAI.Codex registry entry, restarting Windows and re-registering the staged package restored the application. This is a recovery observation, not a proven permanent fix. An extension-DLL load error was also observed during a recovery attempt.
    • After recovery, package 26.1023.6123.0 reports Ok, and the automatic LocalSystem sandbox service is running with its ImagePath pointing to the current package. AppX event 400 reports successful registration at 08:50 local time.

    Some user-data directories under the default .codex directory are junctions to F:, and user TEMP/TMP are on F:. The package, service executable and AppX deployment target are on C:. No examined failure event identifies an F: path; any contribution from the redirects is unproven. C: had approximately 15.3 GiB free after recovery; free space during the failures is unknown.

    Could the team investigate the earlier extension-DLL load failure and the packaged-service upgrade/rollback lifecycle, and provide a supported permanent fix or recovery procedure that preserves user data? No private logs, credentials or conversation contents are included.

  20. Nalongur commented on Oct 29, 2026

    @Nalongur

    Additional reproduction: Windows Codex 26.1023.6123.0

    I encountered the same issue on Windows 11 with a newer Codex version.

    Environment

    • Platform: Windows 11 x64
    • Codex package: "OpenAI.Codex"
    • Installed version: "26.1023.6123.0"
    • Package status: "Servicing"
    • Stale sandbox service version: "26.1021.3705.0"

    Symptoms

    • Clicking the Codex desktop shortcut produces no visible response.
    • No Codex process appears in Task Manager.
    • Restarting Windows does not resolve the issue.
    • Windows App Repair failed, and no newer Microsoft Store update was available.

    Diagnostic findings

    "Get-AppxPackage OpenAI.Codex" reported:

    Version Status
    26.1023.6123.0 Servicing

    "sc.exe qc CodexSandboxService.OpenAI.Codex" showed that the service executable still pointed to the previous version:

    OpenAI.Codex_26.1021.3705.0_x64__2p2nqsd0c76g0

    Attempting to re-register the package:

    Add-AppxPackage -RegisterByFamilyName -MainPackage "OpenAI.Codex_2p2nqsd0c76g0" -ForceTargetApplicationShutdown

    failed with:

    • "0x80073CF6": Package registration failed.
    • "0x80070005": Access denied while registering the "windows.service" extension.

    I confirmed that PowerShell was running with administrator privileges ("IsInRole(Administrator)" returned "True").

    Recovery investigation

    I attempted to remove the stale "CodexSandboxService.OpenAI.Codex" service registry entry. The subsequent removal attempt reported that the registry path no longer existed, suggesting the first removal succeeded.

    The final result after restarting Windows and re-registering the package has not yet been verified.

    Request

    This appears consistent with the stale packaged-service registration issue already reported here, now affecting version "26.1023.6123.0".

    Please consider fixing the MSIX update process to automatically reconcile stale sandbox service registrations, without requiring users to modify the Windows registry manually.

  21. Lang45 commented on Nov 8, 2026

    @Lang45

    Please prioritize fixing this Windows update/launch failure. Evidence from this machine strongly indicates that Huorong Security's management of sandbox-service startup is interfering with MSIX service registration during ChatGPT updates, leaving the application unable to launch after a reboot, even when opened manually. This caused a complete loss of access to the desktop app and required manual recovery.

    Additional reproduction and successful recovery on November 8, 2026:

    • Application package: OpenAI.Codex, updating from 26.1103.3517.0 to 26.1103.4239.0.
    • Security software: Huorong Security 6.0.12.3.
    • Affected service: CodexSandboxService.OpenAI.Codex.
    • Clicking the application or the Microsoft Store's Open button produced no visible response. Restarting Windows did not resolve the problem.

    Local Windows evidence (all times UTC+08:00):

    • At 14:54:57, AppXDeploymentServer event 642 recorded PACKAGE_STATUS_REGISTRATION_REQUIRED_BLOCKING.
    • At 14:55:31 and repeatedly afterward, registration failed with 0x80073CF6 and the underlying error 0x80070005: access denied while registering the windows.service extension.
    • At 19:14:08, events 306 and 316 reported the same access-denied failure. Event 331 then reported rollback failure with 0x8007139F.
    • The service registry key granted SYSTEM and Administrators FullControl. This does not establish that every service permission or security-software policy was correct, but the failure should not be treated as an ordinary missing registry ACL without further investigation.

    The installed AppxManifest.xml declares the service with StartupType="auto" and StartAccount="localSystem". It separately declares the application's windows.startupTask. The observed failure is in packaged-service registration: when that registration cannot complete, Windows can block activation of the entire application package, including a manual launch after sign-in.

    Recovery that worked on this machine:

    1. Open Huorong Security > Security Tools > Startup Management > Services.
    2. Set CodexSandboxService.OpenAI.Codex to Allow startup.
    3. In an elevated Windows PowerShell session, re-register the already-installed package:
    $app = Get-AppxPackage -Name OpenAI.Codex
    if ($app) {
        Add-AppxPackage -Register (Join-Path $app.InstallLocation 'AppxManifest.xml') -DisableDevelopmentMode -ForceApplicationShutdown -ErrorAction Stop
        Get-AppxPackage -Name OpenAI.Codex | Format-List Name, Version, Status
    }

    No additional reboot was needed. AppX event 400 confirmed successful registration at 19:28:51, and AppModel-Runtime event 201 recorded creation of the ChatGPT process at 19:28:54. The package then reported Ok, and the sandbox service was Running / Auto / LocalSystem with its executable path pointing to version 26.1103.4239.0.

    Please investigate compatibility between the packaged-service update/rollback lifecycle and Huorong's service startup controls. In particular, please prevent a service-registration failure from leaving the application indefinitely blocked, provide an actionable error and a supported repair that preserves user data, and verify that a subsequent automatic update succeeds while Huorong remains enabled.

    Evidence boundary: I did not capture a Procmon trace during this failure, identify the exact internal Huorong rule responsible, or verify a subsequent automatic update. Other users in this issue have reported denied writes to this service's Start registry value; those traces are separate from the local evidence above. The recovery strongly supports Huorong-related interference, but does not establish the precise denied operation on this machine.

  22. June6699 commented on Nov 10, 2026

    @June6699

    Additional confirmed reproduction and recovery — 26.1103.7773.0 (November 10, 2026)

    I encountered the same Windows MSIX update/registration failure described in this issue and successfully recovered the application.

    This provides another independent confirmation of the interaction between Huorong Security's startup management and ChatGPT's packaged sandbox service registration.

    Environment

    • Application: ChatGPT for Windows
    • Package: OpenAI.Codex
    • Installation source: Microsoft Store
    • Package family: OpenAI.Codex_2p2nqsd0c76g0
    • Initial installed version: 26.1103.4239.0
    • Updated version: 26.1103.7773.0
    • Security software: Huorong Security
    • Windows version/build: [add if available]
    • Huorong version: [add if available]

    Failure symptoms

    The Microsoft Store update initially failed with 0x80070005.

    After restarting Windows, the package version had changed to 26.1103.7773.0, but its status remained Servicing.

    The AppX deployment log showed:

    • Event 306: 0x80070005, access denied while registering the windows.service extension.
    • Event 316: the same access-denied failure.
    • Event 404: package registration failed with 0x80073CF6.
    • Event 821: package registration failed with 0x80073CF6.
    • Event 649: Windows reported that package directory ACLs had been repaired successfully, but registration still failed.

    The most important finding was a stale packaged service registration:

    CodexSandboxService.OpenAI.Codex

    Its registered ImagePath and PackageFullName still referred to:

    OpenAI.Codex_26.1103.3517.0_x64__2p2nqsd0c76g0

    The old service executable no longer existed, while the executable in the new 26.1103.7773.0 package was present.

    Huorong Security finding

    In Huorong's Security Tools > Startup Management > Services, I found:

    CodexSandboxService.OpenAI.Codex

    It was marked as an invalid/disabled startup item.

    I changed its setting to Allow startup.

    Recovery procedure

    No manually downloaded MSIX package was installed or sideloaded. The update came through Microsoft Store.

    I then opened an elevated PowerShell session and ran:

    $app = Get-AppxPackage -Name OpenAI.Codex
    Add-AppxPackage -Register (Join-Path $app.InstallLocation 'AppxManifest.xml') -DisableDevelopmentMode -ForceApplicationShutdown -ErrorAction Stop

    The registration completed successfully.

    Verification:

    Name    : OpenAI.Codex
    Version : 26.1103.7773.0
    Status  : Ok
    

    The packaged service was also correctly recreated:

    • ImagePath pointed to version 26.1103.7773.0.
    • START_TYPE was AUTO_START.
    • Service state was RUNNING.
    • WIN32_EXIT_CODE was 0.

    After another Windows restart, the package remained Status: Ok and the service was still RUNNING.

    Huorong also showed the service as enabled and allowed.

    No application uninstall, user-data deletion, manual registry modification, or WindowsApps permission modification was required.

    Conclusion and request

    This provides further evidence that Huorong's startup management can interfere with ChatGPT's MSIX packaged-service registration, leaving the application in a Servicing state.

    The exact internal operation denied by Huorong has not been captured with Process Monitor, so I cannot establish the precise root cause.

    I would appreciate investigation into:

    1. Compatibility between Huorong's service startup management and MSIX packaged-service registration.
    2. Automatic recovery from stale CodexSandboxService.OpenAI.Codex registrations during application updates.
    3. A supported repair process that does not require users to manually re-register the application.
    4. Verification that subsequent automatic Microsoft Store updates work correctly while Huorong remains enabled.

    This was a successful recovery, and I hope these additional findings help prevent the same issue for other Windows users.

  23. wu716 commented on Nov 19, 2026

    @wu716

    Additional reproduction and recovery — Windows 11 26H2, package 26.1111.9664.0 (2026-11-19, UTC+08:00)

    I encountered the same recurring Windows packaged-service update/registration failure. This is not my first occurrence: after multiple previous Codex updates, I have repeatedly had Windows sandbox initialization failures that required restarting the computer before Codex would work again.

    Environment

    • OS: Windows 11 Home, Chinese, version 26H2
    • OS build: 26300.9974
    • ChatGPT desktop MSIX package: OpenAI.Codex
    • Package family: OpenAI.Codex_2p2nqsd0c76g0
    • Previous package version referenced by the service: 26.1111.2228.0
    • Updated package version: 26.1111.9664.0
    • Installation source shown by WinGet: winget (MSIX)
    • Third-party security software: none; only Windows built-in security and applications from the HONOR app store are installed.

    Failure observed on 2026-11-19

    The ChatGPT taskbar entry and the registered AppsFolder activation entry did not open the desktop app. No matching ChatGPT/Codex process appeared after activation.

    Get-AppxPackage -Name OpenAI.Codex reported:

    Name            : OpenAI.Codex
    Version         : 26.1111.9664.0
    Status          : Servicing
    PackageFullName : OpenAI.Codex_26.1111.9664.0_x64__2p2nqsd0c76g0
    

    The AppXDeploymentServer/Operational log at 2026-11-19 19:54:14 (UTC+08:00) recorded:

    • Event 404 / 401: package registration failed with 0x80073CF6.
    • Underlying error 0x80070430: Windows could not register the windows.service extension because “the specified service has been marked for deletion.”
    • Events 306 and 316 recorded the same 0x80070430 failure.
    • Event 331 recorded 0x8007139F during rollback.
    • Event 613 reported failure to reach SingletonRegisterAdd.

    The registered service was:

    CodexSandboxService.OpenAI.Codex

    Before recovery, its configuration was:

    State       : Stopped
    StartMode   : Disabled
    ImagePath   : ...OpenAI.Codex_26.1111.2228.0...\\codex-windows-sandbox-service.exe
    Start       : 4
    DeleteFlag  : 1
    

    Both the old-version and new-version sandbox service executable files existed at their respective WindowsApps package paths.

    Recovery and verification

    A full Windows restart restored the package and service. No registry key was deleted: an initial non-elevated deletion attempt failed with “Requested registry access is not allowed.” The service registry entry was successfully exported to a backup file before restarting.

    After restart, verification showed:

    Get-AppxPackage:
    Name    : OpenAI.Codex
    Version : 26.1111.9664.0
    Status  : Ok
    
    Win32_Service:
    Name      : CodexSandboxService.OpenAI.Codex
    State     : Running
    StartMode : Auto
    PathName  : ...OpenAI.Codex_26.1111.9664.0...\\codex-windows-sandbox-service.exe
    

    The successful recovery after reboot is consistent with a pending service deletion / packaged-service registration lifecycle problem, but I have not established the precise underlying handle or component responsible. I also have not yet verified whether the next automatic update reproduces the failure.

    Request

    This report adds a reproduction with the newer package version and a distinct underlying error (0x80070430, service marked for deletion), and confirms that the issue occurs without Huorong or other third-party security software installed.

    Could the team investigate:

    1. Why the old packaged sandbox service remains marked for deletion during an update.
    2. Why registration of the new windows.service extension fails with 0x80070430 / 0x80073CF6.
    3. Whether the updater can wait for or reconcile pending deletion before registering the replacement service.
    4. A supported recovery path that does not require users to restart Windows after every affected update.

    I can provide additional redacted event-log excerpts if useful. No account identifiers, SIDs, user names, or private local paths are included here.

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

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions