[FEATURE] Desktop (Windows): keep Remote Control connected across idle auto-update relaunches

Open
#110,598 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend, desktop

Research direction

Read the reported main.log and remote-control.log excerpts, then trace the desktop app's stealth update relaunch and Remote Control startup gate. Define how sessions that were connected before an update should be restored and how failures should be reported; the issue names no source files or tests, and completion requires reliable reconnection across relaunches.

Written by the indexing model from the issue text.

Description

area:desktop enhancement platform:windows
Preflight Checklist
  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)
Problem Statement

I keep the Claude desktop app running on my Windows PC overnight with "Connect new sessions to Remote Control" turned ON, so I can check scheduled tasks (a twice-daily news briefing) and continue sessions from the Claude mobile app.

The PC does not sleep (sleep is set to "Never"; only the screen locks), but almost every few days I find in the morning that Remote Control is OFF and the session is unreachable from my phone.

From the logs, the cause is the desktop app's idle auto-update: while the PC is idle, the app runs "[stealth-update] Triggering stealth update after idle timeout", quits, and relaunches itself, usually between 3 and 8 AM. After the relaunch, Remote Control does not come back:

remote-control.log: "state pending -> off trigger=gate" right after "start"

There is no notification on the phone that the connection was lost, and no setting to control when updates are installed. As a result, Remote Control cannot be relied on for overnight / unattended use, which is exactly when it is most useful.

Proposed Solution
  1. After an auto-update relaunch, automatically restore Remote Control for every session that had it on before the update (the same way the app already restores navigation history and window state after a stealth relaunch).

  2. If restoring fails, retry with backoff and show the failure clearly (desktop notification + a push to the mobile app), instead of silently staying off.

  3. Optionally, let users choose how updates are applied:

    • "Install automatically when idle" (current behavior, but with Remote Control restored)
    • "Install at a set time" (e.g. a maintenance window)
    • "Ask me / Restart to update" (manual)
Alternative Solutions
  • Current workaround: every morning after an update, open the desktop app and turn Remote Control back on manually. This defeats the purpose of using it from the phone.
  • Blocking the updater (e.g. firewalling the update endpoint) is not a real option, because it also blocks security fixes.
  • The Microsoft Store "pause updates" setting does not help, because the app downloads and installs its own updates from api.anthropic.com.
Priority

High - Significant impact on productivity

Feature Category

Other

Use Case Example
  1. In the evening, I leave the desktop app running with Remote Control ON. Scheduled tasks run at 08:00 and 18:00 and send a push notification when done.
  2. Overnight, the PC stays awake with the screen locked.
  3. Around 4-5 AM the app finds an update, quits and relaunches itself.
  4. At 08:00 the scheduled task still runs on the PC, but Remote Control is OFF.
  5. On my commute I open the Claude mobile app: the session is offline, I can't read the result or reply, and I don't get the push notification.
    Expected: after step 3, Remote Control reconnects on its own, and the morning works the same as on days without an update.
Additional Context

Environment

  • Windows 11 Pro, Claude desktop app 5.11492.5 (Microsoft Store / MSIX)
  • Setting: "Connect new sessions to Remote Control" = ON
  • Power: sleep = Never (only screen lock); no sleep/hibernate events in the System event log during these nights

Observed quit/relaunch times (local time, KST), each matching an update:

  • 2026-11-13 05:04 (5.1231.2 -> 5.11492.0)
  • 2026-11-13 14:15 (5.11492.0 -> 5.11492.2)
  • 2026-11-14 08:26 (5.11492.2 -> 5.11492.5)
  • also 11-06 03:19, 11-10 04:30, 11-11 04:42 with the same quit/start pattern

Log excerpts
main.log:
[stealth-update] Triggering stealth update after idle timeout
beforeQuitForUpdate handler fired, going down for update
[updater] Version changed since last launch: ...
remote-control.log (after each relaunch):
start identity=... machine=...
state pending -> off trigger=gate

Related issues:

  • #95952 (Windows desktop update is invisible / quits without warning; asks for "Restart to update")
  • #110533 (desktop idle sweep stops Remote Control sessions after ~1h on macOS)
  • #34255 (Remote Control auto-reconnect doesn't recover dropped connections, CLI)
Dominant language
TypeScript
Stars
156k
Forks
25k
Avg merge
16h 19m
Merged PRs (30d)
5

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anthropics/claude-code

All issues in anthropics/claude-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.