Windows: 'Another program is currently using this file' when clicking Relaunch to update
Bug Description
On Windows 11, clicking "Relaunch" when a Claude Desktop update is available always fails with the error: "another program is currently using this file." This happens every time.
Root Cause
The CoworkVMService Windows service (cowork-svc.exe) remains running during the update process. It holds file locks on the MSIX package directory (C:\Program Files\WindowsApps\Claude_*). The service has StartupType = Automatic with auto-recovery, so it restarts immediately even if manually killed. Disabling it requires admin privileges that the updater doesn't have.
Expected Behavior
The updater should stop CoworkVMService before replacing package files, then restart it after the update completes.
Workaround
Run the following in an admin PowerShell before clicking Relaunch:
Stop-Service CoworkVMService -Force
Set-Service CoworkVMService -StartupType Disabled
# Click Relaunch now
# After update, re-enable:
Set-Service CoworkVMService -StartupType Automatic
Start-Service CoworkVMService
Environment
- OS: Windows 11 Pro 10.0.22631
- Claude Desktop version: 1.1062.0.0 (MSIX/Windows Store install)
- Package:
Claude_pzs8sxrjxfjjc - Service:
CoworkVMService→app\resources\cowork-svc.exe
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗