Anthropic released Claude Code 2.1.331 on November 23, 2026, and the verdict is simple: the Windows registry wins. The official changelog states that an HKLM policy outranks managed-settings.json, and a broken registry value can stop Claude Code from starting, so check the registry before upgrading. Separately, from November 30, 2026, plugin marketplaces in managed extraKnownMarketplaces auto-update by default, so decide now which to opt out. Developers without managed settings can ignore both changes.

HKLM registry policy outranks managed-settings.json, and a malformed registry value can prevent startup - validate it before upgrading."autoUpdate": false on the entry.optionalDependencies, and claude doctor gains an API connectivity section. Two items matter for anyone who manages Claude Code across a team: the Windows registry start-up warning, and the upcoming marketplace auto-update default.

The changelog states the second in future tense: "Changed in a future release, on or after November 30, 2026: plugin marketplaces in managed extraKnownMarketplaces will auto-update by default." The release you install today does not flip the behaviour, and the date is a floor rather than an exact day: treat November 30 as the point after which any update could switch it on.

Nothing needs enabling - the opt-out is the action: add "autoUpdate": false to a marketplace entry in managed extraKnownMarketplaces to pin it until you review changes.

| Change | Admins | Plugin authors | Everyday users | |---|---|---|---| | Windows registry start-up warning ( HKLM outranksmanaged-settings.json ) | Act before upgrading | No impact | Only if a managed policy applies | | Non-ASCII registry fix (#93280) | Relevant if settings contain Japanese or similar text | No impact | Transparent fix | | Managed marketplaces auto-update from November 30, 2026 | Decide per marketplace | Expect faster rollout of your releases | Updates may arrive without a prompt | | optionalDependencies in plugin manifests | Review what installs | New option for bundled extras | Extras can be disabled separately | | Code Mode in terminal sessions on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude Platform on AWS | Check provider setups | No impact | Available if you use those providers | | claude doctor API connectivity section | Useful for support triage | No impact | Useful for self-diagnosis |

Sources: the Claude Code changelog and the GitHub CHANGELOG.md.

For most Windows fleets, use whichever your existing tooling already delivers, but know that the registry takes precedence. The managed settings documentation lists the delivery paths:

REG_SZ or REG_EXPAND_SZ value named Settings under HKLM\SOFTWARE\Policies\ClaudeCode. C:\Program Files\ClaudeCode\managed-settings.json./etc/claude-code/managed-settings.json./Library/Application Support/ClaudeCode/managed-settings.json. If both exist on one machine, the registry value wins - that is the practical reason for the warning. A stale file edit will not take effect while a registry value overrides it, and a malformed value can stop start-up entirely.

My assessment, not a vendor statement: if Group Policy or MDM writes registry values, stay with the registry and validate the JSON in your pipeline. If you use a file today, confirm nobody has also written a registry value - running both is what causes confusion.

WSL is separate: by default it reads only /etc/claude-code. Setting wslInheritsWindowsSettings: true in an admin-only Windows source (the HKLM registry value or the C:\Program Files\ClaudeCode\ file) makes WSL sessions follow the Windows policy chain. The settings reference covers the key.

Work through these steps on a pilot machine first, then roll out.

reg query "HKLM\SOFTWARE\Policies\ClaudeCode" /v Settings - confirm it exists, type (Get-ItemProperty "HKLM:\SOFTWARE\Policies\ClaudeCode").Settings | ConvertFrom-Json raises an error on malformed text. Fix it before upgrading - a broken extraKnownMarketplaces entry, add /status and read the Setting sources line to confirm what applied. npm published @anthropic-ai/claude-code 2.1.331 at 18:36 UTC on November 23, 2026, on the latest tag, while the registry's stable dist-tag still pins 2.1.325 - so stable-pinned installs and mirrors have not seen 2.1.326 through 2.1.331. Check which channel your fleet pins before the November 30 deadline: the release that applies the auto-update change has to reach your fleet first (npm registry).

Plugin authors get optionalDependencies: plugins listed there install alongside yours, and users can disable or uninstall them independently. That suits add-ons that improve a plugin without being essential. Combined with auto-update defaults, your releases may reach managed users sooner, so test upgrades carefully.

Everyday users without managed settings see little change. The most useful addition is the API connectivity section in claude doctor: it reports whether the API can be reached, with the HTTP status or the error, or why the check did not run - a good first step when a session fails to connect.

The release notes contain no pricing changes and no new default models: it is an operations release, and its value is avoiding a failed Windows start-up and unplanned marketplace content changes. For how other tools handle similar admin controls, see our notes on Claude Code 2.1.326 sandbox and auto mode defaults, the Codex CLI 0.171 default install update, the Cline CLI 3.0.75 one-shot auto-approve mode and the Cursor 3.12 minimum version requirement.

Q: When do managed plugin marketplaces start auto-updating in Claude Code?

A: On or after November 30, 2026, in a future release, according to the changelog. Version 2.1.331 itself announces the change but does not apply it.

Q: How do I stop a managed marketplace from auto-updating?

A: Set "autoUpdate": false on that marketplace's entry in managed extraKnownMarketplaces. Each marketplace is opted out individually.

Q: Which wins on Windows, the registry or managed-settings.json?

A: The HKLM registry policy outranks managed-settings.json, per the 2.1.331 changelog entry. Validate the registry value first, since a broken one can stop Claude Code from starting.

Q: Where does Claude Code read managed settings on Windows, Linux and macOS?

A: On Windows, the Settings value under HKLM\SOFTWARE\Policies\ClaudeCode or C:\Program Files\ClaudeCode\managed-settings.json. On Linux and WSL, /etc/claude-code/managed-settings.json. On macOS, /Library/Application Support/ClaudeCode/managed-settings.json, as listed in the managed settings docs.

Q: How can I confirm which settings sources Claude Code is using?

A: Run /status after upgrading and read the Setting sources line. It shows what was applied on that machine.

Q: Do I need to act if I do not use managed settings?

A: No. The registry and marketplace changes only affect managed deployments. You can upgrade as normal and use claude doctor if you hit connection problems.

Q: Why do I not see version 2.1.331 even though it shipped?

A: Because you are on the stable channel (npm registry). npm's stable dist-tag still points at 2.1.325, while 2.1.331 is the latest tag, so stable-pinned installs and mirrors have not received versions 2.1.326 through 2.1.331.

Last verified: November 24, 2026. Sources: the Claude Code changelog, the GitHub CHANGELOG.md, the managed settings docs, the settings reference and the npm registry. This article was produced with AI assistance and checked against those primary sources. Corrections log: none so far. See how we work: we picked this release from tracked channels, and in our own pricing run of 695 AI and developer-tooling keywords using DataForSEO data (n=695, measured 2026-11-23), version-signal admin updates are reviewed weekly.

原文来源:dev.to