{"version":"2.1.328","anchor":"windows-sandbox-psmodulepath-is-read-from-registry","canonical_anchor":"windows-sandbox-psmodulepath-is-read-from-registry","heading":"Windows sandbox picks up the system's PowerShell module path","tier":"notice","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/windows-sandbox-psmodulepath-is-read-from-registry","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Windows sandbox picks up the system's PowerShell module path\n\nOn Windows, the sandbox now reads the machine's PowerShell module path from the registry and adds it to PSModulePath\n\n**Unclear.** It is not clear whether a remote switch controls this, so it may not be active for everyone.\n\n**What**\n\nA sandbox is a restricted space where Claude Code runs commands so that they cannot touch everything on your computer. On Windows, Claude Code now reads the machine-wide PowerShell module path from the Windows registry and puts it at the front of `$env:PSModulePath` for commands run in the sandbox. That variable tells PowerShell where to look for installed modules. Claude Code also records whether this lookup succeeded.\n\n**Why**\n\nThis may let PowerShell commands in the Windows sandbox find modules that are installed for the whole machine.\n\n- Area: Sandbox\n- Names: `PSModulePath`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}