Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-docs

User identity and local data changedthird-party/claude-desktop/data-storage

Nearest release: v2.1.327, published 2 hours after 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 17 Nov 2026 18:03 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 17 Nov 2026 18:07 UTC.

Upstream edited
Recorded here
Lines+1added
Lines−0removed
From line 212 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits58to this page, all time

The whole hunk

from line 212, old and new numbered
/
lines
from line 212
212212To keep some users' idle sessions from being deleted, for example under a legal hold, change `chatSessionRetentionDays`, `coworkSessionRetentionDays`, and `codeSessionRetentionDays` for those users. Make the change in the source that their devices get their configuration from:
213213 
214214* **[Bootstrap server](https://claude.com/docs/third-party/claude-desktop/bootstrap.md) or [MDM profile](https://claude.com/docs/third-party/claude-desktop/mdm.md)**: if those users' devices use a bootstrap server, make the change in the server's response, because the app then ignores these keys in the MDM profile. Set the three keys to `3650`, the longest period, or leave them out, which keeps sessions until the user deletes them.
215* **MDM profile on macOS**: if those users' Macs get these keys from an MDM profile and have a [machine profile](https://claude.com/docs/third-party/claude-desktop/mdm.md#4-deploy-the-configuration) for the app, make the change in the machine profile, because the app ignores a user profile on those Macs.
215216* **[Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console.md)**: set the three keys to `3650` in a [per-group permission policy](https://claude.com/docs/third-party/claude-desktop/admin-console.md#per-group-permission-policies) for those users' group. Rank that policy above their other policies. If the policy leaves a key out, those users keep the period that they had. To keep every user's sessions, set the three keys to `3650` in the organization-wide settings and in every per-group permission policy that sets any of them.
216217* **[Claude apps gateway](https://code.claude.com/docs/en/claude-apps-gateway)**: set all three keys to `3650` in the `desktop` block of a policy that matches only those users, and put that policy before every other policy that matches them. If this policy leaves one of the keys out, those users can [get a shorter period for it from a policy listed after it](https://code.claude.com/docs/en/claude-apps-gateway-config#claude-desktop-overlay), such as the catch-all policy. By default, the gateway applies only the [first policy that matches a user](https://code.claude.com/docs/en/claude-apps-gateway-config#managed), and takes any setting that policy leaves out from the catch-all policy. Copy into this policy any other settings that those users need. To keep every user's sessions, set all three keys to `3650` in the catch-all policy, keep it last, and set them to `3650` in every other policy that sets any of the three keys.
217218 
Feedback