In short.
This guide helps administrators deploy and troubleshoot Claude Code organization settings, but a deployed configuration can be ignored when another source takes priority or a session cannot receive it. It documents four delivery mechanisms, operating-system paths, default first-wins precedence, optional source merging and validation failures. Particularly useful details include version requirements, managed-only locks, cloud and Cowork coverage, and the distinction between a model default and a model restriction. The findings describe documented behavior; no configuration, command or enforcement behavior was tested.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete captured page at [https://code.claude.com/docs/en/managed-settings.md], including its examples, source-combination rules, validation behavior, managed-only controls, organization-policy notice and telemetry guidance. Linked documentation, template repositories and external assets are excluded. Original-source identity and capture time are retained in the evidence section. Configuration deployment, commands, refresh timing and enforcement behavior were not executed or independently verified.
The overview
identity
Deploy managed settings is a Claude Code administration guide published in Anthropic's documentation at [https://code.claude.com/docs/en/managed-settings.md]. It explains how organizations deliver settings to developers' machines and diagnose settings that do not apply.
Managed settings generally take priority over user, project, local and --settings values. The page also documents exceptions that preserve stricter restrictions and cases where a managed value supplies a default without locking the behavior.
assessment
The guide is useful for choosing a delivery mechanism, planning a fleet rollout and investigating conflicts between settings sources. Its strongest practical details are exact storage locations, configuration examples, refresh schedules and explanations of what /status and claude doctor report.
Its value depends on applying the rules for the actual client version and session environment. File presence alone does not establish that its settings are active, and a centrally configured value does not always prevent developers from changing the corresponding behavior. Enforcement reliability and operational effort were not independently assessed.
users
The primary audience is administrators responsible for Claude Code on macOS, Linux, WSL or Windows. The delivery options address teams using tools such as Jamf, Intune or Group Policy, teams building machine or runner images, and organizations managing settings through claude.ai or a gateway.
Developers can use the diagnostic sections to understand why a setting was ignored. Engineers embedding Claude Code through an IDE or Agent SDK also need the parent-settings rules, which govern settings passed by the application launching the session.
capabilities
The page covers server-managed settings, device-management or operating-system policy, system-level JSON files and a user-writable Windows registry fallback. Different groups can receive different files or profiles; the page also identifies Enterprise server-managed group configurations and gateway delivery by identity-provider group.
Controls discussed include permission rules, bypass-permission restrictions, model choices, login requirements, MCP server connections, plugins, marketplace restrictions, sandbox access and telemetry. Some controls require managed-only locks to prevent developer settings from extending the allowed entries.
Advanced arrangements include team-owned JSON drop-in files, startup policy computed by a policyHelper executable and settings supplied by an embedding host. On-device terminal, IDE, desktop Code tab and Agent SDK sessions read managed sources; Agent SDK sessions load managed settings even when settingSources excludes user, project and local files.
Using it
requirements
File delivery requires a way to place JSON in the operating system's designated system directory. Device-management and registry delivery require access to the corresponding deployment mechanism. Remote settings depend on eligible credentials, gateway sign-in or a supported gateway-backed desktop session; the complete eligibility matrix is delegated to linked documentation.
Requirements vary by feature. Combining admin sources with managedSourcesBehavior set to merge requires Claude Code v2.1.242 or later. Per-field sandbox validation requires v2.1.283 or later, and skills from MCP servers require v2.1.331 or later. The page does not establish one minimum version covering every feature it discusses.
mechanism
By default, first-wins selects the highest-ranked source containing a policy key: remote settings, then device-management or OS policy, then managed files, then the HKCU registry fallback. Most keys in lower sources are ignored even when the selected source leaves those keys unset. A source containing only managedSourcesBehavior and wslInheritsWindowsSettings does not count as delivering policy. HKCU is excluded when an admin document is present or a host supplies restrictive parent settings.
Setting managedSourcesBehavior to merge in the highest-ranked applicable source lets admin sources contribute together. Many lists combine, while restriction lists such as availableModels, allowedMcpServers and strictKnownMarketplaces are taken whole from the highest-ranked source that sets them. Locks follow their restrictive precedence rules, and some keys are read only from the highest-ranked source. HKCU never merges with another source. The page advises enabling merging only when administrators control every lower contributing source.
File composition has separate rules. Claude Code reads managed-settings.json first and then managed-settings.d/*.json alphabetically. Later scalar values replace earlier values, lists combine with duplicates removed, and nested objects merge by key. Certain values, including fallbackModel, replace whole earlier values; matching named marketplace and provided-MCP entries also replace whole entries.
Some exceptions apply even under first-wins. The env block generally merges per variable across admin sources from v2.1.223 onward. Certain sandbox and MCP restrictions are read across admin sources. Login keys generally favor device-management policy or managed files over remote settings. A policyHelper that emits managedSettings makes that output the session's managed policy, subject to exceptions delegated to the linked reference.
Host-supplied parent settings are normally ignored when an admin source is present. parentSettingsBehavior set to merge allows them to contribute under documented restrictions. Host permission allow rules and sandbox allowlists can still contribute unless the relevant managed-only locks are set.
setup
The documented file sequence is to write managed-settings.json using the settings.json shape, deploy it and confirm the selected source on one machine before broader rollout. The paths are /Library/Application Support/ClaudeCode/managed-settings.json on macOS, /etc/claude-code/managed-settings.json on Linux and WSL, and C:\Program Files\ClaudeCode\managed-settings.json on Windows. Claude Code does not read the legacy C:\ProgramData\ClaudeCode\managed-settings.json path.
For device-management delivery, macOS uses the com.anthropic.claudecode managed preferences domain. Windows machine policy stores JSON in a Settings value of type REG_SZ or REG_EXPAND_SZ under HKLM\SOFTWARE\Policies\ClaudeCode. The user fallback uses HKCU\SOFTWARE\Policies\ClaudeCode. WSL inheritance from Windows requires the documented wslInheritsWindowsSettings configuration.
Inside Claude Code, /status identifies the selected source under Setting sources and can list Skipped sources. A file deployment should show Enterprise managed settings (file), or a corresponding drop-in label. claude doctor identifies invalid entries and their sources. These are instructions from the guide; no deployment or commands were executed.
example
One supplied configuration is {"permissions":{"deny":["Read(./.env)","Read(./secrets/**)"],"disableBypassPermissionsMode":"disable"},"allowManagedPermissionRulesOnly":true}. It denies the two specified Read patterns, disables bypass permissions mode and makes managed settings the only source of permission rules. Required deny and ask rules must therefore also be placed in managed settings.
Another example is {"env":{"DISABLE_TELEMETRY":"1"}}. The page says this disables operational telemetry for sessions the policy reaches and applies without the environment-variable approval dialog. It also stops the usage data feeding the organization's analytics dashboard and turns off feature-flag fetching, so its effects extend beyond telemetry collection alone.
Assessment & evidence
limitations
Session coverage differs materially. Anthropic-hosted cloud sessions cannot read a developer device's files or device-management profile and need server-managed settings. Self-hosted runners can read their managed file, subject to source precedence. Claude Tag does not receive server-managed settings, although self-hosted Tag sessions can read the runner's file.
Cowork never fetches server-managed settings from the claude.ai admin console. On-device Cowork sessions can read endpoint policy, while full-VM and remote sessions lack the device's policy files. Separately, claude.ai checks strictKnownMarketplaces and blockedMarketplaces for the git-marketplace additions described on the page. With allowManagedPermissionRulesOnly enabled, dropped host allow rules can also block Cowork writes; the guide shows adding explicit managed Edit rules for required working folders.
Managed settings bind Claude Code. Local administrators can edit the managed source itself, and calls made through another API tool are outside these settings. A managed model remains a default that --model or ANTHROPIC_MODEL can change; availableModels supplies the restriction. autoCompactWindow is also a default. Developer allow rules and allowlists can extend configuration unless the applicable managed-only lock is deployed.
Refresh behavior is not uniform. Remote settings are fetched at startup and polled hourly; device-management and registry settings are checked every 30 minutes; files reload on changes. Some settings wait for the next session or launch, and some server-managed changes require interactive approval. requiredMinimumVersion blocks an outdated binary from starting but does not end a session already running.
Invalid policy can either restrict behavior or prevent startup. An unparseable admin document can block launch even when another source is valid. If no admin source supplies policy, an OS-denied file read allows sessions to start without that source's policies, while other read failures can stop startup. Schema handling varies by key and version: some invalid restrictions fail closed, some entries are dropped, and invalid requiredMinimumVersion or requiredMaximumVersion values fail open by being dropped.
reasoning
The central operational distinction is between delivering configuration and enforcing the intended restriction. A valid file can lose to another source; a configured model can remain changeable; and an allowlist can remain extensible without its lock. These documented distinctions explain why the guide is particularly useful for enforcement design and troubleshooting.
Merging also needs deliberate treatment because lower-source permission grants and hooks can join the active policy. The source's requirement to control all contributing admin sources is therefore consequential. Source attribution, applicable locks, client versions and session coverage together determine whether a documented control meets an organization's intended use.
alternatives
The guide's delivery choices address different environments. Files suit Linux hosts, machine images and devices without device management. Device-management or OS policy suits an existing managed fleet. Server-managed settings provide centralized changes without updating each device. HKCU is a constrained fallback when machine-level registry access is unavailable, and it remains user-writable.
For choosing which controls to enforce, the page points to Set up Claude Code for your organization [https://code.claude.com/docs/en/admin-setup.md]. For complete setting definitions, it points to All settings [https://code.claude.com/docs/en/settings-reference.md]. Those linked documents are outside the selected evidence, so their contents are not assessed.
evidence
The evidence is the complete documentation page acquired from [https://code.claude.com/docs/en/managed-settings.md], captured on 2026-11-25 at 19:35:15.607 UTC. It contains deployment instructions, JSON examples, precedence tables, refresh schedules, failure rules and diagnostic explanations.
This is vendor documentation describing intended behavior. No independent deployment results, runtime logs, reliability measurements or benchmarks are supplied. Nothing was executed, and no configurations or enforcement outcomes were tested. Linked pages, repositories and external image assets were not separately examined.
Access & freshness
costs
The page provides no prices for Claude Code, device-management products, server-managed delivery or self-hosted gateways. Subscription, API, infrastructure and deployment costs remain unknown. It also provides no quantified estimate of setup or maintenance effort.
rights
The selected page does not state a documentation or example-code licence. Redistribution and reuse permissions are therefore unknown from this evidence. The linked template repositories' licences and Claude Code's product terms are also not established by the page.
freshness
The available capture is dated 2026-11-25; the page text does not establish a publication or last-updated date. Its version gates describe when individual behaviors are supported, including source merging from v2.1.242, several cross-source MCP restrictions from v2.1.273, general restrictive-key repairs from v2.1.282 and sandbox per-field validation from v2.1.283. These statements do not identify the latest Claude Code release. Subsequent documentation changes are unknown.
actions
Choose delivery according to the devices and session environments that need the settings. Check the version requirement for each control, deploy the configuration to one machine, and inspect /status and claude doctor before expanding the rollout. Confirm both the selected source and any skipped or invalid entries.
When multiple admin sources coexist, decide explicitly whether first-wins or merge matches the intended configuration. For restrictions, check whether a managed-only lock is required and whether the configured value is merely a default. Account separately for cloud, Claude Tag and Cowork coverage, including Cowork folder permissions when host allow rules are suppressed.
