[BUG] DISABLE_TELEMETRY=1 breaks remote-control with misleading "not yet enabled" error
Status Open
Reported on v2.1.63
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
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
DISABLE_TELEMETRY=1 claude remote-control- Observe: "Error: Remote Control is not yet enabled for your account"
claude remote-control(without the variable)- 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_
15 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
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...
try
unset CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC && claude rc"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC" has not been enabled for me.
Therefore, unsetting does not change anything.
Additional finding:
DISABLE_TELEMETRY=0(explicitly "off") also triggers this bugEnvironment
Problem
The
/remote-controlslash 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 usesisEnabled: Zvqwhere:qA()callsAr()which calls!Pv():When
Pv()returnstrue,qA()skips all GrowthBook/Statsig feature flag lookups and returns the default value (false) for every gated feature - includingtengu_ccr_bridge.The critical issue:
DISABLE_TELEMETRYuses!!(truthy check) while the other env vars usew1()(proper boolean parse). SettingDISABLE_TELEMETRY=0in settings.json producesprocess.env.DISABLE_TELEMETRY = "0", and!!"0"istruein 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-controland potentially other gated features.The cached GrowthBook features in
~/.claude/.claude.jsoncorrectly contained"tengu_ccr_bridge": true, but the value was never read becauseqA()bailed out early.Settings that caused it
Fix
Removing
DISABLE_TELEMETRYfrom the settings entirely (not setting it to"0", just deleting the key) resolved the issue./remote-controlappeared immediately.Suggested code fix
Use the same
w1()helper forDISABLE_TELEMETRYthat's already used for the other env vars in the same function:This would make
"0"and"false"behave as expected (falsy), matching the behavior ofCLAUDE_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.
this worked for me
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
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
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:
ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-6[1m] claudeso that selecting Opus actually selects the 1M context variant./modelmenu. 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).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.
This is still happening as of today (2026/04/20).
I happened to find it by chance while disabling telemetry.
Not only is
rcnot 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
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.
Same issue still reproduces on v2.1.148, macOS, Claude Max (personal org).
Repro:
~/.claude/settings.jsonhad"env": { "DISABLE_TELEMETRY": "1" }claude --remote-control→Error: Remote Control is not yet enabled for your account.DISABLE_TELEMETRYfrom settings.json, no other changes → Remote Control launches fine.The error message is particularly confusing because:
+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.Ridiculous that I'm paying $200 a month for this and i can't use all the features. Still an issue.
I also have this problem with the latest (2.1.211) release