Skip to content

[BUG] Another program is currently using this file (AFTER UPDATE) #51847

Closed as duplicate

Description

@kutzki

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

This is now the second update this has happened with... unless I restart my computer I can't reboot claude @anthropic-xabi @ah-anthropic @km-anthropic @np-anthropic it keeps giving me an error

What Should Happen?

Claude should restart without issues

Error Messages/Logs

Steps to Reproduce

Idk just restarting claude lately has caused these issues

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Before the previous update

Claude Code Version

Latest

Platform

Other

Operating System

Windows

Terminal/Shell

Other

Additional Information

With Claude Desktop app this happens when it closes, I get another program is currenlty using this file error. Nothing fixes it except restart.

Image

Activity

  1. Reckoning47 commented on Apr 22, 2026

    @Reckoning47

    Last 2 updates have caused this. I just updated to your exact same version.
    It would be nice to have a list of items to display so I don't have to kill processes using a file.

    If it is not the intent to allow the user/claude to continue working on what they were previously doing, then a user confirm window popup should be displayed that informs the user that any work in progress will need to be killed and resumed post update.

  2. justinswork commented on Apr 24, 2026

    @justinswork

    Duplicate of #42776

  3. robjarawan commented on May 8, 2026

    @robjarawan

    Image I get this all time, each update in Windows 11 Desktop is hit or miss

  4. gatsbys commented on May 9, 2026

    @gatsbys

    Exactly the same, different computers, same problem.

  5. alexkalner commented on May 19, 2026

    @alexkalner

    the same on each update.
    it is annoying a lot.

  6. trellos commented on May 19, 2026

    @trellos

    It's caused by the Cowork service, I believe. Killing processes and stopping services doesn't help. Super annoying. Please fix.

  7. justinswork commented on May 19, 2026

    @justinswork

    @github-actions @kutzki this is a duplicate of #42776

  8. Reckoning47 commented on May 19, 2026

    @Reckoning47

    This could be closed with a reference to #42776

  9. big-dimple commented on May 20, 2026

    @big-dimple

    "Can this be fixed ASAP? Doesn’t anyone at Anthropic actually use this? Or is everyone there on a Mac and nobody uses Windows?"

  10. kbsmth commented on Jun 9, 2026

    @kbsmth

    I'm still getting this error as of today. Please let's get this fixed!

  11. LWSS commented on Jun 15, 2026

    @LWSS

    for me it was a tail.exe that got stuck, used handle64 to find it

  12. 5 remaining items

  13. JerrySui1997 commented on Jul 10, 2026

    @JerrySui1997

    taskkill /F /IM powershell.exe /T here is a fix

  14. JerrySui1997 commented on Jul 10, 2026

    @JerrySui1997

    taskkill /F /IM pwsh.exe /T

  15. ostrakographos commented on Jul 17, 2026

    @ostrakographos

    I encountered the issue yesterday on an update. I killed the Claude tasks in taskbar as well as in procmon/procex, I could see the process get killed, and I would get the error upon restarting the app. After restarting the computer it would launch, but after an update today I ran into the same issue.

    I'd prefer not to kill powershell because I have active servers running through it.

    Image
  16. ostrakographos commented on Jul 17, 2026

    @ostrakographos
  17. avsoluc commented on Sep 4, 2026

    @avsoluc

    Same thing here still today. Can Anthropic PLEASE fix this as it's VERY annoying?

    Image
  18. bmarotta-ease commented on Sep 7, 2026

    @bmarotta-ease

    This is very annoying. I have to reboot my computer every day. Can you please fix it?

    PS: Isn't it ironic that the AI motor we use to develop our applications cannot fix its own bugs? How can we trust it?

  19. JRPMike commented on Sep 8, 2026

    @JRPMike

    I get this all the time after update. Please fix this or don't force us to update. I can't be rebooting my computer every time you decide to push an update.

    Image
  20. michaelbeijer commented on Sep 8, 2026

    @michaelbeijer
    Image

    Just give up and restart your computer. There is no other way. I wasted God knows how many hours with Claude Code, Fable 5.1, etc. It doesn't matter what you try, it just won't work. Just restart.

  21. jeremyevith commented on Sep 10, 2026

    @jeremyevith

    How is a multibillion dollar company unable to solve this after all these months?
    It is mind boggling that a solo amatuer dev back in 1990s can code better self-updater by hand than Anthropic.

  22. LWSS commented on Sep 10, 2026

    @LWSS

    How is a multibillion dollar company unable to solve this after all these months? It is mind boggling that a single human dev back in 1990s can code better self-updater by hand than Anthropic.

    it's a rare bug, I've only gotten it 2x, also you can fix it just by rebooting so they don't seem to care lol

  23. JRPMike commented on Sep 10, 2026

    @JRPMike

    How is a multibillion dollar company unable to solve this after all these months? It is mind boggling that a single human dev back in 1990s can code better self-updater by hand than Anthropic.

    it's a rare bug, I've only gotten it 2x, also you can fix it just by rebooting so they don't seem to care lol

    It's not rare. It happens literally every time Claude updates. It has for months for me.

  24. thijsterlouw commented on Sep 11, 2026

    @thijsterlouw

    It's not rare. It happens literally every time Claude updates. It has for months for me.

    Agreed, happens increasingly often for me. Started a week ago or so, now happens very frequently.

  25. benowrlive commented on Sep 12, 2026

    @benowrlive

    Got this same issue..running Co-work from the browser.
    try this in Powershell:
    Stop-Service CoworkVMService -Force; Remove-AppxPackage (Get-AppxPackage Claude).PackageFullName
    winget install --id Anthropic.Claude --installer-type exe

  26. oxxen commented on Sep 13, 2026

    @oxxen

    Got this same issue..running Co-work from the browser. try this in Powershell: Stop-Service CoworkVMService -Force; Remove-AppxPackage (Get-AppxPackage Claude).PackageFullName winget install --id Anthropic.Claude --installer-type exe

    THANK YOU. This shit has been happening for me every. single. update.

  27. drizzlx commented on Sep 14, 2026

    @drizzlx

    Got this same issue..running Co-work from the browser. try this in Powershell: Stop-Service CoworkVMService -Force; Remove-AppxPackage (Get-AppxPackage Claude).PackageFullName winget install --id Anthropic.Claude --installer-type exe

    Thank you so much. After Claude update I have gotten the error for months, and pc restart was the only thing to fix it, until now. Your PowerShell command uninstall and reinstall worked after Claude did an update and got the error.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions