Relaunch fails: 'program is currently using this file' (file-lock on relaunch, Windows)
Status Closed — duplicate
Reported on v2.1.205
Maintainer reply None cached
Activity 3 comments · opened Jul 9, 2026 · closed Aug 25, 2026
Summary
Clicking Relaunch in the Claude Code app (Windows) fails with an error stating that a program is currently using this file — a file-lock conflict prevents the relaunch/update from completing.
Environment
- Claude Code version: 2.1.205
- Client OS: Windows 10/11
- A background helper process associated with the app appears to hold a lock on a file the relaunch needs to replace/open.
Steps to reproduce
- Have the Claude Code app running on Windows.
- Trigger Relaunch (e.g. after an update, or via the relaunch action).
Actual behavior
- The relaunch fails with a message that the program is currently using this file (a sharing/lock violation). The relaunch cannot proceed while the file is locked.
Expected behavior
- Relaunch should release/close any file handles the app or its background helper holds so the relaunch can complete cleanly, or retry until the lock clears.
Notes
- Appears related to a background helper process that keeps a file handle open (or respawns), re-locking the file at the moment relaunch tries to use it.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗