One read of Claude Documentationclaude-docs-20261116T210707Z
2 pages moved out of 291 read.
Pages moved
2
significant first
Pages read
291
in this capture
Captured
21:07 UTC
Corpus hash
b51a4669c05a
corpus-hash
What this read moved
1-2 of 2third-party/claude-desktop/mdm Changed · +18 / -2 lines
### What a profile or policy changes on a device ### Keys that an earlier version does not recognize
from line 128
128128While a fleet updates to 4.16336.0, plan for these cases:
129129
130130* **A profile that gains `3p`, or gains `1p` and sets nothing to connect to**: also set `disableDeploymentModeChooser` to `true` until every device has updated. On a device with a bootstrap server, set it in the response too. If a profile that you export from the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md) doesn't set `disableDeploymentModeChooser` to `true`, add the key to the exported file.
131* **[The Linux file](https://claude.com/docs/third-party/claude-desktop/configuration-format.md#the-linux-configuration-file)**: versions before 4.16336.0 treat a key that they don't recognize as an error in `managed-settings.json`, so add `deploymentMode` to a device's file after that device updates.
131* **[The Linux file](https://claude.com/docs/third-party/claude-desktop/configuration-format.md#the-linux-configuration-file)**: an earlier version treats `deploymentMode` as a key that it doesn't recognize (see [Keys that an earlier version does not recognize](#keys-that-an-earlier-version-does-not-recognize)), so add it to a device's file after that device updates.
132132
133133### Update keys and managed precedence
134134
from line 143
143143
144144A profile of only these keys leaves what the device connects to in the local configuration, which a user can edit. If that connection runs every session on a server and none on the device, that server answers the device's update checks, so the app installs only the updates that the server offers. Update, restart, and re-check timing then comes from that server or takes its default, and most of these keys stop applying, though `disableAutoUpdates` and the network proxy keys 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.
145145
146[`organizationAnnouncement`](https://claude.com/docs/third-party/claude-desktop/configuration#organizationannouncement) and [`deploymentLogo`](https://claude.com/docs/third-party/claude-desktop/configuration#deploymentlogo), the logo shown beside the announcement, aren't in the group. A profile that sets either or both of them, alone or beside keys from the group, also leaves the locally authored configuration in force. The `organizationAnnouncement` entry lists what such a profile changes. 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).
146[`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), and [`remoteFileDownloads`](https://claude.com/docs/third-party/claude-desktop/configuration#remotefiledownloads) 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 how WSL sessions and shell commands work 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).
147
148### What a profile or policy changes on a device
149
150A profile or policy for Claude Desktop, even one that leaves the local configuration in place, changes these behaviors on the device, among others:
151
152* **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`. A per-user `false` doesn't count. `disableWslSessions` is an [app-behavior key](#update-keys-and-managed-precedence), so put the app-behavior keys that you use in the same policy.
153* **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 where 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`.
154* **`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.
155
156### Keys that an earlier version does not recognize
157
158Update 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:
159
160* **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. Beside a key that the version recognizes, Claude Desktop ignores the unrecognized key.
161* **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, but a device that uses the Enterprise Admin Console goes back to the file's settings at its next launch, and features that need every key of the file read, such as automatic deletion of idle sessions, can stay off.
162* **macOS**: Claude Desktop doesn't see the key and keeps its settings. The profile still counts as a profile (see [What a profile or policy changes on a device](#what-a-profile-or-policy-changes-on-a-device)).
147163
148164## 5. Distribute the app
149165
third-party/claude-desktop/ssh-remote-sessions Changed · +48 / -1 lines
### File downloads from the remote host ### Deploy remoteFileDownloads through device management
from line 207
207207
208208Before you add either key to a profile that sets only [app-behavior keys](https://claude.com/docs/third-party/claude-desktop/mdm.md#update-keys-and-managed-precedence), such as `disableAutoUpdates`, read the warning under [Keep a device on its managed profile](https://claude.com/docs/third-party/claude-desktop/admin-console.md#keep-a-device-on-its-managed-profile).
209209
210### File downloads from the remote host
211
212Users can download files from a remote session's folders to their device. For example, they right-click a file in the **Files** pane and select **Download file**. The [`remoteFileDownloads`](https://claude.com/docs/third-party/claude-desktop/configuration#remotefiledownloads) key sets which files they can download from an SSH host and from a Code session in Windows Subsystem for Linux (WSL).
213
214The key requires Claude Desktop 5.1231.0 or later. Earlier versions don't read the value and offer at most what `limited` allows. Before you put the key in a profile or policy that an earlier version reads, see [Deploy remoteFileDownloads through device management](#deploy-remotefiledownloads-through-device-management).
215
216Each value lets users download these files.
217
218| Value | Files that users can download |
219| - | - |
220| Unset or `limited` | `.pdf`, `.docx`, `.xlsx`, and `.pptx` files up to 25 MiB, images up to 10 MiB, and text files up to 1 MiB |
221| `all` | Files of any size, of any type that Claude Desktop doesn't refuse |
222| `none` | No files. Claude Desktop hides its **Download file** options. |
223
224Under `limited` and `all`, Claude Desktop refuses a fixed list of file types that an operating system can run or act on when opened, such as `.exe`, `.js`, `.ps1`, and `.jar`. Claude Desktop goes by the file's extension. Scripts such as `.py` and `.sh` aren't on the list.
225
226On a [host without SFTP](#hosts-without-sftp), `limited` and `all` both allow text files up to 1 MiB and nothing else.
227
228> [!WARNING]
229>
230> Where Claude Desktop is the only program on a device that can reach the host, `all` gives users a way to take files off the host in bulk. Claude Desktop's logs and telemetry keep no list of the files that were downloaded. `ssh.log` in the [logs directory](https://claude.com/docs/third-party/claude-desktop/data-storage.md#where-data-lives) on the device names the hosts that Claude Desktop connects to and, under `all`, records each copy's size and duration. On such devices, set the key to `limited` where users can't change it (see [Deploy remoteFileDownloads through device management](#deploy-remotefiledownloads-through-device-management)), unless users need other file types or larger files.
231
232`none` isn't a security boundary. In Claude Desktop, users can still open the files that they can't download, and Claude can still read them. To limit which files a user can reach on the host, review the SSH user's rights there (see [Account that a remote session runs under](#account-that-a-remote-session-runs-under)).
233
234Claude Desktop reads and applies the value by these rules:
235
236* **Spelling**: Claude Desktop ignores letter case. It treats a value that isn't `limited`, `all`, `none`, or empty as `none`, so a mistyped `all` turns downloads off. An empty value counts as unset. On Windows, a mistyped value in a machine policy also makes Claude Desktop refuse WSL sessions, even where machine policy sets [`disableWslSessions`](https://claude.com/docs/third-party/claude-desktop/configuration#disablewslsessions) to `false`.
237* **When a change takes effect**: an open app applies a new value from device management, 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) without a relaunch, once a [re-check](https://claude.com/docs/third-party/claude-desktop/configuration-format.md#when-a-configuration-change-on-a-device-takes-effect) reads it and a second check about 30 seconds later confirms it. A value set in the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md) applies no later than the relaunch that **Apply Changes** asks for.
238
239You can set the key in these places:
240
241* **Device management**: users can't edit a machine-scoped profile or policy. For when its value applies, see [Deploy remoteFileDownloads through device management](#deploy-remotefiledownloads-through-device-management).
242* **Enterprise Admin Console**: the console's value applies unless the device has a profile or policy that holds this key and, beside it, nothing but the [app-behavior keys and the keys treated like them](https://claude.com/docs/third-party/claude-desktop/mdm.md#update-keys-and-managed-precedence). On a Windows device with no machine policy (`HKLM`), a per-user policy (`HKCU`) counts as such a policy. Whoever can write to `HKCU` can then set `all` over the console's `none` (see **A machine policy on Windows** under [Deploy remoteFileDownloads through device management](#deploy-remotefiledownloads-through-device-management)).
243* **Bootstrap response**: put the key inside the `codeSurface` object.
244* **In-app configuration window**: the key appears in the **Code surface** section while Code is enabled, in Claude Desktop 5.11492.0 or later. The user can change a value that is set there.
245
246### Deploy remoteFileDownloads through device management
247
248Connection settings are the keys that say where Claude Desktop gets inference or its configuration, such as the inference provider keys or the bootstrap keys. Before you deploy [`remoteFileDownloads`](#file-downloads-from-the-remote-host) through [device management](https://claude.com/docs/third-party/claude-desktop/mdm.md), plan for these cases:
249
250* **Devices on a version before 5.1231.0**: update all devices to Claude Desktop 5.1231.0 or later first. On earlier versions, on Windows and Linux, a profile or policy that holds this key can turn off other settings, connection settings included. On macOS, Claude Desktop doesn't see the key. For each platform's case, see [Keys that an earlier version does not recognize](https://claude.com/docs/third-party/claude-desktop/mdm.md#keys-that-an-earlier-version-does-not-recognize).
251* **A profile or policy that holds your connection settings**: set the key in that same profile or policy, and set the same value in the bootstrap response or the console too. Connection settings are outside the [app-behavior keys and the keys treated like them](https://claude.com/docs/third-party/claude-desktop/mdm.md#update-keys-and-managed-precedence). Where a profile or policy holds any key outside them, a [bootstrap server](https://claude.com/docs/third-party/claude-desktop/bootstrap.md) or an [Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console.md) that leaves `remoteFileDownloads` out overrides the profile's value, and the key counts as unset.
252* **A profile or policy that holds this key and, beside it, nothing but the app-behavior keys and the keys treated like them**: the user's or the console's configuration stays in place. The profile's value takes precedence over the value from the Enterprise Admin Console, a bootstrap server, or the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md).
253* **A machine policy on Windows**: while machine policy (`HKLM`) holds this key, Claude Desktop applies nothing from a per-user policy (`HKCU`). Move what the per-user policy holds, connection settings included, into the machine policy.
254
255A profile or policy, even one that holds only this key, also changes how WSL sessions and shell commands in Code sessions work on the device (see [What a profile or policy changes on a device](https://claude.com/docs/third-party/claude-desktop/mdm.md#what-a-profile-or-policy-changes-on-a-device)).
256
210257## Inference credentials on the remote host
211258
212259> [!WARNING]
from line 485
438485* File attachments
439486* The Changes pane
440487* Plugins that Claude Desktop copies from the device
441* Downloads of PDF and Office files: the download option is missing, or the download fails with `Couldn't download <name>`
488* [File downloads](#file-downloads-from-the-remote-host), except text files up to 1 MiB: the download option is missing, or the download fails with `Couldn't download <name>`
442489
443490A session without SFTP needs at least the following. Where one is missing, setup fails (see [Setup on the host fails after SSH connects](#setup-on-the-host-fails-after-ssh-connects)).
444491