[BUG] DISABLE_TELEMETRY=1 breaks remote-control with misleading "not yet enabled" error

Status Open
Reported on v2.1.63
Maintainer reply None cached
Activity 15 comments · opened Feb 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?

Bug Description

claude remote-control fails with "Error: Remote Control is not yet enabled for your account" when DISABLE_TELEMETRY=1 is set — even on an eligible account.

## Steps to Reproduce

  1. DISABLE_TELEMETRY=1 claude remote-control
  2. Observe: "Error: Remote Control is not yet enabled for your account"
  3. claude remote-control (without the variable)
  4. Observe: works correctly

## Expected Behavior

DISABLE_TELEMETRY should disable analytics/tracking only. It should not affect feature-gate evaluation for Remote Control.

## Environment

  • Claude Code: 2.1.63
  • OS: Linux (Ubuntu)

What Should Happen?

DISABLE_TELEMETRY should disable analytics/tracking only. It should not affect feature-gate evaluation for Remote Control.

Error Messages/Logs

DISABLE_TELEMETRY=1 claude remote-control
Error: Remote Control is not yet enabled for your account.
❯ claude remote-control

·✔︎· Connected

Steps to Reproduce

DISABLE_TELEMETRY=1 claude remote-control
claude remote-control

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.63 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

15 Comments

github-actions[bot] · 6 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/28777

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

jschneider · 6 months ago

I saw that issue. But I am not sure if this is a duplicate - the error message is different. But it might be the same root cause...

n0x00x · 6 months ago

try unset CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC && claude rc

jschneider · 6 months ago

"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC" has not been enabled for me.

Therefore, unsetting does not change anything.

Laufbursche42 · 5 months ago

Additional finding: DISABLE_TELEMETRY=0 (explicitly "off") also triggers this bug

Environment

  • Claude Code 2.1.69
  • Fedora Linux + Windows 11
  • Max plan, same account on both machines

Problem

The /remote-control slash command was completely missing from the command list on Linux, while the exact same account and version on Windows had it available. The command didn't even show up in /help - it wasn't just failing, it was hidden entirely.

Root cause (traced through source)

In cli.js, the command registration uses isEnabled: Zvq where:

Zvq() → vn() → qA("tengu_ccr_bridge", false)

qA() calls Ar() which calls !Pv():

function Pv() {
  return w1(process.env.CLAUDE_CODE_USE_BEDROCK) ||
         w1(process.env.CLAUDE_CODE_USE_VERTEX) ||
         w1(process.env.CLAUDE_CODE_USE_FOUNDRY) ||
         !!process.env.DISABLE_TELEMETRY ||        // <-- BUG HERE
         !!process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC
}

When Pv() returns true, qA() skips all GrowthBook/Statsig feature flag lookups and returns the default value (false) for every gated feature - including tengu_ccr_bridge.

The critical issue: DISABLE_TELEMETRY uses !! (truthy check) while the other env vars use w1() (proper boolean parse). Setting DISABLE_TELEMETRY=0 in settings.json produces process.env.DISABLE_TELEMETRY = "0", and !!"0" is true in JavaScript because "0" is a non-empty string.

So explicitly setting telemetry to OFF ("0") has the same effect as setting it to ON ("1") - both disable all feature flag evaluation, hiding /remote-control and potentially other gated features.

The cached GrowthBook features in ~/.claude/.claude.json correctly contained "tengu_ccr_bridge": true, but the value was never read because qA() bailed out early.

Settings that caused it

{
  "env": {
    "DISABLE_TELEMETRY": "0",
    "DISABLE_ERROR_REPORTING": "1",
    "CLAUDE_CODE_HIDE_ACCOUNT_INFO": "1"
  }
}

Fix

Removing DISABLE_TELEMETRY from the settings entirely (not setting it to "0", just deleting the key) resolved the issue. /remote-control appeared immediately.

Suggested code fix

Use the same w1() helper for DISABLE_TELEMETRY that's already used for the other env vars in the same function:

// Before (broken):
!!process.env.DISABLE_TELEMETRY

// After (consistent):
w1(process.env.DISABLE_TELEMETRY)

This would make "0" and "false" behave as expected (falsy), matching the behavior of CLAUDE_CODE_USE_BEDROCK, CLAUDE_CODE_USE_VERTEX, etc.

As a general design concern: telemetry preferences should not gate functional features like Remote-Control. A user opting out of telemetry has no expectation that this would disable unrelated product functionality. These should be independent settings evaluated through separate code paths.

VashisthaCT · 5 months ago
try unset CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC && claude rc

this worked for me

ahundt · 5 months ago

Here is a minimal binary patch that restores 1M context, /remote-control, and /btw when DISABLE_TELEMETRY=1 or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 is set. Tested on v2.1.76, Max 20x, macOS: https://gist.github.com/ahundt/158d498f07a10fec4955a70bf475a20b

ahundt · 5 months ago

Here is a minimal binary patch that restores 1M context, /remote-control, and /btw when DISABLE_TELEMETRY=1 or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 is set. Tested on v2.1.76, Max 20x, macOS: https://gist.github.com/ahundt/158d498f07a10fec4955a70bf475a20b

bluelight773 · 5 months ago

I encountered the problem of not seeing 1M context model variants in claude on a Max subscription. This occurred in one environment, but not in another suggesting it's some setting that's tripping it up. However, I don't know which setting it is. My tests did not confirm it's one of the settings already mentioned.

Two workarounds that worked:

  1. Launch ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-6[1m] claude so that selecting Opus actually selects the 1M context variant.
  2. Enable Extra Usage (in claude.ai settings) with any monthly limit (e.g., $1). This makes the 1M variants appear in the /model menu. Although they state that they come with an extra charge, my tests suggest they do not and are in fact included in the Max sub (as expected).
DrappierTechnologies · 4 months ago

This needs to get fixed. Gating a feature, whether intentional or not, especially on paying accounts by making telemetry mandatory is ridiculous. This also happens with system wide environment variables on Windows.

Additionally, many MCPs have telemetry on by default without notifying the user so turning it off system-wide is the safest way to ensure your "telemetry" data doesn't exit your machine.

This may be another step down the path that Anthropic started down in September 2025.

ericol · 4 months ago

This is still happening as of today (2026/04/20).
I happened to find it by chance while disabling telemetry.
Not only is rc not available from the command line, it also disappears as an option when searching from the available commands (e.g. with /rem)

OSX, claude code version 2.1.14

This needs to get fixed. Gating a feature, whether intentional or not, especially on paying accounts by making telemetry mandatory is ridiculous
Sydius · 4 months ago

It seems as though Claude Code uses GrowthBook for both feature flags and telemetry, which makes sense during staged rollouts or A/B testing of a new feature. What seems to be missing is the promotion of features out from behind GrowthBook feature flags once they're mature / generally-available. I'm pessimistic that this will ever be addressed by Anthropic.

tolmachevmaxim · 3 months ago

Same issue still reproduces on v2.1.148, macOS, Claude Max (personal org).

Repro:

  • ~/.claude/settings.json had "env": { "DISABLE_TELEMETRY": "1" }
  • claude --remote-controlError: Remote Control is not yet enabled for your account.
  • Removed DISABLE_TELEMETRY from settings.json, no other changes → Remote Control launches fine.

The error message is particularly confusing because:

  1. It blames account eligibility, not config
  2. Nothing in the Remote Control docs mentions telemetry flags as a prerequisite
  3. Statsig (used for feature flag eval) and telemetry are conceptually separate to users — they reasonably expect to disable analytics while keeping gated features

+1 to the suggested fix: either evaluate feature flags via a non-telemetry channel, or surface a clear error like Remote Control requires Statsig feature-flag eval; DISABLE_TELEMETRY=1 blocks this. Use CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC instead if you want privacy without breaking gated features.

drod3763 · 2 months ago

Ridiculous that I'm paying $200 a month for this and i can't use all the features. Still an issue.

andreyrusanov · 1 month ago

I also have this problem with the latest (2.1.211) release