Relaunch fails: 'program is currently using this file' (file-lock on relaunch, Windows)
Open 💬 0 comments Opened Jul 9, 2026 by adleruva-hub
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.