HEADING OS

What your computer sends without asking

A plain guide to finding the quiet reports your computer, your browser and your AI tools send home, and switching them off. One hour of your time, no technical background needed. If you use Claude Code or another AI assistant, the last section is written for it: hand it over and let it do the work, with you approving each step.

Author Misha HaninVersion 1.0Date 2026-11-22Covers Windows 11 · macOS · Ubuntu · browsers · AI tools

Download the guide as one file · 68 KB, opens offline, free to share unchanged

HEADING OS sail logo

Executive summary

Almost every program on your computer reports back to the company that made it. Windows, macOS, your browser, your code editor and your AI assistant each send a steady stream of "telemetry": which features you used, when, for how long, what crashed and on which machine. Most of it is switched on by default. You agreed to it once, in a dialog you clicked through, or never.

Usually this is harmless, and that is exactly why nobody checks. The vendors' own documents are honest about it. Anthropic states that Claude Code's usage metrics "never include your code, prompts, or file paths". Microsoft's optional diagnostic data, by Microsoft's own description, can include "websites you browse". Docker Desktop sends diagnostics, crash reports and usage data, enabled by default on every platform. Each stream is small. Together they describe your working day: which tools you open at 2 a.m., which project crashed, how often you work, from which machine.

In some situations it is critical, not cosmetic. If you work under a non-disclosure agreement, on a government, defence, telecom, health or legal matter, inside a deal that has not been announced, or for a client who contractually forbids third-party data flows, then "what leaves this machine" is a question you must be able to answer, in writing, without guessing. A crash report can carry a fragment of what was on screen. A feedback command can send a full conversation. Data crosses borders, and the law that applies to it changes on the way. You cannot give consent to a flow you do not know exists.

Switching it off costs you nothing that matters. Security updates and version checks keep working; this guide keeps them on deliberately. You lose a few "help us improve" reports and, in some tools, a feedback button.

A real example from the machine this guide was written on. On 2026-11-22 the author's own workstation had every Claude Code telemetry switch set in its settings file. A scheduled night job still contacted the vendor at 01:30, because that job started Claude Code in a way that skips the user's settings. The fix took one line. Finding it took a careful look. A switch in one place is not a switch everywhere, and that is the lesson the rest of this guide is built on.

Contents

How to use this guide

Read the summary, then go section by section. Each section says what the thing sends, how to check it, and how to turn it off. You only need the sections for what you actually use.

Section 1

Three words, explained

Telemetry

Usage reports: which buttons you press, which features you use, how long things take. Sent automatically, usually daily or continuously.

Crash reports

When a program fails, a description of what it was doing goes to the vendor. It can include technical details of your machine and, sometimes, pieces of what was in memory.

Update checks

A program asks "is there a newer version?". This is not telemetry, and you should keep it. Security fixes arrive this way.

Keep on Operating system updates, browser updates, security patches, and "check for new version" in your tools. Every instruction in this guide leaves them on, and says so where a switch would touch them.

Turn off Usage analytics, "help improve this product", daily usage pings, diagnostic data beyond the required minimum, automatic crash reports, personalised advertising IDs.

Section 2

Look first: what is leaving now

Before changing anything, take a look. It takes five minutes and turns an abstract worry into a list.

On Windows

Press the Start button, type resmon and press Enter. This opens Resource Monitor, which is built into Windows. Click the Network tab. The list "Processes with Network Activity" shows every program that is talking to the internet right now. Note any name you do not recognise.

On a Mac

Open Activity Monitor (in Applications, then Utilities) and click Network. You will see how much each program sends and receives. It shows amounts, not destinations. To see destinations and to be asked before each new connection, install LuLu, a free, open-source firewall from Objective-See, or Little Snitch, a paid one. Both pop up a question when a program tries to connect.

Apple also lets you read what your Mac has reported: open the Console app and look at "Mac Analytics Data".

On Ubuntu Linux

Open a terminal and type sudo ss -tup. Each line is one open connection with the program that owns it. For a pop-up firewall like LuLu, install OpenSnitch.

Seeing a connection does not mean something bad is happening. Your mail, your calendar and your updates all connect. You are looking for programs you did not expect to be talking at all.

Section 3

Your operating system

Windows 11

  1. Open Settings → Privacy & security → Diagnostics & feedback.
  2. Under Diagnostic data, turn off Send optional diagnostic data. Microsoft describes optional data as including websites you browse, device activity and more detailed error reports.
  3. Still on that page, turn off Tailored experiences (newer builds call it Personalized offers) and Improve inking & typing.
  4. Go to Privacy & security → General and turn off Let apps show me personalized ads by using my advertising ID. Microsoft notes this changes which ads you see, not how many.
  5. Go to Privacy & security → Activity history and turn off Store my activity history on this device.

What you cannot turn off. On Windows Home and Pro, the "required" level of diagnostic data always stays on. Microsoft allows switching it off completely only on Enterprise, Education and Server editions. Microsoft states that your device stays "just as secure" with optional data off.

Want to see what Windows sends? Microsoft offers a free app, Diagnostic Data Viewer, in the Microsoft Store.

macOS (Sonoma, Sequoia and later)

  1. Open the Apple menu → System Settings → Privacy & Security → Analytics & Improvements.
  2. Turn off Share Mac Analytics, Share with app developers, and Improve Siri & Dictation (newer Macs: Improve Siri & Apple Intelligence).
  3. Go back to Privacy & Security → Apple Advertising and turn off Personalized Ads.

Ubuntu Linux

  1. The login news. Ubuntu periodically contacts Canonical to fetch news for the terminal welcome message, and sends your Ubuntu version, kernel, CPU model and uptime with it. To stop it: open the file /etc/default/motd-news with administrator rights and change ENABLED=1 to ENABLED=0.
  2. Ubuntu Insights (Ubuntu 25.10 and later; it replaces the older "Ubuntu Report"). It is opt-in, so you only need this if you once said yes: ubuntu-insights consent -s=false.
  3. Crash reports (Apport). Enabled by default; it stores crash reports and offers to send them. Ubuntu's own security team describes switching it off in /etc/default/apport and with sudo systemctl disable apport.service.

Section 4

Your browser

The browser sees more of your life than any other program. Each one has a small "help improve" switch, usually hidden two levels deep.

BrowserWhereTurn off
ChromeSettings → You and Google → Google servicesHelp improve Chrome's features and performance
EdgeSettings → Privacy, search, and services → PrivacySend optional diagnostic data to improve Microsoft products (restart Edge after)
BraveSettings → Privacy and security → Data collection (brave://settings/privacy)Privacy-preserving product analytics (P3A), Automatically send daily usage ping to Brave, Automatically send diagnostic reports
FirefoxSettings → Privacy & Security → Firefox Data Collection and UseSend technical and interaction data to Mozilla, studies, and crash reports

For a whole office, or to make it stick. Each browser also reads "policies" that the user cannot undo: MetricsReportingEnabled = false for Chrome, DiagnosticData = 0 for Edge, BraveP3AEnabled, BraveStatsPingEnabled and BraveWebDiscoveryEnabled set to off for Brave, and DisableTelemetry for Firefox. Your IT person will know where these go. In Brave and Chrome you can confirm which policies are active by typing brave://policy or chrome://policy in the address bar.

Section 5

AI assistants and code editors

These tools sit closest to your work: your files, your client names, your unreleased plans. Their vendors are generally careful, and their switches are well documented. Use them.

Claude Code

Anthropic documents exactly what Claude Code sends. Usage metrics cover latency, reliability and usage patterns, and never your code, prompts or file paths. Error reports carry stack traces with secrets, paths and emails redacted. The /feedback command (also /bug and /share) sends a copy of your conversation, code included, when you use it. On the Claude API, metrics and feedback are on by default. Through Amazon Bedrock, Google Vertex or Microsoft Foundry they are off by default.

Claude Code reads its switches from a settings file in your home folder: ~/.claude/settings.json on Mac and Linux, %USERPROFILE%\.claude\settings.json on Windows. Add an "env" block like this one (if the file already has content, merge it in, do not replace the file):

{
  "env": {
    "DISABLE_TELEMETRY": "1",
    "DISABLE_ERROR_REPORTING": "1",
    "DISABLE_FEEDBACK_COMMAND": "1",
    "CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY": "1"
  }
}

These four switches leave automatic updates on. Anthropic also documents one switch that does everything at once, CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1. It also stops automatic updates, release notes and feature flags, which turns off Remote Control. If you use it, run claude update yourself from time to time.

The trap we found. The settings file only applies when Claude Code reads it. A script, a scheduled job or a tool that starts Claude Code with its own settings may not read yours. If anything on your machine runs Claude Code automatically, set the same switches in that job's environment too. This is exactly what happened on the author's machine on 2026-11-22.

Claude Code can also export detailed usage data through OpenTelemetry. That is off unless you set CLAUDE_CODE_ENABLE_TELEMETRY=1 and point it at your own collector, so there is nothing to switch off.

Visual Studio Code

Open Settings, search for telemetry, and set Telemetry Level to off. Microsoft documents that this stops VS Code's crash reports, error telemetry and usage data. Extensions are not covered: each extension may collect its own data, so check the ones you rely on.

Cursor and Windsurf

Cursor offers Privacy Mode in its settings, free on every plan. With it on, Cursor states your data is not used for training and is held under zero-retention agreements with its model providers. Whether Privacy Mode also stops the editor's own usage telemetry is not stated in Cursor's documentation we could read. Windsurf documents a TelemetryLevel policy for companies (all, error, crash, off).

Section 6

Developer tools, in one block

If you or your team write software, many command-line tools report usage. Most honour a simple "environment variable": a setting your computer passes to every program it starts. Skip this section if the names below mean nothing to you.

ToolSwitchCheck
GitHub CLIGH_TELEMETRY=false or gh config set telemetry disabledGH_TELEMETRY=log prints what would be sent
HomebrewHOMEBREW_NO_ANALYTICS=1 or brew analytics offbrew analytics state
.NET SDKDOTNET_CLI_TELEMETRY_OPTOUT=1 (set it before installing)
Hugging FaceHF_HUB_DISABLE_TELEMETRY=1
Next.jsNEXT_TELEMETRY_DISABLED=1 or npx next telemetry disablenpx next telemetry status
AstroASTRO_TELEMETRY_DISABLED=1 or npx astro telemetry disable
GatsbyGATSBY_TELEMETRY_DISABLED=1
AWS SAM CLISAM_CLI_TELEMETRY=0
Google Cloud CLIgcloud config set disable_usage_reporting true
Azure CLIaz config set core.collect_telemetry=false (built from Microsoft's documented pattern)
Claude Code, GitHub CLIDO_NOT_TRACK=1 is honoured by both

Making a variable permanent

On a Mac or Linux, add one line per variable to the file your terminal reads at start (~/.zshrc on a Mac, ~/.bashrc on most Linux), for example export HOMEBREW_NO_ANALYTICS=1, then open a new terminal. On Windows, type setx HOMEBREW_NO_ANALYTICS 1 in a Command Prompt, then open a new window.

Two that look like telemetry and are not. npm's "update notifier" only tells you a newer npm exists. Terraform's "checkpoint" checks for new versions and security bulletins; switching it off (CHECKPOINT_DISABLE=1) also silences those security notices, so we suggest leaving it on.

Section 7

Docker, VPNs and other background apps

Docker Desktop

Open Settings → General and turn off Send usage statistics. Docker describes it as diagnostics, crash reports and usage data, enabled by default on all platforms.

Tailscale

Tailscale uploads client logs by default. You can stop it, at a price Tailscale states openly: they may then be unable to help you with support. On Linux, add TS_NO_LOGS_NO_SUPPORT=true to /etc/default/tailscaled and restart the service. On Windows, put the same line in %ProgramData%\Tailscale\tailscaled-env.txt. On a Mac it works only with the open-source version, not the App Store app.

Everything else

Many smaller apps (chat apps, note apps, terminal apps, launchers) have a "Privacy" or "Analytics" page in their settings. Five minutes per app. Look for words like analytics, usage data, improve, diagnostics and crash reports.

Section 8

The one-page checklist

Print this page or keep it open. Tick each line you have done.

  • Looked at what is connecting now (Resource Monitor, Activity Monitor, or ss).
  • Operating system: optional diagnostics, tailored experiences, advertising ID and activity history off.
  • Browser: "help improve", usage ping and crash reports off.
  • Claude Code: the four switches in settings.json, and in any job that starts it automatically.
  • VS Code: Telemetry Level set to off.
  • Developer tools you actually use: their switch from Section 6, made permanent.
  • Docker Desktop and other background apps: usage statistics off.
  • Updates and security patches: still on. Checked.
  • A week later: looked at the connections again, to confirm nothing new appeared.

Section 9

Runbook for your AI agent

If you use Claude Code or a similar assistant, open it in a terminal and paste everything inside the box below. It will check your machine, show you a report, and change nothing until you say yes to each item.

runbook: telemetry check and opt-out · v1.0 · 2026-11-22

Role and goal

You are helping a non-technical person find and switch off telemetry, usage analytics, usage pings and automatic crash reports on this computer. Version checks, software updates and security updates must stay on. Speak to the user in plain language, in the language they write to you.

Hard rules

  1. Phase 1 is read-only. Change nothing until the user approves a specific item by number.
  2. Before editing any file, copy it to a backup next to it named <file>.bak-<date>, then edit, then read the file back and show the changed lines.
  3. Never disable operating system updates, browser updates, security patches or antivirus.
  4. Never run a command that needs administrator rights (sudo, or a Command Prompt opened "as administrator") yourself. Print the exact command, explain it in one sentence, and let the user run it.
  5. Never send, upload or post anything anywhere, and never run a tool's feedback or bug-report command.
  6. Never print the contents of files that may hold passwords or keys (.env, credential files, browser profiles). Read only the specific setting you need.
  7. If you are not sure what a setting does, say so and leave it alone. Do not guess menu paths: if a path in this runbook does not match what the user sees, ask them what they see.

Phase 1: inventory (read-only)

  1. Detect the operating system and version.
  2. Claude Code: read the "env" block of ~/.claude/settings.json (Windows: %USERPROFILE%\.claude\settings.json). Report which of DISABLE_TELEMETRY, DISABLE_ERROR_REPORTING, DISABLE_FEEDBACK_COMMAND, CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY, CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC are set. Then look for anything that starts Claude Code automatically (cron entries, systemd user timers, launchd agents, Windows Task Scheduler tasks, CI scripts in the user's projects) and report whether each passes these variables in its own environment.
  3. Shell environment: report which of these are set: DO_NOT_TRACK, GH_TELEMETRY, HOMEBREW_NO_ANALYTICS, DOTNET_CLI_TELEMETRY_OPTOUT, HF_HUB_DISABLE_TELEMETRY, NEXT_TELEMETRY_DISABLED, ASTRO_TELEMETRY_DISABLED, GATSBY_TELEMETRY_DISABLED, SAM_CLI_TELEMETRY.
  4. Installed tools: for each of gh, brew, dotnet, gcloud, az, sam, docker, code, tailscale that is installed, report its telemetry state where a read-only command exists (gh config get telemetry; brew analytics state; gcloud config get disable_usage_reporting; az config get core.collect_telemetry). For VS Code read telemetry.telemetryLevel from the user settings.json.
  5. Ubuntu only: read ENABLED from /etc/default/motd-news and from /etc/default/apport; report whether ubuntu-insights is installed.
  6. Network snapshot: list programs with open internet connections (Windows: netstat -b needs a Command Prompt opened as administrator, so ask the user to run it or to open Resource Monitor; macOS: lsof -i -n -P; Linux: ss -tup). Name any program the user may not expect.
  7. Settings you cannot read (Windows diagnostic settings, macOS Analytics & Improvements, browser data-collection pages): list them as "please check by hand" with the exact menu path from the guide this runbook came from.

Phase 2: report

Show one numbered table: item, what it sends (one sentence), current state (on / off / unknown), the proposed change, and whether it needs the user's hands or administrator rights. Mark anything that would affect updates. Then stop and ask which numbers to apply.

Phase 3: apply, only what was approved

  1. Claude Code: merge the approved variables into the "env" block of settings.json, keeping every existing key. Prefer the four individual switches; propose CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC only if the user accepts that it also stops automatic updates.
  2. Automatic jobs that start Claude Code: add the same variables to each job's environment, one job at a time, showing the change.
  3. Shell variables: append export lines to the user's shell start file (~/.zshrc or ~/.bashrc), or on Windows run setx NAME VALUE for each. Add a comment line with today's date.
  4. Tool configs: gh config set telemetry disabled; brew analytics off; gcloud config set disable_usage_reporting true; az config set core.collect_telemetry=false; VS Code telemetry.telemetryLevel = "off".
  5. Administrator steps (motd-news, apport, Tailscale, browser policies): print the exact commands for the user to run, one block per item.
  6. GUI-only steps: walk the user through each menu, one at a time, and wait for "done".

Phase 4: verify and hand over

  1. Re-run every Phase 1 check and show before and after side by side.
  2. Confirm in one line that updates are still on for the operating system, the browser and each tool you touched.
  3. List every file you changed with its backup path, and how to undo each change.
  4. List what you did not change and why, and anything you could not verify.

The runbook keeps the person in charge: it reads first, asks before every change, backs up every file, and never uses administrator rights on its own.

Section 10

Sources, and what is not covered

Every switch in this guide was checked against the vendor's own documentation on 2026-11-22. Where a vendor page blocked automated reading, the setting was confirmed through the vendor's page as shown in search results; those are marked.

  • Anthropic, Claude Code: code.claude.com/docs/en/env-vars, /data-usage, /settings, /monitoring-usage
  • Microsoft, Windows diagnostics: support.microsoft.com, "Diagnostics, feedback, and privacy in Windows"; learn.microsoft.com, "Configure Windows diagnostic data in your organization"
  • Apple: support.apple.com/guide/mac-help/mh27990; support.apple.com/en-us/105131
  • Canonical: ubuntu.com/legal/motd; discourse.ubuntu.com "Ubuntu Insights"; ubuntu.com/security/CVE-2022-28653
  • Google Chrome: support.google.com/chrome/answer/96817; Chromium policy MetricsReportingEnabled
  • Microsoft Edge: learn.microsoft.com/deployedge, policy DiagnosticData
  • Brave: support.brave.app, "Group Policy" via search
  • Mozilla Firefox: mozilla.github.io/policy-templates; support.mozilla.org "technical and interaction data" via search
  • Visual Studio Code: code.visualstudio.com/docs/configure/telemetry
  • GitHub CLI: docs.github.com/en/github-cli/github-cli/github-cli-telemetry
  • Homebrew: docs.brew.sh/Analytics · .NET: learn.microsoft.com/dotnet/core/tools/telemetry · Hugging Face: huggingface.co/docs/huggingface_hub (environment variables)
  • Next.js: nextjs.org/telemetry · Astro: astro.build/telemetry · Gatsby: gatsbyjs.com/docs/telemetry
  • Google Cloud: cloud.google.com/sdk/docs/usage-statistics · Azure CLI: learn.microsoft.com/cli/azure/azure-cli-configuration · AWS SAM: docs.aws.amazon.com, SAM CLI telemetry
  • HashiCorp Terraform: developer.hashicorp.com/terraform/cli/commands · Docker Desktop: docs.docker.com/desktop/settings-and-maintenance/settings
  • Tailscale: tailscale.com/kb/1011/log-mesh-traffic · Cursor: cursor.com/data-use · Windsurf: docs.windsurf.com/windsurf/enterprise-policies
  • Tools: Objective-See LuLu (objective-see.org/products/lulu.html); Little Snitch (obdev.at); OpenSnitch (github.com/evilsocket/opensnitch); Linux ss (man7.org)

What this guide does not claim

  • It does not make a computer silent. Updates, licence checks, sync services, mail and the AI services you use still connect, by design.
  • It does not cover phones, smart TVs, home routers, or company-managed laptops where your IT department sets the rules (ask them first).
  • Some components are not covered because we could not confirm them from the vendor: Microsoft's ONNX Runtime library (used inside some AI tools), the full list of tools that honour DO_NOT_TRACK, whether npm sends any usage data, and the exact menu paths of Cursor and Windsurf.
  • Menus move between versions. If a path here does not match your screen, search the settings for the words in bold.