Telemetry consent prompt reappears after PC restart despite declining
Resolved 💬 4 comments Opened Jan 19, 2026 by rusenbb Closed Feb 27, 2026
Description
When declining the "Help improve Claude by sending usage stats" prompt in the TUI, the preference is not persisted. After a PC restart, Claude Code asks the same question again.
Steps to Reproduce
- Start Claude Code fresh (or after restart)
- When prompted about telemetry/usage stats, select "No"
- Restart the PC
- Start Claude Code again
- The telemetry prompt appears again
Expected Behavior
The telemetry preference should be saved and persist across restarts. The prompt should not reappear after declining.
Actual Behavior
The prompt reappears every time after a PC restart, regardless of previous selections.
Investigation
Checked both config files:
~/.claude.json- ContainshasCompletedOnboarding: truebut no telemetry preference field~/.claude/settings.json- No telemetry-related settings
It appears the TUI response is not being written to disk.
Workaround
Adding to ~/.claude/settings.json:
{
"env": {
"DISABLE_TELEMETRY": "1"
}
}
Environment
- OS: Linux (Ubuntu, kernel 6.14.0-37-generic)
- Claude Code Version: 2.1.x (recently updated)
- Install Method: native
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗