On December 3, 2026 we routed Claude Code through a proxy on one Windows laptop and blocked claude.ai and claude.com, the obvious pair to put on a block list for "Claude". Claude Code answered our prompt anyway. Its traffic in that run went to api.anthropic.com, mcp-proxy.anthropic.com and a Datadog log intake host, and our proxy log shows no attempt to reach either blocked name. When we blocked api.anthropic.com instead, the command printed nothing and sat there until our 90-second timeout killed it.
So there is no single switch for Claude on a company laptop, because "Claude" is four products: the claude.ai website, the Desktop app (which carries Cowork and a Code tab), the Claude Code command-line tool and the Claude in Chrome extension. Each answers to a different control, and the strongest controls are tied to a plan. Tenant Restrictions is for Enterprise plans and Console organizations, while the Cowork and Chrome switches sit in Organization settings on Team and Enterprise. Microsoft's Copilot also splits across license, app and tenant switches, as our Copilot admin checklist shows.
In November 2026, five threads in r/msp and r/sysadmin, 377 comments between them, dealt with staff or clients installing ChatGPT or Claude desktop on company machines and what to block AI with. This checklist maps each Claude surface to its control, from Anthropic's and Microsoft's pages read on December 3, 2026, plus our own proxy test.
Which block stops which Claude
The table is our summary of the sources below. "Our reading" marks a gap we inferred rather than one a source states.
| Surface | Control | Plan or rights needed | What gets around it |
|---|---|---|---|
| claude.ai in a browser | DNS or proxy block of claude.ai; or Tenant Restrictions header anthropic-allowed-org-ids |
Block: your own filter. Tenant Restrictions: Enterprise or Console organization, plus TLS inspection | Tenant Restrictions: a device whose traffic skips the inspecting proxy (our reading) |
| Desktop: Chat tab | No policy key in Anthropic's table turns it off | No key to set | App control or a network block (our reading) |
| Desktop: Code tab, Cowork, computer use | isClaudeCodeForDesktopEnabled, secureVmFeaturesEnabled, computerUseEnabled under HKLM\SOFTWARE\Policies\Claude; Cowork org toggle |
Admin rights on the device; Cowork toggle: Team or Enterprise owner | Org toggle: a personal account is outside your organization (our reading) |
| Desktop: personal accounts | "Limit Claude Desktop to allowed organizations (shadow IT)" in Organization settings | Enterprise; Desktop 4.29.0 or later | Ends after 30 days without use of your org on that computer; anyone on the computer can remove it |
| Desktop: personal accounts, before anyone signs in | forceLoginOrgUUID under HKLM\SOFTWARE\Policies\Claude, or MDM |
Team or Enterprise; admin rights on the device | Not stated by Anthropic; documented, not tested by us |
| Claude Code CLI | Block api.anthropic.com (we measured this); allowedProviders: [] or forceLoginOrgUUID: [] in managed settings (documented, not tested by us) |
Network: your own filter. Managed: admin rights to write C:\Program Files\ClaudeCode or HKLM |
Local admins can edit managed sources; stored Console credentials skip the org check; Bedrock, Google Cloud, Foundry or gateway sessions send traffic to your provider instead of api.anthropic.com |
| Claude in Chrome | Organization settings > Claude in Chrome, "Enable for your team"; the forceLoginOrgUUID Chrome enterprise policy |
Team or Enterprise owner; Chrome management for the policy | A personal account, unless the Chrome policy is deployed |
claude.ai in the browser
A plain DNS or proxy block of claude.ai keeps the website out of the browser on managed devices. Our ChatGPT blocking guide walks through browser policy, Intune, DNS and firewall methods, and the same mechanics apply to a Claude domain.
The stronger option is to allow Claude and restrict it to your own organization. Anthropic's Tenant Restrictions article describes it:
- Confirm the plan. Anthropic says Tenant Restrictions "are available for members of Enterprise plans and Console organizations". Our Claude vs ChatGPT compliance comparison covers what Team and Enterprise differ on beyond this.
- Turn on TLS inspection at your proxy; Anthropic lists it as a requirement.
- Have the proxy add
anthropic-allowed-org-ids: <uuid>,<uuid>with your organization UUIDs. Limits: 10 header lines and 500 UUIDs. - Apply it to claude.ai, api.anthropic.com, claude.com and anthropic.com. Anthropic says the restriction covers web, desktop, API key and OAuth traffic.
- Check your proxy: Anthropic names Cato, Cloudflare Gateway, Island, Netskope, Prisma Access and Zscaler, plus any HTTPS proxy that can inject headers.
A blocked request gets HTTP 403 with tenant_restriction_violation, a readable error, unlike the plain block we measured below. Of everything in this checklist, Tenant Restrictions is the control that names all four kinds of traffic at once, so an Enterprise team with a supported proxy should start here.
Claude Desktop on the device
Policy keys
On Windows, Claude Desktop reads policy from HKLM\SOFTWARE\Policies\Claude; on macOS the domain is com.anthropic.claudefordesktop. Anthropic's Desktop policy article lists these keys, read December 3, 2026:
-
isClaudeCodeForDesktopEnabled: default true; set false to remove the Code tab. -
secureVmFeaturesEnabled: default true, described as "Enable Cowork access in desktop"; set false to remove Cowork. -
computerUseEnabled: set false (DWORD 0 under HKLM) to turn off computer use "for every account" on that computer. Needs Claude Desktop 5.1231.0 or later. - Review
isLocalDevMcpEnabled,isDesktopExtensionEnabledanddisableAutoUpdateswhile you are there.
New-Item -Path "HKLM:\SOFTWARE\Policies\Claude" -Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Claude" -Name computerUseEnabled -Value 0 -Type DWord
The example uses the form the article gives for computerUseEnabled (DWORD 0); confirm the value type for each other key in the article before you push it.
Two side effects. While HKLM holds any value, Desktop stops reading HKCU\SOFTWARE\Policies\Claude, so per-user keys from an earlier rollout go dead. And setting any Desktop key hides the Release channel setting and puts the device on Stable.
What no key does
We read the whole key table and found no key that turns off the Chat tab or stops the app from opening. Staff may install it without you: Anthropic's Windows deployment article says users without admin access "can still install Claude, but Cowork on desktop will not be available", and that Claude Setup offers an install without Cowork when administrator approval isn't available; a per-user MSIX install without administrator rights is refused with error 0x80073D28. Cowork also needs the Virtual Machine Platform feature and isn't supported on VMs or VDI without nested virtualization. For a machine-wide install, the same article gives Add-AppxProvisionedPackage -Online -PackagePath "Claude.msix" -SkipLicense -Regions "all".
Cowork and Claude in Chrome in Organization settings
Anthropic's Cowork admin article says "Claude Cowork is on by default" on Team and Enterprise. The controls an owner has:
- Organization settings > Cowork, "Enable for your organization". On Team this toggle is all or nothing; on Enterprise, groups and custom roles can turn Cowork on for specific teams.
- "Run Cowork in the cloud" is a separate switch, on by default on Team. Turn it off if you keep Cowork local only.
- Organization settings > Capabilities holds Cowork's built-in browser (on by default on Team) and web search for both Cowork and Chat.
Decide about local Cowork before you leave it on: session history from a local session stays on the user's machine, and the article says "admins cannot centrally manage or delete it". Anthropic's managed settings page says Cowork sessions don't pick up server-managed settings, and a local Cowork session reads the MDM or file policy on the device instead, so for local sessions the Desktop keys above and the Claude Code keys below apply. Cloud and full VM sandbox sessions have no device policy to read.
Anthropic's Claude in Chrome article puts it at Organization settings > Claude in Chrome, "Enable for your team", on by default on Team and managed separately from Cowork. The extension can be deployed through Chrome management. For the Chrome policy side, our Chrome and Edge AI policy checklist has the policy names, and our AI browser agents policy covers what an agent in the browser should be allowed to touch.
- Turn off Claude in Chrome on its own. If you keep it, deploy the
forceLoginOrgUUIDChrome enterprise policy, which Anthropic says limits which organization the extension can be used with.
Claude Code: the closest thing to an off switch
Image: Unsplash, used under the Unsplash License.
Where the policy lives
Claude Code reads managed settings from a system file: C:\Program Files\ClaudeCode\managed-settings.json on Windows, /Library/Application Support/ClaudeCode/managed-settings.json on macOS, /etc/claude-code/managed-settings.json on Linux and WSL. The old C:\ProgramData\ClaudeCode\managed-settings.json path is no longer read, so check any earlier rollout. On Windows you can also set a Settings value (REG_SZ) under HKLM\SOFTWARE\Policies\ClaudeCode; macOS uses the domain com.anthropic.claudecode. The docs describe HKCU as a user-writable fallback, used when no admin source exists, so don't rely on it as policy.
Permission and deny rules for developers who keep Claude Code are a separate job, covered in our AI coding tools policy.
Two keys that stop it
Anthropic's settings reference doesn't call either key an off switch, but it describes the result:
{
"allowedProviders": []
}
With an empty allowedProviders, "Claude Code refuses every provider and doesn't start on the machine". It needs Claude Code v2.1.285 or later. The same page says Desktop's Cowork counts as provider "anthropic" when signed in to claude.ai, so without it in the list, "Cowork is refused at start". A server-managed list can narrow the device list but "never widen it".
forceLoginOrgUUID set to an empty array from a managed source means "users who sign in with an Anthropic account can't start Claude Code or complete a login". Anthropic's authentication page adds that ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN and apiKeyHelper are blocked at startup under forceLoginOrgUUID or forceLoginMethod.
Both are documented, not tested by us. Our non-admin test account got "Access denied" creating HKCU\SOFTWARE\Policies\ClaudeCode, even though the docs call HKCU user-writable, and "Permission denied" creating C:\Program Files\ClaudeCode, so we could not set either key.
Where they leak
- Stored Console credentials: the authentication page says "Don't rely on forceLoginOrgUUID to restrict the organization for Console logins".
-
claude setup-tokenand/install-github-appenforce onlyforceLoginMethod, so they "can mint a token in a different organization". Our Claude token theft piece covers why loose tokens matter. - Local administrators can edit managed sources, and a malformed managed file makes Claude Code refuse to start, so test one machine first.
What we measured
Setup: Claude Code 2.1.296, native install, Windows, already signed in, sending claude -p "Reply with exactly: ok" through a local CONNECT proxy we set up that logs host names and refuses the hosts we list. Data from December 3, 2026.
| Run | Blocked at proxy | Result | Hosts in the proxy log |
|---|---|---|---|
| Baseline | Nothing | "ok" | api.anthropic.com, mcp-proxy.anthropic.com, http-intake.logs.us5.datadoghq.com |
| No claude.ai | claude.ai, claude.com | "ok" | Same three; no claude.ai or claude.com |
| No platform | platform.claude.com | "ok" | Same three; no platform.claude.com |
| No API, run 1 | api.anthropic.com | No output before a 60-second timeout | Refused api.anthropic.com; Datadog intake still allowed |
| No API, run 2 | api.anthropic.com | No output in 90 seconds, exit code 124, no error message | Refused api.anthropic.com; Datadog intake still allowed |
Anthropic's network configuration page lists the hosts Claude Code needs, among them api.anthropic.com, claude.ai, claude.com, platform.claude.com and mcp-proxy.anthropic.com, and marks two Datadog intake hosts as optional telemetry. All three hosts the signed-in run reached are on that list, and the page says the Datadog one can be turned off with DISABLE_TELEMETRY. Of the four hosts we blocked, api.anthropic.com was the one whose block stopped the answer.
Staff will see a frozen terminal, so tell them before you block.
Limits: one machine, one signed-in session, one non-interactive -p command. We did not measure a first sign-in (blocking claude.ai or platform.claude.com could matter there), the interactive terminal UI, the VS Code extension or the Desktop app.
What these controls don't reach
- Other tools calling the API. Managed settings bind Claude Code alone: "A developer who calls the API from another tool isn't under them", says the managed settings page. A network block of api.anthropic.com, or Tenant Restrictions with its API key coverage, is what reaches those calls.
- Personal accounts on Desktop. "Limit Claude Desktop to allowed organizations (shadow IT)", at Organization settings > Organization and access, is an Enterprise setting. It blocks personal accounts and other organizations "starting the next time it opens", after a member has signed in to your org on that computer. The Desktop policy article says "This block isn't permanent": it ends after 30 days without use of your org on that computer, and "anyone using the computer can remove it".
- Installs in the user profile. On our test machine,
claude doctorshowed the native Claude Code at%USERPROFILE%\.local\bin\claude.exe, installed without admin rights, with auto-updates enabled.
For finding what staff already run, our AI DLP and shadow AI discovery comparison compares the tools that watch prompts and browser traffic.
No Enterprise plan? What a small team can still do
Tenant Restrictions (Enterprise or a Console organization) and the shadow IT setting (Enterprise) are out of reach on Team, but most of this list is not:
- Everything in the Organization settings and Desktop policy key sections above works on Team.
- Block personal accounts on Desktop before sign-in: set
forceLoginOrgUUIDunderHKLM\SOFTWARE\Policies\Claude, listed for Team and Enterprise. - If Claude Code must stop, block api.anthropic.com at DNS or the proxy and announce it first, because of the silent hang. Our reading: that block also cuts any other tool on the device that calls api.anthropic.com, sanctioned integrations included. We did not test what it does to Desktop.
- Keep staff on standard accounts. A Desktop they install themselves comes without Cowork, and in our test a non-admin account could not create
C:\Program Files\ClaudeCode. - Use AppLocker for the Desktop app. Microsoft's packaged app rules page says "Standard users can install packaged apps", that "AppLocker supports only publisher rules for Packaged apps" (publisher, package name, version), and that one rule controls both install and run. So a publisher rule is where an install of the Claude MSIX can be controlled; we have not tested one against Claude's package or against the Claude Setup installer.
- Mind the Claude Code native binary. Microsoft's executable rules page says the default executable rules are based on folder paths, for the Windows and Program Files folders, plus a default rule that lets the local Administrators group run all files.
%USERPROFILE%\.local\bin\claude.exeis in neither folder, so we infer that with default rules alone a standard user can't run it while local administrators still can. We have not tested it.
Put the outcome in writing: our acceptable use policy guide for AI coding tools has wording for which coding tools are allowed on company machines.
Check that it took
- Claude Code: run
claude doctorfor install method, path and auto-update status, and/statusto see the Setting sources line. Your managed source should appear there; the managed settings page names both checks. - Desktop: open settings. If any policy key is applied, the Release channel setting is gone. Then confirm the Code tab and Cowork are missing.
- Proxy: search your logs for api.anthropic.com from devices that should not run Claude Code. In our test, that host carried the work.
- Tenant Restrictions: a request from an organization you didn't allow should return 403
tenant_restriction_violation. - Organization settings: confirm the Cowork, Capabilities and Claude in Chrome toggles show the state you chose.
What to tell staff
Say which Claude is allowed: none, the company organization only, or chat without Cowork and Code. Warn them that a hung terminal means a policy block, not a broken laptop, and name who grants exceptions. Our shadow AI policy for small teams has a short policy you can attach to that message.
Checked: Anthropic's Claude Code pages on managed settings, settings, authentication and network configuration; Claude Help Center articles on Desktop policy, Windows deployment, Cowork, Tenant Restrictions and Claude in Chrome; two Microsoft Learn AppLocker pages; five Reddit threads from November 2026; and our own proxy test, all on December 3, 2026 except the threads. Desktop, Cowork and Chrome settings change between versions.
References
- Claude Code docs: Managed settings; Settings reference; Authentication; Network configuration. Read December 3, 2026.
- Claude Help Center: Desktop enterprise policy; Deploy Claude Desktop; Cowork for organizations; Tenant Restrictions; Claude in Chrome. Read December 3, 2026.
- Microsoft Learn: Packaged apps and packaged app installer rules in AppLocker; Executable rules in AppLocker. Read December 3, 2026.
- Our test: Claude Code 2.1.296 through a local CONNECT proxy, one Windows machine, December 3, 2026.
