ccdScheduledTasksEnabled defaults to true, causing Claude Code lock conflict after sleep/resume

Resolved 💬 3 comments Opened Mar 25, 2026 by catchtheweb Closed Mar 28, 2026

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

  1. Install/update Claude Desktop (confirmed on Windows 11, version 1.1.6041)
  2. Use Claude Code normally
  3. Put PC to sleep
  4. Resume from sleep
  5. Try to use Claude Code → "already in use by another program" error appears
  6. 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_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗