What
WSL (Windows Subsystem for Linux) instances can now inherit managed settings from the Windows host's policy chain.
Details
- A new
wslInheritsWindowsSettingsboolean setting controls this behavior - When set to
truein a Windows admin-only source (HKLM registry orC:/Program Files/ClaudeCode/managed-settings.json), WSL reads managed settings from the full Windows policy chain - Windows sources take priority over Linux-native
/etc/claude-codesettings - Double opt-in required: admin enables the chain via HKLM/HKCU, user confirms via their own HKCU entry
- Uses
reg.exequeries via/mnt/c/Windows/System32/reg.exefor cross-environment access - Drop-in settings from
C:/Program Files/ClaudeCode/managed-settings.d/are also supported
Evidence
Schema description (search for "wslInheritsWindowsSettings") and WSL detection function pnH() at line ~50906.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
WSL on Windows can now inherit Windows-side managed settings via the wslInheritsWindowsSettings policy key