claude-code - 💡(How to fix) Fix Windows MSIX: Claude fails to launch after update (AppX container error 0x80070020) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48003Fetched 2026-04-15 06:36:08
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×5commented ×1cross-referenced ×1

After installing a Claude update on Windows, the app cannot be relaunched. Windows reports a "file is being used by another program" error. Claude fails to start until reinstall or reboot.

Error Message

Desktop AppX container creation fails for Claude_1.2278.0.0_x64__pzs8sxrjxfjjc Error: 2147942432 (0x80070020)

Root Cause

After installing a Claude update on Windows, the app cannot be relaunched. Windows reports a "file is being used by another program" error. Claude fails to start until reinstall or reboot.

Fix Action

Fix / Workaround

Workarounds Attempted

  • Stopping CoworkVMService manually: Does not resolve — relaunching Claude restarts the service and the error recurs
  • Reboot / reinstall: Works, but should not be necessary after a normal update

Code Example

Launch of Claude.exe fails with ErrorCode 2147942432 (0x80070020)
Times: 17:55:51, 17:56:10, 17:56:13, 17:57:56-17:57:59, 18:01:46-18:01:49, 18:20:11-18:20:15

---

Desktop AppX container creation fails for Claude_1.2278.0.0_x64__pzs8sxrjxfjjc
Error: 2147942432 (0x80070020)

---

2026-04-14 17:55:47 service stopped
2026-04-14 17:55:51 service started
2026-04-14 18:01:47 service stopped
2026-04-14 18:01:48 service started
RAW_BUFFERClick to expand / collapse

Environment

  • Product: Claude for Windows (desktop app)
  • Package: Claude_1.2278.0.0_x64__pzs8sxrjxfjjc
  • Install type: MSIX/AppX (C:\Program Files\WindowsApps)
  • OS: Windows
  • Reproducibility: Repeats after updates

Summary

After installing a Claude update on Windows, the app cannot be relaunched. Windows reports a "file is being used by another program" error. Claude fails to start until reinstall or reboot.

Steps to Reproduce

  1. Claude is running
  2. Update installs
  3. Try to relaunch Claude
  4. Launch fails repeatedly

Observed Behavior

  • AppX/AppModel launch failures with error 2147942432 (0x80070020 / sharing violation)
  • Event ID 208 (Microsoft-Windows-AppModel-Runtime/Admin): Claude.exe launch fails
  • Event ID 215: Desktop AppX container creation fails for the package
  • Packaged service CoworkVMService stops/starts around the same timestamps but doesn't resolve the issue

Event Viewer Evidence

AppModel-Runtime (Event 208):

Launch of Claude.exe fails with ErrorCode 2147942432 (0x80070020)
Times: 17:55:51, 17:56:10, 17:56:13, 17:57:56-17:57:59, 18:01:46-18:01:49, 18:20:11-18:20:15

AppModel-Runtime (Event 215):

Desktop AppX container creation fails for Claude_1.2278.0.0_x64__pzs8sxrjxfjjc
Error: 2147942432 (0x80070020)

CoworkVMService (Application log):

2026-04-14 17:55:47 service stopped
2026-04-14 17:55:51 service started
2026-04-14 18:01:47 service stopped
2026-04-14 18:01:48 service started

Key Finding

The package registers a packaged Windows service:

  • Service: CoworkVMService (Display name: "Claude")
  • Type: WIN32_PACKAGED_PROCESS
  • Startup: AUTO_START
  • Account: LocalSystem
  • Binary: cowork-svc.exe
  • Declared in AppxManifest.xml as windows.service

Hypothesis

Bug in the MSIX/AppX update path involving the packaged service CoworkVMService and the transition between old/new package container state. The service holds a lock that prevents AppX container creation for the new package version.

Workarounds Attempted

  • Stopping CoworkVMService manually: Does not resolve — relaunching Claude restarts the service and the error recurs
  • Reboot / reinstall: Works, but should not be necessary after a normal update

Relevant Logs

  • C:\ProgramData\Claude\Logs\cowork-service.log
  • Event Viewer: Microsoft-Windows-AppModel-Runtime/Admin
  • Event Viewer: Microsoft-Windows-AppXDeployment-Server/Operational
  • Event Viewer: Application (provider: CoworkVMService)

Expected Behavior

Claude should update and relaunch normally without leaving the package in a broken state.

extent analysis

TL;DR

The issue can likely be fixed by properly stopping the CoworkVMService before updating Claude and ensuring it doesn't restart during the update process.

Guidance

  • Investigate the cowork-service.log for any errors or indications of why the service might be holding onto resources, preventing the AppX container creation.
  • Attempt to stop the CoworkVMService using the Windows Service Manager or PowerShell before updating Claude, and verify if this allows the update to complete successfully without errors.
  • Consider modifying the service startup type to DISABLED or MANUAL during updates to prevent it from interfering with the update process.
  • Review the AppxManifest.xml to ensure the service declaration and configuration are correct and do not cause issues during updates.

Example

No specific code example is provided due to the nature of the issue, which seems related to service management and AppX packaging rather than code-level problems.

Notes

The exact solution might depend on the specifics of how CoworkVMService is implemented and its interactions with the Claude application and the AppX update process. Further investigation into the service's behavior and its role in the application's functionality is necessary.

Recommendation

Apply a workaround by stopping the CoworkVMService before updating Claude and ensure it remains stopped until the update is complete. This approach is chosen because it directly addresses the suspected root cause (the service holding a lock) without requiring a full understanding of the service's internal workings or making assumptions about the application's code.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Windows MSIX: Claude fails to launch after update (AppX container error 0x80070020) [1 comments, 2 participants]