ccdScheduledTasksEnabled defaults to true, causing Claude Code lock conflict after sleep/resume
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
After a recent Claude Desktop update, ccdScheduledTasksEnabled and coworkScheduledTasksEnabled were added to claude_desktop_config.json with true as default. This causes Claude Code to be automatically managed as a background daemon by Claude Desktop. After sleep/resume, the previous process lock remains while Claude Desktop tries to restart Claude Code, resulting in "already in use" errors that repeat indefinitely.
What Should Happen?
Both ccdScheduledTasksEnabled and coworkScheduledTasksEnabled should default to false, requiring explicit user opt-in. Or at minimum, users should be notified when these background services are enabled after an update.
Error Messages/Logs
Steps to Reproduce
- Install/update Claude Desktop (confirmed on Windows 11, version 1.1.6041)
- Use Claude Code normally
- Put PC to sleep
- Resume from sleep
- Try to use Claude Code → "already in use by another program" error appears
- Kill Claude Code in Task Manager → same error reappears after a few minutes (Claude Desktop auto-restarts it)
Fix: Set both values to false in %APPDATA%\Claude\claude_desktop_config.json:
{
"preferences": {
"coworkScheduledTasksEnabled": false,
"ccdScheduledTasksEnabled": false
}
}
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.72 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗