Deploy with MDM changedthird-party/claude-desktop/mdm
Nearest release: v2.1.334, published an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 1 Dec 2026 20:12 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 1 Dec 2026 20:37 UTC.
Upstream edited
Recorded here
Lines+25added
Lines−11removed
From line
104
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits51to this page, all time
The whole hunk
from line 104, old and new numbered
/
from line 104
104104>
105105> The managed location is `/etc/claude-desktop/managed-settings.json`. Set its ownership and permissions as described under [The Linux configuration file](https://claude.com/docs/third-party/claude-desktop/configuration-format.md#the-linux-configuration-file).
106106
107When a managed source sets any key other than the [app-behavior keys and the keys treated like them](#update-keys-and-managed-precedence), the managed configuration takes effect, the in-app configuration window becomes read-only, and locally authored values in `configLibrary/` are ignored.
107When a managed source sets any key other than [app-behavior keys](#update-keys-and-managed-precedence), the managed configuration takes effect, the in-app configuration window becomes read-only, and locally authored values in `configLibrary/` are ignored.
108108
109109If you also deploy Claude Code's own managed settings to the same devices, see [Interaction with Claude Code's own managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) for how the two combine.
110110
from line 127
127127
128128### Update keys and managed precedence
129129
130A small group of **app-behavior keys** is treated specially, so you can set an update policy, a restart window, or a network proxy from MDM without managing the whole configuration:
130When a managed source, such as an MDM profile or registry policy, sets only **app-behavior keys**, the device keeps the rest of its configuration. You can use such a profile to set an update policy, a restart window, or a network proxy from MDM without managing the whole configuration. The configuration window stays editable, and values from the local configuration, a bootstrap server, or the Enterprise Admin Console still apply, except for the keys that Claude Desktop takes from the profile alone. The profile still [changes some behaviors on the device](#what-a-profile-or-policy-changes-on-a-device).
131131
132* The update keys `disableAutoUpdates`, `autoUpdaterEnforcementHours`, `installedUpdateEnforcementEnabled`, `installedUpdateEnforcementHours`, `updateViaUpdatesHost`, and [`releaseChannel`](https://claude.com/docs/third-party/claude-desktop/configuration#releasechannel).
133* The configuration lifecycle keys [`relaunchEnforcementHours`](https://claude.com/docs/third-party/claude-desktop/configuration#relaunchenforcementhours) and [`configRecheckIntervalMinutes`](https://claude.com/docs/third-party/claude-desktop/configuration#configrecheckintervalminutes).
134* The network proxy keys `egressProxyUrl` and `egressProxyPacUrl`. See [Network proxy](https://claude.com/docs/third-party/claude-desktop/network-proxy.md#pin-a-proxy-from-managed-configuration).
135* The Code session keys [`disableWslSessions`](https://claude.com/docs/third-party/claude-desktop/configuration#disablewslsessions) and [`claudeCodeProcessWrapperEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#claudecodeprocesswrapperenabled). See [Start Code sessions through a corporate launcher](https://claude.com/docs/third-party/claude-desktop/code.md#start-code-sessions-through-a-corporate-launcher).
132Claude Desktop takes each key that the profile sets from the profile alone, and ignores values for that key from any other source. Some keys also make Claude Desktop take related keys from the profile alone, because another source's value for a related key could undo the profile's key. For example, with `egressProxyUrl` in the profile, Claude Desktop also ignores `egressProxyPacUrl` in the local configuration, which would otherwise take precedence over the profile's proxy.
136133
137When a managed source sets only keys from this group (any of them), the device keeps its locally authored configuration and the configuration window stays editable. The group is still enforced as a unit: every key in it is resolved from the managed source alone, so a locally set or bootstrap-served value for any of them is ignored even if the profile sets only one. A profile that sets the update keys but not `relaunchEnforcementHours` or `configRecheckIntervalMinutes` therefore runs their defaults (24 hours and 10 minutes) on those devices, so set them in the same profile when you want other values.
134The first column lists the app-behavior keys that the [configuration reference](https://claude.com/docs/third-party/claude-desktop/configuration.md) describes, and [`sshHostProgramsPreinstalled`](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions#preinstall-the-remote-server-and-claude-code-on-ssh-hosts), which the SSH remote sessions page describes. When the profile sets one of them, Claude Desktop also takes the keys in the second column from the profile alone:
138135
139A profile of only these keys leaves what the device connects to in the local configuration, which a user can edit. If a user edits the local configuration to run every session on a server, most of these keys stop applying, including the update, restart, and re-check timing keys and the network proxy keys. The keys `disableAutoUpdates`, `updateViaUpdatesHost`, and `releaseChannel` still apply. To prevent this, set the connection in the profile, or set [`deploymentMode`](#restrict-a-device-to-one-deployment-mode) to `1p` on a device that only signs in to claude.ai.
136| Key that the profile sets | Other keys that Claude Desktop takes from the profile alone |
137| - | - |
138| [`disableAutoUpdates`](https://claude.com/docs/third-party/claude-desktop/configuration#disableautoupdates) | `releaseChannel`, `updateViaUpdatesHost`, `egressProxyUrl`, `egressProxyPacUrl`, and `relaunchEnforcementHours` |
139| [`releaseChannel`](https://claude.com/docs/third-party/claude-desktop/configuration#releasechannel) | `disableAutoUpdates`, `updateViaUpdatesHost`, `egressProxyUrl`, `egressProxyPacUrl`, and `relaunchEnforcementHours` |
140| [`autoUpdaterEnforcementHours`](https://claude.com/docs/third-party/claude-desktop/configuration#autoupdaterenforcementhours) | `disableAutoUpdates`, `releaseChannel`, `updateViaUpdatesHost`, `egressProxyUrl`, `egressProxyPacUrl`, and `relaunchEnforcementHours` |
141| [`installedUpdateEnforcementHours`](https://claude.com/docs/third-party/claude-desktop/configuration#installedupdateenforcementhours) | `installedUpdateEnforcementEnabled` |
142| [`relaunchEnforcementHours`](https://claude.com/docs/third-party/claude-desktop/configuration#relaunchenforcementhours) | `configRecheckIntervalMinutes` |
143| [`configRecheckIntervalMinutes`](https://claude.com/docs/third-party/claude-desktop/configuration#configrecheckintervalminutes) | `relaunchEnforcementHours` |
144| [`egressProxyUrl`](https://claude.com/docs/third-party/claude-desktop/configuration#egressproxyurl) | `egressProxyPacUrl` and `relaunchEnforcementHours` |
145| [`egressProxyPacUrl`](https://claude.com/docs/third-party/claude-desktop/configuration#egressproxypacurl) | `egressProxyUrl` and `relaunchEnforcementHours` |
146| [`installedUpdateEnforcementEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#installedupdateenforcementenabled), [`updateViaUpdatesHost`](https://claude.com/docs/third-party/claude-desktop/configuration#updateviaupdateshost), [`disableWslSessions`](https://claude.com/docs/third-party/claude-desktop/configuration#disablewslsessions), [`claudeCodeProcessWrapperEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#claudecodeprocesswrapperenabled), [`builtinBrowserClientCertificateHosts`](https://claude.com/docs/third-party/claude-desktop/configuration#builtinbrowserclientcertificatehosts), [`remoteFileDownloads`](https://claude.com/docs/third-party/claude-desktop/configuration#remotefiledownloads), [`organizationAnnouncement`](https://claude.com/docs/third-party/claude-desktop/configuration#organizationannouncement), [`deploymentLogo`](https://claude.com/docs/third-party/claude-desktop/configuration#deploymentlogo), [`disableConfigDeprecationWarnings`](https://claude.com/docs/third-party/claude-desktop/configuration#disableconfigdeprecationwarnings), [`sshHostProgramsPreinstalled`](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions#preinstall-the-remote-server-and-claude-code-on-ssh-hosts) | No other key |
140147
141[`organizationAnnouncement`](https://claude.com/docs/third-party/claude-desktop/configuration#organizationannouncement), [`deploymentLogo`](https://claude.com/docs/third-party/claude-desktop/configuration#deploymentlogo) (the logo shown beside the announcement), [`remoteFileDownloads`](https://claude.com/docs/third-party/claude-desktop/configuration#remotefiledownloads), and [`sshHostProgramsPreinstalled`](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions#preinstall-the-remote-server-and-claude-code-on-ssh-hosts) aren't in the group. A profile that sets one or more of them, alone or beside keys from the group, also leaves the locally authored configuration in force. Such a profile still changes behaviors on the device (see [What a profile or policy changes on a device](#what-a-profile-or-policy-changes-on-a-device)). Update devices before you add one of these keys (see [Keys that an earlier version does not recognize](#keys-that-an-earlier-version-does-not-recognize)). For a profile that also sets `bootstrapUrl`, see [Which configuration source applies on a device](https://claude.com/docs/third-party/claude-desktop/configuration-format.md#which-configuration-source-applies-on-a-device).
148A key that Claude Desktop takes from the profile alone, and that the profile doesn't set, takes its default, so set it in the profile when you want another value. A key that you add to the profile this way also makes Claude Desktop take its own row's keys from the profile alone. A key that the profile sets with an empty value, or with a value that Claude Desktop can't read, still makes Claude Desktop ignore other sources' values for that key and for its related keys.
142149
150With a profile that sets only app-behavior keys, what the device connects to is still set in the local configuration, which a user can edit. If a user names a server there to run sessions, Claude Desktop refuses that server and can't start a session. Most app-behavior keys then stop applying, including the update, restart, and re-check timing keys and the network proxy keys. The keys `disableAutoUpdates`, `updateViaUpdatesHost`, and `releaseChannel` still apply. To prevent this, set the connection in the profile, or set [`deploymentMode`](#restrict-a-device-to-one-deployment-mode) to `1p` on a device that only signs in to claude.ai.
151
152Before Claude Desktop 18.19841.0, most app-behavior keys formed one group, and a profile that set any of them made Claude Desktop ignore other sources' values for the whole group. On those versions, put every app-behavior key that you use in the profile (see [Keys that an earlier version does not recognize](#keys-that-an-earlier-version-does-not-recognize)). From Claude Desktop 18.19841.0, Claude Desktop applies other sources' values for the keys that it no longer takes from the profile alone. A value that another source already holds, and that earlier versions ignored, applies from the first launch after the update. Before you update a device whose profile sets only app-behavior keys, check what the [local configuration](https://claude.com/docs/third-party/claude-desktop/configuration-format.md#where-claude-desktop-reads-configuration-on-a-device), your bootstrap server, and the Enterprise Admin Console set for the app-behavior keys that the profile leaves out. To stop every other source from changing a key, set that key in the profile. Two examples:
153
154* **Updates**: on a device whose profile sets neither `disableAutoUpdates` nor a key whose row lists `disableAutoUpdates`, a user can turn off updates in the local configuration.
155* **Network proxy**: on a device whose profile sets neither `egressProxyUrl` nor a key whose row lists `egressProxyUrl`, `egressProxyUrl` in a user's local configuration applies, and a proxy that no longer works stops Claude Desktop from reaching your inference provider. To fix this, remove `egressProxyUrl` from the local configuration, or set the proxy in the profile.
156
143157### What a profile or policy changes on a device
144158
145159A profile or policy for Claude Desktop, even one that leaves the local configuration in place, changes these behaviors on the device, among others:
146160
147* **Sessions in Windows Subsystem for Linux (WSL)**: Claude Desktop refuses them unless machine policy (`HKLM`) sets [`disableWslSessions`](https://claude.com/docs/third-party/claude-desktop/configuration#disablewslsessions) to `false`. Claude Desktop ignores a per-user `false`. `disableWslSessions` is an [app-behavior key](#update-keys-and-managed-precedence), so put the app-behavior keys that you use in the same policy.
161* **Sessions in Windows Subsystem for Linux (WSL)**: Claude Desktop refuses them unless machine policy (`HKLM`) sets [`disableWslSessions`](https://claude.com/docs/third-party/claude-desktop/configuration#disablewslsessions) to `false`. Claude Desktop ignores a per-user `false`.
148162* **Shell commands in Code sessions**: Claude Code's sandbox turns on where it can run, and shell commands reach no host (see [Unset allowlist in Code sessions](https://claude.com/docs/third-party/claude-desktop/web-tools.md#unset-allowlist-in-code-sessions)). This happens when the profile leaves the local configuration in place and the user left **Allowed egress hosts** at **Not set**. Have the user add the hosts that shell commands need under **Capabilities > Allowed egress hosts** in the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md). A profile that holds the whole configuration sets the hosts itself, in `coworkEgressAllowedHosts`.
149163* **File downloads from an SSH host or WSL**: an unset [`remoteFileDownloads`](https://claude.com/docs/third-party/claude-desktop/configuration#remotefiledownloads) means `limited` on the device. In Claude Desktop 6.6395.0 or later, an unset key means `all` on a device where Claude Desktop finds no profile, policy, or other [sign of an administrator](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md#file-downloads-from-the-remote-host).
150164* **`coworkEgressAllowedHosts` in the profile**: keep [`coworkEgressAllowedHosts`](https://claude.com/docs/third-party/claude-desktop/configuration#coworkegressallowedhosts) out of a profile or policy that doesn't set a connection. With that key and without a connection, the profile replaces the user's configuration, and Claude Desktop starts with nothing to connect to.
from line 168
154168Update a device before you add a key that its version of Claude Desktop doesn't recognize. What that version does with the key differs by platform:
155169
156170* **Windows**: a machine policy (`HKLM`) that holds only keys that the version doesn't recognize turns off the settings from the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md), the [Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console.md), or a [bootstrap server](https://claude.com/docs/third-party/claude-desktop/bootstrap.md). That includes the connection. If the policy also holds a key that the version recognizes, Claude Desktop ignores the unrecognized key.
157* **Linux**: an unrecognized key in `/etc/claude-desktop/managed-settings.json` turns off the same settings when the file holds no other key, or only the [app-behavior keys and the keys treated like them](#update-keys-and-managed-precedence). Where the file also sets a connection, the file still applies. In that case, a device that uses the Enterprise Admin Console goes back to the file's settings at its next launch, and features that need Claude Desktop to read every key of the file, such as automatic deletion of idle sessions, can stay off.
171* **Linux**: an unrecognized key in `/etc/claude-desktop/managed-settings.json` turns off the same settings when the file holds no other key, or only [app-behavior keys](#update-keys-and-managed-precedence). Where the file also sets a connection, the file still applies. In that case, a device that uses the Enterprise Admin Console goes back to the file's settings at its next launch, and features that need Claude Desktop to read every key of the file, such as automatic deletion of idle sessions, can stay off.
158172* **macOS**: Claude Desktop doesn't see the key and keeps its settings. The profile still changes behaviors on the device (see [What a profile or policy changes on a device](#what-a-profile-or-policy-changes-on-a-device)).
159173
160174## 5. Distribute the app
No line in this hunk matches that.