You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] Claude Desktop Windows installer fails with AddPackage HRESULT 0x80073CF6 after an earlier "successful" install left the package in an inconsistent state #49917
On an existing install, trying to update or reinstall Claude Desktop fails repeatedly. The user-facing dialogs show:
Installation failed: AddPackage failed: AddPackage failed with HRESULT 0x80073CF6
App installation failed with error message: An internal error occurred with error 0x80073D05.
Administrator access is required to install Claude with full features. You can try again or install without Cowork. (misleading — the process is already elevated)
What Should Happen?
Suggested fixes on the installer side
Do not claim success when RemovePackage fails. When the existing package can't be removed, the installer should either retry with force flags (e.g., DeploymentOptions.ForceApplicationShutdown | ForceTargetApplicationShutdown | RemoveForAllUsers) or abort with a clear error and a remediation link. Silently calling AddPackage on a non-removed package produces the wedged state reproduced here.
Surface CoworkVMService access-denied failures properly. "Administrator access is required" is misleading when Is elevated: true is already in the log — the real cause is the service-handle ACL or another process holding it. Please report the underlying OpenSCManager/OpenService error code in the dialog.
Investigate the 0x80073D05 in the user-facing dialog. It doesn't appear literally in the log (log shows 0x80073CF6) — the mapping between the dialog code and the log code should be consistent.
What worked around it
Nothing so far — all Remove-AppxPackage attempts, registry cleanup, and fresh installer runs fail identically.
Error Messages/Logs
## Full log
Uploaded as `ClaudeSetup.log` (attach the file in the GitHub UI — sanitized: only paths contain the Windows username `admin`).
Steps to Reproduce
Reproduction
Windows 11 Pro with an existing Claude_1.3109.0.0_x64__pzs8sxrjxfjjc install and a CoworkVMService present
Run Claude Setup (1).exe to update/reinstall
First run appears to succeed but leaves the package wedged
Every subsequent run fails with AddPackage HRESULT 0x80073CF6
Log analysis (key excerpts)
Run 1 — "successfully installed" but likely left the package broken
2026/04/17 15:29:26.772280 Removing conflicting CoworkVMService...
2026/04/17 15:29:26.772280 WARNING: failed to remove conflicting service: could not open CoworkVMService: Access is denied.
2026/04/17 15:29:26.784544 Removing: Claude_1.3109.0.0_x64__pzs8sxrjxfjjc
2026/04/17 15:29:26.790294 WARNING: Remove failed for Claude_1.3109.0.0_x64__pzs8sxrjxfjjc: RemovePackage failed with HRESULT 0x80073CFA
2026/04/17 15:29:26.798289 Removing (user): Claude_1.3109.0.0_x64__pzs8sxrjxfjjc
2026/04/17 15:29:26.803317 WARNING: Remove failed for Claude_1.3109.0.0_x64__pzs8sxrjxfjjc: RemovePackage failed with HRESULT 0x80073CFA
2026/04/17 15:29:26.803317 Installing MSIX: ...
2026/04/17 15:29:26.804561 Standard install (not split-account), using AddPackage
2026/04/17 15:29:27.555410 MSIX package installed successfully
2026/04/17 15:29:27.614310 === Claude Setup completed successfully ===
Two issues here:
CoworkVMService removal fails with Access is denied even though Is elevated: true. The service is being opened with a handle level the elevated process doesn't have, or something else (antivirus, group policy, another user's session) holds it.
Both RemovePackage calls for the existing package fail with 0x80073CFA (ERROR_REMOVE_FAILED), yet the installer proceeds to AddPackage on top of the non-removed package and claims success. This is almost certainly where the wedge is created.
Runs 2, 3, 4 — consistent 0x80073CF6 failure
2026/04/17 15:30:37.814390 Checking for existing Claude MSIX packages...
2026/04/17 15:30:37.837840 Installing MSIX: ...
2026/04/17 15:30:37.839576 Extracted family name from MSIX manifest: Claude_pzs8sxrjxfjjc
2026/04/17 15:30:37.839576 Standard install (not split-account), using AddPackage
2026/04/17 15:30:37.839576 Installing via AddPackage (current-user)...
2026/04/17 15:30:52.848301 MSIX installation failed: AddPackage failed: AddPackage failed with HRESULT 0x80073CF6
Note that the package-enumeration step finds nothing to remove (no Removing: lines), yet AddPackage is rejected 13–17 seconds in with ERROR_PACKAGE_REGISTRATION_FAILED. That's the classic signature of an MSIX stuck in a partially-registered state — not enumerable by the deployment API, but the package family name is still claimed somewhere in the Appx store / WindowsApps filesystem.
Preflight Checklist
What's Wrong?
Environment
Claude Setup (1).exe(downloadshttps://api.anthropic.com/api/desktop/win32/x64/msix/latest/redirect)4c664c5390a4d5b46286158f67e21102431a1c9863dc5edb2b8683ef69e1e300Claude_pzs8sxrjxfjjcClaude_1.3109.0.0_x64__pzs8sxrjxfjjcWhat's wrong
On an existing install, trying to update or reinstall Claude Desktop fails repeatedly. The user-facing dialogs show:
Installation failed: AddPackage failed: AddPackage failed with HRESULT 0x80073CF6App installation failed with error message: An internal error occurred with error 0x80073D05.Administrator access is required to install Claude with full features. You can try again or install without Cowork.(misleading — the process is already elevated)What Should Happen?
Suggested fixes on the installer side
RemovePackagefails. When the existing package can't be removed, the installer should either retry with force flags (e.g.,DeploymentOptions.ForceApplicationShutdown | ForceTargetApplicationShutdown | RemoveForAllUsers) or abort with a clear error and a remediation link. Silently callingAddPackageon a non-removed package produces the wedged state reproduced here.CoworkVMServiceaccess-denied failures properly. "Administrator access is required" is misleading whenIs elevated: trueis already in the log — the real cause is the service-handle ACL or another process holding it. Please report the underlyingOpenSCManager/OpenServiceerror code in the dialog.Remove-AppxPackage,Remove-AppxPackage -AllUsers, nor the installer can clear it (same finding in [BUG] Claude Desktop Windows installation permanently broken – MSIX stuck in Staged state #47877). A "repair" / "force clean" option in the installer would unblock affected users.0x80073D05in the user-facing dialog. It doesn't appear literally in the log (log shows0x80073CF6) — the mapping between the dialog code and the log code should be consistent.What worked around it
Nothing so far — all
Remove-AppxPackageattempts, registry cleanup, and fresh installer runs fail identically.Error Messages/Logs
Steps to Reproduce
Reproduction
Claude_1.3109.0.0_x64__pzs8sxrjxfjjcinstall and aCoworkVMServicepresentClaude Setup (1).exeto update/reinstallAddPackage HRESULT 0x80073CF6Log analysis (key excerpts)
Run 1 — "successfully installed" but likely left the package broken
Two issues here:
CoworkVMServiceremoval fails with Access is denied even thoughIs elevated: true. The service is being opened with a handle level the elevated process doesn't have, or something else (antivirus, group policy, another user's session) holds it.RemovePackagecalls for the existing package fail with0x80073CFA(ERROR_REMOVE_FAILED), yet the installer proceeds toAddPackageon top of the non-removed package and claims success. This is almost certainly where the wedge is created.Runs 2, 3, 4 — consistent
0x80073CF6failureNote that the package-enumeration step finds nothing to remove (no
Removing:lines), yetAddPackageis rejected 13–17 seconds in withERROR_PACKAGE_REGISTRATION_FAILED. That's the classic signature of an MSIX stuck in a partially-registered state — not enumerable by the deployment API, but the package family name is still claimed somewhere in the Appx store / WindowsApps filesystem.Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
1.3109.0.0_x64
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
ClaudeSetup.log